Filter out NULL entries.
[glibc.git] / ChangeLog
blobe4ca925d5859329cc3eee6051240d7ba76e71ef4
1 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
3         * malloc/mtrace.pl: Filter out NULL entries.
5 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9         macro.
11         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12         (TCP_CC_INFO): Likewise.
13         (TCP_SAVE_SYN): Likewise.
14         (TCP_SAVED_SYN): Likewise.
16 2015-08-31  Brett Neumeier <brett@neumeier.us>
18         [BZ #18870]
19         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23         [BZ #18873]
24         Fix broken overflow check in posix_fallocate
25         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27         Fix parenthesization typo.
29 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31         [BZ #18887]
32         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
33         tst-mntent-blank-passno.
34         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
35         * misc/tst-mntent-blank-corrupt.c: New test.
36         * misc/tst-mntent-blank-passno.c: New test ripped from ...
37         * misc/tst-mntent.c (do_test): ... here.
39 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
41         [BZ #4404]
42         * po/de.po: Fix SIGALRM typo.
44 2015-08-28  James Perkins  <james@loowit.net>
46         * time/tst-strptime2.c (tests): Replace short list of test
47         strings for strptime %z specifier with code which exhaustively
48         tests every combination of sign and 0 to 5 digits. Tests for
49         rejection of invalid strings.
51 2015-08-28  James Perkins  <james@loowit.net>
53         [BZ #16141]
54         * time/strptime_l.c (__strptime_internal): Fix %z minutes
55         calculation, removing incorrect decimal time rounding, so that
56         all minute values result in a valid seconds value.
57         * time/strptime_l.c (__strptime_internal): Extend %z time zone
58         offset range limits to UTC-99:59 through UTC+99:59 to parse
59         current and historical use cases.
60         * time/tst-strptime2.c (tests): Modify and add tests for the
61         strptime %z input field descriptor, specifically conversion of
62         minutes to seconds and validating an offset range of -9959 to
63         +9959.
65 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
66             Dmitry V. Levin  <ldv@altlinux.org>
68         [BZ #18877]
69         * posix/Makefile (tests): Add tst-mmap-offset.
70         * posix/tst-mmap.c: New file.
71         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
72         offset calculation for negative values.
74 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
76         * sysdeps/i386/init-arch.h: New file.
77         * sysdeps/i386/i586/init-arch.h: Likewise.
78         * sysdeps/i386/i686/init-arch.h: Likewise.
79         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
80         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
81         * sysdeps/x86/cpu-features.h (bit_I586): New.
82         (bit_I686): Likewise.
83         (bit_CX8): Likewise.
84         (bit_CMOV): Likewise.
85         (index_CX8): Likewise.
86         (index_CMOV): Likewise.
87         (index_I586): Likewise.
88         (index_I686): Likewise.
89         (reg_CX8): Likewise.
90         (reg_CMOV): Likewise.
91         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
92         available at compile-time.
93         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
94         available at compile-time.
95         * sysdeps/x86/init-arch.h (USE_I586): New macro.
96         (USE_I686): Likewise.
98 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
100         * sysdeps/i386/bcopy.S: New file.
101         * sysdeps/i386/bzero.S: Likewise.
102         * sysdeps/i386/memcpy.S: Likewise.
103         * sysdeps/i386/memmove.S: Likewise.
104         * sysdeps/i386/mempcpy.S: Likewise.
105         * sysdeps/i386/memset.S: Likewise.
106         * sysdeps/i386/bzero.c: Removed.
107         * sysdeps/i386/memset.c: Likewise.
108         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
109         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
110         * sysdeps/i386/i586/memset_chk.S: Likewise.
111         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
112         * sysdeps/i386/memcpy_chk.S: Here.
113         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
114         * sysdeps/i386/memmove_chk.S: Here.
115         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
116         * sysdeps/i386/mempcpy_chk.S: Likewise.
117         * sysdeps/i386/i686/memset_chk.S: Moved to ...
118         * sysdeps/i386/memset_chk.S: Likewise.
120 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
122         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
123         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
124         file, move DIAG_POP_NEEDS_COMMENT to end of file.
125         * soft-fp/fmadf4.c: Ditto.
126         * soft-fp/fmatf4.c: Ditto.
128 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
130         * sysdeps/i386/i586/Implies: Removed.
131         * sysdeps/i386/i686/Implies: Likewise.
133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
135         * sysdeps/i386/i486/strlen.S: Moved to ...
136         * sysdeps/i386/strlen.S: Here.
138 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
140         * sysdeps/i386/i486/strcat.S: Moved to ...
141         * sysdeps/i386/strcat.S: Here.
143 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
145         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
146         * sysdeps/i386/pthread_spin_trylock.S: Here.
147         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
148         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
150 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
152         * sysdeps/i386/i486/string-inlines.c: Moved to ...
153         * sysdeps/i386/string-inlines.c: Here.
155 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
157         * sysdeps/i386/i486/htonl.S: Moved ...
158         * sysdeps/i386/htonl.S: here.
160 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
162         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
163         * sysdeps/i386/bits/atomic.h: Here.
165 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
167         * sysdeps/i386/i486/Versions: Removed.
169 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
171         [BZ #2898]
172         * misc/mktemp.c: Add mkdtemp to the link_warning message.
173         Based on patch by Aurelien Jarno.
175 2015-08-26  Stan Shebs  <stanshebs@google.com>
177         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
178         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
180 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
182         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
183         * sysdeps/powerpc/dl-procinfo.c:
184         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
185         feature so it shows when LD_SHOW_AUXV=1.
187 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
189         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
190         (__arch_compare_and_exchange_val_32_acq): Remove and use common
191         definition.  ISA 2.07B no longer requires full sync.
193 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
195         [BZ #18863]
196         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
197         (si_call_addr): Define.
198         (si_syscall): Define.
199         (si_arch): Define.
201 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
203         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
204         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
205         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
206         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
207         (__memset_zero_constant_len_parameter): New.
208         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
209         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
210         (__memset_zero_constant_len_parameter): Don't define if
211         __memset_chk or USE_AS_BZERO are defined.
213         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
214         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
215         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
217         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
218         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
219         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
220         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
221         comments.
222         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
223         -mno-mmx for $(all-rtld-routines).
224         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
225         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
226         i386.
228 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
230         * sysdeps/generic/unwind.h
231         (_Unwind_Word): Use __mode__(__unwind_word__)
232         instead of __mode__(__word__).
233         (_Unwind_Sword): Likewise.
235         * sysdeps/s390/s390-64/utf8-utf16-z9.c
236         (MAX_NEEDED_INPUT): New define.
237         (MAX_NEEDED_OUTPUT): New define.
239         * NEWS: New item for IBM z13 string optimizations.
241         * sysdeps/s390/multiarch/memrchr-c.c: New File.
242         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
243         * sysdeps/s390/multiarch/memrchr.c: Likewise.
244         * sysdeps/s390/multiarch/Makefile
245         (sysdep_routines): Add memrchr functions.
246         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
247         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
249         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
250         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
251         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
252         * sysdeps/s390/multiarch/Makefile
253         (sysdep_routines): Add wmemcmp functions.
254         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
255         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
256         * benchtests/bench-wmemcmp.c: New File.
257         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
259         * sysdeps/s390/multiarch/wmemset-c.c: New File.
260         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
261         * sysdeps/s390/multiarch/wmemset.c: Likewise.
262         * sysdeps/s390/multiarch/Makefile
263         (sysdep_routines): Add wmemset functions.
264         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
265         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
266         * wcsmbs/wmemset.c: Use WMEMSET if defined.
267         * string/test-memset.c: Add wmemset support.
268         * wcsmbs/test-wmemset.c: New File.
269         * wcsmbs/Makefile (strop-tests): Add wmemset.
270         * benchtests/bench-memset.c: Add wmemset support.
271         * benchtests/bench-wmemset.c: New File.
272         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
274         * sysdeps/s390/multiarch/memccpy-c.c: New File.
275         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
276         * sysdeps/s390/multiarch/memccpy.c: Likewise.
277         * sysdeps/s390/multiarch/Makefile
278         (sysdep_routines): Add memccpy functions.
279         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
280         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
281         * string/memccpy.c: Use MEMCCPY if defined.
283         * sysdeps/s390/multiarch/memchr-vx.S: New File.
284         * sysdeps/s390/multiarch/memchr.c: Likewise.
285         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
286         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
287         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
288         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
289         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
290         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
291         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
292         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
294         and rawmemchr functions.
295         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
296         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
297         and wmemchr.
298         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
299         * string/test-memchr.c: Add wmemchr support.
300         * wcsmbs/test-wmemchr.c: New File.
301         * wcsmbs/Makefile (strop-tests): Add wmemchr.
302         * benchtests/bench-memchr.c: Add wmemchr support.
303         * benchtests/bench-wmemchr.c: New File.
304         * benchtests/Makefile (wcsmbs-bench): wmemchr.
306         * sysdeps/s390/multiarch/strcspn-c.c: New File.
307         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
308         * sysdeps/s390/multiarch/strcspn.c: Likewise.
309         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
310         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
311         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
312         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
313         wcscspn functions.
314         * sysdeps/s390/multiarch/ifunc-impl-list.c
315         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
316         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
317         * string/test-strcspn.c: Add wcscspn support.
318         * wcsmbs/test-wcscspn.c: New File.
319         * wcsmbs/Makefile (strop-tests): Add wcscspn.
320         * benchtests/bench-strcspn.c: Add wcscspn support.
321         * benchtests/bench-wcscspn.c: New File.
322         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
324         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
325         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
326         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
327         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
328         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
329         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
330         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
331         wcspbrk functions.
332         * sysdeps/s390/multiarch/ifunc-impl-list.c
333         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
334         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
335         * string/test-strpbrk.c: Add wcspbrk support.
336         * wcsmbs/test-wcspbrk.c: New File.
337         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
338         * benchtests/bench-strpbrk.c: Add wcspbrk support.
339         * benchtests/bench-wcspbrk.c: New File.
340         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
342         * sysdeps/s390/multiarch/strspn-c.c: New File.
343         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
344         * sysdeps/s390/multiarch/strspn.c: Likewise.
345         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
346         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
347         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
348         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
350         wcsspn functions.
351         * sysdeps/s390/multiarch/ifunc-impl-list.c
352         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
353         * string/test-strspn.c: Add wcsspn support.
354         * wcsmbs/test-wcsspn.c: New File.
355         * wcsmbs/Makefile (strop-tests): Add wcsspn.
356         * benchtests/bench-strspn.c: Add wcsspn support.
357         * benchtests/bench-wcsspn.c: New File.
358         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
360         * sysdeps/s390/multiarch/strrchr-c.c: New File.
361         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
362         * sysdeps/s390/multiarch/strrchr.c: Likewise.
363         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
364         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
365         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
367         wcsrchr functions.
368         * sysdeps/s390/multiarch/ifunc-impl-list.c
369         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
370         * benchtests/bench-wcsrchr.c: New File.
371         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
373         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
374         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
375         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
376         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
377         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
378         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
380         wcschrnul functions.
381         * sysdeps/s390/multiarch/ifunc-impl-list.c
382         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
383         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
384         * string/test-strchr.c: Add wcschrnul support.
385         * wcsmbs/test-wcschrnul.c: New File.
386         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
387         * benchtests/bench-strchr.c: Add wcschrnul support.
388         * benchtests/bench-wcschrnul.c: New File.
389         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
391         * sysdeps/s390/multiarch/strchr-c.c: New File.
392         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
393         * sysdeps/s390/multiarch/strchr.c: Likewise.
394         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
395         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
396         * sysdeps/s390/multiarch/wcschr.c: Likewise.
397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
398         wcschr functions.
399         * sysdeps/s390/multiarch/ifunc-impl-list.c
400         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
401         * string/strchr.c (STRCHR): Define and use macro.
402         * benchtests/bench-wcschr.c: New File.
403         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
405         * sysdeps/s390/multiarch/strncmp-c.c: New File.
406         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
407         * sysdeps/s390/multiarch/strncmp.c: Likewise.
408         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
409         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
410         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
411         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
412         wcsncmp functions.
413         * sysdeps/s390/multiarch/ifunc-impl-list.c
414         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
415         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
416         * benchtests/bench-strncmp.c: Add wcsncmp support.
417         * benchtests/bench-wcsncmp.c: New File.
418         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
420         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
421         * sysdeps/s390/multiarch/strcmp.c: Likewise.
422         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
423         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
424         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
425         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
426         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
427         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
428         wcscmp functions.
429         * sysdeps/s390/multiarch/ifunc-impl-list.c
430         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
431         * string/strcmp.c (STRCMP): Define and use macro.
432         * benchtests/bench-wcscmp.c: New File.
433         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
434         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
435         instead of _HAVE_STRING_ARCH_memchr.
437         * sysdeps/s390/multiarch/strncat-c.c: New File.
438         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
439         * sysdeps/s390/multiarch/strncat.c: Likewise.
440         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
441         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
442         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
443         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
444         wcsncat functions.
445         * sysdeps/s390/multiarch/ifunc-impl-list.c
446         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
447         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
448         * string/test-strncat.c: Add wcsncat support.
449         * wcsmbs/test-wcsncat.c: New File.
450         * wcsmbs/Makefile (strop-tests): Add wcsncat.
451         * benchtests/bench-strncat.c: Add wcsncat support.
452         * benchtests/bench-wcsncat.c: New File.
453         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
455         * sysdeps/s390/multiarch/strcat-c.c: New File.
456         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
457         * sysdeps/s390/multiarch/strcat.c: Likewise.
458         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
459         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
460         * sysdeps/s390/multiarch/wcscat.c: Likewise.
461         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
462         wcscat functions.
463         * sysdeps/s390/multiarch/ifunc-impl-list.c
464         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
465         * string/strcat.c (STRCAT): Define and use macro.
466         * wcsmbs/wcscat.c: Use WCSCAT if defined.
467         * string/test-strcat.c: Add wcscat support.
468         * wcsmbs/test-wcscat.c: New File.
469         * wcsmbs/Makefile (strop-tests): Add wcscat.
470         * benchtests/bench-strcat.c: Add wcscat support.
471         * benchtests/bench-wcscat.c: New File.
472         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
474         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
475         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
476         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
477         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
478         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
479         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
480         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
481         wcpncpy functions.
482         * sysdeps/s390/multiarch/ifunc-impl-list.c
483         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
484         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
485         * string/test-stpncpy.c: Add wcpncpy support.
486         * wcsmbs/test-wcpncpy.c: New File.
487         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
488         * benchtests/bench-stpncpy.c: Add wcpncpy support.
489         * benchtests/bench-wcpncpy.c: New File.
490         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
492         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
493         * sysdeps/s390/multiarch/strncpy.c: Likewise.
494         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
495         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
496         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
497         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
498         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
499         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
500         wcsncpy functions.
501         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
502         * sysdeps/s390/multiarch/ifunc-impl-list.c
503         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
504         * string/test-strncpy.c: Add wcsncpy support.
505         * wcsmbs/test-wcsncpy.c: New File.
506         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
507         * benchtests/bench-strncpy.c: Add wcsncpy support.
508         * benchtests/bench-wcsncpy.c: New File.
509         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
511         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
512         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
513         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
514         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
515         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
516         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
517         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
518         wcpcpy functions.
519         * string/stpcpy.c: Use STPCPY if defined.
520         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
521         * sysdeps/s390/multiarch/ifunc-impl-list.c
522         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
523         * string/test-stpcpy.c: Add wcpcpy support.
524         * wcsmbs/test-wcpcpy.c: New File.
525         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
526         * benchtests/bench-stpcpy.c: Add wcpcpy support.
527         * benchtests/bench-wcpcpy.c: New File.
528         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
530         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
531         * sysdeps/s390/multiarch/strcpy.c: Likewise.
532         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
533         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
534         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
535         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
536         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
537         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
538         wcscpy functions.
539         * sysdeps/s390/multiarch/ifunc-impl-list.c
540         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
541         * benchtests/bench-wcscpy.c: New File.
542         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
544         * sysdeps/s390/multiarch/strnlen-c.c: New File.
545         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
546         * sysdeps/s390/multiarch/strnlen.c: Likewise.
547         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
548         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
549         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
551         wcsnlen functions.
552         * sysdeps/s390/multiarch/ifunc-impl-list.c
553         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
554         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
555         * string/test-strnlen.c: Add wcsnlen support.
556         * wcsmbs/test-wcsnlen.c: New File.
557         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
558         * benchtests/bench-strnlen.c: Add wcsnlen support.
559         * benchtests/bench-wcsnlen.c: New File.
560         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
562         * sysdeps/s390/multiarch/Makefile: New File.
563         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
564         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
565         * sysdeps/s390/multiarch/strlen.c: Likewise.
566         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
567         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
568         * sysdeps/s390/multiarch/wcslen.c: Likewise.
569         * string/strlen.c (STRLEN): Define and use macro.
570         * sysdeps/s390/multiarch/ifunc-impl-list.c
571         (IFUNC_VX_IMPL): New macro function.
572         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
573         * benchtests/Makefile (wcsmbs-bench): New variable.
574         (string-bench-all): Added wcsmbs-bench.
575         * benchtests/bench-wcslen.c: New File.
577         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
578         s390_vx_libc_ifunc2): New macro function.
580         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
581         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
582         assembler support.
583         * sysdeps/s390/configure: Regenerated.
585         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
586         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
588         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
589         * sysdeps/s390/dl-procinfo.h: Add vector capability.
590         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
592         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
593         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
595         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
596         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
597         (memcmp, bcmp): Use __memcmp_default as alias source.
598         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
599         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
600         Rename to __memcmp_default.
601         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
602         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
603         (memcpy): Use __memcpy_default as alias source.
604         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
605         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
606         Rename to __memcpy_default.
607         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
608         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
609         (memset): Use __memset_default as alias source.
610         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
611         * sysdeps/s390/s390-32/memset.S (__memset_g5):
612         Rename to __memset_default.
613         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
614         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
615         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
616         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
617         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
618         (memcmp, bcmp): Use __memcmp_default as alias source.
619         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
620         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
621         Rename to __memcmp_default.
622         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
623         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
624         (memcpy): Use __memcpy_default as alias source.
625         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
626         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
627         Rename to __memcpy_default.
628         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
629         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
630         (memset): Use __memset_default as alias source.
631         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
632         * sysdeps/s390/s390-64/memset.S (__memset_z900):
633         Rename to __memset_default.
634         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
635         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
637         [BZ #18610]
638         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
639         __ieee_instruction_pointer to __unused.
640         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
641         __ieee_instruction_pointer.
642         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
643         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
644         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
645         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
646         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
647         Mark dxc-field as reserved.
649 2015-08-25  Roland McGrath  <roland@hack.frob.com>
651         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
652         if the weak reference is not null.
654 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
656         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
658         [BZ #11214]
659         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
661 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
663         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
664         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
665         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
666         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
667         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
668         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
669         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
670         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
671         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
672         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
673         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
674         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
675         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
676         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
677         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
678         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
679         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
680         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
682 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
684         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
685         register other than r0 for tabort, it has special meaning.
686         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
687         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
688         transaction before starting syscall.
690 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
692         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
694 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
696         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
698         * sysdeps/x86_64/rtld-memcmp.c: Removed.
699         * sysdeps/x86_64/rtld-memset.S: Likewise.
700         * sysdeps/x86_64/rtld-strchr.S: Likewise.
701         * sysdeps/x86_64/rtld-strlen.S: Likewise.
702         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
703         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
705         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
707 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
709         * debug/strcpy_chk.c: Improve performance.
710         * debug/stpcpy_chk.c: Likewise.
711         * sysdeps/x86_64/strcpy_chk.S: Remove.
712         * sysdeps/x86_64/stpcpy_chk.S: Remove.
714         [BZ #18240]
715         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
717 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
719         [BZ #15128]
720         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
721         ifuncmain8.
722         (modules-names): Add ifuncmod8.
723         ($(objpfx)ifuncmain8): New rule.
724         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
725         <cpuid.h>.
726         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
727         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
728         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
729         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
730         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
731         * sysdeps/x86_64/dl-trampoline.h: Likewise.
732         * sysdeps/x86_64/ifuncmain8.c: New file.
733         * sysdeps/x86_64/ifuncmod8.c: Likewise.
734         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
735         Removed.
736         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
737         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
738         Change rtld_savespace_sse to __glibc_unused2.
739         (RTLD_CHECK_FOREIGN_CALL): Removed.
740         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
741         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
742         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
744 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
746         * sysdeps/aarch64/bzero.S (__bzero): Remove.
748 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
750         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
751         Unconditionally set __fpcr to avoid uninialized warning.
752         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
754 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
756         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
757         is corrupt.
759         * malloc/arena.c (arena_get2): Drop unused argument.
760         (arena_lock): Adjust.
761         (arena_get_retry): Likewise.
763 2015-08-24  Andreas Schwab  <schwab@suse.de>
765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
766         Don't define.
767         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
768         (__ASSUME_IPC64): Don't undef.
769         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
770         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
771         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
772         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
773         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
775         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
776         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
777         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
778         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
779         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
780         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
781         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
782         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
783         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
784         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
785         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
786         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
787         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
788         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
789         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
791 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
793         * manual/Makefile (install): Only build manual when perl is available.
795 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
798         '#undef memcpy' by '#undef memchr'.
800 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
802         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
803         memchr not point to the internal __GI_memchr implementation.
805 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
807         * timezone/Makefile (CFLAGS-zdump.c): Remove
808         -Wno-strict-prototypes.
809         (CFLAGS-zic.c): Likewise.
810         (CFLAGS-ialloc.c): Likewise.
811         (CFLAGS-scheck.c): Likewise.
813         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
814         -Wno-error=undef.
816 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
818         * i386/i686/multiarch/strcasestr-c.c: Removed.
819         * x86_64/multiarch/strcasestr.c: Likewise.
820         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
821         Remove strcasestr.
823 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
825         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
828         variables for high and low parts before possibly modifying them.
830 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
832         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
833         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
834         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
835         of "multiarch/init-arch.h".
836         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
837         * sysdeps/x86/init-arch.h: This.
839 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
841         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
842         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
844 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
846         [BZ #17787]
847         * manual/macros.texi: Add twoexp macro.
848         * manual/filesys.texi: Fix exponents.
849         * manual/llio.texi: Likewise.
850         * manual/stdio.texi: Likewise.
852 2015-08-20  Florian Weimer  <fweimer@redhat.com>
854         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
855         incorrect use.
857 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
859         [BZ #18370]
860         * math/s_csqrt.c (__csqrt): Force underflow exception for results
861         whose real or imaginary part has small absolute value.
862         * math/s_csqrtf.c (__csqrtf): Likewise.
863         * math/s_csqrtl.c (__csqrtl): Likewise.
864         * math/auto-libm-test-in: Add more tests of csqrt.
865         * math/auto-libm-test-out: Regenerated.
866         * sysdeps/i386/fpu/libm-test-ulps: Update.
868 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
870         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
871         __ppc_set_ppr_very_low): New functions.
872         * manual/platform.texi: Add documentation about
873         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
875 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
877         * string/stpncpy.c (stpncpy): Improve performance using
878         __strnlen/memcpy/memset.
880 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
882         [BZ #18796]
883         * scripts/test-installation.pl: Don't add -lmvec to build options if
884         libmvec wasn't built.
886 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
888         [BZ #14341]
889         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
890         case when there is a gap between DT_REL and DT_JMPREL sections.
891         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
892         (LDFLAGS-tst-split-dynreloc): New.
893         (tst-split-dynreloc-ENV): Likewise.
894         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
895         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
897 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
899         [BZ #18822]
900         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
901         attribute_hidden.
902         (__xstat64_conv): Likewise.
903         (__xstat32_conv): Likewise.
905 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
907         [BZ #18822]
908         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
909         Don't load %ebx when calling __setcontext.  Call __setcontext
910         with HIDDEN_JUMPTARGET.
911         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
912         libc_hidden_def.
914 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
916         * sysdeps/i386/i686/Makefile
917         [$(subdir) == string] (sysdep_routines): Moved to ...
918         * sysdeps/i386/Makefile: Here.
919         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
920         * sysdeps/i386/cacheinfo.c: Here.
921         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
922         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
923         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
924         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
926 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
928         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
929         __i586__ is defined.
930         (HAS_I686): Defined to 1 if __i686__ is defined.
932 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
934         * elf/Makefile [$(have-z-execstack) = yes]
935         (CPPFLAGS-tst-execstack.c): New variable.
937         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
938         conditional to [defined UTMPX || _HAVE_UT_TYPE].
939         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
940         UTMPX || _HAVE_UT_TV].
941         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
942         UTMPX || _HAVE_UT_TV - 0].
944 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
946         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
947         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
948         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
950 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
952         * sysdeps/powerpc/dl-procinfo.c:
953         (_dl_powerpc_cap_flags): Added missing strings for some
954         hwcap features.
955         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
957 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
959         Port the 0x7efe...feff pattern to GCC 6.
960         See Steve Ellcey's bug report in:
961         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
962         * string/memrchr.c (MEMRCHR):
963         * string/rawmemchr.c (RAWMEMCHR):
964         * string/strchr.c (strchr):
965         * string/strchrnul.c (STRCHRNUL):
966         Rewrite code to avoid issues with signed shift overflow.
968 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
970         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
971         whether cpuid is available only if HAS_CPUID is 0.
972         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
973         (HAS_I586): Likewise.
974         (HAS_I686): Likewise.
976 2015-08-18  Zack Weinberg  <zackw@panix.com>
978         * misc/Versions (libc): Add GLIBC_2.23.
980 2015-08-18  Alan Modra  <amodra@gmail.com>
982         [BZ #18421]
983         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
984         .Lp__global.
985         (_start): Load %dp via .Lp__global.
986         [!SHARED]: Use .section .rodata.
988 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
990         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
991         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
993 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
995         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
996         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
998 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1000         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1001         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1003 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1005         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1006         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1008 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1010         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1011         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1013 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1015         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1016         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1018 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1020         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1022 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1024         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1025         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
1026         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1027         (__ASSUME_LWS_CAS): Delete.
1029 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1031         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1032         * sysdeps/hppa/configure: Regenerated.
1033         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1034         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1035         * sysdeps/hppa/nptl/tls.h: Likewise.
1037 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
1039         [BZ #18823]
1040         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1041         for scaling up small arguments.
1042         * math/s_csqrtf.c (__csqrtf): Likewise.
1043         * math/s_csqrtl.c (__csqrtl): Likewise.
1044         * math/auto-libm-test-in: Add more tests of csqrt.
1045         * math/auto-libm-test-out: Regenerated.
1047 2015-08-17  Andreas Schwab  <schwab@suse.de>
1049         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1050         version set GLIBC_2.19.
1052 2015-08-16  Zack Weinberg  <zackw@panix.com>
1054         [BZ #18681]
1055         * misc/regexp.h: This interface is no longer supported.
1056         Remove all contents, leaving only an #error directive.
1057         * misc/regexp.c (loc1, loc2, locs, step, advance):
1058         Demote to compatibility symbols.
1060 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
1062         [BZ #18084]
1063         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1064         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1065         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1066         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1067         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1068         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1069         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1070         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1071         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1073 2015-08-15  Zack Weinberg  <zackw@panix.com>
1075         [BZ #18795]
1076         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1077         buffer length is known to be too large, not if it's known to be
1078         small enough.
1079         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1080         overflow at runtime, involving a length parameter, twice: once
1081         with a compile-time constant length parameter, once without.
1083 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1085         [BZ #18824]
1086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1087         scaling x * y up instead of down.
1088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1090         * math/auto-libm-test-in: Add more tests of fma.
1091         * math/auto-libm-test-out: Regenerated.
1093 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1097 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1099         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1100         unnecessary movq.
1101         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1102         Likewise.
1104 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1106         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1107         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1108         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1109         and tgamma.
1110         * math/auto-libm-test-out: Regenerated.
1111         * sysdeps/i386/fpu/libm-test-ulps: Update.
1112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1114         [BZ #16520]
1115         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1116         (__tanh): Force underflow exception for arguments with small
1117         absolute value.
1118         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1119         (__tanhf): Force underflow exception for arguments with small
1120         absolute value.
1121         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1122         (__tanhl): Force underflow exception for arguments with small
1123         absolute value.
1124         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1125         (__tanhl): Force underflow exception for arguments with small
1126         absolute value.
1127         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1128         (__tanhl): Force underflow exception for arguments with small
1129         absolute value.
1130         * math/auto-libm-test-in: Add more tests of tanh.
1131         * math/auto-libm-test-out: Regenerated.
1132         * sysdeps/i386/fpu/libm-test-ulps: Update.
1134 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1136         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1137         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1139 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1141         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1142         <cpuid.h>.
1144 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1146         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1147         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1149 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1151         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1152         Remove $(objpfx)init-arch.o.
1153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1154         init-arch.
1155         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1156         (INIT_ARCH_EXT): Defined as empty.
1157         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1159         __init_cpu_features call.  Replace HAS_XXX with
1160         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1166         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1167         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1168         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1169         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1170         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1171         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1174         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1177         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1179         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1180         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1181         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1182         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1183         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1184         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1185         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1186         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1187         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1188         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1189         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1192         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1197 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1199         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1200         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1201         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1202         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1203         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1204         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1205         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1206         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1207         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1208         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1209         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1210         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1211         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1212         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1213         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1214         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1215         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1216         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1217         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1218         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1219         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1220         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1221         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1222         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1223         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1224         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1225         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1226         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1227         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1229         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1230         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1231         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1232         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1233         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1234         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1235         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1236         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1237         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1238         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1239         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1240         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1241         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1243 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1245         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1246         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1247         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1248         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1249         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1250         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1251         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1252         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1253         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1254         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1255         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1256         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1257         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1258         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1259         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1260         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1262         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1263         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1264         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1266         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1267         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1268         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1269         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1270         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1271         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1272         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1273         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1274         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1275         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1276         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1277         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1278         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1280         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1281         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1282         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1283         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1284         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1285         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1286         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1287         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1289 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1291         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1292         (dl_platform_init): Call init_cpu_features.
1293         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1294         * sysdeps/i386/i686/cacheinfo.c
1295         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1296         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1297         * sysdeps/i386/i686/multiarch/Versions: Removed.
1298         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1299         Removed.
1300         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1301         * sysdeps/unix/sysv/linux/x86/Makefile
1302         (libpthread-sysdep_routines): Remove init-arch.
1303         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1304         <sysdeps/x86_64/dl-procinfo.c> instead of
1305         sysdeps/generic/dl-procinfo.c>.
1306         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1307         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1308         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1309         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1310         [$(subdir) == elf] (tests-static): Add
1311         tst-get-cpu-features-static.
1312         * sysdeps/x86/Versions: New file.
1313         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1314         * sysdeps/x86/cpu-features.c: Likewise.
1315         * sysdeps/x86/cpu-features.h: Likewise.
1316         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1317         * sysdeps/x86/libc-start.c: Likewise.
1318         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1319         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1320         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1321         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1322         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1323         Assume USE_MULTIARCH is defined and don't check it.
1324         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1325         (is_amd): Likewise.
1326         (max_cpuid): Likewise.
1327         (intel_check_word): Likewise.
1328         (__cache_sysconf): Don't call __init_cpu_features.
1329         (__x86_preferred_memory_instruction): Removed.
1330         (init_cacheinfo): Don't call __init_cpu_features. Replace
1331         __cpu_features with GLRO(dl_x86_cpu_features).
1332         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1333         (dl_platform_init): Call init_cpu_features.
1334         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1335         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1336         * sysdeps/x86_64/multiarch/Versions: Removed.
1337         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1338         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1339         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1340         Removed.
1341         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1343 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1345         [BZ #18820]
1346         * libio/Makefile (test-fmemopen-mem): New test.
1347         * libio/test-fmemopen.c (do_bz18820): New test.
1348         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1349         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1351 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1353         [BZ #16734]
1354         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1355         (FREE_BUF): Delete.
1356         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1357         * libio/genops.c (_IO_setb): Use malloc and free directly.
1358         (_IO_default_doallocate, _IO_default_finish): Likewise.
1359         ( _IO_unbuffer_all): Likewise.
1360         ( libc_freeres_fn): Likewise.
1361         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1362         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1363         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1364         (_IO_wdefault_doallocate): Likewise.
1366 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1368         [BZ #18086]
1369         * sysdeps/posix/nice.c (nice): Restore old errno.
1370         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1372 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1376 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1378         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1379         __bcopy and add a weak_alias to bcopy.
1380         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1381         for static build.
1383         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1384         cleanup macro usage.
1385         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1386         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1388         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1389         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1392         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1393         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1394         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1396         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1398         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1401         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1402         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1403         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1405         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1406         libc_hidden_def.
1407         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1409         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1410         (sysdep_routines): Add strstr-ppc64.
1411         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1413 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1415         [BZ #18778]
1416         * elf/Makefile (tests): Add Add tst-nodelete2.
1417         (modules-names): Add tst-nodelete2mod.
1418         (tst-nodelete2mod.so-no-z-defs): New.
1419         ($(objpfx)tst-nodelete2): Likewise.
1420         ($(objpfx)tst-nodelete2.out): Likewise.
1421         (LDFLAGS-tst-nodelete2): Likewise.
1422         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1423         out of loop through all loaded libraries.
1424         * elf/tst-nodelete2.c: New file.
1425         * elf/tst-nodelete2mod.c: Likewise.
1427 2015-08-11  Andreas Schwab  <schwab@suse.de>
1429         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1430         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1431         (__openat64_nocancel): Likewise.
1433 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1435         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1436         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1437         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1438         * math/auto-libm-test-out: Regenerated.
1439         * sysdeps/i386/fpu/libm-test-ulps: Update.
1440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1444         [BZ #18790]
1445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1446         threshold for returning +/- 1.
1447         * math/auto-libm-test-in: Add more tests of tanh.
1448         * math/auto-libm-test-out: Regenerated.
1449         * sysdeps/i386/fpu/libm-test-ulps: Update.
1451 2015-08-10  Andreas Schwab  <schwab@suse.de>
1453         [BZ #18781]
1454         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1455         MORE_OFLAGS to oflag.
1456         * io/test-lfs.c (do_test): Test openat64.
1458 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1460         [BZ #18789]
1461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1462         smaller threshold for returning the argument.
1463         * math/auto-libm-test-in: Add more tests of sinh.
1464         * math/auto-libm-test-out: Regenerated.
1465         * sysdeps/i386/fpu/libm-test-ulps: Update.
1467 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1469         [BZ #18674]
1470         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1471         break.
1473 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1475         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1476         (generated): Don't add $(addprefix z.,$(tzfiles)).
1478 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1480         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1481         * scripts/sysd-rules.awk: Likewise.
1483 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1485         * iconvdata/tst-tables.sh: Change echo -n to printf.
1486         * nss/db-Makefile: Likewise.
1487         * posix/tst-getconf.sh: Likewise.
1488         * stdio-common/tst-unbputc.sh: Likewise.
1490 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1492         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1493         MADV_*_PAGES defines behind this feature check.
1495 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1497         [BZ #18480]
1498         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1499         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1500         Define.
1501         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1502         LOAD_REGS_5, LOAD_REGS_6): Update.
1503         (INTERNAL_SYSCALL): Update using new LOAD defines.
1504         (INTERNAL_SYSCALL_NCS): Likewise.
1505         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1507 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1509         [BZ #16734]
1510         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1512 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1514         [BZ #17905]
1515         * catgets/Makefile (tst-catgets-mem): New test.
1516         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1517         * catgets/open_catalog.c (__open_catalog): Likewise.
1518         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1520 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1522         [BZ #18787]
1523         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1524         clobber registers.
1525         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1526         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1527         Cast return to __typeof (oldval).
1529 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1531         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1532         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1533         and delete sys/syscall.h include.
1535 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1537         [BZ #16517]
1538         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1539         (tan): Force underflow exception for arguments with small absolute
1540         value.
1541         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1542         (__kernel_tanf): Force underflow exception for arguments with
1543         small absolute value.
1544         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1545         (__kernel_tanl): Force underflow exception for arguments with
1546         small absolute value.
1547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1548         (__kernel_tanl): Force underflow exception for arguments with
1549         small absolute value.
1550         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1551         (__kernel_tanl): Force underflow exception for arguments with
1552         small absolute value.
1553         * math/auto-libm-test-in: Add more tests of tan.
1554         * math/auto-libm-test-out: Regenerated.
1556 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1558         Fix sysdeps/i386/fpu/s_scalbn.S build
1560         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1562 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1564         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1566 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1568         Fix gcrt0.o compilation
1570         When static-start-installed-name is different from
1571         start-installed-name, we must not use the shared objects.
1573         * csu/Makefile
1574         (extra-objs): Add gmon-start.o when building shared library and
1575         $(static-start-installed-name) is different from
1576         $(start-installed-name).
1577         $(objpfx)g$(static-start-installed-name): When building shared
1578         library and $(static-start-installed-name) is different from
1579         $(static-start-installed-name), revert to non-shared rule,
1580         i.e. using $(objpfx)% and gmon-start.o.
1582 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1584         [BZ #16519]
1585         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1586         (__ieee754_sinh): Force underflow exception for arguments with
1587         small absolute value.
1588         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1589         (__ieee754_sinhf): Force underflow exception for arguments with
1590         small absolute value.
1591         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1592         (__ieee754_sinhl): Force underflow exception for arguments with
1593         small absolute value.
1594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1595         (__ieee754_sinhl): Force underflow exception for arguments with
1596         small absolute value.
1597         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1598         (__ieee754_sinhl): Force underflow exception for arguments with
1599         small absolute value.
1600         * math/auto-libm-test-in: Add more tests of sinh.
1601         * math/auto-libm-test-out: Regenerated.
1602         * sysdeps/i386/fpu/libm-test-ulps: Update.
1604 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1606         * libio/oldfileops.c: Include unistd.h.
1608 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1610         * stdlib/isomac.c: Include ctype.h.
1612 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1614         * dirent/tst-seekdir.c (main): Converted to ...
1615         (do_test): ... this.
1616         (TEST_FUNCTION): New macro.
1617         Include test-skeleton.c.
1618         * elf/tst-dlmodcount.c (main): Converted to ...
1619         (do_test): ... this.
1620         (TEST_FUNCTION): New macro.
1621         Include test-skeleton.c.
1622         * elf/tst-order-main.c (main): Converted to ...
1623         (do_test): ... this.
1624         (TEST_FUNCTION): New macro.
1625         Include test-skeleton.c.
1626         * elf/tst-pie2.c (main): Converted to ...
1627         (do_test): ... this.
1628         (TEST_FUNCTION): New macro.
1629         Include test-skeleton.c.
1630         * inet/tst-ether_aton.c (main): Converted to ...
1631         (do_test): ... this.
1632         (TEST_FUNCTION): New macro.
1633         Include test-skeleton.c.
1634         * misc/tst-mntent.c (main): Converted to ...
1635         (do_test): ... this.
1636         (TEST_FUNCTION): New macro.
1637         Include test-skeleton.c.
1638         * misc/tst-tsearch.c (main): Converted to ...
1639         (do_test): ... this.
1640         (TEST_FUNCTION): New macro.
1641         Include test-skeleton.c.
1642         * posix/tst-regexloc.c (main): Converted to ...
1643         (do_test): ... this.
1644         (TEST_FUNCTION): New macro.
1645         Include test-skeleton.c.
1646         * resolv/tst-aton.c (main): Converted to ...
1647         (do_test): ... this.
1648         (TEST_FUNCTION): New macro.
1649         Include test-skeleton.c.
1650         * stdio-common/test-fwrite.c (main): Converted to ...
1651         (do_test): ... this.
1652         (TEST_FUNCTION): New macro.
1653         Include test-skeleton.c.
1654         * stdio-common/tst-ferror.c (main): Converted to ...
1655         (do_test): ... this.
1656         (TEST_FUNCTION): New macro.
1657         Include test-skeleton.c.
1658         * stdio-common/tst-printf.c (main): Converted to ...
1659         (do_test): ... this.
1660         (TEST_FUNCTION): New macro.
1661         Include test-skeleton.c.
1662         * stdio-common/tst-printfsz.c (main): Converted to ...
1663         (do_test): ... this.
1664         (TEST_FUNCTION): New macro.
1665         Include test-skeleton.c.
1666         * stdlib/tst-strtod.c (main): Converted to ...
1667         (do_test): ... this.
1668         (TEST_FUNCTION): New macro.
1669         Include test-skeleton.c.
1670         * string/tst-strlen.c (main): Converted to ...
1671         (do_test): ... this.
1672         (TEST_FUNCTION): New macro.
1673         Include test-skeleton.c.
1674         * string/tst-svc.c (main): Converted to ...
1675         (do_test): ... this.
1676         (TEST_FUNCTION): New macro.
1677         Include test-skeleton.c.
1678         * time/tst-strptime.c (main): Converted to ...
1679         (do_test): ... this.
1680         (TEST_FUNCTION): New macro.
1681         Include test-skeleton.c.
1682         * timezone/tst-timezone.c (main): Converted to ...
1683         (do_test): ... this.
1684         (TEST_FUNCTION): New macro.
1685         Include test-skeleton.c.
1687 2015-08-05  Zack Weinberg  <zackw@panix.com>
1689         * misc/regexp.h: Update comments.
1691 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1693         [BZ #18635]
1694         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1695         before return label.
1697 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1699         [BZ #18661]
1700         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1701         when calling __errno_location.
1702         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1703         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1705 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1707         [BZ #18661]
1708         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1709         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1710         __gettimeofday.
1712 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1714         [BZ #18661]
1715         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1716         (__start_context): Don't use pop to restore %rdi so that stack
1717         is aligned to 16 bytes when calling __setcontext.
1719 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1721         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1722         only for libc.
1723         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1725 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1727         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1728         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1729         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1731 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1733         * string/memccpy.c (memccpy):
1734         Improve performance by using memchr/memcpy/__mempcpy.
1736 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1738         * string/strncpy.c (strncpy):
1739         Improve performance by using __strnlen/memcpy.
1741 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1743         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1744         Optimize to avoid an unnecessary FPCR read.
1746 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1748         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1749         Optimize to reduce FPCR/FPSR accesses.
1751 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1753         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1754         dead->data[category] != NULL.
1756 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1758         [BZ #18647]
1759         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1760         and |x| close to 1, use absolute value of x when computing log.
1761         * math/auto-libm-test-in: Add more tests of pow.
1762         * math/auto-libm-test-out: Regenerated.
1764 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1766         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1767         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1768         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1770 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1772         [BZ #18525]
1773         * locales/km_KH: Remove timezone definition.
1774         * locales/lo_LA: Likewise.
1775         * locales/my_MM: Likewise.
1776         * locales/nan_TW@latin: Likewise.
1777         * locales/th_TH: Likewise.
1778         * locales/uk_UA: Likewise.
1780 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1782         [BZ #18265]
1783         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1784         (wcsncat): Likewise.
1785         (wcscmp): Likewise.
1786         (wcsncmp): Likewise.
1788 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1790         * test-skeleton.c (usage): New function.
1791         (main): Call usage when opt is '?'.
1793 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1795         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1796         before first use.
1798 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1800         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1801         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1802         in there too.
1804 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1806         * version.h (RELEASE): Set to "development".
1807         (VERSION): Set to "2.22.90"
1809         * version.h (RELEASE): Set to "stable".
1810         (VERSION): Set to "2.22"
1811         * include/features.h (__GLIBC_MINOR__): Set to 22.
1813 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1815         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1816         Restructure macro to avoid "value computed is not used" warning.
1817         (atomic_compare_and_exchange_val_acq): Likewise.
1819 2015-08-04  Andreas Schwab  <schwab@suse.de>
1821         [BZ #18635]
1822         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1823         ret.
1824         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1826 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1828         * po/pl.po: Updated translation.
1829         * po/uk.po: Likewise.
1830         * po/fi.po: Likewise.
1831         * po/ko.po: Likewise.
1832         * po/ru.po: Likewise.
1833         * po/vi.po: Likewise.
1835 2015-07-31  Zack Weinberg  <zackw@panix.com>
1837         [BZ #18681]
1838         * regexp.h: Add unconditional #warning stating that this header
1839         will be removed soon.  Revise banner comment to match.
1840         (compile): Consistently use ERROR instead of RETURN to report
1841         errors (partial fix for bz#18681).
1842         * regexp.c: Don't include regexp.h. Remove some unnecessary
1843         declarations.
1845 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1847         * po/libc.pot: Regenerated.
1849 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1851         [BZ #18740]
1852         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1853         float-vlen4-arch-ext-cflags): Removed.
1854         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1855         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1857 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1859         [BZ #14113]
1860         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1861         aligned to __aligned__.
1862         (pthread_cond_t, pthread_rwlock_t): Likewise.
1864 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1866         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1868 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1870         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1871         (struct sigaction): Change sa_flags from a long to an int, and add
1872         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1874 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1876         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1877         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1878         sysdeps/generic/sysdep.h include.
1879         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1880         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1881         sysdeps/hppa/sysdep.h.
1882         (ENTRY, PSEUDO): Undefine before defining.
1884 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1886         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1887         from scratch to use INTERNAL_SYSCALL.
1889 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1891         [BZ #18078]
1892         * scripts/check-localplt.awk: Support alternate relocations.
1893         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1894         sections.
1895         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1896         malloc entries with + REL R_386_GLOB_DAT.
1897         * sysdeps/x86_64/localplt.data: New file.
1899 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1901         [BZ #18731]
1902         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1903         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1904         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1906 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1908         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1910 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1912         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1913         directly in terms of __sync_fetch_and_add and delete (int) cast.
1915 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1917         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1918         the -D_ASM_IA64_CURRENT_H flag.
1920 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1922         [BZ #18641]
1923         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1925 2015-07-27  Andreas Schwab  <schwab@suse.de>
1927         * conform/conformtest.pl (checknamespace): Filter out string
1928         literals while tokenizing.
1930 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1932         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1933         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1934         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1936 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1938         * nptl/tst-join7mod.c: Add #include <string.h>.
1940 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1942         * sysdeps/nios2/libm-test-ulps: Update.
1944 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1946         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1947         Fix order of arguments to the rt_sigprocmask syscall.
1948         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1949         Likewise.
1951 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1953         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1955 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1957         [BZ #18457]
1958         * nptl/Makefile (tests): New test case tst-join7.
1959         (modules-names): New test case module tst-join7mod.
1960         * nptl/tst-join7.c: New file.
1961         * nptl/tst-join7mod.c: New file.
1962         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1963         all translation units in libc.so, libpthread.so and rtld.
1965 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1969 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1971         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1972         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1973         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1974         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1975         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1977         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1978         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1979         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1980         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1981         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1982         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1983         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1984         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1985         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1986         implementation.
1988 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1990         [BZ #17711]
1991         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1992         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1993         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1994         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1995         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1996         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1998 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2000         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2001         instead of just saying load lock in the comments.
2003 2015-07-23  Roland McGrath  <roland@hack.frob.com>
2005         * sysdeps/unix/Subdirs: Moved ...
2006         * sysdeps/posix/Subdirs: ... here.
2007         * login/pty.h (struct termios, struct winsize): Add forward decls.
2008         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2009         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2010         * sysdeps/arm/nacl/libc.abilist: Updated.
2011         * sysdeps/nacl/libutil.abilist: New file.
2013         * bits/signum.h: Update comments to mention 1003.1-2013 too.
2014         (SIGWINCH): New macro.
2016         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2017         * sysdeps/arm/nacl/libc.abilist: Add it.
2019 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2021         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2023 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2025         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2026         Swap __glibc_reserved0 and sa_flags order.
2028 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2030         [BZ #18657]
2031         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2032         are pending TLS destructor calls.
2033         * include/link.h (struct link_map): Add concurrency note for
2034         L_TLS_DTOR_COUNT.
2035         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2036         Don't touch the link map flag.  Atomically increment
2037         l_tls_dtor_count.
2038         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2039         Avoid taking the load lock and don't touch the link map flag.
2040         * stdlib/tst-tls-atexit-nodelete.c: New test case.
2041         * stdlib/Makefile (tests): Use it.
2042         * stdlib/tst-tls-atexit.c (do_test): dlopen
2043         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
2044         to allow tst-tls-atexit-nodelete test case to use it.
2046 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2048         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2049         to bits/types.h.
2050         (msgqnum_t): New typedef.
2051         (msglen_t): Likewise.
2052         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
2053         and msg_qbytes type to msglen_t.
2055 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2057         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2058         pad0 to __glibc_reserved0.
2059         (struct stat64): Likewise.
2061 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2063         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2064         Change sa_flags from a long to an int and add __glibc_reserved0 before
2065         it for padding.
2067 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2069         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2070         anonymous by deleting "siginfo" name.
2072 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2074         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2075         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2076         rather than __nacl_irt_filename.
2077         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2079         * NEWS: New item for arm-nacl port.
2080         * sysdeps/arm/nacl/libc.abilist: New file.
2081         * sysdeps/nacl/ld.abilist: New file.
2082         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2083         * sysdeps/nacl/libanl.abilist: New file.
2084         * sysdeps/nacl/libcrypt.abilist: New file.
2085         * sysdeps/nacl/libdl.abilist: New file.
2086         * sysdeps/nacl/libm.abilist: New file.
2087         * sysdeps/nacl/libpthread.abilist: New file.
2088         * sysdeps/nacl/libresolv.abilist: New file.
2089         * sysdeps/nacl/librt.abilist: New file.
2091 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2093         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2094         __startcontext to initialize the new context.
2095         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2096         up CFI directive to forbid further backtracing.
2098 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2100         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2101         reference.
2102         * charmaps/ANSI_X3.4-1968: Likewise.
2103         * charmaps/BS_4730: Likewise.
2104         * charmaps/BS_VIEWDATA: Likewise.
2105         * charmaps/CP1250: Likewise.
2106         * charmaps/CP1251: Likewise.
2107         * charmaps/CP1252: Likewise.
2108         * charmaps/CP1253: Likewise.
2109         * charmaps/CP1254: Likewise.
2110         * charmaps/CP1255: Likewise.
2111         * charmaps/CP1256: Likewise.
2112         * charmaps/CSN_369103: Likewise.
2113         * charmaps/EBCDIC-DK-NO: Likewise.
2114         * charmaps/GB_1988-80: Likewise.
2115         * charmaps/GREEK-CCITT: Likewise.
2116         * charmaps/GREEK7: Likewise.
2117         * charmaps/INIS-8: Likewise.
2118         * charmaps/ISIRI-3342: Likewise.
2119         * charmaps/ISO_2033-1983: Likewise.
2120         * charmaps/ISO_5427-EXT: Likewise.
2121         * locales/POSIX: Likewise.
2122         * locales/ar_SA: Likewise.
2123         * locales/be_BY: Likewise.
2124         * locales/be_BY@latin: Likewise.
2125         * locales/ca_ES: Likewise.
2126         * locales/cs_CZ: Likewise.
2127         * locales/da_DK: Likewise.
2128         * locales/de_BE: Likewise.
2129         * locales/de_CH: Likewise.
2130         * locales/de_LU: Likewise.
2131         * locales/en_AU: Likewise.
2132         * locales/en_BW: Likewise.
2133         * locales/en_CA: Likewise.
2134         * locales/en_DK: Likewise.
2135         * locales/en_GB: Likewise.
2136         * locales/en_IE: Likewise.
2137         * locales/en_NZ: Likewise.
2138         * locales/en_ZA: Likewise.
2139         * locales/en_ZW: Likewise.
2140         * locales/es_AR: Likewise.
2141         * locales/es_BO: Likewise.
2142         * locales/es_CL: Likewise.
2143         * locales/es_CO: Likewise.
2144         * locales/es_DO: Likewise.
2145         * locales/es_EC: Likewise.
2146         * locales/es_ES: Likewise.
2147         * locales/es_HN: Likewise.
2148         * locales/es_MX: Likewise.
2149         * locales/es_PA: Likewise.
2150         * locales/es_PE: Likewise.
2151         * locales/es_PY: Likewise.
2152         * locales/es_SV: Likewise.
2153         * locales/es_US: Likewise.
2154         * locales/es_UY: Likewise.
2155         * locales/es_VE: Likewise.
2156         * locales/et_EE: Likewise.
2157         * locales/fa_IR: Likewise.
2158         * locales/fo_FO: Likewise.
2159         * locales/fr_CA: Likewise.
2160         * locales/fr_CH: Likewise.
2161         * locales/gv_GB: Likewise.
2162         * locales/he_IL: Likewise.
2163         * locales/hr_HR: Likewise.
2164         * locales/id_ID: Likewise.
2165         * locales/is_IS: Likewise.
2166         * locales/it_CH: Likewise.
2167         * locales/iw_IL: Likewise.
2168         * locales/kl_GL: Likewise.
2169         * locales/ko_KR: Likewise.
2170         * locales/kw_GB: Likewise.
2171         * locales/lg_UG: Likewise.
2172         * locales/lt_LT: Likewise.
2173         * locales/lv_LV: Likewise.
2174         * locales/mi_NZ: Likewise.
2175         * locales/nhn_MX: Likewise.
2176         * locales/nl_BE: Likewise.
2177         * locales/pl_PL: Likewise.
2178         * locales/sk_SK: Likewise.
2179         * locales/sl_SI: Likewise.
2180         * locales/sv_FI: Likewise.
2181         * locales/tl_PH: Likewise.
2182         * locales/tr_TR: Likewise.
2183         * locales/vi_VN: Likewise.
2185 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2187         [BZ #17475]
2188         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2189         of tu_IN and bh_IN.
2191 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2193         [BZ #18694]
2194         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2195         bits/wordsize.h.
2196         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2198 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2200         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2201         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2202         (spawn_thread): New function.
2203         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2204         (do_test): ... here.  Use IS_LOADED to test for its
2205         availability.
2207 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2209         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2211 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2213         [BZ #18696]
2214         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2215         si_addr_bnd.
2216         (si_lower): New.
2217         (si_upper): Likewise.
2219 2015-07-16  David S. Miller  <davem@davemloft.net>
2221         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2223 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2225         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2226         buffer.
2227         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2228         fail output information.
2230 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2233         and strstr-ppc64..
2234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2235         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2236         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2237         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2238         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2240 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2242         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2243         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2244         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2245         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2247 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2249         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2250         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2251         rtld_hidden_proto.
2252         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2254 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2256         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2257         the test can fail.
2259         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2261         [BZ #18676]
2262         * elf/tst-nodelete-opened.c: New test case.
2263         * elf/tst-nodelete-opened-lib.c: New test case module.
2264         * elf/Makefile (tests, modules-names): Use them.
2265         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2266         early.
2268 2015-07-15  David S. Miller  <davem@davemloft.net>
2270         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2271         futex-intenal.h
2272         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2273         * sysdeps/sparc/sparc64/Makefile: Likewise.
2274         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2275         Remove space from macro define.
2276         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2278 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2280         [BZ #17475]
2281         * locale/iso-639.def: Update Bhili and Tulu language codes as
2282         per iso639-3.
2284 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2286         * elf/tst-leaks1.c (main): Converted to ...
2287         (do_test): ... this.
2288         (TEST_FUNCTION): New macro.
2289         Include test-skeleton.c.
2290         * localedata/tst-langinfo.c (main): Converted to ...
2291         (do_test): ... this.
2292         (TEST_FUNCTION): New macro.
2293         Include test-skeleton.c.
2294         * math/test-fpucw.c (main): Converted to ...
2295         (do_test): ... this.
2296         (TEST_FUNCTION): New macro.
2297         Include test-skeleton.c.
2298         * math/test-tgmath.c (main): Converted to ...
2299         (do_test): ... this.
2300         (TEST_FUNCTION): New macro.
2301         Include test-skeleton.c.
2302         * math/test-tgmath2.c (main): Converted to ...
2303         (do_test): ... this.
2304         (TEST_FUNCTION): New macro.
2305         Include test-skeleton.c.
2306         * setjmp/tst-setjmp.c (main): Converted to ...
2307         (do_test): ... this.
2308         (TEST_FUNCTION): New macro.
2309         Include test-skeleton.c.
2310         * stdio-common/tst-sscanf.c (main): Converted to ...
2311         (do_test): ... this.
2312         (TEST_FUNCTION): New macro.
2313         Include test-skeleton.c.
2314         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2315         (do_test): ... this.
2316         (TEST_FUNCTION): New macro.
2317         Include test-skeleton.c.
2319         * elf/tst-audit9.c (main): Converted to ...
2320         (do_test): ... this.
2321         (TEST_FUNCTION): New macro.
2322         Include test-skeleton.c.
2324 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2326         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2328 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2330         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2331         New variable.
2333 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2335         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2337 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2339         * sysdeps/generic/dl-fileid.h: New file.
2340         * sysdeps/posix/dl-fileid.h: New file.
2341         * sysdeps/nacl/dl-fileid.h: New file.
2342         * include/link.h: Include <dl-fileid.h>.
2343         (struct link_map): Replace l_dev and l_ino with l_file_id.
2344         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2345         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2346         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2348 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2350         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2352 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2354         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2355         Add iff $CXX is set.
2356         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2357         Likewise.
2358         (tst-nodelete-zmodiff): Likewise.
2359         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2361 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2363         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2365 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2367         * sysdeps/aarch64/fpu/math_private.h
2368         (define math_opt_barrier): Add AArch64 version.
2369         (math_force_eval): Likewise.
2371 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2373         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2375 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2377         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2378         %ld with %jd and cast to intmax_t.
2379         (do_test_length_zero): Likewise.
2381 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2383         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2385 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2387         * sysdeps/tile/libm-test-ulps: Regenerated.
2389         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2390         Comment out the whole function, not just its body.
2392 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2394         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2395         locks.
2397         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2399 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2401         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2402         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2404 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2406         * sysdeps/nptl/futex-internal.h: New file.
2407         * sysdeps/nacl/futex-internal.h: New file.
2408         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2409         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2410         error checking.
2411         (setxid_unmark_thread): Likewise.
2412         (__nptl_setxid): Likewise.
2413         (__wait_lookup_done): Likewise.
2414         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2415         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2416         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2417         * nptl/pthread_once.c (clear_once_control): Likewise.
2418         (__pthread_once_slow): Likewise.
2419         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2420         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2421         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2422         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2423         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2424         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2425         Likewise.
2426         (__pthread_rwlock_rdlock): Likewise.
2427         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2428         Likewise.
2429         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2430         Likewise.
2431         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2432         Likewise.
2433         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2434         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2435         Likewise.
2436         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2437         __ASSUME_PRIVATE_FUTEX check.
2438         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2439         Check that shared futexes are supported.
2440         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2441         wrappers with error checking.
2442         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2443         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2444         * nptl/pthread_barrierattr_setpshared.c
2445         (pthread_barrierattr_setpshared): Check that shared futexes are
2446         supported.
2447         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2448         Likewise.
2449         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2450         Likewise.
2451         * nptl/sem_init.c (futex_private_if_supported): Remove.
2452         (__new_sem_init): Adapt and check that shared futexes are supported.
2453         * nptl/sem_open.c (sem_open): Likewise.
2454         * nptl/sem_post.c (futex_wake): Remove.
2455         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2456         (do_futex_wait): Use futex wrappers with error checking.
2457         * nptl/sem_wait.c: Include lowlevellock.h.
2458         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2459         Use futex_supports_pshared.
2460         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2461         Use futex wrappers with error checking.
2462         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2463         Likewise.
2464         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2465         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2466         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2467         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2468         (futex_wake): Likewise.
2469         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2470         (do_futex_wait): Use futex wrappers with error checking.
2471         (__new_sem_wait_slow): Update EINTR handling.
2472         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2474 2015-07-09  Martin Sebor  <msebor@redhat.com>
2476         [BZ #18435]
2477         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2478         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2479         * nptl/Makefile (test-xfail-tst-once5): Define.
2481 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2483         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2484         * elf/dl-minimal.c: For readability, reorder some definitions and
2485         introduce more page breaks.  Include <stdio.h>.
2486         (__libc_fatal): New function.
2488         * include/unistd.h: Add rtld_hidden_proto for _exit.
2489         * posix/_exit.c: Add rtld_hidden_def.
2490         * sysdeps/mach/hurd/_exit.c: Likewise.
2491         * sysdeps/nacl/_exit.c: Likewise.
2492         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2493         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2495 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2497         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2498         bndmov encoding with zero displacement.
2500 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2501             H.J. Lu  <hongjiu.lu@intel.com>
2503         [BZ #18134]
2504         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2505         * sysdeps/i386/configure: Regenerated.
2506         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2507         (_dl_runtime_profile): Save and restore Intel MPX return bound
2508         registers when calling _dl_call_pltexit.  Add
2509         PRESERVE_BND_REGS_PREFIX before return.
2510         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2511         (LRV_BND1_OFFSET): Likewise.
2512         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2513         lrv_bnd1.
2514         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2515         typo in bndmov encoding.
2516         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2517         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2518         branch instructions to preserve bounds.
2520 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2523         [GLIBC_2.22]: Add fmemopen.
2525 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2527         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2528         returns an error, also try to use host port from __mach_host_self for
2529         the __vm_wire call.
2530         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2532 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2534         [BZ #18400]
2535         [BZ #18648]
2536         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2537         Fix pr_uid and pr_gid members.
2538         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2539         definition to elf_greg_t.
2541 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2543         [BZ #18383]
2544         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2545         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2546         * sysdeps/arm/configure: Regenerated.
2547         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2548         (test-xfail-tst-tlsalign-static): Variable removed.
2550         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2551         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2552         rather than explicit 'ln -s'.
2554         * resolv/rpc/netdb.h: New file.
2555         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2557 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2559         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2560         length buffers.
2561         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2562         test-skeleton.c.
2564         [BZ #6544]
2565         [BZ #11216]
2566         [BZ #12836]
2567         [BZ #13151]
2568         [BZ #13152]
2569         [BZ #14292]
2570         * include/stdio.h (fmemopen): Remove hidden prototype.
2571         (__fmemopen): Add new hidden prototype.
2572         * libio/Makefile: Add oldfmemopen object.
2573         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2574         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2575         compliance.
2576         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2577         symbol compatibility.
2578         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2579         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2580         fmemopen.
2581         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2582         on append and read mode.
2583         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2584         fmemopen.
2585         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2586         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2587         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2588         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2589         Likewise.
2590         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2591         [GLIBC_2.22]: Likewise.
2592         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2597         [GLIBC_2.22]: Likewise.
2598         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2599         [GLIBC_2.22]: Likewise.
2600         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2601         [GLIBC_2.22]: Likewise.
2602         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2603         [GLIBC_2.22]: Likewise.
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2605         [GLIBC_2.22]: Likewise.
2606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2607         [GLIBC_2.22]: Likewise.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2609         [GLIBC_2.22]: Likewise.
2610         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2611         Likewise.
2612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2613         Likewise.
2614         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2615         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2616         [GLIBC_2.22]: Likewise.
2617         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2618         [GLIBC_2.22]: Likewise.
2619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2620         [GLIBC_2.22]: Likewise.
2621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2622         [GLIBC_2.22]: Likewise.
2623         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2624         Likewise.
2625         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2626         Likewise.
2627         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2628         Likewise.
2629         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2630         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2632 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2634         [BZ #18643]
2635         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2636         IPV6_PATHMTU, and IPV6_DONTFRAG.
2638 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2640         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2641         and _IO_UNBUFFERED.
2642         * libio/oldfileops.c: Likewise.
2643         * libio/wfileops.c: Likewise.
2645 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2647         * nscd/selinux.c: Delete selinux/flask.h include.
2649 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2651         [BZ #18641]
2652         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2653         (putpwent): Likewise.
2654         (getpwnam): Likewise.
2655         (getpwent_r): Likewise.
2656         (getpwuid_r): Likewise.
2657         (getpwnam_r): Likewise.
2658         (fgetpwent_r): Likewise.
2660 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2662         [BZ #18557]
2663         * inet/rcmd.c (__validuser2_sa): Check user first to
2664         short-circuit host check.
2666 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2667             Mikhail Ilin  <m.ilin@samsung.com>
2669         [BZ #17833]
2670         * elf/Makefile (tests): Add tst-nodelete.
2671         (modules-names): Add tst-nodelete-uniquemod.
2672         (tst-nodelete-uniquemod.so-no-z-defs): New.
2673         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2674         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2675         ($(objpfx)tst-nodelete): Likewise.
2676         ($(objpfx)tst-nodelete.out): Likewise.
2677         (LDFLAGS-tst-nodelete): Likewise.
2678         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2679         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2680         implement forced object deletion.
2681         (_dl_close): Pass false to _dl_close_worker.
2682         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2683         * elf/tst-nodelete.cc: New file.
2684         * elf/tst-nodeletelib.cc: Likewise.
2685         * elf/tst-znodeletelib.cc: Likewise.
2686         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2688 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2690         [BZ #18508]
2691         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2692         Depend on $(libdl).
2693         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2694         is not called infinitely times.
2695         (backtrace_helper): New function.
2696         (trace_arg): New struct.
2697         (st1): Enlarge stack size.
2698         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2699         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2700         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2701         Likewise.
2703 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2705         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2707 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2709         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2710         Include sys/types.h instead of bits/types.h.
2711         Remove inclusion of bits/wordsize.h.
2713 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2715         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2716         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2717         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2718         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2719         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2720         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2722 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2724         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2725         link-defines.sym.
2726         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2727         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2728         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2729         and LR_SIZE.
2730         * sysdeps/i386/link-defines.sym: New file.
2732 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2734         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2735         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2736         ($(objpfx)tst-audit3): New rule.
2737         ($(objpfx)tst-audit3.out): Likewise.
2738         * sysdeps/i386/tst-audit3.c: New file.
2739         * sysdeps/i386/tst-audit3.h: Likewise.
2740         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2741         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2743 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2745         [BZ #18633]
2746         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2747         pointer in C code.
2748         (__strcat_c): Likewise.
2749         (__strcat_g): Likewise.
2751 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2753         [BZ #18592]
2754         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2756 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2758         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2759         New function.  (__ieee754_sqrtf): New function.
2760         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2761         New function.
2762         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2763         New function.
2765 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2767         * sysdeps/ieee754/support.c: Remove unused file.
2769 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2771         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2772         registers instead of d ones so the layout is kernel abi compatible.
2773         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2774         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2775         Likewise.
2777 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2779         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2781 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2783         [BZ #18619]
2784         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2785         and return argument in case of subnormal argument.
2787 2015-07-01  Martin Sebor  <msebor@redhat.com>
2789         [BZ #18435]
2790         * nptl/Makefile: Add tst-once5.cc.
2791         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2792         Remove macro redefinitions.
2793         * nptl/tst-once5.cc: New test.
2795 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2797         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2799         * sysdeps/arm/libm-test-ulps: Regenerated.
2801         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2802         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2804 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2806         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2807         lll_lock_wait_private and lll_futex_wake probes.
2809         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2810         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2811         Likewise.
2812         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2813         atomic_spin_nop.
2814         * sysdeps/x86_64/bits/atomic.h: Likewise.
2815         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2816         to atomic_spin_nop and move ...
2817         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2818         ... here and ...
2819         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2820         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2821         atomic_spin_nop instead of BUSY_WAIT_NOP.
2822         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2823         Likewise.
2824         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2825         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2826         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2827         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2828         instead of atomic_delay.
2830 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2832         [BZ #18613]
2833         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2834         X_ADJ not X when adjusting exponent.
2835         (__ieee754_gamma_r): Do intermediate computations in
2836         round-to-nearest then adjust overflowing and underflowing results
2837         as needed.
2838         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2839         of X_ADJ not X when adjusting exponent.
2840         (__ieee754_gammaf_r): Do intermediate computations in
2841         round-to-nearest then adjust overflowing and underflowing results
2842         as needed.
2843         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2844         log of X_ADJ not X when adjusting exponent.
2845         (__ieee754_gammal_r): Do intermediate computations in
2846         round-to-nearest then adjust overflowing and underflowing results
2847         as needed.  Use 1.0L not 1.0f as numerator of division.
2848         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2849         log of X_ADJ not X when adjusting exponent.
2850         (__ieee754_gammal_r): Do intermediate computations in
2851         round-to-nearest then adjust overflowing and underflowing results
2852         as needed.  Use 1.0L not 1.0f as numerator of division.
2853         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2854         of X_ADJ not X when adjusting exponent.
2855         (__ieee754_gammal_r): Do intermediate computations in
2856         round-to-nearest then adjust overflowing and underflowing results
2857         as needed.  Use 1.0L not 1.0f as numerator of division.
2858         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2859         to auto-libm-test-in.
2860         (tgamma_test): Use ALL_RM_TEST.
2861         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2862         tests of tgamma with spurious-overflow.
2863         * math/auto-libm-test-out: Regenerated.
2864         * math/gen-libm-have-vector-test.sh: Do not check for START.
2865         * sysdeps/i386/fpu/libm-test-ulps: Update.
2866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2868         [BZ #18612]
2869         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2870         arguments, just return 0.5 times the argument, with underflow
2871         forced as needed.
2872         * math/auto-libm-test-in: Add more tests of j1.
2873         * math/auto-libm-test-out: Regenerated.
2875         [BZ #16559]
2876         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2877         (__ieee754_j1): Force underflow exception for small results.
2878         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2879         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2880         (__ieee754_j1f): Force underflow exception for small results.
2881         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2882         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2884         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2885         (__ieee754_j1l): Force underflow exception for small results.
2886         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2887         * math/auto-libm-test-in: Add more tests of j1 and jn.
2888         * math/auto-libm-test-out: Regenerated.
2890         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2891         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2892         (PF_MPLS): Likewise.
2893         (AF_IB): Likewise.
2894         (AF_MPLS): Likewise.
2895         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2896         value and macro.
2897         (MS_RMT_MASK): Include MS_LAZYTIME.
2899 2015-06-26  Mel Gorman  <mgorman@suse.de>
2901         [BZ #18502]
2902         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2903         already minimal.
2905 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2907         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2908         (DT_MIPS_NUM): Update.
2909         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2910         DT_MIPS_RLD_MAP_REL.
2912 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2914         [BZ #16559]
2915         [BZ #18602]
2916         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2917         round-to-nearest internally then recompute results that
2918         underflowed to zero in the original rounding mode.
2919         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2920         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2922         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2923         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2924         * sysdeps/i386/fpu/libm-test-ulps: Update.
2925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2927 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2929         * NEWS: Fixed description of link with vector math library.
2931 2015-06-25  Andreas Schwab  <schwab@suse.de>
2933         [BZ #18549]
2934         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2935         * libio/test-fmemopen.c (do_test): Add test for it.
2937 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2939         [BZ #17841]
2940         * Makeconfig (no-pie-ldflag): New.
2941         (+link): Set to $(+link-pie) if default to PIE.
2942         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2943         * config.make.in (build-pie-default): New.
2944         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2945         is default.  AC_SUBST.
2946         * configure: Regenerated.
2947         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2949 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2951         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2952         to 'unsigned int'.
2954         * resolv/gai_misc.h (struct waitlist): Change type of field
2955         counterp to 'volatile unsigned int *'.
2956         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2957         FUTEXADDR and OLDVAL.
2958         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2959         Give local variable TOTAL type 'volatile unsigned int'.
2960         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2961         * resolv/gai_suspend.c (gai_suspend):
2962         Give local variable CNTR type 'unsigned int'.
2964         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2965         counterp to 'volatile unsigned int *'.
2966         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2967         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2968         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2969         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2970         Give local variable TOTAL type 'volatile unsigned int'.
2971         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2973 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2975         [BZ #18383]
2976         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2977         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2978         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2979         comment for i386/x86-64.
2980         (test-xfail-tst-tlsalign-extern-static): Removed.
2982 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2984         * math/test-double.h: New file.
2985         * math/test-float.h: Likewise.
2986         * math/test-ldouble.h: Likewise.
2987         * math/test-math-inline.h: Likewise.
2988         * math/test-math-no-inline.h: Likewise.
2989         * math/test-math-scalar.h: Likewise.
2990         * math/test-math-vector.h: Likewise.
2991         * math/test-vec-loop.h: Remove file.  Contents moved into
2992         test-math-vector.h.
2993         * math/libm-test.inc (MATHCONST): Do not document macro.
2994         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2995         and test-math-scalar.h.
2996         (FUNC): Remove macro.
2997         (FUNC_TEST): Likewise.
2998         (FLOAT): Likewise.
2999         (MATHCONST): Likewise.
3000         (PRINTF_EXPR): Likewise.
3001         (PRINTF_XEXPR): Likewise.
3002         (PRINTF_NEXPR): Likewise.
3003         (TEST_DOUBLE): Likewise.
3004         (TEST_MATHVEC): Likewise.
3005         (__NO_MATH_INLINES): Likewise.
3006         * math/test-float.c: Include test-float.h, test-math-no-inline.h
3007         and test-math-scalar.h.
3008         (FUNC): Remove macro.
3009         (FUNC_TEST): Likewise.
3010         (FLOAT): Likewise.
3011         (MATHCONST): Likewise.
3012         (PRINTF_EXPR): Likewise.
3013         (PRINTF_XEXPR): Likewise.
3014         (PRINTF_NEXPR): Likewise.
3015         (TEST_FLOAT): Likewise.
3016         (TEST_MATHVEC): Likewise.
3017         (__NO_MATH_INLINES): Likewise.
3018         * math/test-idouble.c: Include test-double.h, test-math-inline.h
3019         and test-math-scalar.h.
3020         (FUNC): Remove macro.
3021         (FUNC_TEST): Likewise.
3022         (FLOAT): Likewise.
3023         (MATHCONST): Likewise.
3024         (PRINTF_EXPR): Likewise.
3025         (PRINTF_XEXPR): Likewise.
3026         (PRINTF_NEXPR): Likewise.
3027         (TEST_DOUBLE): Likewise.
3028         (TEST_MATHVEC): Likewise.
3029         (TEST_INLINE): Likewise.
3030         (__NO_MATH_INLINES): Likewise.
3031         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3032         test-math-scalar.h.
3033         (FUNC): Remove macro.
3034         (FUNC_TEST): Likewise.
3035         (FLOAT): Likewise.
3036         (MATHCONST): Likewise.
3037         (PRINTF_EXPR): Likewise.
3038         (PRINTF_XEXPR): Likewise.
3039         (PRINTF_NEXPR): Likewise.
3040         (TEST_FLOAT): Likewise.
3041         (TEST_MATHVEC): Likewise.
3042         (TEST_INLINE): Likewise.
3043         (__NO_MATH_INLINES): Likewise.
3044         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3045         and test-math-scalar.h.
3046         (FUNC): Remove macro.
3047         (FUNC_TEST): Likewise.
3048         (FLOAT): Likewise.
3049         (MATHCONST): Likewise.
3050         (PRINTF_EXPR): Likewise.
3051         (PRINTF_XEXPR): Likewise.
3052         (PRINTF_NEXPR): Likewise.
3053         (TEST_LDOUBLE): Likewise.
3054         (TEST_MATHVEC): Likewise.
3055         (TEST_INLINE): Likewise.
3056         (__NO_MATH_INLINES): Likewise.
3057         * math/test-ldouble.c: Include test-ldouble.h,
3058         test-math-no-inline.h and test-math-scalar.h.
3059         (FUNC): Remove macro.
3060         (FUNC_TEST): Likewise.
3061         (FLOAT): Likewise.
3062         (MATHCONST): Likewise.
3063         (PRINTF_EXPR): Likewise.
3064         (PRINTF_XEXPR): Likewise.
3065         (PRINTF_NEXPR): Likewise.
3066         (TEST_LDOUBLE): Likewise.
3067         (TEST_MATHVEC): Likewise.
3068         (__NO_MATH_INLINES): Likewise.
3069         * math/test-double-vlen2.h: Include test-double.h,
3070         test-math-no-inline.h and test-math-vector.h.
3071         (FLOAT): Remove macro.
3072         (FUNC): Likewise.
3073         (MATHCONST): Likewise.
3074         (PRINTF_EXPR): Likewise.
3075         (PRINTF_XEXPR): Likewise.
3076         (PRINTF_NEXPR): Likewise.
3077         (TEST_DOUBLE): Likewise.
3078         (TEST_MATHVEC): Likewise.
3079         (__NO_MATH_INLINES): Likewise.
3080         (CNCT): Likewise.
3081         (CONCAT): Likewise.
3082         (WRAPPER_NAME): Likewise.
3083         (WRAPPER_DECL): Likewise.
3084         (WRAPPER_DECL_ff): Likewise.
3085         (WRAPPER_DECL_fFF): Likewise.
3086         (VECTOR_WRAPPER): Likewise.
3087         (VECTOR_WRAPPER_ff): Likewise.
3088         (VECTOR_WRAPPER_fFF): Likewise.
3089         (VEC_LEN): New macro.
3090         * math/test-double-vlen4.h: Include test-double.h,
3091         test-math-no-inline.h and test-math-vector.h.
3092         (FLOAT): Remove macro.
3093         (FUNC): Likewise.
3094         (MATHCONST): Likewise.
3095         (PRINTF_EXPR): Likewise.
3096         (PRINTF_XEXPR): Likewise.
3097         (PRINTF_NEXPR): Likewise.
3098         (TEST_DOUBLE): Likewise.
3099         (TEST_MATHVEC): Likewise.
3100         (__NO_MATH_INLINES): Likewise.
3101         (CNCT): Likewise.
3102         (CONCAT): Likewise.
3103         (WRAPPER_NAME): Likewise.
3104         (WRAPPER_DECL): Likewise.
3105         (WRAPPER_DECL_ff): Likewise.
3106         (WRAPPER_DECL_fFF): Likewise.
3107         (VECTOR_WRAPPER): Likewise.
3108         (VECTOR_WRAPPER_ff): Likewise.
3109         (VECTOR_WRAPPER_fFF): Likewise.
3110         (VEC_LEN): New macro.
3111         * math/test-double-vlen8.h: Include test-double.h,
3112         test-math-no-inline.h and test-math-vector.h.
3113         (FLOAT): Remove macro.
3114         (FUNC): Likewise.
3115         (MATHCONST): Likewise.
3116         (PRINTF_EXPR): Likewise.
3117         (PRINTF_XEXPR): Likewise.
3118         (PRINTF_NEXPR): Likewise.
3119         (TEST_DOUBLE): Likewise.
3120         (TEST_MATHVEC): Likewise.
3121         (__NO_MATH_INLINES): Likewise.
3122         (CNCT): Likewise.
3123         (CONCAT): Likewise.
3124         (WRAPPER_NAME): Likewise.
3125         (WRAPPER_DECL): Likewise.
3126         (WRAPPER_DECL_ff): Likewise.
3127         (WRAPPER_DECL_fFF): Likewise.
3128         (VECTOR_WRAPPER): Likewise.
3129         (VECTOR_WRAPPER_ff): Likewise.
3130         (VECTOR_WRAPPER_fFF): Likewise.
3131         (VEC_LEN): New macro.
3132         * math/test-float-vlen4.h: Include test-float.h,
3133         test-math-no-inline.h and test-math-vector.h.
3134         (FLOAT): Remove macro.
3135         (FUNC): Likewise.
3136         (MATHCONST): Likewise.
3137         (PRINTF_EXPR): Likewise.
3138         (PRINTF_XEXPR): Likewise.
3139         (PRINTF_NEXPR): Likewise.
3140         (TEST_FLOAT): Likewise.
3141         (TEST_MATHVEC): Likewise.
3142         (__NO_MATH_INLINES): Likewise.
3143         (CNCT): Likewise.
3144         (CONCAT): Likewise.
3145         (WRAPPER_NAME): Likewise.
3146         (WRAPPER_DECL): Likewise.
3147         (WRAPPER_DECL_ff): Likewise.
3148         (WRAPPER_DECL_fFF): Likewise.
3149         (VECTOR_WRAPPER): Likewise.
3150         (VECTOR_WRAPPER_ff): Likewise.
3151         (VECTOR_WRAPPER_fFF): Likewise.
3152         (VEC_LEN): New macro.
3153         * math/test-float-vlen8.h: Include test-float.h,
3154         test-math-no-inline.h and test-math-vector.h.
3155         (FLOAT): Remove macro.
3156         (FUNC): Likewise.
3157         (MATHCONST): Likewise.
3158         (PRINTF_EXPR): Likewise.
3159         (PRINTF_XEXPR): Likewise.
3160         (PRINTF_NEXPR): Likewise.
3161         (TEST_FLOAT): Likewise.
3162         (TEST_MATHVEC): Likewise.
3163         (__NO_MATH_INLINES): Likewise.
3164         (CNCT): Likewise.
3165         (CONCAT): Likewise.
3166         (WRAPPER_NAME): Likewise.
3167         (WRAPPER_DECL): Likewise.
3168         (WRAPPER_DECL_ff): Likewise.
3169         (WRAPPER_DECL_fFF): Likewise.
3170         (VECTOR_WRAPPER): Likewise.
3171         (VECTOR_WRAPPER_ff): Likewise.
3172         (VECTOR_WRAPPER_fFF): Likewise.
3173         (VEC_LEN): New macro.
3174         * math/test-float-vlen16.h: Include test-float.h,
3175         test-math-no-inline.h and test-math-vector.h.
3176         (FLOAT): Remove macro.
3177         (FUNC): Likewise.
3178         (MATHCONST): Likewise.
3179         (PRINTF_EXPR): Likewise.
3180         (PRINTF_XEXPR): Likewise.
3181         (PRINTF_NEXPR): Likewise.
3182         (TEST_FLOAT): Likewise.
3183         (TEST_MATHVEC): Likewise.
3184         (__NO_MATH_INLINES): Likewise.
3185         (CNCT): Likewise.
3186         (CONCAT): Likewise.
3187         (WRAPPER_NAME): Likewise.
3188         (WRAPPER_DECL): Likewise.
3189         (WRAPPER_DECL_ff): Likewise.
3190         (WRAPPER_DECL_fFF): Likewise.
3191         (VECTOR_WRAPPER): Likewise.
3192         (VECTOR_WRAPPER_ff): Likewise.
3193         (VECTOR_WRAPPER_fFF): Likewise.
3194         (VEC_LEN): New macro.
3195         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3196         test-vec-loop.h.
3197         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3198         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3200         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3201         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3203         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3205 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3207         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3208         (__getlogin_r): ... this.
3210 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3212         [BZ #18594]
3213         * math/s_ccosh.c (__ccosh): Compare with least normal value
3214         instead of comparing class with FP_SUBNORMAL.
3215         * math/s_ccoshf.c (__ccoshf): Likewise.
3216         * math/s_ccoshl.c (__ccoshl): Likewise.
3217         * math/s_cexp.c (__cexp): Likewise.
3218         * math/s_cexpf.c (__cexpf): Likewise.
3219         * math/s_cexpl.c (__cexpl): Likewise.
3220         * math/s_csin.c (__csin): Likewise.
3221         * math/s_csinf.c (__csinf): Likewise.
3222         * math/s_csinh.c (__csinh): Likewise.
3223         * math/s_csinhf.c (__csinhf): Likewise.
3224         * math/s_csinhl.c (__csinhl): Likewise.
3225         * math/s_csinl.c (__csinl): Likewise.
3226         * math/s_ctan.c (__ctan): Likewise.
3227         * math/s_ctanf.c (__ctanf): Likewise.
3228         * math/s_ctanh.c (__ctanh): Likewise.
3229         * math/s_ctanhf.c (__ctanhf): Likewise.
3230         * math/s_ctanhl.c (__ctanhl): Likewise.
3231         * math/s_ctanl.c (__ctanl): Likewise.
3232         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3233         csin, csinh, ctan and ctanh.
3234         * math/auto-libm-test-out: Regenerated.
3235         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3236         * sysdeps/i386/fpu/libm-test-ulps: Update.
3237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3239 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3241         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3242         return value is wrong, print the expected value too.
3244 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3246         [BZ #18585]
3247         * elf/readlib.c (is_gdb_python_file): New.
3248         (process_file): Don't issue errors on filenames with -gdb.py
3249         suffix.
3251 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3253         * math/auto-libm-test-in: Add more tests of csin and csinh.
3254         * math/auto-libm-test-out: Regenerated.
3255         * math/libm-test.inc (csin_test_data): Remove tests moved to
3256         auto-libm-test-in.
3257         (csinh_test_data): Likewise.
3259         [BZ #18593]
3260         * math/s_csin.c (__csin): Negate before rather than after possibly
3261         overflowing multiplication.
3262         * math/s_csinf.c (__csinf): Likewise.
3263         * math/s_csinh.c (__csinh): Likewise.
3264         * math/s_csinhf.c (__csinhf): Likewise.
3265         * math/s_csinhl.c (__csinhl): Likewise.
3266         * math/s_csinl.c (__csinl): Likewise.
3267         * math/auto-libm-test-in: Add some tests of csin and csinh.
3268         * math/auto-libm-test-out: Regenerated.
3269         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3270         (csinh_test_data): Likewise.
3271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3273         [BZ #18586]
3274         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3275         underflow exception for small results.
3277 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3279         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3280         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3281         variable and included header.
3282         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3284         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3285         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3286         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3288         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3290         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3291         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3292         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3293         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3294         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3295         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3296         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3297         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3299 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3301         [BZ #16526]
3302         [BZ #16538]
3303         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3304         (__sin): Force underflow exception for arguments with small
3305         absolute value.
3306         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3307         (__kernel_sinf): Force underflow exception for arguments with
3308         small absolute value.
3309         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3310         (__kernel_sincosl): Force underflow exception for arguments with
3311         small absolute value.
3312         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3313         (__kernel_sinl): Force underflow exception for arguments with
3314         small absolute value.
3315         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3316         (__kernel_sincosl): Force underflow exception for arguments with
3317         small absolute value.
3318         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3319         (__kernel_sinl): Force underflow exception for arguments with
3320         small absolute value.
3321         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3322         (__kernel_sinl): Force underflow exception for arguments with
3323         small absolute value.
3324         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3325         (__kernel_sinf): Force underflow exception for arguments with
3326         small absolute value.
3327         * math/auto-libm-test-in: Add more tests of sin and sincos.
3328         * math/auto-libm-test-out: Regenerated.
3330         [BZ #18245]
3331         [BZ #18583]
3332         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3333         (__kernel_standard_l): Use feholdexcept and fesetenv around
3334         conversion to double instead of special-casing overflow and
3335         underflow.
3336         * math/libm-test.inc (fmod_test_data): Add more tests.
3337         (remainder_test_data): Likewise.
3338         (sqrt_test_data): Likewise.
3340 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3342         [BZ #17403]
3343         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3344         atomic_read_barrier, atomic_write_barrier): Define.
3345         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3346         atomic_read_barrier, atomic_write_barrier): Define.
3348 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3350         * math/Makefile [$(PERL) != no]
3351         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3352         dependency on libm-test.stmp below the inclusion of Rules.
3354 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3356         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3358         and included header.
3359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3364         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3367         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3368         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3369         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3370         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3371         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3372         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3373         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3374         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3375         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3376         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3377         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3379 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3381         [BZ #18371]
3382         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3383         intermediate but not final result might underflow.
3384         * math/s_csqrtf.c (__csqrtf): Likewise.
3385         * math/s_csqrtl.c (__csqrtl): Likewise.
3386         * math/auto-libm-test-in: Add more tests of csqrt.
3387         * math/auto-libm-test-out: Regenerated.
3388         * sysdeps/i386/fpu/libm-test-ulps: Update.
3390         [BZ #18219]
3391         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3392         threshold on absolute value of exponent for which scaling is used.
3393         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3394         * math/auto-libm-test-in: Add more tests of exp2.
3395         * math/auto-libm-test-out: Regenerated.
3397 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3399         [BZ #17977]
3400         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3401         when initializing interface list, based on the bug analysis
3402         and the patch proposed by Eric Newton.
3403         * resolv/tst-res_hconf_reorder.c: New test.
3404         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3405         tst-res_hconf_reorder.
3406         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3407         and $(shared-thread-library).
3408         (tst-res_hconf_reorder-ENV): New variable.
3410         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3411         in comment.
3413 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3415         [BZ #16353]
3416         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3417         (__expm1): Force underflow exception for arguments with small
3418         absolute value.
3419         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3420         (__expm1f): Force underflow exception for arguments with small
3421         absolute value.
3422         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3423         (__expm1): Force underflow exception for arguments with small
3424         absolute value.
3425         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3426         (__expm1f): Force underflow exception for arguments with small
3427         absolute value.
3428         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3429         Check for small arguments before calling __expm1.
3430         * math/auto-libm-test-in: Do not mark underflow exceptions as
3431         possibly missing for bug 16353.
3432         * math/auto-libm-test-out: Regenerated.
3434 2015-06-22  Andreas Schwab  <schwab@suse.de>
3436         [BZ #18513]
3437         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3438         PTR queries.
3440 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3442         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3444         * string/strcoll_l.c: Remove unused struct element idxnow.
3446 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3448         [BZ #18569]
3449         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3450         underflow and return argument in case of subnormal argument.
3451         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3452         Likewise.
3453         * math/auto-libm-test-in: Add more tests of expm1.
3454         * math/auto-libm-test-out: Regenerated.
3456         [BZ #16361]
3457         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3458         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3459         tiny results.
3460         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3461         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3462         tiny results.
3463         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3464         mark underflow exceptions as possibly missing for bug 16361.
3465         * math/auto-libm-test-out: Regenerated.
3467 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3469         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3470         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3471         Remove variable.
3472         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3473         (test-xfail-XOPEN2K8/utmpx.h/conform).
3475         * conform/conformtest.pl ($xerrors): New variable.
3476         (note_error): New function.
3477         (compiletest): New argument $xfail.  Use not_error.
3478         (runtest): Likewise.
3479         (top level): Handle xfail- lines.  Update calls to compiletest and
3480         runtest.  Handle xfail- and optional- in headers listed with
3481         allow-header.
3482         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3483         (O_EXEC): Likewise.
3484         (O_SEARCH): Likewise.
3485         * conform/data/stropts.h-data (ioctl): Likewise.
3486         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3487         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3488         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3489         (msghdr.msg_controllen): Likewise.
3490         (cmsghdr.cmsg_len): Likewise.
3491         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3492         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3493         variable.
3494         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3495         (test-xfail-XPG4/stropts.h/conform): Likewise.
3496         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3497         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3498         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3499         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3500         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3501         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3502         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3503         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3504         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3505         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3506         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3507         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3508         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3509         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3510         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3511         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3512         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3513         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3514         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3516 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3518         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3519         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3520         definitions for proper unfolding of __MATHDECL_VEC.
3522 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3524         * benchtests/bench-strcoll.c:
3525         Include string.h.
3526         (main): Remove unused variable res.
3528 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3530         * timezone/Makefile (%/UTC %/Universal):
3531         Generate test-result files for UTC and Universal.
3533 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3535         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3537 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3539         [BZ #16350]
3540         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3541         for arguments with small absolute value.
3542         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3543         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3544         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3545         (__asinh): Force underflow exception for arguments with small
3546         absolute value.
3547         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3548         (__asinhf): Force underflow exception for arguments with small
3549         absolute value.
3550         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3551         (__asinhl): Force underflow exception for arguments with small
3552         absolute value.
3553         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3554         (__asinhl): Force underflow exception for arguments with small
3555         absolute value.
3556         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3557         (__asinhl): Force underflow exception for arguments with small
3558         absolute value.
3559         * math/auto-libm-test-in: Do not mark underflow exceptions as
3560         possibly missing for bug 16350.
3561         * math/auto-libm-test-out: Regenerated.
3563         * include/bits/ipc.h: Remove file.
3564         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3565         variable.
3566         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3567         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3568         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3569         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3570         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3571         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3572         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3573         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3574         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3576         * math/auto-libm-test-in: Remove spurious underflow allowance for
3577         tests of cexp.
3578         * math/auto-libm-test-out: Regenerated.
3580         [BZ #18558]
3581         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3582         unconditional definition.
3583         (MCAST_BLOCK_SOURCE): Likewise.
3584         (MCAST_UNBLOCK_SOURCE): Likewise.
3585         (MCAST_LEAVE_GROUP): Likewise.
3586         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3587         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3588         (MCAST_MSFILTER): Likewise.
3589         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3590         Remove variable.
3591         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3592         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3593         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3594         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3595         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3597 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3599         * NEWS: Mention addition of x86_64 vector sincosf.
3600         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3601         * math/test-float-vlen4.h: Likewise.
3602         * math/test-float-vlen8.h: Likewise.
3603         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3604         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3605         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3606         * sysdeps/x86_64/fpu/Versions: New versions added.
3607         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3608         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3609         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3613         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3614         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3616         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3617         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3618         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3619         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3620         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3621         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3622         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3623         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3624         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3625         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3626         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3627         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3629         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3630         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3632         * NEWS: Mention addition of x86_64 vector sincos.
3633         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3634         * math/math.h (__MATHDECL_VEC): New macro.
3635         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3636         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3637         declaration under condition.
3638         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3639         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3640         TEST_VEC_LOOP change.
3641         * math/test-double-vlen4.h: Likewise.
3642         * math/test-double-vlen8.h: Likewise.
3643         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3644         * math/test-float-vlen4.h: Likewise.
3645         * math/test-float-vlen8.h: Likewise.
3646         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3647         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3648         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3649         * sysdeps/x86_64/fpu/Versions: New versions added.
3650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3651         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3652         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3658         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3659         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3660         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3661         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3662         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3663         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3664         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3665         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3666         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3667         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3668         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3669         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3670         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3671         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3672         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3673         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3675         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3676         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3677         redirections for powf.
3678         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3679         * sysdeps/x86_64/fpu/Versions: New versions added.
3680         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3681         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3682         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3683         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3684         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3686         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3687         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3690         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3691         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3692         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3693         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3694         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3695         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3696         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3697         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3698         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3699         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3700         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3701         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3702         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3703         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3704         * math/test-float-vlen16.h: Fixed 2 argument macro.
3705         * math/test-float-vlen4.h: Likewise.
3706         * math/test-float-vlen8.h: Likewise.
3707         * NEWS: Mention addition of x86_64 vector powf.
3709 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3711         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3712         and redefine.
3713         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3714         and redefine.
3715         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3716         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3717         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3719         [BZ #18553]
3720         * resource/getpriority.c (getpriority): Rename to __getpriority
3721         and define as weak alias of __getpriority.
3722         * resource/setpriority.c (setpriority): Rename to __setpriority
3723         and define as weak alias of __setpriority.
3724         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3725         __getpriority and define as weak alias of __getpriority.
3726         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3727         __setpriority and define as weak alias of __setpriority.
3728         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3729         strong name.
3730         (setpriority): Use __setpriority as strong name.
3731         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3732         __getpriority and define as weak alias of __getpriority.
3733         * include/sys/resource.h (__getpriority): Declare.  Use
3734         libc_hidden_proto.
3735         (__setpriority): Likewise.
3736         (getpriority): Don't use libc_hidden_proto.
3737         (setpriority): Likewise.
3738         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3739         getpriority.  Call __setpriority instead of setpriority.
3740         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3741         Remove variable.
3743         [BZ #18547]
3744         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3745         as weak alias of __getttynam.  Use prototype function definition.
3746         Call __setttyent, __getttyent and __endttyent instead of
3747         setttyent, getttyent and endttyent.
3748         (getttyent): Rename to __getttyent and define as weak alias of
3749         __getttyent.  Call __setttyent instead of setttyent.  Call
3750         __fgets_unlocked instead of fgets_unlocked.
3751         (setttyent): Rename to __setttyent and define as weak alias of
3752         __setttyent.
3753         (endttyent): Rename to __endttyent and define as weak alias of
3754         __endttyent.
3755         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3756         (__setttyent): Likewise.
3757         (__endttyent): Likewise.
3758         (getttyent): Don't use libc_hidden_proto.
3759         (setttyent): Likewise.
3760         (endttyent): Likewise.
3761         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3762         __endttyent instead of setttyent, getttyent and endttyent.
3763         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3764         Remove variable.
3766         [BZ #18546]
3767         * socket/recv.c (__recv): Use libc_hidden_def.
3768         * socket/socket.c (__socket): Likewise.
3769         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3770         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3771         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3772         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3773         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3774         libc_hidden_def.
3775         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3776         libc_hidden_weak.
3777         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3778         Use libc_hidden_proto.
3779         (__recv): Likewise.
3780         * socket/Versions (libc): Export __recv and __socket at version
3781         GLIBC_PRIVATE.
3782         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3783         instead of recv.
3784         (init_mq_netlink): Call __socket instead of socket.
3785         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3786         Remove variable.
3788         [BZ #18545]
3789         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3790         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3791         hidden_weak.
3792         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3793         define as alias of __mq_timedsend.  Use hidden_weak.
3794         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3795         __mq_timedsend as strong name.
3796         (mq_timedreceive): Use __mq_timedreceive as strong name.
3797         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3798         (__mq_timedreceive): Likewise.
3799         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3800         __mq_timedreceive instead of mq_timedreceive.
3801         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3802         instead of mq_timedsend.
3803         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3804         Remove variable.
3806         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3807         hidden_def and hidden_weak instead of libc_hidden_def and
3808         libc_hidden_weak.
3809         (top level): Refer to hidden_def in comment.
3810         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3811         macro.  Use it instead of libc_hidden_def.
3812         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3813         specify __GI_* name explicitly.
3814         (mq_timedreceive): Likewise.
3815         (mq_setattr): Likewise.
3817         [BZ #18544]
3818         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3819         __pthread_barrier_init and define as weak alias of
3820         __pthread_barrier_init.
3821         * sysdeps/sparc/nptl/pthread_barrier_init.c
3822         (pthread_barrier_init): Likewise.
3823         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3824         __pthread_barrier_wait and define as weak alias of
3825         __pthread_barrier_wait.
3826         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3827         (pthread_barrier_wait): Likewise.
3828         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3829         (pthread_barrier_wait): Likewise.
3830         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3831         (pthread_barrier_wait): Likewise.
3832         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3833         (pthread_barrier_wait): Likewise.
3834         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3835         __pthread_barrier_wait at version GLIBC_PRIVATE.
3836         * include/pthread.h (__pthread_barrier_init): Declare.
3837         (__pthread_barrier_wait): Likewise.
3838         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3839         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3840         (helper_thread): Likewise.
3841         (init_mq_netlink): Call __pthread_barrier_init instead of
3842         pthread_barrier_init.
3844         [BZ #18542]
3845         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3846         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3847         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3848         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3849         vswscanf.
3850         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3851         Remove variable.
3853         [BZ #18540]
3854         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3855         strong alias of _IO_fflush.  Use libc_hidden_def.
3856         * libio/iofflush_u.c (fflush_unlocked): Rename to
3857         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3858         Use libc_hidden_weak.
3859         * include/stdio.h (__fflush_unlocked): Declare.  Use
3860         libc_hidden_proto.
3861         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3862         fflush_unlocked.
3863         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3864         Remove variable.
3866         [BZ #18539]
3867         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3868         define as weak alias of __addseverity.
3869         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3870         Remove variable.
3871         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3872         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3873         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3875         [BZ #18536]
3876         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3877         (__tfind): Likewise.
3878         (__tdelete): Likewise.
3879         (__twalk): Likewise.
3880         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3881         __twalk to GLIBC_PRIVATE.
3882         * include/search.h (__tsearch): Use libc_hidden_proto.
3883         (__tfind): Likewise.
3884         (__tdelete): Likewise.
3885         (__twalk): Likewise.
3886         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3887         Call __tdelete instead of tdelete.
3888         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3889         tfind.  Call __tsearch instead of tsearch.
3890         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3891         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3892         Remove variable.
3893         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3895         [BZ #18534]
3896         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3897         (dprintf): Define as a weak alias of __dprintf, not a strong
3898         alias.
3899         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3900         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3901         dprintf.
3902         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3903         Remove variable.
3904         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3905         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3907         [BZ #18533]
3908         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3909         not a strong alias.
3910         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3911         Remove variable.
3913         [BZ #18532]
3914         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3915         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3916         (in6addr_loopback): Rename to __in6addr_loopback and define as
3917         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3918         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3919         libc_hidden_proto.
3920         (__in6addr_any): Likewise.
3921         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3922         in6addr_any.
3923         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3924         variable.
3925         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3927 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3929         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3930         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3932         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3933         redirections for pow.
3934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3935         * sysdeps/x86_64/fpu/Versions: New versions added.
3936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3937         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3938         build of SSE, AVX2 and AVX512 IFUNC versions.
3939         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3940         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3942         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3943         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3944         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3945         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3946         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3947         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3948         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3949         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3950         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3951         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3953         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3956         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3957         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3958         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3959         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3960         * NEWS: Mention addition of x86_64 vector pow.
3962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3963         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3964         redirections for expf.
3965         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3966         * sysdeps/x86_64/fpu/Versions: New versions added.
3967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3968         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3969         build of SSE, AVX2 and AVX512 IFUNC versions.
3970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3972         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3973         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3975         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3976         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3977         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3978         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3979         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3980         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3981         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3982         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3983         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3984         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3985         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3988         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3989         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3990         * NEWS: Mention addition of x86_64 vector expf.
3992         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3993         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3994         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3995         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3996         redirections for exp.
3997         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3998         * sysdeps/x86_64/fpu/Versions: New versions added.
3999         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4000         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4001         build of SSE, AVX2 and AVX512 IFUNC versions.
4002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4004         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4005         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4006         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4007         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4008         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4009         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4010         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4011         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4012         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4013         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4014         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4015         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4018         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4019         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4020         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4021         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4022         * NEWS: Mention addition of x86_64 vector exp.
4024         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4025         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4026         redirections for logf.
4027         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4028         * sysdeps/x86_64/fpu/Versions: New versions added.
4029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4030         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4031         build of SSE, AVX2 and AVX512 IFUNC versions.
4032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4035         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4036         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4037         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4038         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4039         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4040         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4041         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4042         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4043         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4044         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4045         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4046         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4047         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4049         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4050         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4051         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4052         * NEWS: Mention addition of x86_64 vector logf.
4054         * bits/libm-simd-decl-stubs.h: Added stubs for log.
4055         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4056         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4057         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4058         redirections for log.
4059         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4060         * sysdeps/x86_64/fpu/Versions: New versions added.
4061         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4062         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4063         build of SSE, AVX2 and AVX512 IFUNC versions.
4064         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4065         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4066         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4067         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4068         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4069         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4070         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4071         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4072         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4073         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4074         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4075         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4076         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4077         test.
4078         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4079         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4080         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4081         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4082         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4083         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4084         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4085         * NEWS: Mention addition of x86_64 vector log.
4087 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4089         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4090         cfi_adjust_cfa_offset argument.
4091         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4092         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4094         [BZ #18034]
4095         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4096         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4097         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4098         ordering using ldar.
4099         (_dl_tlsdesc_dynamic): Likewise.
4100         (_dl_tlsdesc_return_lazy): Likewise.
4101         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4102         relaxed atomics instead of volatile and synchronize with release store.
4103         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4104         volatile.
4105         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4107 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4109         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4110         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4111         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4112         * sysdeps/x86_64/fpu/Versions: New versions added.
4113         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4114         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4115         build of SSE, AVX2 and AVX512 IFUNC versions.
4116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4119         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4120         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4121         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4122         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4123         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4124         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4125         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4126         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4127         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4128         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4129         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4130         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4131         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4132         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4133         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4134         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4135         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4136         * NEWS: Mention addition of x86_64 vector sinf.
4138 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4140         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4141         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4142         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4143         Remove variable.
4144         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4145         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4147 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4149         [BZ #18530]
4150         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4151         strong alias of _IO_fputs.  Use libc_hidden_def.
4152         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4153         and define as weak alias of __fputs_unlocked.  Use
4154         libc_hidden_weak.
4155         * include/stdio.h (__fputs_unlocked): Declare.  Use
4156         libc_hidden_proto.
4157         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4158         fputs_unlocked.
4160         [BZ #18529]
4161         * resolv/netdb.h [__USE_POSIX]: Change condition to
4162         [__USE_XOPEN2K].
4163         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4164         not expect.
4165         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4166         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4167         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4168         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4169         [XPG4 || UNIX98] (AI_ALL): Likewise.
4170         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4171         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4172         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4173         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4174         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4175         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4176         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4177         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4178         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4179         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4180         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4181         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4182         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4183         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4184         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4185         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4186         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4187         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4188         [XPG4 || UNIX98] (gai_strerror): Likewise.
4189         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4190         [XPG4 || UNIX98] (getnameinfo): Likewise.
4192         [BZ #18528]
4193         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4194         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4195         __USE_XOPEN2K8].
4196         (getgrent): Likewise.
4197         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4198         expect.
4199         [XPG3 || POSIX2008] (endgrent): Likewise.
4200         [XPG3] (setgrent): Likewise.
4201         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4202         variable.
4203         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4205         [BZ #18527]
4206         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4207         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4208         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4209         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4210         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4211         * include/unistd.h (__getlogin_r): Declare.  Use
4212         libc_hidden_proto.
4213         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4214         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4215         variable.
4216         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4217         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4218         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4220 2015-06-12  Martin Sebor  <msebor@redhat.com>
4222         [BZ #18512]
4223         * Makerules (check-install-supported): New target.
4224         (install): Add check-install-supported as a dependency.
4225         * manual/install.texi (Installing the C Library): Document
4226         that overriding prefix and exec_prefix is not supported.
4227         Mention DESTDIR.
4228         * INSTALL: Regenerate from the above.
4230 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4232         [BZ #18519]
4233         * posix/Versions (libc): Export __libc_pread at version
4234         GLIBC_PRIVATE.
4235         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4236         instead of pread.
4237         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4238         variable.
4240         [BZ #18522]
4241         * misc/efgcvt_r.c
4242         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4243         (cvt_symbol): Use weak_alias instead of strong_alias.
4244         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4245         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4246         Remove variable.
4247         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4248         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4250         [BZ #18520]
4251         * inet/herrno.c (h_errno): Rename to __h_errno.
4252         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4253         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4254         to __h_errno instead of h_errno.
4255         * nptl/herrno.c (h_errno): Rename to __h_errno.
4256         (__h_errno_location): Refer to __h_errno not h_errno.
4257         * resolv/Versions (h_errno): Rename to __h_errno.
4258         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4259         Remove variable.
4260         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4262 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4264         * configure.ac: More strict check for AVX512 assembler support.
4265         * configure: Regenerated.
4267         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4268         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4269         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4270         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4271         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4272         * sysdeps/x86_64/fpu/Versions: New versions added.
4273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4274         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4275         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4282         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4283         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4284         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4285         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4286         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4287         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4288         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4289         test.
4290         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4291         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4293         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4294         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4295         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4296         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4297         * NEWS: Mention addition of x86_64 vector sin.
4299 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4301         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4302         comment.
4304 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4306         [BZ #18479]
4307         * nptl/pt-interp.c: New file.
4308         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4309         Add pt-interp.
4310         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4311         $(common-objpfx)runtime-linker.h.
4313 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4315         * Makeconfig (+interp): Remove unused variable.
4316         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4317         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4318         $(elf-objpfx)runtime-linker.h.
4319         ($(elf-objpfx)runtime-linker.h): Rename to
4320         $(common-objpfx)runtime-linker.h and move ...
4321         * Makerules [$(build-shared) = yes]: ... here.
4322         * elf/interp.c: Include <runtime-linker.h> instead of
4323         <elf/runtime-linker.h>.
4325 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4327         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4328         (__gettimeofday_syscall): Remove vsyscall fallback.
4329         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4330         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4331         Add syscall fallback function.
4332         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4333         if vDSO is not present.
4334         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4335         fallback function.
4336         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4337         present.
4338         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4339         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4341 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4343         [BZ #18497]
4344         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4345         of wcscmp.
4346         (wcscmp): Define as weak alias of WCSCMP.
4347         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4348         wcscoll.
4349         (USE_HIDDEN_DEF): Define.
4350         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4351         __wcscoll.  Don't use libc_hidden_weak.
4352         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4353         wcscmp.
4354         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4355         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4356         __GI_wcscmp.
4357         (weak_alias): Undefine and redefine.
4358         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4359         __wcscmp and define as weak alias of __wcscmp.
4360         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4361         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4362         (__wcscoll): Likewise.
4363         (wcscmp): Don't use libc_hidden_proto.
4364         (wcscoll): Likewise.
4365         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4366         wcscoll.
4367         * posix/regexec.c (check_node_accept_bytes): Likewise.
4368         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4369         variable.
4370         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4371         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4373         [BZ #18507]
4374         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4375         __fstatvfs and define as weak alias of __fstatvfs.  Use
4376         libc_hidden_weak.
4377         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4378         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4379         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4380         Define as alias of __fstatvfs, not fstatvfs.
4381         (fstatvfs64): Likewise.
4382         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4383         Define as alias of __statvfs, not statvfs.
4384         (statvfs64): Likewise.
4385         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4386         Remove variable.
4388 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4391         (HAVE_GETCPU_VSYSCALL): Define.
4392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4393         (HAVE_GETCPU_VSYSCALL): Likewise.
4394         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4395         * sysdeps/unix/sysv/linux/sched_getcpu.c
4396         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4397         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4398         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4399         prototype.
4400         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4401         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4402         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4404         Define.
4405         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4406         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4407         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4408         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4410 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4412         * sysdeps/x86_64/fpu/Makefile: New file.
4413         * sysdeps/x86_64/fpu/Versions: New file.
4414         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4415         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4416         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4417         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4418         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4419         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4420         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4425         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4426         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4428         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4429         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4430         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4431         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4432         * sysdeps/x86_64/configure: Regenerated.
4433         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4434         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4435         * manual/install.texi (Configuring and compiling): Document
4436         --disable-mathvec.
4437         * INSTALL: Regenerated.
4438         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4440         * math/Makefile: Added rules for vector tests.
4441         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4442         declaration under condition.
4443         * math/test-double-vlen2.h: New file.
4444         * math/test-double-vlen4.h: New file.
4445         * math/test-double-vlen8.h: New file.
4446         * math/test-vec-loop.h: Added initialization macro.
4447         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4449         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4450         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4451         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4454         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4455         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4456         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4457         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4459         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4460         * sysdeps/x86_64/fpu/Versions: New versions added.
4461         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4464         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4465         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4466         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4468         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4469         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4470         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4471         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4472         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4473         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4474         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4475         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4477         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4478         * NEWS: Mention addition of x86_64 vector cosf.
4480         * math/Makefile: Added CFLAGS for new tests.
4481         * math/test-float-vlen16.h: New file.
4482         * math/test-float-vlen4.h: New file.
4483         * math/test-float-vlen8.h: New file.
4484         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4485         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4486         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4487         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4488         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4489         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4490         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4491         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4492         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4493         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4494         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4496 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4498         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4499         * locale/programs/ld-ctype.c: Likewise.
4501 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4503         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4504         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4505         bit_ZMM16_31_state): New macro.
4506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4507         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4509 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4511         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4513 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4515         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4517 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4519         [BZ #18498]
4520         * libio/memstream.c (open_memstream): Rename to __open_memstream
4521         and define as weak alias of __open_memstream.
4522         * include/stdio.h (__open_memstream): Declare.  Use
4523         libc_hidden_proto.
4524         (open_memstream): Don't use libc_hidden_proto.
4525         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4526         open_memstream.
4527         * posix/getopt.c (_getopt_internal_r): Likewise.
4528         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4529         variable.
4530         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4531         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4532         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4534         [BZ #18496]
4535         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4536         instead of wcrtomb.
4538         [BZ #18483]
4539         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4540         [__USE_XOPEN2K8].  Remove redundant #endif.
4541         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4542         Remove redundant #if.
4543         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4544         Remove variable.
4545         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4546         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4548         [BZ #18495]
4549         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4550         (__iswlower): Likewise.
4551         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4552         (__iswlower): Likewise.
4553         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4554         instead of towlower.
4555         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4556         instead of iswlower.  Call __towupper instead of towupper.
4557         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4558         instead of iswalnum.
4560 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4562         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4563         errors to stderr.
4565 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4567         [BZ #15661]
4568         [BZ #17322]
4569         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4570         Check for overflow properly.  Check for O_APPEND.  Ignore large
4571         file system block sizes.  Add comments about problems.
4572         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4573         * manual/filesys.texi (Storage Allocation): New node.
4575 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4577         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4578         cancellable syscalls.
4579         (SYS_ify): Add guard to no redefine it.
4580         (INLINE_SYSCALL): Likewise.
4581         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4582         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4583         SYSCALL_CANCEL instead.
4584         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4585         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4586         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4587         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4588         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4589         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4590         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4591         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4592         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4593         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4594         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4595         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4596         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4597         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4598         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4600         Likewise.
4601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4602         (__libc_pread64): Likewise.
4603         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4604         (__libc_preadv): Likewise.
4605         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4606         (__libc_readv64): Likewise.
4607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4608         (__libc_pwrite): Likewise.
4609         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4610         (__libc_pwrite64): Likewise.
4611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4612         (__libc_pwritev): Likewise.
4613         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4614         (__libc_pwritev64): Likewise.
4615         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4617         (sync_file_range): Likewise.
4618         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4621         Likewise.
4622         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4623         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4624         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4625         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4626         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4627         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4628         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4629         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4631         Likewise.
4632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4633         (__libc_read64): Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4635         Likewise.
4636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4637         Likewise.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4639         Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4641         Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4643         (__libc_pread64): Likewise.
4644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4645         Likewise.
4646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4647         (__libc_pwrite64): Likewise.
4648         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4649         (sync_file_range): Likewise.
4650         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4651         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4652         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4653         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4654         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4655         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4656         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4657         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4658         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4659         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4660         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4661         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4662         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4663         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4664         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4665         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4666         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4667         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4668         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4669         Likewise.
4670         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4671         Likewise.
4672         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4673         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4674         Likewise.
4675         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4676         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4677         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4678         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4679         Likewise.
4680         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4681         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4682         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4683         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4684         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4686 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4688         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4689         Include dl-vdso.
4690         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4691         Use VDSO routines for gettimeofday, clock_gettime if
4692         available.
4693         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4694         Declare VDSO symbols.
4695         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4696         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4697         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4698         * sysdeps/unix/sysv/linux/arm/Versions: Add
4699         __vdso_clock_gettime.
4701 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4703         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4704         be an inline implementation regardless of library is built within.
4705         (open_not_cancel_2): Likewise.
4706         (__read_nocancel): Likewise.
4707         (__write_nocancel): Likewise.
4708         (openat_not_cancel): Likewise.
4709         (openat_not_cancel_3): Likewise.
4710         (openat64_not_cancel): Likewise.
4711         (openat64_not_cancel_3): Likewise.
4712         (__close_nocancel): Likewise.
4713         (pause_not_cancel): Likewise.
4714         (nanosleep_not_cancel): Likewise.
4715         (sigsuspend_not_cancel): Likewise.
4717 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4719         [BZ #14958]
4720         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4721         wake-up.
4722         (__pthread_rwlock_rdlock_slow): Likewise.
4723         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4724         Likewise.
4725         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4726         Likewise.
4727         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4728         * nptl/tst-rwlock16.c: New file.
4729         * nptl/Makefile (tests): Add new test.
4731 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4733         [BZ #18324]
4734         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4735         missing wake-up of readers.
4736         * nptl/tst-rwlock15.c: New file.
4737         * nptl/Makefile (tests): Add new test.
4739 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4741         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4742         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4743         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4744         and __nacl_supply_interface_rtld.
4745         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4746         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4747         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4748         Add __nacl_supply_interface_rtld.
4749         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4751 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4753         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4754         isfinite.
4755         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4756         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4758 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4760         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4761         __signbit* with standard C99 macros.
4762         * math/e_exp10l.c: Likewise.
4763         * math/e_exp2l.c: Likewise.
4764         * math/e_scalb.c: Likewise.
4765         * math/e_scalbf.c: Likewise.
4766         * math/e_scalbl.c: Likewise.
4767         * math/s_ldexp.c: Likewise.
4768         * math/s_ldexpf.c: Likewise.
4769         * math/s_ldexpl.c: Likewise.
4770         * math/w_atan2.c: Likewise.
4771         * math/w_atan2f.c: Likewise.
4772         * math/w_atan2l.c: Likewise.
4773         * math/w_cosh.c: Likewise.
4774         * math/w_coshf.c: Likewise.
4775         * math/w_coshl.c: Likewise.
4776         * math/w_exp10.c: Likewise.
4777         * math/w_exp10f.c: Likewise.
4778         * math/w_exp10l.c: Likewise.
4779         * math/w_exp2.c: Likewise.
4780         * math/w_exp2f.c: Likewise.
4781         * math/w_exp2l.c: Likewise.
4782         * math/w_fmod.c: Likewise.
4783         * math/w_fmodf.c: Likewise.
4784         * math/w_fmodl.c: Likewise.
4785         * math/w_hypot.c: Likewise.
4786         * math/w_hypotf.c: Likewise.
4787         * math/w_hypotl.c: Likewise.
4788         * math/w_jnl.c: Likewise.
4789         * math/w_lgamma.c: Likewise.
4790         * math/w_lgamma_r.c: Likewise.
4791         * math/w_lgammaf.c: Likewise.
4792         * math/w_lgammaf_r.c: Likewise.
4793         * math/w_lgammal.c: Likewise.
4794         * math/w_lgammal_r.c: Likewise.
4795         * math/w_pow.c: Likewise.
4796         * math/w_powf.c: Likewise.
4797         * math/w_powl.c: Likewise.
4798         * math/w_remainder.c: Likewise.
4799         * math/w_remainderf.c: Likewise.
4800         * math/w_remainderl.c: Likewise.
4801         * math/w_scalb.c: Likewise.
4802         * math/w_scalbf.c: Likewise.
4803         * math/w_scalbl.c: Likewise.
4804         * math/w_scalbln.c: Likewise.
4805         * math/w_scalblnf.c: Likewise.
4806         * math/w_scalblnl.c: Likewise.
4807         * math/w_sinh.c: Likewise.
4808         * math/w_sinhf.c: Likewise.
4809         * math/w_sinhl.c: Likewise.
4810         * math/w_tgamma.c: Likewise.
4811         * math/w_tgammaf.c: Likewise.
4812         * math/w_tgammal.c: Likewise.
4813         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4814         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4815         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4816         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4817         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4819         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4820         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4821         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4822         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4823         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4825         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4826         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4830         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4831         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4837         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4841         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4842         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4843         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4844         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4845         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4846         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4847         * stdio-common/printf_fp.c: Likewise.
4848         * stdio-common/printf_fphex.c: Likewise.
4849         * stdio-common/printf_size.c: Likewise.
4851 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4853         [BZ #18470]
4854         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4855         strnlen.
4856         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4857         Remove variable.
4858         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4859         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4860         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4861         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4862         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4863         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4864         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4865         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4866         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4867         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4869         [BZ #18468]
4870         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4871         weak alias of __wmemchr.  Use libc_hidden_weak.
4872         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4873         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4874         instead of wmemchr.
4876 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4878         [BZ #18383]
4879         * elf/tst-tlsalign-extern.c: New file.
4880         * elf/tst-tlsalign-extern-static.c: New file.
4881         * elf/tst-tlsalign-vars.c: New file.
4882         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4883         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4884         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4885         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4886         (test-xfail-tst-tlsalign-extern-static): New variable.
4888 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4890         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4891         Use variable name _sc_err instead of err.
4892         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4893         instead of ret.
4894         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4895         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4896         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4897         (INLINE_SYSCALL): Likewise.
4899         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4900         * include/string.h (__strnlen): Use libc_hidden_proto.
4901         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4902         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4903         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4905         (libc_hidden_def): Undefine and redefine.
4906         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4907         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4908         __GI_strnlen.
4909         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4910         libc_hidden_def.
4911         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4913         [BZ #18469]
4914         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4915         weak alias of __towlower.  Use libc_hidden_weak.
4916         (towupper): Rename to __towupper and define as weak alias of
4917         __towupper.  Use libc_hidden_weak.
4918         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4919         (__towupper): Likewise.
4920         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4921         __towlower instead of towlower.
4923 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4925         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4926         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4928 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4930         * sysdeps/aarch64/libm-test-ulps: Update.
4932 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4934         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4935         Define.
4936         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4938         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4939         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4940         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4941         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4942         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4944 2015-06-01  Martin Sebor  <msebor@redhat.com>
4946         [BZ #18116]
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4948         (__setcontext): Use extended four-operand version of mtsf whenever
4949         possible.
4950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4951         (__novec_swapcontext): Likewise.
4953 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4955         * benchtests/scripts/compare_bench.py: New file.
4956         * benchtests/scripts/import_bench.py (mean): New function.
4957         (split_list): Likewise.
4958         (do_for_all_timings): Likewise.
4959         (compress_timings): Likewise.
4961         * benchtests/scripts/import_bench.py: New file.
4962         * benchtests/scripts/validate_benchout.py: Import import_bench
4963         instead of jsonschema.
4964         (validate_bench): Remove function.
4965         (main): Use import_bench.
4967 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4969         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4970         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4972 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4976 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4978         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4979         set THREAD_SELF->tid to a magic value and futex-wake it.
4980         Pass its address to the thread_exit system call.
4981         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4982         bit is clear.
4983         * sysdeps/nacl/lowlevellock.h: New file.
4984         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4986         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4987         Add TIMEOUT to current time, don't subtract it.
4989 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4991         [BZ #2981]
4992         [BZ #18422]
4993         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4994         ($(objpfx)tst-audit2.out): Also depend on
4995         $(objpfx)tst-auditmod9b.so.
4996         * elf/tst-audit2.c: Include <dlfcn.h>.
4997         (calloc_called): New.
4998         (calloc): Allow to be called more than once.
4999         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5001 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
5003         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5004         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5006 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
5008         * stdlib/monetary.h: Fix comment.
5010 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
5012         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5013         Avoid using variables in #defines that might cause shadowing.
5014         (INTERNAL_VSYSCALL_CALL): Likewise.
5016 2015-05-26  Roland McGrath  <roland@hack.frob.com>
5018         * sysdeps/nacl/lll_timedlock_wait.c: New file.
5020         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5021         * nptl/lll_timedlock_wait.c: ... to this new file.
5022         * nptl/Makefile (libpthread-routines): Add it.
5023         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5024         * nptl/lll_timedwait_tid.c: ... to this new file.
5025         * nptl/Makefile (libpthread-routines): Add it.
5026         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5027         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5028         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5029         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5030         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5031         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5032         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5033         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5034         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5035         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5037 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5039         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5040         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5041         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5042         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5043         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5045         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5047         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5048         * sysdeps/unix/sysv/linux/tile/sysdep.h
5049         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5050         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5051         using vDSO syscall macro.
5053 2015-05-26  Andriy Rysin  <arysin@gmail.com>
5055         [BZ #17293]
5056         * uk_UA: Fix sorting order for Ukrainian locale
5058 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
5060         * stdlib/monetary.h: Fix comment.
5062 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5064         [BZ #18234]
5065         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5066         st_mtim and st_ctim members.
5067         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5068         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5069         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5070         (struct stat64): Likewise.
5071         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5072         (struct stat64): Likewise.
5073         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5074         (struct stat64): Likewise.
5076 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5078         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5079         Define and include sysdep-vdso.h.
5080         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5085         Define with VDSO_SYMBOL and use PTR_MANGLE.
5086         (__vdso_clock_gettime): Likewise.
5087         (__vdso_clock_getres): Likewise.
5088         (_libc_vdso_platform_setup): Likewise.
5089         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5090         Likewise.
5091         (_libc_vdso_platform_setup): Likewise.
5092         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5093         Likewise.
5094         (__vdso_clock_gettime): Likewise.
5095         (__vdso_clock_getres): Likewise.
5096         (__vdso_get_tbfreq): Likewise.
5097         (__vdso_getcpu): Likewise.
5098         (__vdso_time): Likewise.
5099         (__vdso_sigtramp_rt64): Likewise.
5100         (__vdso_signtramp32): Likewise.
5101         (__vdso_sigtramp_rt32): Likewise.
5102         (_libc_vdso_platform_setup): Likewise.
5103         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5104         Likewise.
5105         (__vdso_clock_gettime): Likewise.
5106         (__vdso_clock_getres): Likewise.
5107         (_libc_vdso_platform_setup): Likewise.
5108         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5109         Likewise.
5110         (__vdso_clock_gettime): Likewise.
5111         (_libc_vdso_platform_setup): Likewise.
5112         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5113         Likewise.
5114         (__vdso_getcpu): Likewise.
5115         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5116         Use VDSO_SYMBOL macro to define.
5117         (__vdso_clock_gettime): Likewise.
5118         (__vdso_clock_getres): Likewise.
5119         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5120         Likewise.
5121         (__vdso_clock_gettime): Likewise.
5122         (__vdso_clock_getres): Likewise.
5123         (__vdso_get_tbfreq): Likewise.
5124         (__vdso_getcpu): Likewise.
5125         (__vdso_time): Likewise.
5126         (__vdso_sigtramp_rt64): Likewise.
5127         (__vdso_signtramp32): Likewise.
5128         (__vdso_sigtramp_rt32): Likewise.
5129         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5130         Likewise.
5131         (__vdso_clock_gettime): Likewise.
5132         (__vdso_clock_getres): Likewise.
5133         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5134         Likewise.
5135         (__vdso_clock_gettime): Likewise.
5136         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5139         macro.
5140         (INTERNAL_VSYSCALL): Likewise.
5141         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5142         Remove macro.
5143         (INTERNAL_VSYSCALL): Likewise.
5144         (INTERNAL_VSYSCALL_NCS): Likewise.
5145         (INTERNAL_VSYSCALL_CALL): New macro.
5146         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5148         Likewise.
5149         (INTERNAL_VSYSCALL): Likewise.
5150         (INTERNAL_VSYSCALL_NCS): Likewise.
5151         (INTERNAL_VSYSCALL_CALL): New macro.
5152         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5154         (INLINE_VSYSCALL): Remove macro.
5155         (INTERNAL_VSYSCALL): Remove macro.
5156         (INTERNAL_VSYSCALL_NCS): Remove macro.
5157         (INTERNAL_VSYSCALL_CALL): New macro.
5158         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5159         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5160         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5161         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5162         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5164         (INLINE_VSYSCALL): Remove macro.
5165         (INTERNAL_VSYSCALL): Likewise.
5166         (INTERNAL_VSYSCALL_NCS): Likewise.
5167         (INTERNAL_VSYSCALL_CALL): New macro.
5168         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5169         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5170         PTR_DEMANGLE on vDSO pointer.
5171         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5172         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5173         macro.
5174         (INTERNAL_SYSCALL): Likewise.
5175         (INTERNAL_VSYSCALL_NCS): Remove macro.
5176         (INTERNAL_VSYSCALL_CALL): New macro.
5177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5178         Remove macro.
5179         (INTERNAL_VSYSCALL): Likewise.
5180         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5181         sysdep-vdso.h instead of libc-vdso.h.
5182         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5183         definition.
5184         (INLINE_VSYSCALL): Likewise.
5185         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5186         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5187         definition.
5188         (INLINE_VSYSCALL): Likewise.
5189         (INTERNAL_VSYSCALL): Likewise.
5190         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5191         * sysdeps/unix/sysv/linux/timespec_get.c
5192         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5193         (timespec_get): Use ANSI prototype.
5194         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5195         and definition for Linux.
5197 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5199         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5200         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5202 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5204         [BZ #2981]
5205         [BZ #18410]
5206         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5207         for missing DT_PLTRELSZ.
5209 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5211         Remove obsolete aliases that broke 'locale -a'
5212         [BZ #18412]
5213         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5214         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5215         breaking some applications that use 'locale -a' output.
5216         Change the encoding of this file from Latin-1 to ASCII to avoid
5217         other potential problems with people grepping this file.
5219 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5221         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5222         -fasynchronous-unwind-tables.
5223         (CFLAGS-sendto.c): Likewise.
5224         (CFLAGS-sendmsg.c): Likewise.
5225         (CFLAGS-connect.c): Likewise.
5226         (CFLAGS-recvmsg.c): Likewise.
5227         (CFLAGS-recvfrom.c): Likewise.
5228         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5229         (SOCKETCALL): New macro: non-cancellable socketcall.
5230         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5231         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5232         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5233         * sysdeps/unix/sysv/linux/accept.c: New file.
5234         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5235         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5236         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5237         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5238         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5239         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5240         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5241         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5242         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5243         * sysdeps/unix/sysv/linux/send.c: Likewise.
5244         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5245         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5246         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5247         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5248         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5249         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5250         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5251         prototype.
5252         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5253         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5254         instead of __internal_xxx function.
5255         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5256         prototype.
5257         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5258         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5259         instead of __internal_xxx function.
5260         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5261         prototype.
5262         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5263         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5264         instead of __internal_xxx function.
5265         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5266         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5267         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5268         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5269         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5270         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5271         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5272         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5273         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5274         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5275         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5276         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5277         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5278         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5279         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5280         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5281         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5282         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5283         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5284         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5287         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5288         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5289         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5290         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5291         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5292         * sysdeps/unix/sysv/linux/send.S: Likewise.
5293         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5294         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5295         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5296         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5297         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5298         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5299         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5300         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5301         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5302         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5303         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5304         socketcall is implemented in GLIBC.
5306 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5308         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5309         (__fma): Ignore uninitialized warnings around packing.
5310         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5311         (__fmaf): Ignore uninitialized warnings around packing.
5312         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5313         (__fmal): Ignore uninitialized warnings around packing.
5315         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5316         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5317         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5318         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5320         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5321         switch statement into default case.
5322         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5324         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5325         a conditional in forcing "inexact".
5326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5327         Likewise.
5329 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5331         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5332         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5333         for each INTERNAL_SYSCALL use.
5335 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5337         [BZ #438]
5338         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5339         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5340         variable.
5342         [BZ #18444]
5343         * string/basename.c (basename): Rename to __basename and define as
5344         weak alias of __basename.  Use libc_hidden_weak.
5345         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5346         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5347         __basename instead of basename.
5348         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5349         Remove variable.
5350         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5352 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5354         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5355         (_IO_JUMPS_FILE_plus): New.
5356         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5357         _IO_CAST_FIELD_ACCESS.
5358         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5359         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5360         * libio/freopen.c (freopen): Likewise.
5361         * libio/freopen64.c (freopen64): Likewise.
5362         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5363         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5364         * libio/iofwide.c (_IO_fwide): Likewise.
5365         * libio/memstream.c (open_memstream): Likewise.
5366         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5367         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5368         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5370 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5372         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5373         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5374         NADJ.
5375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5376         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5377         NADJ.
5378         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5379         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5380         NADJ.
5382         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5383         (p == 4) case.
5385         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5386         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5387         Remove variable.
5388         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5389         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5390         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5392 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5394         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5395         Adjust jump table label generation macros.
5397 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5399         * stdio-common/vfprintf.c (vfprintf): Move local variables
5400         args_malloced, specs, specs_malloced, and the code after
5401         do_positional to the printf_positional function.
5402         (printf_positional): New function.
5404 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5406         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5407         function.
5408         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5409         STEP4_TABLE, process_arg): Move macro definitions
5410         out of the vfprintf function.  (Cosmetic change only.)
5412 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5414         * benchtests/Makefile (stdio-common-bench): Define.
5415         (benchset): Add stdio-common-bench.
5416         * sprintf-inputs: New file.
5417         * sprintf-source.c: New file.
5419 2015-05-21  Andreas Schwab  <schwab@suse.de>
5421         [BZ #13028]
5422         [BZ #17053]
5423         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5424         of struct __res_state.
5425         * resolv/res_send.c (__libc_res_nsend): Likewise.
5426         (get_nsaddr): New function.
5427         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5428         statp directly.
5430 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5432         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5433         -D_POSIX_C_SOURCE=199506L.
5435         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5437         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5438         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5439         Do not mention otherwise.
5440         [POSIX] (_XOPEN_VERSION): Do not expect.
5441         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5442         [POSIX] (_POSIX2_C_BIND): Likewise.
5443         [POSIX] (_POSIX2_VERSION): Likewise.
5444         [POSIX] (_XOPEN_XPG2): Likewise.
5445         [POSIX] (_XOPEN_XPG3): Likewise.
5446         [POSIX] (_XOPEN_XPG4): Likewise.
5447         [POSIX] (_XOPEN_UNIX): Likewise.
5448         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5449         [POSIX] (_POSIX_BARRIERS): Likewise.
5450         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5451         [POSIX] (_POSIX_CPUTIME): Likewise.
5452         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5453         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5454         [POSIX] (_POSIX_SHELL): Likewise.
5455         [POSIX] (_POSIX_SPAWN): Likewise.
5456         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5457         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5458         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5459         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5460         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5461         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5462         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5463         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5464         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5465         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5466         [POSIX] (_POSIX2_PBS): Likewise.
5467         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5468         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5469         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5470         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5471         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5472         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5473         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5474         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5475         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5476         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5477         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5478         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5479         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5480         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5481         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5482         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5483         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5484         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5485         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5486         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5487         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5488         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5489         [POSIX] (_SC_2_C_BIND): Likewise.
5490         [POSIX] (_SC_2_C_VERSION): Likewise.
5491         [POSIX] (_SC_2_PBS): Likewise.
5492         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5493         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5494         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5495         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5496         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5497         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5498         [POSIX] (_SC_BARRIERS): Likewise.
5499         [POSIX] (_SC_BASE): Likewise.
5500         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5501         [POSIX] (_SC_DEVICE_IO): Likewise.
5502         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5503         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5504         [POSIX] (_SC_FD_MGMT): Likewise.
5505         [POSIX] (_SC_FIFO): Likewise.
5506         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5507         [POSIX] (_SC_FILE_LOCKING): Likewise.
5508         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5509         [POSIX] (_SC_IOV_MAX): Likewise.
5510         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5511         [POSIX] (_SC_NETWORKING): Likewise.
5512         [POSIX] (_SC_PAGE_SIZE): Likewise.
5513         [POSIX] (_SC_PASS_MAX): Likewise.
5514         [POSIX] (_SC_PIPE): Likewise.
5515         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5516         [POSIX] (_SC_REGEXP): Likewise.
5517         [POSIX] (_SC_SHELL): Likewise.
5518         [POSIX] (_SC_SIGNALS): Likewise.
5519         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5520         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5521         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5522         [POSIX] (_SC_USER_GROUPS): Likewise.
5523         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5524         [POSIX] (_SC_STREAMS): Likewise.
5525         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5526         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5527         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5528         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5529         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5530         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5531         [POSIX] (_PC_FILESIZEBITS): Likewise.
5532         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5533         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5534         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5535         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5536         [POSIX] (uid_t): Likewise.
5537         [POSIX] (gid_t): Likewise.
5538         [POSIX] (off_t): Likewise.
5539         [POSIX] (pid_t): Likewise.
5540         [POSIX] (cuserid): Allow.
5541         (_SC_2_CHAR_TERM): Require constant.
5542         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5543         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5544         variable.
5546 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5548         * sysdeps/nacl/pthread-pids.h: New file.
5549         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5550         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5552         * nptl/pthread-pids.h: New file.
5553         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5554         * nptl/nptl-init.c: Include <pthread-pids.h>.
5555         (__pthread_initialize_minimal_internal):
5556         Call __pthread_initialize_pids instead of set_tid_address syscall.
5558         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5559         * sysdeps/posix/usleep.c: ... here.
5561 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5563         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5564         call_pselect6 object.
5565         [$(subdir) = io]: Remove call_sync_file_range object.
5566         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5567         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5568         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5569         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5571 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5573         * math/s_cproj.c: Add include "math_private.h".
5574         * math/s_cprojf.c: Likewise.
5575         * math/s_cprojl.c: Likewise.
5577 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5579         [BZ #18244]
5580         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5581         high mantissa bit when testing whether P is a NaN.
5582         * math/libm-test.inc (remainder_test_data): Add more tests.
5583         (remquo_test_data): Likewise.
5585         [BZ #18049]
5586         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5587         below -32, return the argument, with underflow if subnormal.
5588         * math/auto-libm-test-in: Add more tests of atanh.
5589         * math/auto-libm-test-out: Regenerated.
5591 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5593         [BZ #18434]
5594         * nptl/tst-sem15.c: New file.
5595         * nptl/Makefile (tests): Add it.
5596         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5597         s/<</>>/ to fix typo in EOVERFLOW check.
5598         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5600 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5602         * manual/strings.texi (envz_remove): Fix typo in safety
5603         annotations.
5605 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5606             Steve Ellcey  <sellcey@imgtec.com>
5608         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5609         in order to avoid strict alias warnings.
5610         (iruserok_af): Ditto for ra.
5612 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5614         [BZ #17581]
5615         * malloc/hooks.c
5616         (magicbyte): Convert to a function and avoid returning 0x01.
5617         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5618         (mem2chunk_check): Fix unsigned comparisons to zero.
5619         Hoist defs of sz and magic.
5621 2015-05-19  Richard Henderson  <rth@redhat.com>
5623         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5625         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5627 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5629         [BZ #16159]
5630         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5631         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5632         (reused_arena): Find a non-corrupt arena.
5633         (heap_trim): Pass arena to unlink.
5634         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5635         malloc_printerr.
5636         (top_check): Likewise.
5637         (free_check): Likewise.
5638         (realloc_check): Likewise.
5639         * malloc/malloc.c (malloc_printerr): Add arena argument.
5640         (unlink): Likewise.
5641         (munmap_chunk): Adjust.
5642         (ARENA_CORRUPTION_BIT): New macro.
5643         (arena_is_corrupt): Likewise.
5644         (set_arena_corrupt): Likewise.
5645         (sysmalloc): Use mmap if there are no usable arenas.
5646         (_int_malloc): Likewise.
5647         (__libc_malloc): Don't fail if arena_get returns NULL.
5648         (_mid_memalign): Likewise.
5649         (__libc_calloc): Likewise.
5650         (__libc_realloc): Adjust for additional argument to
5651         malloc_printerr.
5652         (_int_free): Likewise.
5653         (malloc_consolidate): Likewise.
5654         (_int_realloc): Likewise.
5655         (_int_memalign): Don't touch corrupt arenas.
5656         * malloc/tst-malloc-backtrace.c: New test case.
5658         * Makefile (summarize-tests): Fix return value on success.
5660         * manual/string.texi (Envz Functions): Add envz_remove.
5662 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5664         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5665         (invalid_name): New function, broken out of ...
5666         (__opendirat): ... here.  Call it.
5667         (need_isdir_precheck): New function, broken out of ...
5668         (__opendirat): ... here.  Call it.
5669         Use __fxstatat64, not __xstatat64.
5670         (opendir_oflags): New function, broken out of ...
5671         (__opendirat): ... here.  Call it.
5672         (opendir_tail): New function, broken out of ...
5673         (__opendirat): ... here.  Call it.
5674         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5675         opendir_tail, rather than punting to __opendirat.
5676         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5678 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5680         * .gitignore: Ignore generated *.pyc.
5682 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5684         * include/stdio.h: Define __need_wint_t.
5685         * test-skeleton.c: Avoid `for' loop initial declaration.
5686         * nptl/tst-initializers1.c: Use test-skeleton.c.
5688 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5690         [BZ #18418]
5691         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5693 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5695         [BZ #16352]
5696         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5697         (__ieee754_atanh): Force underflow exception for results with
5698         small absolute value.
5699         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5700         (__ieee754_atanhf): Force underflow exception for results with
5701         small absolute value.
5702         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5703         (__ieee754_atanh): Force underflow exception for results with
5704         small absolute value.
5705         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5706         (__ieee754_atanhf): Force underflow exception for results with
5707         small absolute value.
5708         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5709         (__ieee754_atanhl): Force underflow exception for results with
5710         small absolute value.
5711         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5712         (__ieee754_atanhl): Force underflow exception for results with
5713         small absolute value.
5714         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5715         (__ieee754_atanhl): Force underflow exception for results with
5716         small absolute value.
5717         * math/auto-libm-test-in: Do not allow missing underflow
5718         exceptions from atanh.
5719         * math/auto-libm-test-out: Regenerated.
5721         [BZ #18221]
5722         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5723         2**-28 as threshold for returning x or +/- 1/x.
5724         * math/auto-libm-test-in: Add more tests of tan.
5725         * math/auto-libm-test-out: Regenerated.
5727         [BZ #18220]
5728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5729         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5730         * math/auto-libm-test-in: Add another test of lgamma.
5731         * math/auto-libm-test-out: Regenerated.
5733 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5735         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5736         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5737         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5738         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5739         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5740         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5741         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5742         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5743         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5744         (log1): Use fabs.  (my_log2): Use fabs.
5745         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5746         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5748         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5750         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5751         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5752         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5753         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5754         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5755         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5757 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5759         [BZ #18217]
5760         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5761         as threshold for returning 1 - x.
5762         * math/auto-libm-test-in: Add more tests of erfc.
5763         * math/auto-libm-test-out: Regenerated.
5765 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5767         [BZ #18196]
5768         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5769         threshold for large arguments.
5770         * math/auto-libm-test-in: Add another test of atan.
5771         * math/auto-libm-test-out: Regenerated.
5773         [BZ #16339]
5774         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5775         (__log1p): Force underflow exception for results with small
5776         absolute value.
5777         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5778         (__log1pf): Force underflow exception for results with small
5779         absolute value.
5780         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5781         (__log1p): Force underflow exception for results with small
5782         absolute value.
5783         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5784         (__log1pf): Force underflow exception for results with small
5785         absolute value.
5786         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5787         (__log1pl): Force underflow exception for results with small
5788         absolute value.
5789         * math/auto-libm-test-in: Do not allow missing underflow
5790         exceptions from log1p.
5791         * math/auto-libm-test-out: Regenerated.
5793 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5794             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5796         [BZ #16704]
5797         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5799 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5801         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5802         (libmvec): New variable.
5803         * configure.ac: Added option for mathvec build.
5804         * configure: Regenerated.
5805         * mathvec/Depend: New file.
5806         * mathvec/Makefile: New file.
5807         * shlib-versions: Added libmvec.
5808         * math/Makefile: Added rule for libm.so installation.
5810         * bits/math-vector.h: New file.
5811         * bits/libm-simd-decl-stubs.h: New header.
5812         * math/Makefile (headers): Added new header
5813         libm-simd-decl-stubs.h.
5814         * math/math.h (__MATHCALL_VEC): New macro.
5816         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5817         for conditions in testing functions.
5818         * math/Makefile: Added call of libm-have-vector-test.sh.
5819         * math/libm-test.inc (HAVE_VECTOR): New macros.
5821         * math/libm-test.inc: START refactored.
5822         * math/test-double.c (TEST_MATHVEC): Add define.
5823         * math/test-float.c: Likewise.
5824         * math/test-idouble.c: Likewise.
5825         * math/test-ifloat.c: Likewise.
5826         * math/test-ildoubl.c: Likewise.
5827         * math/test-ldouble.c: Likewise.
5828         * sysdeps/generic/math-tests-arch.h
5829         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5830         architecture check.
5832         * math/test-double.c (FUNC_TEST): New macro.
5833         * math/test-float.c: Likewise.
5834         * math/test-idouble.c: Likewise.
5835         * math/test-ifloat.c: Likewise.
5836         * math/test-ildoubl.c: Likewise.
5837         * math/test-ldouble.c: Likewise.
5838         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5840 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5842         * sysdeps/nacl/fdopendir.c: New file.
5844         * dirent/scandir-tail.c: New file.
5845         * dirent/scandir64-tail.c: New file.
5846         * dirent/Makefile (routines): Add them.
5847         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5848         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5849         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5850         [!SCANDIR] (SCANDIR_TAIL): New macro.
5851         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5852         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5853         (SCANDIRAT): Macro removed.
5854         (SCANDIR_TAIL): New macro.
5855         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5856         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5857         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5858         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5859         (READDIR): Macro removed.
5860         (SCANDIR_TAIL): New macro.
5861         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5862         (SCANDIR_TAIL): New macro.
5864         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5865         * dirent/scandir-cancel.c: ... to this new file.
5866         * dirent/Makefile (routines): Add it.
5867         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5868         * sysdeps/unix/sysv/linux/i386/scandir64.c
5869         (SKIP_SCANDIR_CANCEL): Macro removed.
5870         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5872         * dirent/tst-scandir.c: New file.
5873         * dirent/tst-scandir64.c: New file.
5874         * dirent/Makefile (tests): Add them.
5876 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5878         [BZ #18409]
5879         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5881 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5883         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5884         list.
5886 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5888         * benchtests/bench-strcoll.c: New benchmark.
5889         * benchtests/Makefile: Generate locales and run benchmark.
5890         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5891         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5892         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5893         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5894         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5895         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5896         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5897         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5898         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5899         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5900         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5901         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5902         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5903         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5904         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5905         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5906         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5907         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5908         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5909         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5910         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5911         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5912         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5913         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5915 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5917         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5918         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5920 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5922         * posix/uname-values.h: New file.
5923         * posix/uname.c: Include that instead of <config-name.h>.
5924         * sysdeps/nacl/uname-values.h: New file.
5925         * sysdeps/arm/nacl/uname-values.h: New file.
5927 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5929         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5930         splitting into fields.
5932 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5934         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5935         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5936         * locale/localeinfo.h: Add enum collation_encoding_type.
5937         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5938         * programs/ld-collate.c (collate_output): Add encoding type info.
5939         * string/strcoll_l.c (STRDIFF): New function.
5940         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5941         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5943 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5945         [BZ #18397]
5946         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5947         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5948         <fpu_control.h> instead of <math/fpu_control.c>.
5949         * sysdeps/mips/mips32/fpu/Makefile: New file.
5951 2015-05-11  Andreas Schwab  <schwab@suse.de>
5953         [BZ #18007]
5954         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5955         nss_endgrent.
5956         (_nss_compat_endgrent): Call nss_endgrent.
5957         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5958         nss_endpwent.
5959         (_nss_compat_endpwent): Call nss_endpwent.
5960         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5961         needent, call nss_setspent only if non-zero.
5962         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5963         (internal_endspent): Don't call nss_endspent.
5964         (_nss_compat_endspent): Call nss_endspent.
5965         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5966         Remove.  All uses removed.
5967         (internal_setent): Remove parameter stayopen, add parameter
5968         stream.  Use it instead of global variable.
5969         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5970         (internal_endent, internal_getent): Add parameter stream.  Use it
5971         instead of global variable.
5972         (CONCAT(_nss_files_end,ENTNAME))
5973         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5974         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5975         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5976         uses removed.
5977         (internal_setent, internal_endent): Add parameter stream.  Use it
5978         instead of global variable.
5979         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5980         stream.
5981         (get_next_alias): Add parameter stream.
5982         (_nss_files_getaliasent_r): Pass global stream.
5983         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5984         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5985         (_nss_files_gethostbyname4_r): Pass local stream to
5986         internal_setent, internal_getent and internal_endent.  Remove
5987         locking.
5989 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5991         * tst-strfmon1.c (tests): Update expected currency symbol.
5993 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5995         * sysdeps/nacl/gethostname.c: New file.
5997 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5999         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6000         and sinh.
6001         * math/auto-libm-test-out: Regenerated.
6002         * sysdeps/i386/fpu/libm-test-ulps: Update.
6003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
6007         [BZ #18125]
6008         * stdlib/tst-setcontext3.c: New file.
6009         * stdlib/tst-setcontext3.sh: New file.
6010         * stdlib/Makefile (tests): Add tst-setcontext3.
6011         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6012         to verify test program created output file.
6013         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6014         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6015         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6016         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6018 2015-05-06  Roland McGrath  <roland@hack.frob.com>
6020         [BZ #18383]
6021         * elf/tst-tlsalign.c: New file.
6022         * elf/tst-tlsalign-static.c: New file.
6023         * elf/tst-tlsalign-lib.c: New file.
6024         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6025         (tests-static): Add tst-tlsalign-static.
6026         (modules-names): Add tst-tlsalign-lib.
6027         (test-xfail-tst-tlsalign): New variable.
6028         (test-xfail-tst-tlsalign-static): New variable.
6030         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6031         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6033 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
6035         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6036         csqrt, erfc, sin and sincos.
6037         * math/auto-libm-test-out: Regenerated.
6038         * sysdeps/i386/fpu/libm-test-ulps: Update.
6039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6041 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6043         * sysdeps/aarch64/libm-test-ulps: Update.
6045 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
6047         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6048         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6049         * math/auto-libm-test-out: Regenerated.
6050         * sysdeps/i386/fpu/libm-test-ulps: Update.
6051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6053 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6055         [BZ #18265]
6056         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6057         (wcsncpy): Likewise.
6059 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6061         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6062         Assume __ASSUME_FALLOCATE is always true.
6063         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6064         (__posix_fallocate64_l64): Likweise.
6065         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6066         (posix_fallocate): Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6068         (__posix_fallocate64_l64): Likewise.
6069         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6070         [!__ASSUME_FALLOCATE]: Add comment.
6072 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6074         * sysdeps/unix/sysv/linux/i386/Makefile
6075         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6076         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6077         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6078         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6079         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6080         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6081         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6083 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6085         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6086         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6087         tgamma.
6088         * math/auto-libm-test-out: Regenerated.
6089         * sysdeps/i386/fpu/libm-test-ulps: Update.
6090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6092 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6094         * math/auto-libm-test-in: Add more tests of tgamma.
6095         * math/auto-libm-test-out: Regenerated.
6096         * sysdeps/i386/fpu/libm-test-ulps: Update.
6097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099         * math/auto-libm-test-in: Add more tests of tanh.
6100         * math/auto-libm-test-out: Regenerated.
6101         * sysdeps/i386/fpu/libm-test-ulps: Update.
6102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6104         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6110         * math/auto-libm-test-out: Regenerated.
6111         * sysdeps/i386/fpu/libm-test-ulps: Update.
6112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6114         * math/auto-libm-test-in: Add another test of pow.
6115         * math/auto-libm-test-out: Regenerated.
6116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6118         * math/auto-libm-test-in: Add more tests of lgamma.
6119         * math/auto-libm-test-out: Regenerated.
6120         * sysdeps/i386/fpu/libm-test-ulps: Update.
6121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6124         log1p.
6125         * math/auto-libm-test-out: Regenerated.
6126         * sysdeps/i386/fpu/libm-test-ulps: Update.
6127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6129 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6131         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6132         Elf64_Chdr structs and ELFCOMPRESS constants.
6134 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6136         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6137         expm1.
6138         * math/auto-libm-test-out: Regenerated.
6139         * sysdeps/i386/fpu/libm-test-ulps: Update.
6140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6142         * math/auto-libm-test-in: Add more tests of erf and erfc.
6143         * math/auto-libm-test-out: Regenerated.
6144         * sysdeps/i386/fpu/libm-test-ulps: Update.
6145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6147 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6149         * config.h.in (HAVE_AARCH64_BE): Add.
6151 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6153         * math/auto-libm-test-in: Add more tests of csqrt.
6154         * math/auto-libm-test-out: Regenerated.
6155         * sysdeps/i386/fpu/libm-test-ulps: Update.
6156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6158         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6159         * math/auto-libm-test-out: Regenerated.
6160         * sysdeps/i386/fpu/libm-test-ulps: Update.
6161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6165 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6167         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6168         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6170         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6171         (euidaccess, eaccess): Define as weak aliases.
6173         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6174         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6175         but __suseconds_t is often 'long int' so some sources assume that
6176         type is being used (e.g. they use %ld to print tv_usec).
6178 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6180         [BZ #18007]
6181         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6182         (CVE-2014-8121)
6183         * nss/tst-nss-getpwent.c: New file.
6184         * nss/Makefile (tests): Add new test.
6186 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6188         [BZ #18346]
6189         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6190         exponents less than 48 as cases where high part of mantissa needs
6191         examining to determine whether argument is integral.
6192         * math/libm-test.inc (round_test_data): Add more tests.
6194 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6196         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6198 2015-04-27  David S. Miller  <davem@davemloft.net>
6200         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6201         __tls_get_addr.
6202         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6204 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6206         [BZ#18333]
6207         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6209 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6211         [BZ#18333]
6212         * time/tzset.c (parse_tzname): Return error on memory allocation
6213         failure.
6214         * test-skeleton.c (struct temp_name_list): Change type of name
6215         member to non-const.
6216         (add_temp_file): Create a copy of the file name.
6217         (delete_temp_files): Deallocate memory.
6218         (create_temp_file): Add comment.
6220 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6222         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6223         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6225 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6227         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6228         * sysdeps/arm/configure: Regenerated.
6230 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6232         [BZ #17715]
6233         * time/tzfile.c (__tzfile_read): Check for large values of
6234         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6235         * time/tzset.c (__tzstring_len): New function, based on the old
6236         __tzstring function.
6237         (__tzstring): Call __tzstring_len.
6238         (parse_tzname): New helper function extracted from
6239         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6240         the input string.
6241         (parse_offset): New helper function extracted from
6242         __tzset_parse_tz.  Replace switch with fallthrough with
6243         initialization before sscanf.
6244         (parse_rule): Likewise.
6245         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6246         new-style function definition.
6247         * timezone/Makefile (tests): Add tst-tzset.
6248         (tst-tzset.out): Dependencies on time zone files.
6249         (tst-tzset-ENV): Set TZDIR.
6250         (testdata/XT%): Copy crafted time zone files.
6251         * timezone/README: Mention crafted time zone files.
6252         * timezone/testdata/XT1, timezone/testdata/XT2,
6253         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6254         files.
6255         * timezone/tst-tzset.c: New test.
6257 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6259         * Makeconfig (+gccwarn): Remove -Winline.
6261 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6265 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6267         * NEWS: Mention sysconf() cache information support for s390.
6268         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6270 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6272         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6273         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6274         (__nearbyint): Likewise.
6275         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6276         (copysignl): Likewise.
6278 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6280         [BZ #18287]
6281         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6282         based on padding.  (CVE-2015-1781)
6284 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6286         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6287         libc-vdso.h.
6288         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6289         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6290         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6291         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6292         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6293         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6296         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6297         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6298         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6299         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6300         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6301         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6302         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6303         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6304         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6305         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6306         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6307         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6308         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6309         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6310         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6312 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6314         * stdlib/setenv.c (__add_to_environ):
6315         Dump core quickly if setenv (..., NULL, ...) is called.
6316         This time, do it the right way, and pacify GCC with a pragma.
6318 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6320         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6321         IMAP->l_prev cannot be null, and #if out the code for the contrary
6322         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6323         believe that NS (&_dl_ns[NSID]) could point outside the array.
6325         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6326         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6327         before using NSID as an index.
6329 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6331         [BZ #17825]
6332         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6333         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6334         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6336 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6338         Add preliminary port to Google Native Client on ARM.
6339         * abi-tags (.*-.*-nacl.*): New entry.
6340         * sysdeps/arm/nacl: New directory.
6341         * sysdeps/nacl: New directory.
6343 2015-04-16  David S. Miller  <davem@davemloft.net>
6345         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6346         lowlevellock-futex.h
6348 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6350         * sysdeps/tile/configure.ac: New file.
6351         * sysdeps/tile/configure: Regenerated.
6353 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6355         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6356         conditionals for weak_alias and libc_hidden_weak.
6357         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6358         libc_hidden_weak and weak_alias.
6359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6360         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6361         and weak_alias for static one.
6363 2015-04-15  David S. Miller  <davem@davemloft.net>
6365         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6367 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6369         [BZ #18206]
6370         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6371           Use signed comparision instead of substraction to avoid
6372           overflow bug.
6373         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6374           Take the sign of ret.
6375         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6376           Do not expect precise return values. Only the sign matters.
6377         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6378         * wcsmbs/test-wcsncmp.c: New File.
6379         * string/test-strncmp.c: Add wcsncmp support.
6381 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6383         [BZ #6792]
6384         * math/w_log1p.c: New file.
6385         * math/w_log1pf.c: Likewise.
6386         * math/w_log1pl.c: Likewise.
6387         * math/Makefile (libm-calls): Add w_log1p.
6388         * math/s_log1pl.c (log1pl): Remove weak_alias.
6389         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6390         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6391         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6392         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6393         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6394         [NO_LONG_DOUBLE] (log1pl): Likewise.
6395         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6396         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6397         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6398         (log1p): Remove long_double_symbol.
6399         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6400         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6401         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6402         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6403         remove weak_alias for corresponding log1p function.
6404         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6405         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6406         * sysdeps/ia64/fpu/w_log1p.c: New file.
6407         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6408         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6409         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6411 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6413         [BZ #18247]
6414         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6415         decimal exponent by 1.
6416         * stdlib/tst-strtod-round-data: Add more tests.
6417         * stdlib/tst-strtod-round.c (tests): Regenerated.
6419 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6421         * math/auto-libm-test-in: Add more tests of clog and clog10.
6422         * math/auto-libm-test-out: Regenerated.
6423         * sysdeps/i386/fpu/libm-test-ulps: Update.
6424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6426 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6428         * Makeconfig (module-cppflags): Exclude all .v.i files.
6429         (skip-module-cppflags): Variable removed.
6431         * configure.ac (libc_config_ok): Initialize before reading
6432         preconfigure scripts, not after.
6433         * configure: Regenerated.
6435         * test-skeleton.c (TIMEOUT): Move #define to top level.
6436         (main): Grok environment variable TEST_DIRECT.  If set, print
6437         test expectation details into that file and then behave as if
6438         given --direct.
6440 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6442         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6443         warning on 32-bit.
6445 2015-04-08  David S. Miller  <davem@davemloft.net>
6447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6449 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6451         * math/auto-libm-test-in: Add more tests of atanh.
6452         * math/auto-libm-test-out: Regenerated.
6453         * sysdeps/i386/fpu/libm-test-ulps: Update.
6454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6456         * math/auto-libm-test-in: Add more tests of atan.
6457         * math/auto-libm-test-out: Regenerated.
6458         * sysdeps/i386/fpu/libm-test-ulps: Update.
6459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6461 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6463         * elf/pldd.c (main): Rewrite to use struct
6464         scratch_buffer instead of extend_alloca.
6465         * elf/pldd-xx.c (find_maps): Likewise.
6466         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6467         <alloca.h>.
6468         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6469         scratch_buffer instead of extend_alloca.
6470         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6471         grp/compat-initgroups.c.
6472         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6473         Rewrite to use struct scratch_buffer instead of extend_alloca.
6474         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6475         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6477 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6479         * math/auto-libm-test-in: Add more tests of cbrt.
6480         * math/auto-libm-test-out: Regenerated.
6481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6483         * math/auto-libm-test-in: Add more tests of cabs.
6484         * math/auto-libm-test-out: Regenerated.
6485         * sysdeps/i386/fpu/libm-test-ulps: Update.
6486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488         [BZ #18210]
6489         [BZ #18211]
6490         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6491         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6492         computations.
6493         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6494         clog10.
6495         * math/auto-libm-test-out: Regenerated.
6496         * sysdeps/i386/fpu/libm-test-ulps: Update.
6497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499         [BZ #18197]
6500         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6501         (atan): Set FE_TONEAREST mode for internal computations.
6502         * math/auto-libm-test-in: Add more tests of atan.
6503         * math/auto-libm-test-out: Regenerated.
6505 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6507         [BZ #17930]
6508         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6510 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6512         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6514 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6516         * include/scratch_buffer.h: New file.
6517         * malloc/scratch_buffer_grow.c: Likewise.
6518         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6519         * malloc/scratch_buffer_set_array_size.c: Likewise.
6520         * malloc/tst-scratch_buffer.c: Likewise.
6521         * malloc/Makefile (routines): Add scratch_buffer_grow.
6522         (tests): Add test case.
6523         * malloc/Versions (GLIBC_PRIVATE): Export
6524         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6525         __libc_scratch_buffer_set_array_size.
6527 2015-04-06  Richard Henderson  <rth@redhat.com>
6529         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6530         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6532         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6533         unsigned int before printing.
6535 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6537         [BZ #17596]
6538         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6539         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6541 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6543         * include/libc-internal.h (libc_max_align_t): Define.
6545 2015-04-02  Andreas Schwab  <schwab@suse.de>
6547         [BZ #16850]
6548         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6550 2015-04-02  Mel Gorman  <mgorman@suse.de>
6552         [BZ #17195]
6553         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6554         as well as the main arena.
6556 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6558         [BZ #18185]
6559         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6560         sharing L2 cache to 2 for Silvermont/Knights Landing.
6562 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6564         [BZ #17711]
6565         * config.make.in (have-protected-data): New.
6566         * configure.ac: Check linker support for protected data symbol.
6567         * configure: Regenerated.
6568         * elf/Makefile (modules-names): Add tst-protected1moda and
6569         tst-protected1modb if $(have-protected-data) is yes.
6570         (tests): Add tst-protected1a and tst-protected1b if
6571         $(have-protected-data) is yes.
6572         ($(objpfx)tst-protected1a): New.
6573         ($(objpfx)tst-protected1b): Likewise.
6574         (tst-protected1modb.so-no-z-defs): Likewise.
6575         * elf/tst-protected1a.c: New file.
6576         * elf/tst-protected1b.c: Likewise.
6577         * elf/tst-protected1mod.h: Likewise.
6578         * elf/tst-protected1moda.c: Likewise.
6579         * elf/tst-protected1modb.c: Likewise.
6581 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6583         [BZ #17711]
6584         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6585         indicates it is called from do_lookup_x on relocation against
6586         protected data, skip the data definion in the executable from
6587         copy reloc.
6588         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6589         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6590         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6591         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6592         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6593         otherwise to 0.
6594         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6595         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6596         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6597         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6598         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6599         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6601 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6603         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6604         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6606 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6608         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6609         THREAD_SETMEM_NC.
6610         * sysdeps/x86_64/nptl/tls.h: Ditto.
6612 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6614         * dlfcn/tststatic.c (main): Converted to ...
6615         (do_test): ... this.
6616         (TEST_FUNCTION): New macro.
6617         Include test-skeleton.c.
6619 2015-03-26  Alan Modra  <amodra@gmail.com>
6621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6622         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6623         zero for undefined weak.
6624         (elf_machine_plt_conflict): Similarly.
6626 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6628         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6629         atanh.
6630         * math/auto-libm-test-out: Regenerated.
6631         * sysdeps/i386/fpu/libm-test-ulps: Update.
6632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6634         * math/auto-libm-test-in: Add another test of asin.
6635         * math/auto-libm-test-out: Regenerated.
6636         * sysdeps/i386/fpu/libm-test-ulps: Update.
6637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6640         Remove macro.
6641         (LLL_EBX_REG): Likewise.
6642         (LLL_ENTER_KERNEL): Likewise.
6644         * math/auto-libm-test-in: Add more tests of asin.
6645         * math/auto-libm-test-out: Regenerated.
6646         * sysdeps/i386/fpu/libm-test-ulps: Update.
6647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6649         [BZ #18138]
6650         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6651         libc_do_syscall_args): New structure.
6652         (INTERNAL_SYSCALL_MAIN_0): New macro.
6653         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6654         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6655         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6656         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6657         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6658         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6659         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6660         Replace conditional definitions by conditional definitions of ....
6661         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6662         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6663         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6664         (libpthread-sysdep_routines): Add libc-do-syscall.
6665         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6666         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6667         to __NR_futex not 240.
6669 2015-03-25  Alan Modra  <amodra@gmail.com>
6671         * NEWS: Advertise TLS optimization.
6672         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6673         (DT_PPC_NUM): Increment.
6674         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6675         (CHECK_STATIC_TLS): Use here.
6676         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6677         TLS descriptors.
6678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6679         * sysdeps/powerpc/dl-tls.c: New file.
6680         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6681         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6682         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6683         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6688 2015-03-25  Alan Modra  <amodra@gmail.com>
6690         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6691         for overlapping .opd entries" to "support...".
6692         * sysdeps/powerpc/powerpc64/configure: Regenerate
6694 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6696         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
6702         * math/auto-libm-test-out: Regenerated.
6703         * sysdeps/i386/fpu/libm-test-ulps: Update.
6704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6706 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6708         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6709         * math/auto-libm-test-out: Regenerated.
6710         * sysdeps/i386/fpu/libm-test-ulps: Update.
6711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6713         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6716         * math/auto-libm-test-in: Add more tests of log2.
6717         * math/auto-libm-test-out: Regenerated.
6718         * sysdeps/i386/fpu/libm-test-ulps: Update.
6719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6721 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6723         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6724         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6725         _IO_IS_APPENDING bit in READ_WRITE instead.
6727 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6729         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6730         (__determine_cpumask_size): Replace extend_alloca with a
6731         variable-length array.  Do not treat res == 0 as an error.
6733 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6735         [BZ #18100]
6736         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6737         and integer overflow.
6738         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6739         (main): Add integer overflow tests.
6740         * manual/pattern.texi (Calling Wordexp): Document additional use
6741         for WRDE_SYNTAX.
6743 2015-03-23  Alan Modra  <amodra@gmail.com>
6745         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6746         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6747         and false branch of conditional.
6748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6749         Likewise.
6751 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6753         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6754         libc-modules.h
6755         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6756         unused declaration of _hurd_intr_rpc_msg_in_trap.
6757         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6758         defined instead of whether it is non-zero.
6759         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6760         input constraint instead of both input and output constraint.  Use ecx
6761         clobber instead of %ecx.
6762         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6763         mutex_unlock): Use a statement expression instead of an expression list.
6764         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6765         type to vm_size_t instead of vm_address_t.
6766         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6767         defined instead of whether it is non-zero.
6768         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6769         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6770         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6771         comparisons with mapaddr.
6772         * nscd/nscd-client.h: Include <time.h>.
6773         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6774         9th parameter to __vm_region instead of int.
6775         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6776         * scripts/check-local-headers.sh (exclude): Add device/,
6777         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6778         cthreads.h.
6780 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6782         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6783         to account for alignment padding.
6784         * sysdeps/arm/memmove.S: Likewise.
6786 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6788         * sysdeps/unix/sysv/linux/generic/README: New file.
6790 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6792         [BZ #18138]
6793         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6794         (futex_abstimed_wait)
6795         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6796         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6797         of lll_futex_timed_wait.
6799 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6801         [BZ #17542]
6802         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6804 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6806         [BZ #17090]
6807         [BZ #17620]
6808         [BZ #17621]
6809         [BZ #17628]
6810         * NEWS: Update.
6811         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6812         entries with Static TLS too.  Skip entries past the end of the
6813         allocated DTV, from Alan Modra.
6814         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6815         Static TLS DTV entry set up from...
6816         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6817         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6818         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6819         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6820         for Static TLS.
6821         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6822         that the slot we find is associated with the given map before
6823         using its generation count.
6824         * nptl_db/db_info.c: Include ldsodefs.h.
6825         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6826         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6827         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6828         (link_map::l_tls_offset): New struct field.
6829         (dtv_t::counter): Likewise.
6830         (rtld_global): New struct.
6831         (_rtld_global): New rtld variable.
6832         (dl_tls_dtv_slotinfo_list): New rtld global field.
6833         (dtv_slotinfo_list): New struct.
6834         (dtv_slotinfo): Likewise.
6835         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6836         (td_lookup): Rename to...
6837         (td_mod_lookup): ... this.  Use new mod parameter instead of
6838         LIBPTHREAD_SO.
6839         * nptl_db/td_thr_tlsbase.c: Include link.h.
6840         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6841         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6842         addresses even if the DTV is out of date or missing them.
6843         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6844         index zero-length arrays.
6845         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6846         (td_lookup): Make it a macro implemented in terms of...
6847         (td_mod_lookup): ... this declaration.
6848         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6849         (DB_MAIN_VARIABLE): Likewise.
6851 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6853         [BZ #18134]
6854         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6856 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6858         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6860 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6862         [BZ #18128]
6863         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6864         (atomic_add, atomic_increment_and_test)
6865         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6867 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6869         * stdlib/setenv.c (__add_to_environ):
6870         Dump core quickly if setenv (..., NULL, ...) is called.
6872 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6874         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6875         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6876         all the necessary asm magic in one place.
6877         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6878         using those.
6880 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6882         [BZ #14906]
6883         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6884         traced file mtime. Use consistent log message.
6885         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6886         (register_traced_file): Call install_watches. Always set mtime.
6887         (invalidate_cache): Iterate over all trace files. Call install_watches.
6888         (inotify_check_files): Don't inline. Handle watching parent
6889         directories and configuration file movement in and out.
6890         (handle_inotify_events): New function.
6891         (main_loop_poll): Call handle_inotify_events.
6892         (main_loop_epoll): Likewise.
6893         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6894         (struct traced_file): Use array of inotify fds. Add parent directory,
6895         and basename.
6896         (struct database_dyn): Remove unused file_mtime.
6897         (init_traced_file): New inline function.
6898         (define_traced_file): New macro.
6899         * nss/nss_db/db-init.c: Use define_traced_file.
6900         (_nss_db_init): Use init_traced_file.
6901         * nss/nss_files/files-init.c: Use define_traced_file.
6902         (_nss_files_init): Use init_traced_file.
6904 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6906         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6907         [_LIBC]: Do not include <stdlib.h>.
6908         [!_LIBC] (abort): Remove declaration.
6909         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6910         _FP_STATIC_ASSERT instead of conditionally calling abort.
6911         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6912         (_FP_EXTEND_CNAN): Likewise.
6913         (FP_TRUNC): Likewise.
6914         (__FP_CLZ): Likewise.
6915         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6917 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6919         * manual/string.texi (XPG basename): Fix prototype.
6921 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6923         [BZ #18080]
6924         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6925         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6926         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6927         (__setcontext): Likewise.
6928         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6929         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6930         Call rt_sigprocmask syscall one time to set new signal mask
6931         and retrieve the current signal mask instead of two calls.
6932         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6933         (__swapcontext): Likewise.
6934         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6935         * stdlib/tst-setcontext2.c: New file.
6937 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6939         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6941 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6943         [BZ #18093]
6944         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6945         the wrong size.
6947 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6949         [BZ #18043]
6950         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6952 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6954         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6955         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6956         Remove define.
6957         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6958         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6959         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6960         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6961         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6962         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6963         define.
6964         * nptl_db/td_symbol_list.c (td_lookup): Remove
6965         HAVE_ASM_GLOBAL_DOT_NAME code.
6966         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6967         HAVE_ASM_GLOBAL_DOT_NAME check.
6968         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6969         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6970         (DOT_LABEL): Remove define.
6971         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6972         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6973         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6974         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6975         (__TLS_GET_ADDR): Likewise.
6976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6977         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6979 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6981         [BZ #18111]
6982         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6983         (_FPU_SETCW): Initialize cw from fpsr before storing.
6984         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6985         (fesetexceptflag): Rewrite using fpu_control.h.
6986         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6988 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6990         [BZ #18110]
6991         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6992         asms.
6993         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6995 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6997         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6998         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6999         abort.
7000         (_FP_FMA): Likewise.
7001         (_FP_DIV): Likewise.
7003 2015-03-10  Roland McGrath  <roland@hack.frob.com>
7005         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7006         with 0 in that case.
7007         * Makefile (summarize-tests): New canned sequence, factored out of
7008         commands for targets tests and xtests.  Display summary lines that
7009         don't start with PASS: or XFAIL: rather than ones that do start with
7010         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
7011         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7012         do start with ERROR: or FAIL:.
7013         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7014         (except for [$(build-shared) = yes]).
7015         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7016         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7017         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7018         * nptl/Makefile: Revert 2015-03-04 changes.
7019         [$(CXX) empty] (tests-unsupported): New variable.
7020         * debug/Makefile: Likewise.
7022         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7023         gnulib file.  Replace __attribute with __attribute__ throughout.
7025 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
7027         * sysdeps/hppa/fpu/libm-test-ulps: Update.
7029 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7031         [BZ #18104]
7032         * math/auto-libm-test-in: Add another test of pow.
7033         * math/auto-libm-test-out: Regenerated.
7035 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7037         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7038         $(config-cflags-nofma).
7040 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7042         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7043         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7044         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7045         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7046         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7047         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7048         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7049         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7050         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7051         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7052         Add comment on closing #endif.
7054 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7056         * posix/wordexp.c (CHAR_IN_SET): New macro.
7057         (parse_param): Use it.
7059 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7061         * sysdeps/powerpc/fpu/libm-test-ulps: update.
7063 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7065         [BZ #18043]
7066         * posix/wordexp.c (parse_param): Fix buffer overflow.
7067         * posix/wordexp-test.c (test_case): Add test case.
7069 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7071         [BZ #18042]
7072         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7073         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7075 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7077         [BZ #18043]
7078         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7079         (do_bz18043): Delete.
7080         (at_page_end): New.
7081         (testit): Refactor to have words at the edge of unreadable page.
7083 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7085         [BZ #16734]
7086         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7087         Cleanup read-only streams as well.
7088         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7090 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7092         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7093         <bits/libc-lockP.h>
7095 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7097         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7098         on [__KERNEL__].
7099         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7100         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7101         * soft-fp/op-common.h (_FP_DECL): Likewise.
7103 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7105         * elf/ifuncdep2.c (global): Replace
7106         __attribute__((visibility("protected"))) with
7107         asm (".protected global").
7108         * elf/ifuncmod1.c (global): Likewise.
7109         * elf/ifuncmod5.c (global): Likewise.
7111 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7113         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7114         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7116 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7118         * manual/install.texi (Configuring and compiling):
7119         Document test-wrapper-env-only.
7120         * INSTALL: Regenerated.
7122 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7124         [BZ #18043]
7125         * posix/wordexp.c (parse_param): Fix buffer overflow.
7126         * posix/wordexp-test.c (do_bz18043): Add test case.
7128 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7130         * time/tst-strptime2.c (do_test): Ensure failing tests are
7131         reported correctly.
7132         * time/tst-strptime3.c (do_test): Likewise.
7134 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7136         Fix aio_error thread-safety.
7137         * sysdeps/pthread/aio_error.c: New file
7138         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7139         synchronization.
7141 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7143         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7144         (group_number, vfprintf): Use it.
7145         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7146         (JUMP, REF): Use it.
7147         (WORK_BUFFER_SIZE): New enum constant.
7148         (process_arg, vfprintf): Use it.
7150 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7152         * manual/errno.texi (Error Messages): Complete example function
7153         by adding missing #define.
7154         (program_invocation_name): Add statement indicating GNU
7155         extension and reference which header file declares the variable.
7156         (program_invocation_short_name): Likewise.
7158 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7160         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7161         compatibility note.
7163 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7165         * Makeconfig (test-wrapper-env-only): New variable.
7166         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7167         then use that with $(test-wrapper-env-only) rather than using
7168         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7170 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7172         [BZ #18082]
7173         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7174         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7175         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7176         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7177         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7178         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7179         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7180         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7181         Likewise.
7182         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7183         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7184         Likewise.
7185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7186         Likewise.
7187         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7188         Likewise.
7189         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7190         Likewise.
7191         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7192         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7193         Likewise.
7194         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7195         Likewise.
7196         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7197         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7199 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7201         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7202         (ETH_ALEN): New macro.
7203         (struct ether_addr): Use it for length of ether_addr_octet.
7205         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7206         (setdb): Don't call __nss_configure_lookup for "rpc".
7207         (do_test): Don't call test_rpc.
7208         (output_rpcent, test_rpc): Functions moved ...
7209         * sunrpc/test-rpcent.c: ... to this new file.
7210         * sunrpc/Makefile (tests): Add it.
7212         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7213         __xpg_sigpause.
7214         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7215         * nptl/tst-signal6.c: Likewise.
7216         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7217         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7219         * configure.ac (libc_cv_cxx_link_ok): New check.
7220         Reset CXX to empty if it fails to link.
7221         * configure: Regenerated.
7222         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7223         bug-atexit3-lib only if $(CXX) is nonempty.
7224         * nptl/Makefile (tests): Likewise for tst-cancel24.
7225         (tests, tests-static): Likewise for tst-cancel24-static.
7226         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7227         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7228         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7229         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7231 2015-03-04  Andreas Schwab  <schwab@suse.de>
7233         [BZ #17631]
7234         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7235         for non-GCC compilers.
7236         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7237         Likewise.
7239 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7241         [BZ #17776]
7242         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7243         integer before bitwise and assembly operations.
7244         (feclearexcept): Likewise.
7245         * math/test-fenvinline.c: New file.
7246         * math/Makefile: Add test-fenvinline test.
7248 2015-03-03  Alan Modra  <amodra@gmail.com>
7250         [BZ #16512]
7251         * scripts/localplt.awk: Strip off symbol version.
7252         * NEWS: Mention bug fix.
7254 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7256         * sysdeps/pthread/timer_routines.c
7257         (timer_free_list, thread_free_list, thread_active_list): Make static.
7259 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7261         [BZ #17779]
7262         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7263         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7264         Undefine.
7265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7266         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7267         Likewise.
7268         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7269         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7270         Likewise.
7272 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7274         [BZ #18036]
7275         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7276         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7278 2015-03-02  Andreas Schwab  <schwab@suse.de>
7280         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7281         variable name.
7283 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7285         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7286         Return error status.
7288 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7290         [BZ #15969]
7291         * locale/findlocale.c (_nl_find_locale): Introduce const
7292         version of loc_name and drop unsafe type casts.
7294 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7296         * dlfcn/tststatic2.c (main): Converted to ...
7297         (do_test): ... this.
7298         (TEST_FUNCTION): New macro.
7299         Include test-skeleton.c.
7301 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7303         [BZ #17711]
7304         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7305         (tests-pie): Add vismain.
7306         (CFLAGS-vismain.c): New.
7307         * elf/vismain.c: Add comments for PIE requirement.
7309 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7311         [BZ #18046]
7312         [BZ #18047]
7313         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7314         0x1p-56L as threshold for just returning the argument.
7315         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7316         0x1p-32L as threshold for just returning the argument.
7317         * math/auto-libm-test-in: Add more tests of atanh.
7318         * math/auto-libm-test-out: Regenerated.
7319         * sysdeps/i386/fpu/libm-test-ulps: Update.
7320         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7322 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7324         * string/bcopy.c (bcopy): Call memmove for performance.
7326 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7328         * string/bzero.c (__bzero): Call memset for performance.
7330 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7332         [BZ #18068]
7333         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7334         to 00100000.
7336 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7338         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7340 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7342         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7343         (__kernel_standard): Use CSTR macro when setting exc.name.
7344         * sysdeps/ieee754/Makefile [$(subdir) = math]
7345         (CFLAGS-k_standard.c): Remove variable.
7347         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7348         setting p and q from "else if" to "else".
7349         (qzero): Likewise.
7350         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7351         (qone): Likewise.
7352         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7353         (qzerof): Likewise.
7354         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7355         (qonef): Likewise.
7356         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7357         (qzero): Likewise.
7358         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7359         (qone): Likewise.
7361         [BZ #18038]
7362         [BZ #18039]
7363         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7364         return pi/2 for arguments below 0x1p-113L.
7365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7366         return pi/2 for arguments below 0x1p-106L.
7367         * math/auto-libm-test-in: Add more tests of acos.
7368         * math/auto-libm-test-out: Regenerated.
7370         [BZ #16351]
7371         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7372         (MO): New macro.
7373         (__ieee754_asin): Force underflow exception for results with small
7374         absolute value.
7375         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7376         (MO): New macro.
7377         (__ieee754_asinf): Force underflow exception for results with
7378         small absolute value.
7379         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7380         (__ieee754_asin): Force underflow exception for results with small
7381         absolute value.
7382         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7383         (__ieee754_asinf): Force underflow exception for results with
7384         small absolute value.
7385         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7386         (__ieee754_asinl): Force underflow exception for results with
7387         small absolute value.
7388         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7389         (__ieee754_asinl): Force underflow exception for results with
7390         small absolute value.
7391         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7392         (__ieee754_asinl): Force underflow exception for results with
7393         small absolute value.
7394         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7395         Include <math.h>.
7396         * math/auto-libm-test-in: Do not mark underflow exceptions as
7397         possibly missing for bug 16351.
7398         * math/auto-libm-test-out: Regenerated.
7400         [BZ #18030]
7401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7402         of power of 2 down when low part has opposite sign.
7403         * math/libm-test.inc (logb_test_data): Add more tests.
7405 2015-02-26  Andreas Schwab  <schwab@suse.de>
7407         [BZ #18032]
7408         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7409         over collating symbol inside a bracket expression.  Minor cleanup.
7410         * posix/tst-fnmatch3.c (do_test): Add test case.
7412 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7414         [BZ #18029]
7415         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7416         Adjust exponent of power of 2 down when low part has opposite
7417         sign.
7418         * math/libm-test.inc (ilogb_test_data): Add more tests.
7420 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7422         [BZ #15969]
7423         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7424         the previous change.
7426         [BZ #15969]
7427         * locale/findlocale.c (_nl_find_locale): Retry archive search
7428         after alias expansion.
7430 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7432         * iconv/tst-iconv3.c (main): Converted to ...
7433         (do_test): ... this.
7434         (TEST_FUNCTION): New macro.
7435         Include test-skeleton.c.
7437         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7438         (convert): Make function static.
7439         (test_unalign): Likewise.  Add const to argument pointee types.
7440         (main): Replace with static function do_test.
7441         Print "Succeeded." only if RET is zero.
7442         (TEST_FUNCTION): New macro.
7443         Include test-skeleton.c.
7445         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7446         returns a null pointer.
7448 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7450         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7451         to __memcpy_ppc only for static builds.
7453 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7455         [BZ #18020]
7456         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7457         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7458         * math/auto-libm-test-in: Add more tests of asinh.
7459         * math/auto-libm-test-out: Regenerated.
7460         * sysdeps/i386/fpu/libm-test-ulps: Update.
7461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7463 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7465         [BZ #15850]
7466         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7467         and ip6_mtuinfo definitions here.
7468         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7469         in this define too.  Update comment.
7471 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7473         * elf/sprof.c (load_shobj): Tweak error message to match others.
7475 2015-02-24  Kevin Easton  <kevin@guarana.org>
7477         [BZ #16145] (partial fix)
7478         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7479         to reduce lock contention.
7481 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7483         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7484         (struct timex): Update time comment.
7485         (ADJ_SETOFFSET): Define.
7487 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7489         [BZ #18019]
7490         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7491         2**56 not 2**28 as threshold for log (2x) formula.
7492         * math/auto-libm-test-in: Add more tests of acosh.
7493         * math/auto-libm-test-out: Regenerated.
7494         * sysdeps/i386/fpu/libm-test-ulps: Update.
7495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7497 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7499         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7500         parenthesis around the buf assignment.
7501         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7503 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7505         [BZ #16783]
7506         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7507         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7508         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7509         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7510         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7511         * math/libm-test.inc (scalb_test_data): Add more tests.
7513 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7515         [BZ #17916]
7516         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7517         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7519 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7521         [BZ #17523]
7522         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7523         * io/bits/fcntl2.h (open): Use it.
7524         (openat): Likewise.
7525         * io/open.c (__libc_open): Likewise.
7526         * io/open64.c (__libc_open64): Likewise.
7527         * io/open64_2.c (__open64_2): Likewise.
7528         * io/open_2.c (__open_2): Likewise.
7529         * io/openat.c (__openat): Likewise.
7530         * io/openat64.c (__openat64): Likewise.
7531         * io/openat64_2.c (__openat64_2): Likewise.
7532         * io/openat_2.c (__openat_2): Likewise.
7533         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7534         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7535         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7536         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7537         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7538         (__open_nocancel): Likewise.
7539         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7540         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7541         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7543 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7545         [BZ #14841]
7546         * resolv/gethnamaddr.c (getanswer): Skip logging if
7547         RES_USE_DNSSEC is set.
7548         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7550 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7552         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7554 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7556         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7557         201304L, for Unicode 7.
7559 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7561         [BZ #17836]
7562         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7563         shared library.  Add gmon-start.os otherwise.
7564         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7565         $(objpfx)gmon-start.os if builing shared library.
7566         ($(objpfx)g$(static-start-installed-name)): Likewise.
7568 2015-02-23  Andreas Schwab  <schwab@suse.de>
7570         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7572 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7574         [BZ #17269]
7575         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7576         (enlarge_userbuf): Likewise.
7578 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7580         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7581         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7582         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7583         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7585 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7587         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7588         expression inside statement expression.
7590 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7592         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7593         <sysdeps/nptl/lowlevellock.h> and remove macros and
7594         functions that are now defined there.
7595         (SYS_futex): Remove.
7596         (lll_compare_and_swap): Remove.
7597         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7599 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7601         [BZ #17999]
7602         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7603         instead of scandirat.
7604         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7605         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7606         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7607         __scandirat.
7608         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7609         (__scandirat): Declare.  Use libc_hidden_proto.
7610         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7611         Remove variable.
7612         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7614 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7616         [BZ #15319]
7617         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7618         (MO): New macro.
7619         (__ieee754_atan2): For results with small absolute value, force
7620         underflow exception and remove excess range and precision from
7621         return value.
7622         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7623         (MO): New macro.
7624         (__ieee754_atan2f): For results with small absolute value, force
7625         underflow exception and remove excess range and precision from
7626         return value.
7627         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7628         (MO): New macro.
7629         (__atan): For results with small absolute value, force underflow
7630         exception and remove excess range and precision from return value.
7631         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7632         (MO): New macro.
7633         (__atanf): For results with small absolute value, force underflow
7634         exception and remove excess range and precision from return value.
7635         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7636         <math.h>.
7637         (__ieee754_atan2): Force underflow exception for results with
7638         small absolute value.
7639         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7640         <math_private.h>.
7641         (atan): Force underflow exception for results with small absolute
7642         value.
7643         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7644         (__atanf): Force underflow exception for results with small
7645         absolute value.
7646         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7647         <math.h>.
7648         (__atanl): Force underflow exception for results with small
7649         absolute value.
7650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7651         (__atanl): Force underflow exception for results with small
7652         absolute value.
7653         * sysdeps/x86/fpu/bits/mathinline.h
7654         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7655         (__ieee754_atan2): Only define inline for long double.
7656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7657         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7658         * math/auto-libm-test-in: Do not mark underflow exceptions as
7659         possibly missing for bug 15319.  Add more tests of atan2.
7660         * math/auto-libm-test-out: Regenerated.
7661         * math/libm-test.inc (casin_test_data): Do not mark underflow
7662         exceptions as possibly missing for bug 15319.
7663         (casinh_test_data): Likewise.
7664         * sysdeps/i386/fpu/libm-test-ulps: Update.
7666 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7668         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7669         * sysdeps/mips/bits/endian.h: Fix comments.
7671 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7673         [BZ #17996]
7674         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7675         (hdestroy_r): Likewise.
7676         (hsearch_r): Likewise.
7677         (__hcreate_r): Declare and use libc_hidden_proto.
7678         (__hdestroy_r): Likewise.
7679         (__hsearch_r): Likewise.
7680         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7681         (hcreate): Call __hcreate_r instead of hcreate_r.
7682         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7683         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7684         as weak alias of __hcreate_r.
7685         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7686         __hdestroy_r.
7687         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7688         __hsearch_r.
7689         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7690         Remove variable.
7691         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7692         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7693         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7694         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7696 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7698         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7699         arena_lock into a single arena_get.
7701 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7703         * dl-reloc.c: Inlucde libc-internal.h.
7704         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7705         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7706         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7707         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7708         (grow_heap): Likewise.
7709         * malloc/malloc.c: Include libc-internal.h.
7710         (do_check_malloc): Call powerof2.
7711         (sysmalloc): Use pagesize. Call ALIGN_UP.
7712         (systrim): Use pagesize.
7713         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7714         (__libc_valloc): Use pagesize.
7715         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7717 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7719         [BZ #17991]
7720         * include/sys/resource.h (__getrlimit64): Declare.  Use
7721         libc_hidden_proto.
7722         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7723         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7724         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7725         getrlimit64.
7726         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7727         __getrlimit64.
7728         [!getrlimit64] (getrlimit64): Define as weak alias of
7729         __getrlimit64.  Use libc_hidden_weak.
7730         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7731         using __getrlimit64 not __new_getrlimit64.
7732         (__GI_getrlimit64): Likewise.
7733         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7734         Likewise.
7735         (__GI_getrlimit64): Likewise.
7736         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7738         (getrlimit): Add __getrlimit64 alias.
7739         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7740         Likewise.
7741         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7742         Remove variable.
7743         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7744         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7746 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7748         * libio/fileops.c: Add missing sys/mman.h
7749         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7751 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7753         * manual/math.texi (Errors in Math Functions): Clarify goals
7754         regarding inexact and underflow exceptions.
7756 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7758         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7759         * sysdeps/mips/memset.S: Ditto.
7761 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7763         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7765 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7767         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7768         (__v1longjmp): Remove versioned symbol.
7769         (__v1siglongjmp): Remove alias and versioned symbol.
7770         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7771         (__v2siglongjmp): Likewise.
7773 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7775         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7777 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7779         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7781 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7783         [BZ #17987]
7784         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7785         zero result does not depend on the sign resulting from
7786         subtraction.
7787         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7788         Likewise.
7789         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7790         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7791         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7792         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7793         * math/libm-test.inc (remquo_test_data): Add more tests.
7795 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7797         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7798         Problem reported by J William Piggott.
7800 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7802         [BZ #17978]
7803         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7804         products 4 * y and 2 * y where those would overflow.
7805         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7806         Likewise.
7807         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7808         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7809         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7810         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7811         * math/libm-test.inc (remquo_test_data): Add more tests.
7813         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7815         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7816         [defined _COMPILING_NEWLIB].
7817         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7818         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7820         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7821         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7823 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7825         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7826         acquired.
7828 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7830         [BZ #17792]
7831         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7832         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7833         HOST_STACK_END_ADDR): Likewise.
7835 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7837         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7838         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7839         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7841 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7843         * sysdeps/generic/c++-types.data: New file.
7844         * sysdeps/generic/ld.abilist: New file.
7845         * sysdeps/generic/libBrokenLocale.abilist: New file.
7846         * sysdeps/generic/libanl.abilist: New file.
7847         * sysdeps/generic/libc.abilist: New file.
7848         * sysdeps/generic/libcrypt.abilist: New file.
7849         * sysdeps/generic/libdl.abilist: New file.
7850         * sysdeps/generic/libm.abilist: New file.
7851         * sysdeps/generic/libpthread.abilist: New file.
7852         * sysdeps/generic/libresolv.abilist: New file.
7853         * sysdeps/generic/librt.abilist: New file.
7855 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7857         [BZ #17569]
7858         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7859         Compute absolute value of x as modified by fmod, not original
7860         value of x.
7861         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7862         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7863         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7864         RUN_TEST_ffI_f1_mod8.
7865         (remquo_test_data): Add more tests.
7867 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7869         * sysdeps/init_array/pt-crti.S: New file.
7871 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7873         [BZ #17967]
7874         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7875         __builtin_fmaf instead of relying on contraction of a * b + c.
7877 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7879         [BZ #17969]
7880         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7881         node.
7883 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7885         [BZ #17964]
7886         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7887         __builtin_fma instead of relying on contraction of a * b + c.
7889 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7891         * Makeconfig (ASFLAGS): Add -Werror=undef.
7892         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7893         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7894         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7896         * Makeconfig (after-link): New variable.
7897         (+link-pie, +link-pie-tests): Use it.
7898         (+link-static, +link-static-tests): Likewise.
7899         (+link, +link-tests): Likewise.
7900         * Makerules (build-module, build-module-asneeded): Likewise.
7901         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7902         Likewise.
7903         * elf/Makefile ($(objpfx)ld.so): Likewise.
7905 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7907         [BZ #17965]
7908         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7909         both struct timeval and struct timespec.
7911 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7913         [BZ #16560]
7914         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7915         and redefine.
7916         (__ieee754_exp2l): Do not multiply small fractional parts by
7917         M_LN2l.
7918         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7919         small argument.
7920         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7921         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7922         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7923         * math/auto-libm-test-in: Add more tests of exp2.
7924         * math/auto-libm-test-out: Regenerated.
7926 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7928         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7929         unaligned path.
7931 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7933         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7934         little endian.
7936 2015-02-12  Andreas Schwab  <schwab@suse.de>
7938         [BZ #15790]
7939         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7940         Filter out elision flags from value returned in kind.
7941         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7942         * nptl/tst-pthread-mutexattr.c: New file.
7944 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7946         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7947         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7948         into gnu-gnu, and update comment to refer to abi-tags.
7950 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7952         [BZ #15467]
7953         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7954         (__sincos): Set errno to EDOM for infinite argument.
7955         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7956         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7957         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7958         (__sincosl): Set errno to EDOM for infinite argument.
7959         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7960         (__sincosl): Set errno to EDOM for infinite argument.
7961         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7962         (__sincosl): Set errno to EDOM for infinite argument.
7963         * math/libm-test.inc (sincos_test_data): Test errno setting.
7965 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7967         * string/strxfrm_l.c: Remove #define STRCMP.
7968         * string/strcoll_l.c: Remove #define STRLEN.
7969         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7970         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7972 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7974         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7975         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7976         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7977         * sysdeps/mips/mips64/Makefile: ... here.
7978         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7979         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7980         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7981         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7982         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7983         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7984         * sysdeps/mips/mips64/n64/Implies: Likewise.
7986 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7988         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7989         <sys/time.h>, <string.h>, and <errno.h>.
7990         (dest_offset, dest_address, value, zero): Remove unused variables.
7991         (ldouble): Remove typedef.
7992         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7993         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7994         1).  Fix code style.
7995         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7996         (check): Function removed.
7997         (CHECK): New macro.
7998         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7999         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8000         Don't call set_sigaction_FP and remove_sigaction_FP here.
8001         (ldouble_test): Just use 'long double' as macro argument, no need for
8002         the 'ldouble' typedef.
8003         (do_test): Set up SIGFPE handler at start, using plain signal rather
8004         than sigaction.  Fix code style.
8006 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
8008         [BZ #17949]
8009         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8010         jump label.
8012 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8014         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8015         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8017         * sysdeps/powerpc/configure.ac: Remove file.
8018         * sysdeps/powerpc/configure: Likewise.
8020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8021         [sysdep_routines]: Remove wordcopy-power6 object.
8022         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8023         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8025         (__memmove_ppc32): Likewise.
8026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8027         file.
8028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8029         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8030         Remove preprocessor.
8032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8033         [sysdep_routines]: Remove wide chars objects.
8034         [wcsmbs]: New rule for wide char objects.
8036         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8037         Remove wordcopy-power6 obejct.
8038         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8039         Use local call for wordcopy and memcpy symbols.
8040         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8042         implementation for loader.
8043         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8045         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8046         Remove wordcopy-power7 object.
8047         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8048         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8049         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8050         (_wordcopy_fwd_dest_aligned): Likewise.
8051         (_wordcopy_bwd_aligned): Likewise.
8052         (_wordcopy_bwd_dest_aligned): Likewise.
8054         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8055         Rewrite to call __memmove_ppc instead of include default
8056         implementation.
8058         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8059         Remove wide chars objects.
8060         [wcsmbs]: New rule for wide char objects.
8062 2015-02-09  Andreas Schwab  <schwab@suse.de>
8064         [BZ #17912]
8065         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8066         in terms of __O_DIRECTORY.
8068 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8070         * time/getdate.c: Include <stdbool.h>.
8071         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8072         call PTR_MANGLE.
8073         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8074         PTR_DEMANGLE.
8076 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8078         Add ersatz _Static_assert on older C hosts
8079         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8080         pre-C11 C platform that is not known to support _Static_assert.
8082 2015-02-07  Richard Braun  <rbraun@sceen.net>
8084         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8085         sigstate.
8086         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8088 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8090         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8091         priority against unexistent AIO_PRIO_DELTA_MAX.
8092         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8093         instead of int.
8094         * misc/fchflags.c (fchflags): Likewise.
8095         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8096         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8097         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8098         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8099         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8100         Declare macros.
8101         [__USE_MISC] (chflags, fchflags): Declare functions.
8102         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8103         EINVAL when nfds is greater than FD_SETSIZE.
8104         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8105         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8106         45.
8107         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8108         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8109         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8110         MACH_RCV_TIMED_OUT.
8111         * hurd/hurd/signal.h (_hurd_self_sigstate,
8112         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8113         Explicit casts from void *.
8114         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8115         * abi-tags: Rename gnu-gnu os into gnu.
8117         [BZ #4719]
8118         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8119         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8120         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8121         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8122         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8123         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8125         [BZ #17944]
8126         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8127         duplicates ADDR->sun_path with sockaddr LEN limitation.
8128         * sysdeps/mach/hurd/connect.c: Include <string.h>
8129         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8130         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8131         * sysdeps/mach/hurd/sendto.c: Likewise.
8132         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8133         implementing it by hand.
8135 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8137         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8138         Use sfi_breg on ldr.
8139         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8140         Likewise.
8142         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8143         it's defined.
8144         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8145         Test SIGSETXID only if it's defined.
8147         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8149         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8150         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8152         * nptl/tst-align2.c: Moved ...
8153         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8154         * nptl/Makefile (tests): Remove tst-align2.
8155         * sysdeps/unix/sysv/linux/Makefile
8156         [$(subdir) = nptl] (tests): Add tst-align-clone.
8157         * nptl/tst-getpid1.c: Moved ...
8158         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8159         * nptl/tst-getpid2.c: Moved ...
8160         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8161         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8162         * sysdeps/unix/sysv/linux/Makefile
8163         [$(subdir) = nptl] (tests): ... here.
8164         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8165         * sysdeps/unix/sysv/linux/Makefile
8166         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8168         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8169         Drop trailing \n from perror argument.  Use return rather than exit.
8171         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8172         on [SA_SIGINFO].
8173         * nptl/tst-cancel21.c (do_test): Likewise.
8174         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8175         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8176         [!SA_SIGINFO]: Make it a stub test.
8178         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8179         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8181         * posix/tst-getlogin.c: Move to ...
8182         * login/tst-getlogin.c: ... here.
8183         * posix/Makefile (tests): Move tst-getlogin to ...
8184         * login/Makefile (tests): ... here.
8186         * libio/tst-atime.c (do_test): Move local variables SV and E
8187         inside [ST_NOATIME] conditional.
8189         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8191         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8193         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8194         (wait_code): New function replaces macro.
8195         Call nanosleep rather than syscall.
8197         * nptl/pt-system.c: Rewritten.  Put everything under
8198         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8199         Use IFUNC to redirect when possible.
8201         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8202         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8203         Use IFUNC to redirect when possible.
8205         * nptl/pt-fork.c: Rewritten.  Put everything under
8206         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8207         Use IFUNC to redirect when possible.
8208         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8211         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8212         unconditionally nowadays.  This included the only reference to
8213         __vdso_clock_gettime that appears outside libc proper.
8214         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8215         Remove version set (containing only __vdso_clock_gettime).
8216         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8217         Add attribute_hidden.
8218         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8219         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8220         libc_hidden_data_def.
8221         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8222         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8224         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8225         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8226         setrpcent, and getrpcport to ...
8227         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8228         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8229         getrpcbynumber_r, and getrpcent_r to ...
8230         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8231         * inet/getrpcbyname.c: Moved ...
8232         * sunrpc/getrpcbyname.c: ... here.
8233         * inet/getrpcbyname_r.c: Moved ...
8234         * sunrpc/getrpcbyname_r.c: ... here.
8235         * inet/getrpcbynumber.c: Moved ...
8236         * sunrpc/getrpcbynumber.c: ... here.
8237         * inet/getrpcbynumber_r.c: Moved ...
8238         * sunrpc/getrpcbynumber_r.c: ... here.
8239         * inet/getrpcent.c: Moved ...
8240         * sunrpc/getrpcent.c: ... here.
8241         * inet/getrpcent_r.c: Moved ...
8242         * sunrpc/getrpcent_r.c: ... here.
8243         * inet/Makefile (routines): Move those to ...
8244         * sunrpc/Makefile (routines): ... here.
8245         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8246         the $(subdirs) list.
8247         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8248         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8249         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8250         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8252         * elf/Makefile (routines): Include $(all-dl-routines), not just
8253         $(dl-routines).
8254         (rtld-routines): Likewise.  Use = rather than :=.
8255         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8256         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8257         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8258         * sysdeps/arm/Makefile: Likewise.
8259         * sysdeps/i386/Makefile: Likewise.
8260         * sysdeps/x86_64/Makefile: Likewise.
8261         * sysdeps/hppa/Makefile [$(subdir) = elf]
8262         (sysdep_routines, sysdep-rtld-routines): Don't add
8263         $(sysdep-dl-routines) to these.
8264         * sysdeps/ia64/Makefile: Likewise.
8265         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8266         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8267         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8268         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8269         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8270         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8271         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8272         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8273         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8274         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8275         these; sysdep-dl-routines alone is enough.
8277 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8279         [BZ #17932]
8280         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8281         where multiplication results in zero and third argument is finite
8282         and nonzero.
8283         * math/auto-libm-test-in: Add more tests of fma.
8284         * math/auto-libm-test-out: Regenerated.
8286         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8287         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8288         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8289         (_FP_CMP_EQ): Likewise.
8290         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8292         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8293         extra argument CHECK_NAN.  Redefine as wrapper around
8294         _FP_EXTEND_CNAN.
8296 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8298         * version.h (RELEASE): Set to "stable".
8299         (VERSION): Set to "2.21"
8300         * include/features.h (__GLIBC_MINOR__): Set to 21.
8302         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8304 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8305             Paul Eggert  <eggert@cs.ucla.edu>
8307         [BZ #16618]
8308         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8309         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8310         size in bytes. Store needed elements in wpmax. Use needed size
8311         in bytes for extend_alloca.
8313 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8315         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8316         binutls 2.25, and texinfo 5.2.
8317         * INSTALL: Regenerate.
8318         * sysdeps/nios2/configure: Regenerate.
8319         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8320         * manual/contrib.texi: Update.
8321         * po/be.po: Update.
8322         * po/bg.po: Update.
8323         * po/ca.po: Update.
8324         * po/cs.po: Update.
8325         * po/da.po: Update.
8326         * po/de.po: Update.
8327         * po/el.po: Update.
8328         * po/eo.po: Update.
8329         * po/es.po: Update.
8330         * po/fi.po: Update.
8331         * po/fr.po: Update.
8332         * po/gl.po: Update.
8333         * po/hr.po: Update.
8334         * po/hu.po: Update.
8335         * po/ia.po: Update.
8336         * po/id.po: Update.
8337         * po/it.po: Update.
8338         * po/ja.po: Update.
8339         * po/ko.po: Update.
8340         * po/lt.po: Update.
8341         * po/nb.po: Update.
8342         * po/nl.po: Update.
8343         * po/pl.po: Update.
8344         * po/pt_BR.po: Update.
8345         * po/ru.po: Update.
8346         * po/rw.po: Update.
8347         * po/sk.po: Update.
8348         * po/sl.po: Update.
8349         * po/sv.po: Update.
8350         * po/tr.po: Update.
8351         * po/uk.po: Update.
8352         * po/vi.po: Update.
8353         * po/zh_CN.po: Update.
8354         * po/zh_TW.po: Update.
8356         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8357         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8358         * sysdeps/hppa/dl-irel.h: Remove #warning.
8359         * sysdeps/hppa/entry.h: Provide prototype for
8360         __canonicalize_funcptr_for_compare and cast argument.
8361         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8362         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8363         * sysdeps/hppa/sotruss-lib.c: New file.
8364         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8365         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8366         (atomic_compare_and_exchange_bool_acq): Likewise.
8367         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8368         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8370         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8371         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8372         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8374 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8376         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8377         called function in non-PIC case.
8379 2015-01-31  David S. Miller  <davem@davemloft.net>
8381         * sysdeps/sparc/sparc32/bits/atomic.h
8382         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8383         unlock not after it.
8384         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8385         volatile register usage warnings from the compiler.
8387         * sysdeps/sparc/nptl/sem_init.c: Delete.
8388         * sysdeps/sparc/nptl/sem_post.c: Delete.
8389         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8390         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8391         * sysdeps/sparc/sparc32/sem_init.c: New file.
8392         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8393         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8394         padding explicitly initialized.
8395         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8396         padding for in-semaphore spinlock.
8397         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8398         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8399         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8400         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8401         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8402         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8403         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8404         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8405         version.
8406         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8407         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8409 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8411         [BZ #17801]
8412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8413         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8414         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8415         New.
8416         (index_AVX_Fast_Unaligned_Load): Likewise.
8417         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8418         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8419         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8420         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8421         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8422         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8423         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8424         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8425         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8427 2015-01-29  Andreas Schwab  <schwab@suse.de>
8429         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8431 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8433         [BZ #17892]
8434         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8436 2015-01-28  Martin Sebor  <msebor@redhat.com>
8438         * math/README.libm-test: Clarify. Add "How to read the test output."
8440 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8442         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8443         Define to 0.
8445 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8447         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8448         (__HAVE_64B_ATOMICS): Define to 0.
8450 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8452         [BZ #17885]
8453         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8454         value to set as new flag.
8456         [BZ #16576]
8457         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8458         and use _ARCH_PPCSQ instead.
8459         (__ieee754_sqrt): Likewise.
8460         (__ieee754_sqrtf): Likewise.
8461         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8462         _ARCH_PPCSQ is defined.
8463         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8464         fsqrt instruction.
8465         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8466         _ARCH_PPCSQ is defined.
8467         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8468         fsqrts instruction.
8469         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8471 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8473         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8474         bug (GCC BZ #64739).
8476 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8478         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8479         Mark _retval as used.
8480         (lll_futex_wake_unlock): Likewise.
8481         (lll_futex_timed_wait_requeue_pi): Likewise.
8483         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8484         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8485         register variables.
8487         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8488         libm_hidden_def.
8490         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8491         (__bswap_64): Mark as __always_inline.
8493 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8495         [BZ #15378]
8496         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8497         when none of the search directories exist.
8499 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8501         [BZ #17869]
8502         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8503         power8 in .machine directive.
8505         [BZ #17868]
8506         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8507         set dependency from opd value.
8509 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8512         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8513         architecture.
8515 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8517         [BZ #17870]
8518         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8519         with uint64_t.
8520         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8521         (uint64_t) 1.
8522         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8523         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8524         Replace 1UL with (uint64_t) 1.
8525         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8526         int with uint64_t.
8528 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8530         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8531         (if_freenameindex): Likewise.
8533         * resource/getrlimit64.c: Add missing libc_hidden_def.
8535 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8537         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8538         __label__.
8539         (_FP_FMA): Likewise.
8540         (_FP_TO_INT_ROUND): Likewise.
8541         (_FP_FROM_INT): Likewise.
8543 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8545         [BZ #16418]
8546         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8547         Make code racy and cancel safe.
8549 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8551         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8552         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8553         attribution.
8555         * pwd/tst-getpw.c: Rewrite.
8557         [BZ #17702]
8558         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8559         (modules-names): Add moddummy1 and moddummy2.
8560         ($(objpfx)tst-rec-dlopen): Define.
8561         * dlfcn/moddummy1.c: New file.
8562         * dlfcn/moddummy2.c: New file.
8563         * dlfcn/tst-rec-dlopen.c: New file.
8564         * elf/dl-cache.c (_dl_load_cache_lookup):
8565         Return char*. Copy result with alloca/strcpy/strdup.
8566         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8567         returns char*. Free cached. If not saving realname
8568         free cached.
8569         * elf/dl-open.c (dl_open_worker): Do not assert that
8570         _r_debug->r_state is RT_CONSISTENT.
8571         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8572         returns char*.
8574 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8575             Carlos O'Donell  <carlos@redhat.com>
8577         [BZ #12674]
8578         * nptl/sem_waitcommon.c: New file.
8579         * nptl/sem_wait.c: Include sem_waitcommon.c.
8580         (__sem_wait_cleanup, do_futex_wait): Remove.
8581         (__new_sem_wait): Adapt.
8582         (__new_sem_trywait): New function.
8583         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8584         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8585         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8586         (sem_timedwait): Adapt.
8587         * nptl/sem_post.c (__new_sem_post): Adapt.
8588         (futex_wake): New function.
8589         (__old_sem_post): Add release MO fence.
8590         * nptl/sem_open.c (sem_open): Adapt.
8591         * nptl/sem_init.c (__new_sem_init): Adapt.
8592         (futex_private_if_supported): New function.
8593         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8594         (__old_sem_getvalue): Add using previous code.
8595         * sysdeps/nptl/internaltypes.h: Adapt.
8596         * nptl/tst-sem13.c (do_test): Adapt.
8597         * nptl/tst-sem11.c (main): Adapt.
8598         * nptl/sem_trywait.c: Remove.
8599         * nptl/DESIGN-sem.txt: Remove.
8600         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8601         (gen-as-const-headers): Remove structsem.sym.
8602         * nptl/structsem.sym: Remove.
8603         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8604         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8605         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8606         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8607         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8608         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8609         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8610         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8611         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8612         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8613         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8614         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8615         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8616         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8617         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8618         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8619         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8620         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8621         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8622         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8623         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8624         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8626 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8628         * INSTALL: Regenerated.
8630         * po/libc.pot: Regenerated.
8632 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8633             Sandra Loosemore  <sandra@codesourcery.com>
8634             Andrew Jenner  <andrew@codesourcery.com>
8635             Joseph Myers  <joseph@codesourcery.com>
8636             Nathan Sidwell  <nathan@codesourcery.com>
8638         * NEWS: Mention new Nios II port.
8639         * sysdeps/nios2/Implies: New file.
8640         * sysdeps/nios2/Makefile: New file.
8641         * sysdeps/nios2/Subdirs: New file.
8642         * sysdeps/nios2/Versions: New file.
8643         * sysdeps/nios2/__longjmp.S: New file.
8644         * sysdeps/nios2/abort-instr.h: New file.
8645         * sysdeps/nios2/backtrace.c: New file.
8646         * sysdeps/nios2/bits/endian.h: New file.
8647         * sysdeps/nios2/bits/fenv.h: New file.
8648         * sysdeps/nios2/bits/link.h: New file.
8649         * sysdeps/nios2/bits/setjmp.h: New file.
8650         * sysdeps/nios2/bsd-_setjmp.S: New file.
8651         * sysdeps/nios2/bsd-setjmp.S: New file.
8652         * sysdeps/nios2/configure: New generated file.
8653         * sysdeps/nios2/configure.ac: New file.
8654         * sysdeps/nios2/crti.S: New file.
8655         * sysdeps/nios2/crtn.S: New file.
8656         * sysdeps/nios2/dl-init.c: New file.
8657         * sysdeps/nios2/dl-machine.h: New file.
8658         * sysdeps/nios2/dl-sysdep.h: New file.
8659         * sysdeps/nios2/dl-tls.h: New file.
8660         * sysdeps/nios2/dl-trampoline.S: New file.
8661         * sysdeps/nios2/gccframe.h: New file.
8662         * sysdeps/nios2/gmp-mparam.h: New file.
8663         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8664         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8665         * sysdeps/nios2/ldsodefs.h: New file.
8666         * sysdeps/nios2/libc-tls.c: New file.
8667         * sysdeps/nios2/libm-test-ulps: New file.
8668         * sysdeps/nios2/machine-gmon.h: New file.
8669         * sysdeps/nios2/math-tests.h: New file.
8670         * sysdeps/nios2/math_private.h: New file.
8671         * sysdeps/nios2/memusage.h: New file.
8672         * sysdeps/nios2/nptl/Makefile: New file.
8673         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8674         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8675         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8676         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8677         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8678         * sysdeps/nios2/nptl/tls.h: New file.
8679         * sysdeps/nios2/preconfigure: New file.
8680         * sysdeps/nios2/s_fma.c: New file.
8681         * sysdeps/nios2/s_fmaf.c: New file.
8682         * sysdeps/nios2/setjmp.S: New file.
8683         * sysdeps/nios2/sfp-machine.h: New file.
8684         * sysdeps/nios2/sotruss-lib.c: New file.
8685         * sysdeps/nios2/stackguard-macros.h: New file.
8686         * sysdeps/nios2/stackinfo.h: New file.
8687         * sysdeps/nios2/start.S: New file.
8688         * sysdeps/nios2/sysdep.h: New file.
8689         * sysdeps/nios2/tls-macros.h: New file.
8690         * sysdeps/nios2/tst-audit.h: New file.
8691         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8692         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8693         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8694         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8695         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8696         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8697         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8698         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8699         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8700         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8701         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8702         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8703         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8704         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8705         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8706         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8707         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8708         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8709         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8710         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8711         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8712         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8713         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8714         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8715         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8716         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8717         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8718         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8719         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8720         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8721         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8722         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8723         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8724         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8725         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8726         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8727         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8728         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8729         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8730         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8731         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8732         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8733         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8734         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8736 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8738         [BZ #17844]
8739         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8740         (getutent): Use weak_alias in non SHARED case
8741         and default_symbol_version in SHARED case.
8742         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8743         (getutent_r, pututline): Likewise.
8744         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8745         (getutid): Likewise.
8746         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8747         (getutid_r): Likewise.
8748         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8749         (getutline): Likewise.
8750         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8751         (getutline_r): Likewise.
8752         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8753         (updwtmp): Likewise.
8755 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8757         [BZ #17848]
8758         * sysdeps/s390/s390-32/memcmp.S
8759         (memcmp_g5): Rename to __memcmp_g5.
8760         * sysdeps/s390/s390-32/memcpy.S
8761         (memcpy_g5): Rename to __memcpy_g5.
8762         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8763         (memcpy_mvcle) Rename to __memcpy_mvcle.
8764         * sysdeps/s390/s390-32/memset.S
8765         (memset_g5): Rename to __memset_g5.
8766         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8767         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8768         and use prefixed functions.
8769         * sysdeps/s390/s390-32/multiarch/memcmp.S
8770         (memcmp_z196): Rename to __memcmp_z196.
8771         (memcmp_z10): Rename to __memcmp_z10.
8772         (memcmp): Set alias to __memcmp_g5.
8773         (bcmp): Set alias to __memcmp_g5.
8774         * sysdeps/s390/s390-32/multiarch/memcpy.S
8775         (memcpy_z196): Rename to __memcpy_z196.
8776         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8777         (memcpy_z10): Rename to __memcpy_z10.
8778         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8779         (memcpy): Set alias to __memcpy_g5.
8780         * sysdeps/s390/s390-32/multiarch/memset.S
8781         (memset_z196): Rename to __memset_z196.
8782         Jump to __memset_mvcle instead of memset_mvcle.
8783         (memset_z10): Rename to __memset_z10.
8784         Jump to __memset_mvcle instead of memset_mvcle.
8785         (memset_mvcle) Rename to __memset_mvcle.
8786         (memset): Set alias to __memset_g5.
8787         * sysdeps/s390/s390-64/memcmp.S
8788         (memcmp_z900): Rename to __memcmp_z900.
8789         * sysdeps/s390/s390-64/memcpy.S
8790         (memcpy_z900): Rename to __memcpy_z900.
8791         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8792         (memcpy_mvcle) Rename to __memcpy_mvcle.
8793         * sysdeps/s390/s390-64/memset.S
8794         (memset_z900): Rename to __memset_z900.
8795         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8796         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8797         and use prefixed functions.
8798         * sysdeps/s390/s390-64/multiarch/memcmp.S
8799         (memcmp_z196): Rename to __memcmp_z196.
8800         (memcmp_z10): Rename to __memcmp_z10.
8801         (memcmp): Set alias to __memcmp_z900.
8802         (bcmp): Set alias to __memcmp_z900.
8803         * sysdeps/s390/s390-64/multiarch/memcpy.S
8804         (memcpy_z196): Rename to __memcpy_z196.
8805         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8806         (memcpy_z10): Rename to __memcpy_z10.
8807         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8808         (memcpy): Set alias to __memcpy_z900.
8809         * sysdeps/s390/s390-64/multiarch/memset.S
8810         (memset_z196): Rename to __memset_z196.
8811         Jump to __memset_mvcle instead of memset_mvcle.
8812         (memset_z10): Rename to __memset_z10.
8813         Jump to __memset_mvcle instead of memset_mvcle.
8814         (memset_mvcle) Rename to __memset_mvcle.
8815         (memset): Set alias to __memset_z900.
8817 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8819         [BZ #17748]
8820         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8821         __fesetenv instead of fesetenv.
8823 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8825         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8826         macro.
8828 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8830         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8831         regression on LE.
8833         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8834         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8835         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8836         strncmp-power8 object.
8837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8838         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8839         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8840         * NEWS: Update.
8842 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8843             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8845         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8846         trailing byte check.
8848 2015-01-13  David S. Miller  <davem@davemloft.net>
8850         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8852 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8854         * login/logout.c (logout): Use memset rather than bzero.
8855         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8856         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8857         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8858         (_gethtbyaddr): Likewise.
8859         * locale/programs/simple-hash.c (bcopy): Macro removed.
8861 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8864         Add strcmp-power8 object.
8865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8866         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8867         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8868         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8869         __strcmp_power8 implementation.
8870         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8871         * NEWS: Update.
8873         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8874         Add strncpy-power8 and stpncpy-power8 objects.
8875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8876         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8877         implementations.
8878         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8879         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8880         __stpncpy_power8 implementation.
8881         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8882         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8883         __strncpy_power8 implementation.
8884         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8885         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8886         * NEWS: Update.
8888         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8889         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8890         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8892         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8893         strncat-power8 object.
8894         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8895         __strcat_power8 implementation.
8896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8897         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8898         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8899         optimized strcat for power8.
8901         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8902         strcpy-power8 and stpcpy-power8 objects.
8903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8904         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8905         implementations.
8906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8907         multiarch stpcpy implementation for POWER8.
8908         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8909         multiarch strcpy implementation for POWER8.
8910         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8911         __strcpy_power8 function.
8912         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8913         stpcpy for POWER8.
8914         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8915         strcpy for POWER8.
8916         * NEWS: Update.
8918 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8920         [BZ #16009]
8921         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8922         weights and rules. Use do_xfrm_cached if data fits in cache,
8923         do_xfrm otherwise.  Moved former main loop to...
8924         * (do_xfrm_cached): New function.
8925         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8926         find_idx, find_position and stack_push.
8927         * (find_idx): New function.
8928         * (find_position): Likewise.
8929         * localedata/sort-test.sh: Added test run for do_xfrm.
8930         * localedata/xfrm-test.c (main): Added command line option
8931         -nocache to run the test with strings that are too large for
8932         the STRXFRM cache.
8934 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8936         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8937         variable to lll_futex_wake call, not the value itself.
8939 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8941         [BZ #17803]
8942         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8943         twom64.  Adjust value to 0x1p-64L.
8944         (__scalblnl): Only return standard underflowing result for K <=
8945         -64 not K <= -63; adjust exponent for underflowing result by 64
8946         not 63.
8947         * math/libm-test.inc (scalbn_test_data): Add more tests.
8948         (scalbln_test_data): Likewise.
8950         [BZ #17834]
8951         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8952         0x1p63L.
8953         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8954         not HX.
8955         * math/libm-test.inc (scalbn_test_data): Add more tests.
8956         (scalbln_test_data): Likewise.
8958 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8959             Stefani Seibold  <stefani@seibold.net>
8961         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8962         (sysdep_routines): Add dl-vdso here, ...
8963         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8964         (sysdep_routines): ... not here.
8965         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8966         fallback when vDSO is not presented.
8967         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8968         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8969         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8970         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8971         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8972         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8973         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8974         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8975         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8976         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8977         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8978         fallback configurable symbol when vDSO is not available.
8979         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8980         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8981         be able to redefine fallback symbol when vDSO is not available.
8982         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8983         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8985 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8987         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8988         (TLS_INIT_TP): Add tm_capable initialization.
8989         (TLS_DEFINE_INIT_TP): Likewise.
8990         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8991         TCB.
8992         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8993         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8994         calculation.
8995         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8996         transactoion is lock elision is built and TCB tm_capable is set.
8997         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8999         (INTERNAL_SYSCALL_NCS): Likewise.
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9001         (INTERNAL_SYSCALL_NCS): Likewise.
9002         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9004         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9005         for powerpc.
9006         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9007         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9008         and remove it for 32 bits case.
9009         [pthread_rwlock_t] (__rwelision): New field for lock elision.
9010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9011         initialization.
9012         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9013         Disable lock elision with rdlocks if elision is not available.
9015         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9016         (sysdep_routines): Add lock elision objects.
9017         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9018         [pthread_mutex_t] (__spins): Rework to add lock elision field.
9019         [pthread_mutex_t] (__elision): Add field.
9020         [__PTHREAD_SPINS]: Adjust to init lock elision field.
9021         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9022         elision definitions for powerpc.
9023         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9024         implementation of lock elision for powerpc.
9025         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9026         implementation of timed lock elision for powerpc.
9027         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9028         implementation of trylock with lock elision for powerpc.
9029         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9030         implementaion of unlock for lock elision for powerpc.
9031         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9032         automatic enable lock elision for mutexes.
9033         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9034         transaction execution definitions for powerpc.
9035         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9036         definitions.
9037         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9038         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9039         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9040         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9041         * NEWS: Update.
9043 2015-01-09  Roland McGrath  <roland@hack.frob.com>
9045         * sysdeps/posix/shm-directory.c: Use <> rather than ""
9046         for #include of <shm-directory.h>.
9048 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
9050         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9051         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9053 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
9055         [BZ #17791]
9056         * NEWS: Mention bug fix.
9057         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9058         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9059         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9061 2015-01-09  Torvald Riegel <triegel@redhat.com>
9063         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9065 2015-01-09  Torvald Riegel <triegel@redhat.com>
9067         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9069 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9071         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9072         pointer and cast to uintptr_t.
9074 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9076         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9077         removed.
9078         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9080 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9082         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9083         of 0.
9085 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9087         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9088         <nptl/pthreadP.h> instead.
9089         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9091         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9092         already defined.
9093         [__SIGRTMIN] (init): Function removed.
9094         [__SIGRTMIN] (initialized): Variable removed.
9095         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9096         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9097         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9098         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9099         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9100         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9101         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9102         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9103         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9104         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9105         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9106         * sysdeps/nptl/allocrtsig.c: New file.
9107         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9108         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9109         * sysdeps/generic/testrtsig.h: File removed.
9111         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9112         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9114         * nptl/nptl-init.c (pthread_functions): Conditionalize
9115         .ptr__nptl_setxid initialization on [SIGSETXID].
9117         * sysdeps/nptl/sys/procfs.h: New file.
9118         * nptl_db/Makefile (headers): Add it.
9119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9121         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9122         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9123         * nptl/pthread_attr_setaffinity.c: Include it.
9124         * nptl/pthread_setattr_default_np.c: Likewise.
9125         * nptl/check-cpuset.h: New file.
9127 2015-01-08  Richard Henderson  <rth@redhat.com>
9129         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9130         (CFLAGS-tst-execstack-prog.c): Likewise.
9131         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9133 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9134             Sandra Loosemore  <sandra@codesourcery.com>
9135             Andrew Jenner  <andrew@codesourcery.com>
9136             Joseph Myers  <joseph@codesourcery.com>
9137             Nathan Sidwell  <nathan@codesourcery.com>
9139         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9140         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9141         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9142         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9143         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9144         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9145         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9146         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9147         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9148         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9149         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9150         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9151         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9152         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9153         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9154         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9155         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9157 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9159         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9160         timespec struct member in syscall macro.
9161         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9162         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9163         first timeval struct member in syscall macro.
9164         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9166 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9168         [BZ #17748]
9169         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9170         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9171         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9172         __feupdateenv and define as weak alias of __feupdateenv.  Use
9173         libm_hidden_weak.
9174         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9175         libm_hidden_def.
9176         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9177         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9178         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9179         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9180         libm_hidden_def.
9181         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9182         __feupdateenv and define as weak alias of __feupdateenv.  Use
9183         libm_hidden_weak.
9184         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9185         libm_hidden_def.
9186         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9187         __feupdateenv and define as weak alias of __feupdateenv.  Use
9188         libm_hidden_weak.
9189         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9190         libm_hidden_def.
9191         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9192         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9193         (__feupdateenv): Likewise.
9194         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9195         __feupdateenv and define as weak alias of __feupdateenv.  Use
9196         libm_hidden_weak.
9197         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9198         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9199         libm_hidden_def.
9200         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9201         function.
9202         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9203         libm_hidden_def.
9204         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9205         __feupdateenv instead of feupdateenv.
9206         (default_libc_feupdateenv_test): Likewise.
9207         (libc_feresetround_ctx): Likewise.
9209 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9211         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9212         prototype.
9214 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9216         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9217         COLL_SYM in a couple of places to avoid uninitialized variable
9218         wanings on tilegx gcc 4.8.2.
9220 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9222         * sysdeps/aarch64/strcpy.S: New file.
9223         * sysdeps/aarch64/stpcpy.S: New file.
9224         * NEWS: Updated.
9226 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9228         * sysdeps/aarch64/strrchr.S: New file.
9229         * NEWS: Updated.
9231 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9233         [BZ #17658]
9234         * stdlib/setenv.c: Fix memory leak when setting large,
9235         duplicate string.
9237 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9239         [BZ #17273]
9240         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9241         and tabs from buffer before parsing fstab entry.
9242         * misc/tst-mntent.c (main): Add test for mount entry with
9243         trailing spaces and tabs.
9245 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9247         [BZ #17748]
9248         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9249         * math/fesetround.c (fesetround): Rename to __fesetround and
9250         define as weak alias of __fesetround.  Use libm_hidden_weak.
9251         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9252         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9253         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9254         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9255         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9256         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9257         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9258         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9259         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9260         __fesetround_inline.
9261         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9262         __fesetround_inline instead of __fesetround.
9263         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9264         __fesetround and define as weak alias of __fesetround.  Use
9265         libm_hidden_weak.  Call __fesetround_inline instead of
9266         __fesetround.
9267         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9268         __fesetround and define as weak alias of __fesetround.  Use
9269         libm_hidden_weak.
9270         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9271         Likewise.
9272         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9273         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9274         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9275         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9276         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9277         __fesetround and define as weak alias of __fesetround.  Use
9278         libm_hidden_weak.
9279         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9280         __fesetround instead of fesetround.
9281         (default_libc_feholdexcept_setround): Likewise.
9282         (libc_feholdsetround_ctx): Likewise.
9283         (libc_feholdsetround_noex_ctx): Likewise.
9285         [BZ #17748]
9286         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9287         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9288         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9289         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9290         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9291         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9292         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9293         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9294         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9295         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9296         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9297         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9298         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9299         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9300         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9301         libm_hidden_def.
9302         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9303         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9304         Likewise.
9305         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9306         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9307         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9308         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9309         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9310         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9311         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9312         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9313         __fesetenv instead of fesetenv.
9314         (libc_feresetround_noex_ctx): Likewise.
9315         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9316         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9317         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9318         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9319         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9320         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9321         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9322         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9323         (__feupdateenv): Likewise.
9324         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9325         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9326         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9327         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9329 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9331         [BZ #17806]
9332         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9333         addresses have been freed.
9335 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9337         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9338         and nservall.
9340 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9342         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9343         Clean up check_pf allocation pattern. addresses
9345 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9347         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9348         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9349         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9350         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9351         * nptl/pthread_join.c (pthread_join): Likewise.
9352         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9353         * sysdeps/posix/waitid.c (__waitid): Likewise.
9354         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9355         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9356         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9357         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9359         Likewise.
9360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9361         (__libc_pread64): Likewise.
9362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9363         (__libc_pwrite): Likewise.
9364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9365         (__libc_pwrite64): Likewsie.
9366         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9367         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9368         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9369         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9370         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9371         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9372         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9374         Likewise.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9376         (__libc_pread64): Likewise.
9377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9378         Likewise.
9379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9380         (__libc_pwrite64): Likewise.
9381         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9382         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9383         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9384         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9385         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9386         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9387         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9388         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9389         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9390         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9391         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9392         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9393         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9394         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9395         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9396         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9397         Likewise.
9399 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9401         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9402         (CFLAGS-test-double.c): Likewise.
9403         (CFLAGS-test-ldouble.c): Likewise.
9404         (CPPFLAGS-test-ifloat.c): Likewise.
9405         (CPPFLAGS-test-idouble.c): Likewise.
9406         (CPPFLAGS-test-ildoubl.c): Likewise.
9407         (CFLAGS-test-test-fenv.c): Remove variable.
9408         (CFLAGS-test-misc.c): Likewise.
9410 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9412         [BZ #17797]
9413         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9414         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9415         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9416         CLOCKS_PER_SEC == 1000000.
9417         * time/clocktest.c (main): Replace %ld with %jd and cast to
9418         intmax_t.
9420 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9422         * sysdeps/generic/unwind-resume.h: New file.
9423         * sysdeps/gnu/unwind-resume.c: Include it.
9424         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9425         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9426         argument list.
9427         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9428         global rather than static.
9429         (_Unwind_Resume): Update user.
9430         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9431         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9432         rather than static.  Add __attribute__ ((cold)).
9433         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9434         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9435         * sysdeps/arm/arm-unwind-resume.S: New file.
9436         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9437         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9438         * sysdeps/arm/Makefile [$(subdir) = csu]
9439         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9440         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9441         Add rt-arm-unwind-resume.
9442         [$(subdir) = nptl]
9443         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9444         Add pt-arm-unwind-resume.
9445         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9446         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9448 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9450         [BZ #17748]
9451         * include/fenv.h (__feholdexcept): Declare.  Use
9452         libm_hidden_proto.
9453         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9454         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9455         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9456         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9457         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9458         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9459         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9460         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9461         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9462         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9463         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9464         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9465         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9466         (feholdexcept): Likewise.
9467         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9468         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9469         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9470         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9471         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9472         __feholdexcept instead of feholdexcept.
9473         (default_libc_feholdexcept_setround): Likewise.
9475 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9477         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9478         to avoid using stl/str to align destination.
9480 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9482         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9484 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9486         [BZ #17796]
9487         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9488         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9489         Define as weak alias not strong alias.
9491 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9493         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9494         bltzal with addiupc.
9495         (RTLD_START): Ditto.
9497 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9499         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9500         for __vdso_* functions in declarations.
9501         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9502         definitions.
9503         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9504         INTERNAL_VSYSCALL): Use struct return types to check for error.
9506         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9507         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9508         function with cast from llround().
9509         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9510         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9511         Define.
9513 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9515         [BZ #17793]
9516         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9517         Define as weak alias not strong alias.
9519         [BZ #17635]
9520         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9521         ...
9522         * ctype/ctype-extn.c: ... here.
9523         (__isblank_l): Move to ...
9524         * ctype/ctype-c99_l.c: ... here.  New file.
9525         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9526         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9527         Remove variable.
9528         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9529         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9530         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9531         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9532         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9534         [BZ #17777]
9535         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9536         (posix_fadvise64): Define as weak alias not strong alias.
9537         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9538         (posix_fallocate64): Likewise.
9539         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9540         Remove variable.
9541         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9542         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9543         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9544         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9545         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9547 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9549         [BZ #16191]
9550         * NEWS: Mention bug fix.
9551         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9552         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9553         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9554         (HOST_STACK_END_ADDR): Likewise.
9556 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9558         [BZ #17748]
9559         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9560         * math/fegetround.c (fegetround): Rename to __fegetround and
9561         define as weak alias of __fegetround.  Use libm_hidden_weak.
9562         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9563         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9564         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9565         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9566         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9567         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9568         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9569         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9570         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9571         Undefine after rather than before function definition; use
9572         parentheses around function name in definition.
9573         (__fegetround): Also undefine macro after function definition.
9574         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9575         __fegetround and define as weak alias of __fegetround.  Use
9576         libm_hidden_weak.  Do not undefine as macro.
9577         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9578         Likewise.
9579         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9580         __fegetround and define as weak alias of __fegetround.  Use
9581         libm_hidden_weak.
9582         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9583         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9584         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9585         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9586         __fegetround and define as weak alias of __fegetround.  Use
9587         libm_hidden_weak.
9588         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9589         __fegetround instead of fegetround.
9591         [BZ #17782]
9592         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9593         Condition macro definition on [__USE_MISC].
9595         [BZ #17781]
9596         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9597         (struct sigaction): Change type of sa_flags field to int.
9599         [BZ #17780]
9600         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9601         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9602         __glibc_reserved0.
9604         * nptl/version.c (banner): Use single year in copyright notice.
9606         * NEWS: Update copyright dates.
9607         * catgets/gencat.c (print_version): Likewise.
9608         * csu/version.c (banner): Likewise.
9609         * debug/catchsegv.sh: Likewise.
9610         * debug/pcprofiledump.c (print_version): Likewise.
9611         * debug/xtrace.sh (do_version): Likewise.
9612         * elf/ldconfig.c (print_version): Likewise.
9613         * elf/ldd.bash.in: Likewise.
9614         * elf/pldd.c (print_version): Likewise.
9615         * elf/sotruss.sh: Likewise.
9616         * elf/sprof.c (print_version): Likewise.
9617         * iconv/iconv_prog.c (print_version): Likewise.
9618         * iconv/iconvconfig.c (print_version): Likewise.
9619         * locale/programs/locale.c (print_version): Likewise.
9620         * locale/programs/localedef.c (print_version): Likewise.
9621         * login/programs/pt_chown.c (print_version): Likewise.
9622         * malloc/memusage.sh (do_version): Likewise.
9623         * malloc/memusagestat.c (print_version): Likewise.
9624         * malloc/mtrace.pl: Likewise.
9625         * manual/libc.texinfo: Likewise.
9626         * nptl/version.c (banner): Likewise.
9627         * nscd/nscd.c (print_version): Likewise.
9628         * nss/getent.c (print_version): Likewise.
9629         * nss/makedb.c (print_version): Likewise.
9630         * posix/getconf.c (main): Likewise.
9631         * scripts/test-installation.pl: Likewise.
9632         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9634 2015-01-02  Will Newton  <will.newton@linaro.org>
9636         * sysdeps/arm/armv7/configure: Removed.
9637         * sysdeps/arm/armv7/configure.ac: Likewise.
9639 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9641         * All files with FSF copyright notices: Update copyright dates
9642         using scripts/update-copyrights.
9643         * intl/plural.c: Regenerated.
9644         * locale/programs/charmap-kw.h: Likewise.
9645         * locale/programs/locfile-kw.h: Likewise.
9647 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9649         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9651 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9653         [BZ #17748]
9654         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9655         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9656         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9657         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9658         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9659         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9660         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9661         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9662         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9663         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9664         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9665         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9666         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9667         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9668         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9669         libm_hidden_def.
9670         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9671         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9672         Likewise.
9673         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9674         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9675         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9676         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9677         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9678         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9679         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9680         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9681         __fegetenv instead of fegetenv.
9682         (libc_feholdsetround_noex_ctx): Likewise.
9684 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9686         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9687         (Elf_MIPS_ABIFlags_v0): New structure.
9688         (EF_MIPS_FP64): Define.
9689         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9690         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9691         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9692         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9693         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9694         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9695         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9696         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9697         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9698         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9699         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9700         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9701         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9702         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9703         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9704         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9705         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9706         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9707         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9708         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9709         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9710         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9711         field.
9712         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9713         EF_MIPS_FP64.
9714         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9715         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9716         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9717         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9718         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9719         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9720         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9721         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9722         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9723         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9724         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9725         record the current FP ABI extension.
9726         (mips-mode-switch): Define to show if kernel headers support mode
9727         switching.
9728         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9729         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9730         supported SYSV ABI version to 3.
9731         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9732         feature.
9734 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9735             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9737         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9738         path.
9739         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9741 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9743         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9744         __fegetround and redefine to call __fegetround.  Remove condition
9745         on [!__NO_MATH_INLINES].
9746         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9747         function.
9748         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9749         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9750         Remove macro.
9751         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9752         instead of <fenv_libc.h>.
9753         (__llrintl): Call fegetround instead of __fegetround.
9754         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9755         instead of <fenv_libc.h>.
9756         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9757         (__lrintl): Call fegetround instead of __fegetround.
9758         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9759         instead of <fenv_libc.h>.
9760         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9761         (__rintl): Call fegetround instead of __fegetround.
9763 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9765         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9766         arrays.
9768 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9770         [BZ #17775]
9771         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9772         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9773         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9775 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9777         * sysdeps/i386/tls-macros.h: Include <features.h>.
9778         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9779         (TLS_IE): Likewise.
9780         (TLS_LD): Likewise.
9781         (TLS_GD): Likewise.
9782         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9783         define for GCC >= 5.0.
9785 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9787         * math/test-fenv.c (test_single_exception, set_single_exc,
9788         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9789         feexcp_mask_test, feenable_test, fe_single_test): Add
9790         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9791         case where they are not used.
9792         * math/libm-test.inc: Likewise.
9793         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9794         unused in the absence of FP rounding/exception support.
9795         * stdio-common/tst-printf-round.c: Likewise.
9796         * stdlib/tst-strtod-round.c: Likewise.
9797         * stdlib/tst-strtod-underflow.c: Likewise.
9799 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9801         [BZ #17723]
9802         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9803         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9804         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9805         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9806         libm_hidden_weak.
9807         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9808         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9809         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9810         libm_hidden_def.
9811         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9812         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9813         libm_hidden_weak.
9814         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9815         Likewise.
9816         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9817         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9818         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9819         libm_hidden_weak.
9820         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9821         libm_hidden_def.
9822         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9823         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9824         (__feraiseexcept): Likewise.
9825         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9826         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9827         libm_hidden_weak.
9828         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9829         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9830         libm_hidden_def.
9831         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9832         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9833         Use libm_hidden_def.
9834         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9835         libm_hidden_def.
9836         (feraiseexcept): Define as weak not strong alias.  Use
9837         libm_hidden_weak.
9838         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9839         New inline function.  Factored out of ...
9840         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9841         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9842         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9843         feraiseexcept.
9844         * math/w_acos.c (__acos): Likewise.
9845         * math/w_asin.c (__asin): Likewise.
9846         * math/w_ilogb.c (__ilogb): Likewise.
9847         * math/w_j0.c (y0): Likewise.
9848         * math/w_j1.c (y1): Likewise.
9849         * math/w_jn.c (yn): Likewise.
9850         * math/w_log.c (__log): Likewise.
9851         * math/w_log10.c (__log10): Likewise.
9852         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9853         * sysdeps/aarch64/fpu/math_private.h
9854         (libc_feupdateenv_test_aarch64): Likewise.
9855         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9856         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9857         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9858         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9859         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9860         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9861         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9862         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9863         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9864         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9866 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9868         [BZ #17732]
9869         * io/test-utime.c (main): Replace %ld with %jd and cast to
9870         intmax_t.
9871         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9872         * nptl/tst-mutex5.c: Include <stdint.h>.
9873         (do_test): Replace %ld with %jd and cast to intmax_t.
9874         * posix/tst-regex.c (run_test): Likewise.
9875         (run_test_backwards): Likewise.
9876         * rt/tst-clock.c: Include <stdint.h>.
9877         (clock_test): Replace %ld with %jd and cast to intmax_t.
9878         * rt/tst-cpuclock1.c: Include <stdint.h>.
9879         (do_test): Replace %lu with %ju and cast to uintmax_t.
9880         * rt/tst-cpuclock2.c: Include <stdint.h>.
9881         (do_test): Replace %lu with %ju and cast to uintmax_t.
9882         * rt/tst-mqueue1.c: Include <stdint.h>.
9883         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9884         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9885         intmax_t.
9886         * rt/tst-mqueue4.c (do_test): Likewise.
9887         * rt/tst-timer4.c: Include <stdint.h>.
9888         (check_ts): Replace %ld with %jd and cast to intmax_t.
9889         (do_test): Likewise.
9890         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9891         and cast to intmax_t.
9892         * sysdeps/pthread/tst-timer.c (main): Likewise.
9893         * time/clocktest.c (main): Likewise.
9894         * time/tst-posixtz.c (do_test): Likewise.
9895         * timezone/tst-timezone.c (main): Likewise.
9897 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9898             H.J. Lu  <hongjiu.lu@intel.com>
9900         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9901         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9902         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9903         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9904         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9905         version if bit_Fast_Unaligned_Load is set.
9906         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9907         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9908         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9909         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9910         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9911         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9913         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9914         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9915         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9916         to 4.
9917         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9918         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9919         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9920         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9922 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9924         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9925         instead of #if to avoid a Wundef warning.
9926         * stdlib/tst-limits.c (do_test): Likewise.
9928         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9929         parallel other exception macros.
9930         (fegetenv): Convert from macro to extern inline so that it applies
9931         retroactively to inline functions already seen by the compiler.
9932         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9934         * posix/Makefile (before-compile): Use $(objpfx) for
9935         posix-conf-vars-def.h.
9937 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9939         * posix/getconf.c (main): Use size_t for type of I.
9940         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9941         NSPEC.
9943         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9944         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9945         * posix/posix-envs.def: Likewise.
9946         * sysdeps/posix/sysconf.c: Likewise.
9947         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9948         (specs): Remove array.
9949         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9950         array.
9952         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9953         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9954         (__sysconf): Use CONF_IS_* macros.
9956         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9957         ($(objpfx)posix-conf-vars-def.h): New target.
9958         * posix/posix-conf-vars.list: New file.
9959         * posix/posix-conf-vars.h: New file.
9960         * posix/confstr.c: Include posix-conf-vars.h.
9961         (confstr): Use CONF_IS_* macros.
9962         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9963         CONF_IS_* macros.
9964         * scripts/gen-posix-conf-vars.awk: New file.
9966 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9968         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9969         fegetround): Add no-op macros to avoid linknamespace issues.
9971         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9972         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9974         * sysdeps/unix/sysv/linux/tile/sysdep.h
9975         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9976         assembly-specific section to avoid a redefinition warning.
9978         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9979         long before casting to pointer to avoid a cast warning.
9981 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9983         * sysdeps/tile/tilegx/Implies: New file.
9985 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9987         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9989 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9991         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9993 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9996         not define.
9997         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9998         <kernel-features.h>.
9999         (__utimes) [__NR_utimes]: Make code unconditional.
10000         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10001         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10002         (__ASSUME_UTIMES): Do not undefine.
10003         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10004         (__ASSUME_UTIMES): Likewise.
10005         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10006         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10007         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10008         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10010 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10012         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10014 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
10016         [BZ #17747]
10017         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10018         alias to weak alias for j0l, y0l.
10019         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10020         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10022         [BZ #17746]
10023         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10024         conversion.
10026 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10028         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10029         to zero if not already defined.
10031 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10033         [BZ #17724]
10034         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10035         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
10036         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
10037         (char *) casts added.
10038         * sysdeps/ieee754/k_standardf.c: New file.
10039         * sysdeps/ieee754/k_standardl.c: Likewise.
10040         * math/Makefile (libm-support): Remove k_standard.
10041         (libm-calls): Add k_standard.
10043 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10045         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10046         Optimize to avoid an unnecessary FPCR read.
10048 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10050         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10051         Optimize to reduce FPCR/FPSR accesses.
10053 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10055         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10056         Call libc_fetestexcept_aarch64.
10058 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10060         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10061         Call libc_fesetround_aarch64.
10063 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10065         [BZ #17733]
10066         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10067         (__bind): Do not define as weak alias.
10068         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10069         define.
10070         (__getsockname): Do not define as weak alias.
10072 2014-12-22  Will Newton  <will.newton@linaro.org>
10074         * manual/install.texi: Document that we require bison 2.7
10075         or above.
10076         * INSTALL: Regenerate.
10077         * configure.ac: Use AC_CHECK_PROG_VER instead of
10078         AC_PATH_PROG when checking for bison and check for
10079         version 2.7 or above.
10080         * configure: Regenerate.
10082 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10084         [BZ #17745]
10085         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10086         * sysdeps/tile/ffsll.c (ffsll): To here.
10088         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10090 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10092         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10093         if not defined.
10094         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10095         definition.
10096         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10097         hidden ___tls_get_addr.
10098         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10099         hidden __tls_get_addr.
10100         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10101         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10102         Likewise.
10104 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10106         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10107         _dl_init call.
10109 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10111         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10112         from "call _dl_init@PLT".
10113         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10115 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10117         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10118         guarantees.
10120 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10122         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10124 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10126         [BZ #17744]
10127         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10128         strnlen.
10130 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10132         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10133         of multu on MIPSr6.
10134         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10135         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10136         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10137         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10138         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10140 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10142         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10143         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10144         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10145         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10146         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10147         mips32r6/mips64r6.
10148         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10150 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10152         * string/strncat.c (STRNCAT): Simplify implementation.
10154 2014-12-19  David S. Miller  <davem@davemloft.net>
10156         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10157         access the quad as both a long double and as a series of 4 words.
10159         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10160         link_map->l_info array access.
10162 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10164         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10166         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10167         * math/atest-exp2.c (TIMEOUT): Likewise.
10168         * math/atest-sincos.c (TIMEOUT): Likewise.
10170 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10172         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10173         -Wno-error with -fno-builtin-lround.
10175 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10177         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10178         Contains futex constants and functions moved over from ...
10179         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10180         <lowlevellock-futex.h>.
10181         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10182         (lll_timedwait_tid): Add comments and parentheses around macro
10183         arguments.
10185 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10187         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10188         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10189         (__lll_private_flag): Remove.
10190         (lll_futex_wait): Likewise.
10191         (lll_futex_timed_wait): Likewise.
10192         (lll_futex_wake): Likewise.
10193         (lll_futex_requeue): Likewise.
10194         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10195         (__lll_timedwait_tid): Spell out argument names.
10196         (lll_timedwait_tid): Add comments and parentheses around macro
10197         arguments.
10198         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10199         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10201 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10203         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10204         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10205         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10206         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10207         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10208         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10209         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10210         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10211         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10215         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10217         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10218         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10219         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10220         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10221         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10223 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10225         * sysdeps/x86_64/x32/Makefile: New file.
10227 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10229         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10230         1L with (mp_limb_t) 1.
10232 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10234         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10235         * nptl/libc_pthread_init.c: ... here.
10236         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10237         * nptl/register-atfork.c: ... here.
10239         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10240         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10241         Use assert_perror to check its return value.
10242         (__gai_create_helper_thread): Likewise.
10244         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10246         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10248 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10250         [BZ #17725]
10251         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10252         __profil_counter.
10253         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10254         Likewise.
10255         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10256         Likewise.
10257         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10258         Likewise.
10259         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10260         (profil_counter): Likewise.
10261         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10262         (profil_counter): Likewise.
10263         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10264         Likewise.
10265         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10266         Likewise.
10267         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10268         (profil_counter): Likewise.
10269         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10270         Likewise.
10271         [!__profil_counter] (profil_counter): Define as weak alias of
10272         __profil_counter.
10273         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10274         (profil_counter): Rename to __profil_counter.
10275         [!__profil_counter] (profil_counter): Define as weak alias of
10276         __profil_counter.
10277         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10278         (profil_counter): Rename to __profil_counter.
10279         [!__profil_counter] (profil_counter): Define as weak alias of
10280         __profil_counter.
10281         * sysdeps/posix/profil.c: Update comment referring to
10282         profil_counter.
10283         (__profil): Use __profil_counter instead of profil_counter.
10284         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10285         __profil_counter.  Use __profil_counter_ushort and
10286         __profil_counter_uint in definitions.
10287         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10288         instead of profil_counter_uint and profil_counter_ushort.
10290         [BZ #17722]
10291         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10292         define as weak alias of __inet_makeaddr.
10293         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10294         as weak alias of __inet_addr.
10295         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10296         as weak alias of __inet_pton.  Use libc_hidden_weak.
10297         * include/arpa/inet.h (__inet_pton): Declare.  Use
10298         libc_hidden_proto.
10299         (inet_makeaddr): Don't use libc_hidden_proto.
10300         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10301         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10302         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10303         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10304         Remove variable.
10305         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10306         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10308 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10310         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10312 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10314         * stdio-common/bug-vfprintf-nargs.c (do_test):
10315         Cast value to intptr_t to avoid format warning
10316         for usage with PRIdPTR printing macro.
10318 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10320         * libio/tst-widetext.c (do_test):
10321         Use format type %td instead of %Zd for ptrdiff_t
10322         in order to avoid format warning.
10324 2014-12-17  Andreas Schwab  <schwab@suse.de>
10326         * nscd/mem.c (gc): Add size_t cast to match printf format.
10328 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10330         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10331         (init): Apply PTR_MANGLE to pointers before storing them.
10332         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10333         before using them.
10335 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10337         [BZ #17719]
10338         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10339         define as weak alias of __memrchr.
10340         (__memrchr): Do not define as strong alias of memrchr.
10341         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10342         Remove variable.
10343         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10344         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10345         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10347         [BZ #17717]
10348         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10349         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10350         (if_indextoname): Rename to __if_indextoname and define as weak
10351         alias of __if_indextoname.  Use libc_hidden_weak.
10352         (if_freenameindex): Rename to __if_freenameindex and define as
10353         weak alias of __if_freenameindex.
10354         (if_nameindex): Rename to __if_nameindex and define as weak alias
10355         of __if_nameindex.
10356         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10357         __if_nametoindex and define as weak alias of __if_nametoindex.
10358         Use libc_hidden_weak.
10359         (if_freenameindex): Rename to __if_freenameindex and define as
10360         weak alias of __if_freenameindex.
10361         (if_nameindex): Rename to __if_nameindex and define as weak alias
10362         of __if_nameindex.
10363         (if_indextoname): Rename to __if_indextoname and define as weak
10364         alias of __if_indextoname.  Use libc_hidden_weak.
10365         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10366         __if_nametoindex and define as weak alias of __if_nametoindex.
10367         Use libc_hidden_weak.
10368         (if_freenameindex): Rename to __if_freenameindex and define as
10369         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10370         (if_nameindex_netlink): Use __if_freenameindex instead of
10371         if_freenameindex.
10372         (if_nameindex): Rename to __if_nameindex and define as weak alias
10373         of __if_nameindex.  Use libc_hidden_weak.
10374         (if_indextoname): Rename to __if_indextoname and define as weak
10375         alias of __if_indextoname.  Use libc_hidden_weak.
10376         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10377         libc_hidden_proto.
10378         [!_ISOMAC] (__if_freenameindex): Likewise.
10379         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10380         if_nametoindex.
10381         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10382         variable.
10383         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10384         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10385         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10386         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10387         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10388         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10389         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10391         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10392         Remove variable.
10393         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10394         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10396 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10398         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10399         subscript above bounds'
10401         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10402         bounds.
10404 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10406         * libio/tst-fopenloc.c: Use test-skeleton.c.
10408         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10409         (entry): Rename to ITEM.
10410         (do_test, comp): Adjust.
10412         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10414 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10416         * string/tester.c: Include <libc-internal.h>.
10417         (test_memset): Ignore -Wmemset-transposed-args.
10419 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10421         * misc/tst-mntent2.c (do_test): Fix warning.
10423 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10425         * elf/tst-unique4lib.cc(a): Mark as used.
10427 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10429         [BZ #17630]
10430         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10431         names.
10433 2014-12-16  Allan McRae  <allan@archlinux.org>
10435         * stdio-common/Makefile (tests): Re-add bug26.
10437 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10439         [BZ #17657]
10440         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10441         static array.
10443 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10445         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10446         (__lll_lock_wait): Likewise.
10447         (__lll_timedlock_wait): Likewise.
10448         (__lll_timedwait_tid): Likewise.
10449         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10450         (__lll_robust_timedlock_wait): Likewise.
10451         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10452         (lll_cond_trylock): Likewise.
10453         (__lll_lock): Likewise.
10454         (__lll_robust_lock): Likewise.
10455         (__lll_cond_lock): Likewise.
10456         (lll_robust_cond_lock): Likewise.
10457         (__lll_timedlock): Likewise.
10458         (__lll_robust_timedlock): Likewise.
10459         (__lll_unlock): Likewise.
10460         (__lll_robust_unlock): Likewise.
10461         (lll_wait_tid): Likewise.
10462         (lll_timedwait_tid): Likewise.
10464 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10466         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10468 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10470         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10472 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10474         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10475         * stdio-common/tst-sprintf.c: Likewise.
10477 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10479         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10481 2014-12-15  Jeff Law  <law@redhat.com>
10483         [BZ #16617]
10484         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10485         on the heap.  (CVE-2012-3406)
10486         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10487         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10488         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10490 2014-12-15  Will Newton  <will.newton@linaro.org>
10492         * manual/install.texi: Bump required version of texinfo
10493         to 4.7 from 4.5.
10494         * INSTALL: Regenerated.
10495         * configure.ac: Check for makeinfo version 4.7 and above.
10496         * configure: Regenerated.
10498 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10500         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10501         PREFIX, string constant to insert between directory and name.
10502         * sysdeps/posix/shm_open.c: Update caller.
10503         * sysdeps/posix/shm_unlink.c: Likewise.
10504         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10505         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10506         (SEM_SHM_PREFIX): New macro.
10507         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10508         [$(have-thread-library) = no].
10509         * nptl/Makefile (libpthread-routines): Add shm-directory.
10510         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10511         * sysdeps/nptl/shm-directory.h: New file.
10512         * sysdeps/posix/shm-directory.c
10513         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10514         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10515         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10516         INTERNAL_SYSCALL.
10517         (__where_is_shmfs): Function removed.
10518         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10519         Variables removed.
10520         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10521         Use SHM_GET_NAME.
10522         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10524         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10525         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10526         unconditional for use inside libpthread.
10527         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10529 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10531         * nptl/pthread_getaffinity.c: New file.
10532         * nptl/pthread_setaffinity.c: New file.
10533         * nptl/pthread_getname.c: New file.
10534         * nptl/pthread_setname.c: New file.
10536         * nptl/pthread_create.c (START_THREAD_DEFN)
10537         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10539 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10540             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10542         * resolv/res_send.c (send_vc): Disable warning resplen may
10543         be used uninitialized.
10545 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10547         * nptl/tst-mutex6.c
10548         (ATTR_NULL): New define checks ATTR against NULL.
10549         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10550         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10552 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10554         [BZ #17581]
10555         * malloc/hooks.c
10556         (mem2mem_check): Revert my previous change.
10557         (malloc_check_get_size): Revert my previous change.
10558         (mem2chunk_check): Revert my previous change.
10560 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10562         * sysdeps/posix/shm-directory.c: New file.
10563         * sysdeps/posix/shm-directory.h: New file.
10564         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10565         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10566         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10567         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10568         Transmute EPERM to EACCES.
10569         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10570         from ...
10571         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10572         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10574 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10576         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10577         pointer and cast to uintptr_t.
10578         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10579         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10580         Add cast to avoid warning.
10581         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10583 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10585         * nptl/semaphore.h: Move to ...
10586         * sysdeps/pthread/semaphore.h: ... here.
10587         * Makefile (installed-headers): Change nptl/semaphore.h to
10588         sysdeps/pthread/semaphore.h.
10590 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10592         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10593         generated error format strings.
10595         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10596         -Wformat-extra-args warnings for scanf formats.
10597         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10598         test of zero-length format (duh).
10599         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10600         corner-case scanf format test.
10601         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10602         generated fprintf format string.
10603         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10604         corner-case sprintf format tests.
10605         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10606         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10607         -Wformat-extra-args warnings throughout.
10608         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10609         (CFLAGS-scanf4.c): Likewise.
10610         (CFLAGS-scanf7.c): Likewise.
10611         (CFLAGS-tst-sprintf.c): Likewise.
10612         (CFLAGS-tst-printf.c): Likewise.
10613         (CFLAGS-tst-printfsz.c): Likewise.
10615 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10617         * include/cpio.h: New file.
10618         * include/fmtmsg.h: Likewise.
10620         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10621         corresponding format argument to size_t.
10622         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10623         arguments.
10624         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10625         corresponding format argument to size_t.
10626         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10627         arguments.
10628         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10629         corresponding format argument to size_t.
10630         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10631         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10632         (CFLAGS-tst-mbswcs2.c): Likewise.
10633         (CFLAGS-tst-mbswcs3.c): Likewise.
10634         (CFLAGS-tst-mbswcs4.c): Likewise.
10635         (CFLAGS-tst-mbswcs5.c): Likewise.
10636         (CFLAGS-tst-trans.c): Likewise
10638 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10640         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10641         rather than assuming they won't contain any '%'s.
10643 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10645         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10646         inhibit_loop_to_libcall to avoid recursive calls.
10647         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10648         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10650 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10652         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10653         prototype.
10655 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10657         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10658         integer value instead of boolean.
10660 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10662         * malloc/malloc.c: Fix powerof2 check.
10664 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10666         * locale/programs/locfile.h (maybe_swap_uint32):
10667         Remove inline and add unused attribute.
10669 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10671         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10672         Truncating assembler expression to a .long expression.
10674 2014-12-11  Andreas Schwab  <schwab@suse.de>
10676         * elf/rtld.c (struct map_args): Constify str member.
10677         (do_preload): Constify fname argument.
10679 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10681         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10682         constants definition.
10684 2014-12-11  Andreas Schwab  <schwab@suse.de>
10686         [BZ #16657]
10687         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10688         FORCE_ELISION instead of DO_ELISION.
10689         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10690         Remove.
10691         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10692         Likewise.
10694         * iconvdata/gconv-modules: Remove duplicate entry.
10696 2014-12-11  Will Newton  <will.newton@linaro.org>
10698         Merge gettext 0.19.3 into intl/.
10700         This involves a number of cosmetic changes to comments
10701         and ANSI function definitions and prototypes throughout
10702         all the files. The gettext copyright header is used but
10703         with the date ranges taken from the glibc copy.
10705         * NEWS: Add gettext merge to 2.21.
10706         * intl/bindtextdom.c: Switch to gettext copyright.
10707         Use ANSI definitions and prototypes.
10708         Use gl_* locking primitives rather than __libc_* ones.
10709         Use __builtin_expect rather than __glibc_likely/unlikely.
10710         * intl/dcgettext.c: Switch to gettext copyright.
10711         Use ANSI definitions and prototypes.
10712         * intl/dcigettext.c: Switch to gettext copyright.
10713         Use ANSI definitions and prototypes.
10714         (INTDIV0_RAISES_SIGFPE): New define.
10715         Use gl_* locking primitives rather than __libc_* ones.
10716         Include eval-plural.h instead of plural-eval.c.
10717         Use __builtin_expect rather than __glibc_likely/unlikely.
10718         * intl/dcngettext.c: Switch to gettext copyright.
10719         Use ANSI definitions and prototypes.
10720         * intl/dgettext.c: Likewise.
10721         * intl/dngettext.c: Likewise.
10722         * intl/plural-eval.c: Renamed to...
10723         * intl/eval-plural.h: ...this.
10724         * intl/explodename.c: Switch to gettext copyright.
10725         Use ANSI definitions and prototypes.
10726         (_nl_explode_name): Use strchr instead of __rawmemchr.
10727         * intl/finddomain.c: Switch to gettext copyright.
10728         Use ANSI definitions and prototypes.
10729         Use gl_* locking primitives rather than __libc_* ones.
10730         (_nl_find_domain): Use malloc rather than alloca for
10731         allocation of temporary locale name.
10732         * intl/gettext.c: Switch to gettext copyright.
10733         Use ANSI definitions and prototypes.
10734         * intl/gettextP.h: Switch to gettext copyright.
10735         Use ANSI definitions and prototypes.
10736         Use gl_* locking primitives rather than __libc_* ones.
10737         * intl/gmo.h: Switch to gettext copyright.
10738         (struct sysdep_string): Move struct segment_pair outside of
10739         struct definition.
10740         * intl/hash-string.c: Use ANSI definitions and prototypes.
10741         * intl/hash-string.h: Switch to gettext copyright.
10742         Use ANSI definitions and prototypes.
10743         * intl/l10nflist.c: Switch to gettext copyright.
10744         Use ANSI definitions and prototypes.
10745         (_nl_normalize_codeset): Avoid integer overflow.
10746         * intl/loadinfo.h: Switch to gettext copyright.
10747         Use ANSI definitions and prototypes.
10748         (LIBINTL_DLL_EXPORTED): New define.
10749         (PATH_SEPARATOR): New define.
10750         * intl/loadmsgcat.c: Switch to gettext copyright.
10751         * intl/localealias.c: Switch to gettext copyright.
10752         Use ANSI definitions and prototypes.
10753         (_nl_expand_alias): Use PATH_SEPARATOR.
10754         * intl/ngettext.c: Switch to gettext copyright.
10755         Use ANSI definitions and prototypes.
10756         * intl/plural-exp.c: Likewise.
10757         * intl/plural-exp.h: Switch to gettext copyright.
10758         Use ANSI definitions and prototypes.
10759         (struct expression): Move definition of enum operator outside
10760         of struct definition.
10761         * intl/plural.c: Regenerate.
10762         * intl/plural.y: Switch to gettext copyright.
10763         Use ANSI definitions and prototypes.
10764         Port to bison 3.0.
10765         * intl/textdomain.c: Switch to gettext copyright.
10766         Use ANSI definitions and prototypes.
10767         Use gl_* locking primitives rather than __libc_* ones.
10769 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10771         * debug/warning-nop.c: Add used atrribute.
10773 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10775         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10777         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10778         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10779         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10781 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10782             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10784         [BZ #17634]
10785         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10786         Undefine after defining function.  Define as weak alias of
10787         __wcschr.  Use libc_hidden_weak.
10788         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10789         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10790         (libc_hidden_def): Also define __GI___wcschr alias.
10791         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10792         __wcschr and define as weak alias of __wcschr.
10793         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10794         __wcschr.
10795         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10796         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10797         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10798         libc_hidden_weak.  Do not use libc_hidden_def.
10799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10800         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10801         __GI___wcschr alias.
10802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10803         [IS_IN (libc)] (wcschr): Define as macro expanding to
10804         __redirect_wcschr.
10805         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10806         [IS_IN (libc)] (__wcschr_power6): Likewise.
10807         [IS_IN (libc)] (__wcschr_power7): Likewise.
10808         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10809         instead of wcschr.
10810         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10811         __libc_wcschr.
10812         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10813         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10814         __wcschr and define as weak alias of __wcschr.  Use
10815         libc_hidden_builtin_def.
10816         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10817         as weak alias of __wcschr.  Use libc_hidden_weak.
10818         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10819         wcschr.
10820         * time/era.c (_nl_init_era_entries): Likewise.
10821         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10822         variable.
10823         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10824         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10826 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10828         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10829         format for long int variable.
10831 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10833         [BZ #10672]
10834         * manual/search.texi: (Array Sort Function): Remove claim how to make
10835         qsort stable.
10837 2014-12-10  Andreas Schwab  <schwab@suse.de>
10839         [BZ #12847]
10840         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10841         user-controlled locks.
10843 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10845         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10846         register.
10848 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10850         * configure.ac (--disable-werror): New configure option.
10851         (enable_werror): New AC_SUBST.
10852         * configure: Regenerated.
10853         * config.make.in (enable-werror): New variable.
10854         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10855         -Wno-error=undef.
10856         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10857         * manual/install.texi (Configuring and compiling): Document
10858         --disable-werror.
10859         * INSTALL: Regenerated.
10860         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10861         (CFLAGS-tst-chk2.c): Likewise.
10862         (CFLAGS-tst-chk3.c): Likewise.
10863         (CFLAGS-tst-chk4.cc): Likewise.
10864         (CFLAGS-tst-chk5.cc): Likewise.
10865         (CFLAGS-tst-chk6.cc): Likewise.
10866         (CFLAGS-tst-lfschk1.c): Likewise.
10867         (CFLAGS-tst-lfschk2.c): Likewise.
10868         (CFLAGS-tst-lfschk3.c): Likewise.
10869         (CFLAGS-tst-lfschk4.cc): Likewise.
10870         (CFLAGS-tst-lfschk5.cc): Likewise.
10871         (CFLAGS-tst-lfschk6.cc): Likewise.
10873         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10874         (main): Disable -Wdeprecated-declarations around calls to
10875         register_printf_function.
10877         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10878         (do_test): Disable -Wdiv-by-zero around some calls to
10879         fwrite_unlocked and fread_unlocked.
10881         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10882         (DIAG_POP_NEEDS_COMMENT): Likewise.
10883         (_DIAG_STR1): Likewise.
10884         (_DIAG_STR): Likewise.
10885         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10886         * stdio-common/bug21.c: Include <libc-internal.h>.
10887         (do_test): Disable -Wformat around call to sscanf.
10888         * stdio-common/scanf14.c: Include <libc-internal.h>.
10889         (main): Disable -Wformat around some calls to scanf functions.
10891 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10893         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10895 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10897         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10898         stack variable alignment.
10900 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10902         [BZ #17682]
10903         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10904         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10905         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10906         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10907         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10908         __getrlimit instead of getrlimit.
10909         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10910         __gettimeofday instead of gettimeofday.
10911         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10912         Likewise.
10913         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10914         Likewise.
10915         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10916         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10917         Remove variable.
10918         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10919         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10921 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10923         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10924         for wide-character tests.
10926 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10928         * io/openat64.c: #include <libc-internal.h>
10929         (__openat64): Prototypify.  Use ignore_value on MODE.
10930         * io/openat.c: Likewise.
10931         * misc/reboot.c: #include <libc-internal.h>
10932         (reboot): Prototypify.  Use ignore_value on HOWTO.
10933         * misc/ptrace.c: #include <libc-internal.h>
10934         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10936 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10938         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10939         XPG4, UNIX98 and XOPEN2K.
10940         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10941         Remove variable.
10942         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10944 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10946         * libio/fileops.c: Use ISO C style for function definitions.
10947         * libio/iofopen.c: Likewise.
10948         * libio/wfileops.c: Likewise.
10950         [BZ #17653]
10951         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10952         offset on EOF.
10953         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10954         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10955         (fgets_func): Function pointer to fgets and fgetws.
10956         (do_ftell_test): Add test to verify ftell value after read
10957         EOF.
10958         (do_test): Set fgets_func.
10960         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10961         O_TRUNC flag for w and w+ modes.
10962         (do_rewind_test): Likewise.
10963         (do_ftell_test): Likewise.
10964         (do_write_test): Likewise.
10966         [BZ #17647]
10967         * libio/fileops.c (do_ftell): Seek only when there are
10968         unflushed writes.
10969         * libio/wfileops.c (do_ftell_wide): Likewise.
10970         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10971         test case.
10972         (do_one_test): Call it.
10974 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10976         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10977         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10978         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10979         Remove variable.
10980         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10981         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10982         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10984 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10986         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10987         Remove variable.
10988         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10990         [BZ #17668]
10991         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10992         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10993         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10994         __freeifaddrs.  Use libc_hidden_weak.
10995         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10996         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10997         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10998         __freeifaddrs.  Use libc_hidden_weak.
10999         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11000         __getifaddrs and define as weak alias of __getifaddrs.  Use
11001         libc_hidden_weak.
11002         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11003         __freeifaddrs.  Use libc_hidden_weak.
11004         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11005         Remove variable.
11006         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11007         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11009 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11011         [BZ #17601]
11012         * sysdeps/mips/start.S (__start): Use indirect jump to call
11013         __libc_start_main.
11015 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11017         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11019         * nptl/tst-mutex1.c: Include <stdbool.h>.
11020         [!ATTR] (ATTR_NULL): New macro.
11021         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11022         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11023         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11025         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11026         to char *.
11028         [BZ #17665]
11029         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11030         Change conditional to [__USE_MISC].
11032         [BZ #17664]
11033         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11034         fgets_unlocked.
11035         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11036         __fgets_unlocked.
11037         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11038         fgets_unlocked.
11039         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11040         Remove variable.
11041         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11042         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11043         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11044         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11045         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11046         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11047         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11048         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11049         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11051         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11053 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11055         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11056         Remove strpbrk objects.
11057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11058         (__libc_ifunc_impl_list): Remove strpbrk implementation.
11059         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11061         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11062         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11065         Remove strcspn objects.
11066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11067         (__libc_ifunc_impl_list): Remove strcspn implementation.
11068         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11069         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11070         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11071         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11073         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11074         Remove strspn objetcs.
11075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11076         (__libc_ifunc_impl_list): Remove strspn implementation.
11077         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11078         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11079         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11080         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11082 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11084         [BZ #17581]
11085         * malloc/hooks.c
11086         (mem2mem_check): Add a terminator to the chain of checking blocks.
11087         (malloc_check_get_size): Use it here.
11088         (mem2chunk_check): Ditto.
11090 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11092         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11093         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11095 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11097         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11099         * nptl/nptl-init.c: Include libc-internal.h.
11100         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11102         * elf/ldconfig.c (search_dir): Expand comment.
11104 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11106         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11107         variable.
11108         (linknamespace-symlist-stdlibs-tests): Likewise.
11109         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11110         instead of $(objpfx)symlist-stdlibs.
11111         (linknamespace-libs-isoc): New variable.
11112         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11113         (linknamespace-libs-ISO): New variable.
11114         (linknamespace-libs-ISO99): Likewise.
11115         (linknamespace-libs-ISO11): Likewise.
11116         (linknamespace-libs-XPG3): Likewise.
11117         (linknamespace-libs-XPG4): Likewise.
11118         (linknamespace-libs-POSIX): Likewise.
11119         (linknamespace-libs-UNIX98): Likewise.
11120         (linknamespace-libs-XOPEN2K): Likewise.
11121         (linknamespace-libs-POSIX2008): Likewise.
11122         (linknamespace-libs-XOPEN2K8): Likewise.
11123         ($(objpfx)symlist-stdlibs): Replace by
11124         $(linknamespace-symlist-stdlibs-tests).  Use
11125         $(linknamespace-libs-$*) as set of libraries.
11126         ($(linknamespace-header-tests)): Update dependencies.  Use
11127         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11128         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11129         * conform/linknamespace.pl: Remove comment about considering
11130         definitions of symbols from irrelevant libraries.
11132 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11134         [BZ #13862]
11135         * elf/dl-tls.c: Include <atomic.h>.
11136         (oom): Remove #ifdef SHARED/#endif.
11137         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11138         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11139         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11140         big enough.
11141         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11142         * nptl/Makefile (tests): Add tst-stack4.
11143         (modules-names): Add tst-stack4mod.
11144         ($(objpfx)tst-stack4): New.
11145         (tst-stack4mod.sos): Likewise.
11146         ($(objpfx)tst-stack4.out): Likewise.
11147         ($(tst-stack4mod.sos)): Likewise.
11148         (clean): Likewise.
11149         * nptl/tst-stack4.c: New file.
11150         * nptl/tst-stack4mod.c: Likewise.
11152 2014-11-27  J. Brown  <jb999@gmx.de>
11154         * sysdeps/x86/bits/string.h: Add recent CPUs.
11156 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11158         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11159         sigblock.
11161         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11162         feof.
11164         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11165         variable.
11167 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11169         * nscd/connections.c: Include libc-internal.h because of macro
11170         usage ignore_value.
11172 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11174         * string/bits/string3.h (__warn_memset_zero_len): Don't
11175         declare for gcc newer than 5.0.
11176         (memset): Don't test for zero-length __LEN for gcc newer than
11177         5.0.
11179 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11181         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11182         size_t for %zu format.
11184         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11185         difference, not %ju.
11187 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11189         * include/libc-internal.h (ignore_value): New macro.
11190         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11191         with ignore_value.
11193         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11194         definition.
11196         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11197         pthread_cleanup_push to void *.
11199         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11200         Undefine.
11202         [BZ #16619]
11203         [BZ #16740]
11204         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11205         instead of 1L << 52.
11207         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11208         * libio/bug-rewind2.c (do_test): Likewise.
11210         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11211         * debug/test-strcpy_chk-ifunc.c: Likewise.
11212         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11213         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11214         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11215         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11216         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11217         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11218         * Rules [$(multi-arch) = no] (tests): Do not filter out
11219         $(tests-ifunc).
11220         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11221         * debug/Makefile (tests-ifunc): Remove variable.
11222         (tests): Do not add $(tests-ifunc).
11223         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11224         (tests): Do not add $(tests-ifunc).
11225         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11226         [TEST_IFUNC]: Remove conditionals.
11227         * string/test-string.h (TEST_IFUNC): Remove macro.
11228         [TEST_IFUNC]: Remove conditionals.
11230         * string/test-strchr.c [!WIDE] (L): New macro.
11231         [WIDE] (L): Likewise.
11232         (check1): Use CHAR instead of char.  Use L on string and character
11233         constants.
11235 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11237         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11238         tests.
11239         * sysdeps/powerpc/bits/atomic.h
11240         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11241         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11242         (atomic_exchange_and_add_acq): Likewise.
11243         (atomic_exchange_and_add_rel): Likewise.
11244         * sysdeps/powerpc/powerpc32/bits/atomic.h
11245         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11246         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11247         * sysdeps/powerpc/powerpc64/bits/atomic.h
11248         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11249         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11251 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11253         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11254         Change synchronization of __sched_fifo_min_prio and
11255         __sched_fifo_max_prio.
11256         * nptl/pthread_mutexattr_getprioceiling.c
11257         (pthread_mutexattr_getprioceiling): Likewise.
11258         * nptl/pthread_mutexattr_setprioceiling.c
11259         (pthread_mutexattr_setprioceiling): Likewise.
11260         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11261         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11262         Likewise.
11264 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11266         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11267         void.
11269 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11271         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11272         third argument const.
11274 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11276         fnmatch: work around GCC compiler warning bug with uninit var
11277         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11278         This works around a bug with x86-64 GCC 4.9.2 and earlier
11279         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11280         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11281         used uninitialized in this function [-Wmaybe-uninitialized]".
11283 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11285         * posix/bug-regex31.c (main): Return RES not 0.
11287 2014-11-25  Anton Blanchard <anton@samba.org>
11289         * sysdeps/powerpc/bits/atomic.h
11290         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11292 2014-11-24  Sterling Augustine  <saugustine@google.com>
11294         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11296 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11298         [BZ #17608]
11299         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11301 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11303         [BZ #17633]
11304         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11305         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11306         variable.
11307         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11308         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11310 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11312         * string/strncpy.c (strncpy): Improve performance by using memset.
11314 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11316         * string/strcpy.c (strcpy):
11317         Improve performance by using strlen and memcpy.
11319 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11321         * string/strcoll_l.c (get_next_seq): __always_inline.
11322         * string/strcoll_l.c (do_compare): __always_inline.
11324 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11326         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11327         defined.
11328         * include/mqueue.h: Likewise.
11329         * include/stdlib.h: Likewise.
11331         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11332         (get_null_defines): Adjust.
11333         * sunrpc/Makefile: Adjust comment.
11334         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11335         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11336         (CFLAGS-interp.c): Likewise.
11337         (CFLAGS-ldconfig.c): Likewise.
11338         (CPPFLAGS-.os): Likewise.
11339         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11340         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11341         * extra-modules.mk (extra-modules.mk): Likewise.
11342         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11343         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11344         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11345         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11346         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11347         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11348         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11349         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11350         * iconvdata/Makefile (CPPFLAGS): Likewise.
11351         (cpp-srcs-left): Add libof for all iconvdata routines.
11352         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11353         * include/assert.h: Likewise.
11354         * include/ctype.h: Likewise.
11355         * include/errno.h: Likewise.
11356         * include/libc-symbols.h: Likewise.
11357         * include/math.h: Likewise.
11358         * include/netdb.h: Likewise.
11359         * include/resolv.h: Likewise.
11360         * include/stdio.h: Likewise.
11361         * include/stdlib.h: Likewise.
11362         * include/string.h: Likewise.
11363         * include/sys/stat.h: Likewise.
11364         * include/wctype.h: Likewise.
11365         * intl/l10nflist.c: Likewise.
11366         * libidn/idn-stub.c: Likewise.
11367         * libio/libioP.h: Likewise.
11368         * nptl/libc_multiple_threads.c: Likewise.
11369         * nptl/pthreadP.h: Likewise.
11370         * posix/regex_internal.h: Likewise.
11371         * resolv/res_hconf.c: Likewise.
11372         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11373         * sysdeps/arm/memmove.S: Likewise.
11374         * sysdeps/arm/sysdep.h: Likewise.
11375         * sysdeps/generic/_itoa.h: Likewise.
11376         * sysdeps/generic/symbol-hacks.h: Likewise.
11377         * sysdeps/gnu/errlist.awk: Likewise.
11378         * sysdeps/gnu/errlist.c: Likewise.
11379         * sysdeps/i386/i586/memcpy.S: Likewise.
11380         * sysdeps/i386/i586/memset.S: Likewise.
11381         * sysdeps/i386/i686/memcpy.S: Likewise.
11382         * sysdeps/i386/i686/memmove.S: Likewise.
11383         * sysdeps/i386/i686/mempcpy.S: Likewise.
11384         * sysdeps/i386/i686/memset.S: Likewise.
11385         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11386         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11387         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11388         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11389         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11390         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11391         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11392         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11393         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11394         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11395         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11396         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11397         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11398         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11399         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11400         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11401         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11402         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11403         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11404         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11405         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11406         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11407         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11408         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11409         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11410         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11411         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11412         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11413         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11414         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11415         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11416         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11418         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11419         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11420         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11421         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11422         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11423         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11424         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11425         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11426         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11427         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11428         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11429         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11430         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11431         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11432         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11433         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11434         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11435         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11436         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11437         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11438         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11439         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11440         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11441         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11442         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11443         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11444         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11445         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11446         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11447         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11448         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11449         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11450         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11451         * sysdeps/posix/closedir.c: Likewise.
11452         * sysdeps/posix/opendir.c: Likewise.
11453         * sysdeps/posix/readdir.c: Likewise.
11454         * sysdeps/posix/rewinddir.c: Likewise.
11455         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11456         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11457         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11458         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11459         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11460         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11466         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11467         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11468         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11469         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11470         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11471         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11472         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11473         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11474         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11475         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11476         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11477         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11478         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11479         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11483         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11490         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11491         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11492         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11493         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11494         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11495         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11497         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11498         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11499         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11500         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11502         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11503         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11504         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11505         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11506         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11507         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11508         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11509         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11510         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11512         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11513         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11514         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11515         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11516         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11517         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11518         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11519         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11520         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11521         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11522         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11523         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11524         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11525         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11526         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11527         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11528         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11529         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11530         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11531         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11532         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11533         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11534         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11535         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11536         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11537         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11538         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11539         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11540         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11541         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11542         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11543         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11544         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11545         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11546         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11547         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11549         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11550         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11551         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11552         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11553         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11554         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11555         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11556         * sysdeps/unix/alpha/sysdep.S: Likewise.
11557         * sysdeps/unix/alpha/sysdep.h: Likewise.
11558         * sysdeps/unix/make-syscalls.sh: Likewise.
11559         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11561         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11562         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11563         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11564         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11565         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11566         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11567         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11568         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11570         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11571         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11572         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11573         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11574         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11575         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11576         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11577         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11578         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11579         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11580         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11581         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11582         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11583         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11584         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11585         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11588         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11589         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11593         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11597         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11598         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11599         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11600         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11601         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11602         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11606         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11609         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11610         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11611         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11612         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11613         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11615         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11617         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11618         * sysdeps/x86_64/memcpy.S: Likewise.
11619         * sysdeps/x86_64/memmove.c: Likewise.
11620         * sysdeps/x86_64/memset.S: Likewise.
11621         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11622         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11623         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11624         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11625         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11626         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11627         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11628         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11629         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11630         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11631         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11632         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11633         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11634         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11635         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11636         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11637         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11638         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11639         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11640         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11641         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11642         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11644         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11645         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11646         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11647         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11648         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11649         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11650         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11651         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11652         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11653         * sysdeps/x86_64/strcmp.S: Likewise.
11655         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11657         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11658         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11659         * elf/rtld-Rules: Likewise.
11660         * elf/setup-vdso.h: Likewise.
11661         * include/assert.h: Likewise.
11662         * include/bits/stdlib-float.h: Likewise.
11663         * include/errno.h: Likewise.
11664         * include/sys/stat.h: Likewise.
11665         * include/unistd.h: Likewise.
11666         * sysdeps/aarch64/setjmp.S: Likewise.
11667         * sysdeps/alpha/setjmp.S: Likewise.
11668         * sysdeps/arm/__longjmp.S: Likewise.
11669         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11670         * sysdeps/arm/setjmp.S: Likewise.
11671         * sysdeps/arm/sysdep.h: Likewise.
11672         * sysdeps/generic/_itoa.h: Likewise.
11673         * sysdeps/generic/dl-sysdep.h: Likewise.
11674         * sysdeps/generic/ldsodefs.h: Likewise.
11675         * sysdeps/i386/dl-tls.h: Likewise.
11676         * sysdeps/i386/setjmp.S: Likewise.
11677         * sysdeps/m68k/setjmp.c: Likewise.
11678         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11679         * sysdeps/mach/hurd/opendir.c: Likewise.
11680         * sysdeps/posix/getcwd.c: Likewise.
11681         * sysdeps/posix/opendir.c: Likewise.
11682         * sysdeps/posix/profil.c: Likewise.
11683         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11685         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11686         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11687         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11688         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11689         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11690         * sysdeps/s390/dl-tls.h: Likewise.
11691         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11692         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11693         * sysdeps/sh/sh3/setjmp.S: Likewise.
11694         * sysdeps/sh/sh4/setjmp.S: Likewise.
11695         * sysdeps/unix/alpha/sysdep.h: Likewise.
11696         * sysdeps/unix/arm/sysdep.S: Likewise.
11697         * sysdeps/unix/i386/sysdep.S: Likewise.
11698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11699         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11700         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11701         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11702         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11703         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11704         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11705         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11706         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11707         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11708         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11709         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11710         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11713         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11716         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11717         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11718         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11719         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11721         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11722         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11723         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11724         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11725         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11726         * sysdeps/x86_64/setjmp.S: Likewise.
11728         * include/math.h: Use IS_IN instead of IS_IN_libm.
11729         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11730         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11731         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11732         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11733         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11734         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11736         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11737         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11738         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11739         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11740         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11741         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11742         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11743         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11745         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11746         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11747         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11748         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11749         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11750         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11751         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11752         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11753         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11754         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11755         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11756         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11757         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11758         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11759         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11760         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11761         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11763         Likewise.
11764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11765         Likewise.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11767         Likewise.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11769         Likewise.
11770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11771         Likewise.
11772         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11773         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11774         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11775         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11776         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11777         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11783         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11784         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11785         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11786         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11787         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11788         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11789         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11790         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11791         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11792         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11793         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11795         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11796         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11798         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11800         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11801         * nptl/pthreadP.h: Likewise.
11802         * nptl_db/structs.def: Likewise.
11803         * sysdeps/arm/sysdep.h: Likewise.
11804         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11805         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11806         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11807         * sysdeps/unix/alpha/sysdep.h: Likewise.
11808         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11810         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11811         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11812         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11813         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11814         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11815         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11816         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11817         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11818         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11819         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11820         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11821         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11825         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11826         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11827         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11829         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11830         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11831         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11832         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11833         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11835         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11836         * nptl/pthreadP.h: Likewise.
11837         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11838         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11839         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11840         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11841         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11842         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11843         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11844         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11845         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11846         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11847         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11848         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11850         Likewise.
11851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11852         Likewise.
11853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11855         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11858         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11859         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11860         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11862         * dlfcn/dladdr.c: Use IS_IN.
11863         * dlfcn/dladdr1.c: Likewise.
11864         * dlfcn/dlclose.c: Likewise.
11865         * dlfcn/dlerror.c: Likewise.
11866         * dlfcn/dlinfo.c: Likewise.
11867         * dlfcn/dlmopen.c: Likewise.
11868         * dlfcn/dlopen.c: Likewise.
11869         * dlfcn/dlsym.c: Likewise.
11870         * dlfcn/dlvsym.c: Likewise.
11872         * include/ifaddrs.h: Use IS_IN.
11873         * inet/check_pf.c: Likewise.
11874         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11875         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11877         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11878         IS_IN_ldconfig.
11879         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11880         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11882         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11883         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11884         IS_IN (libc).
11886         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11888         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11889         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11890         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11891         * include/libc-symbols.h (IS_IN_LIB): New macro.
11892         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11893         * include/netdb.h: Likewise.
11894         * include/stap-probe.h: Remove all uses of IN_LIB.
11896         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11897         instead of IN_MODULE.
11898         * include/libc-symbols.h (IN_MODULE): Define using
11899         MODULE_NAME.
11900         (PASTE_NAME, PASTE_NAME1): New macros.
11901         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11902         of IN_LIB.
11903         (STAP_PROBE_ASM): Likewise.
11905 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11907         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11908         __mach_init in dlopened libc.
11910 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11912         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11913         * sysdeps/arm/preconfigure: Regenerate.
11915 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11917         * nptl/pthread_create.c (__pthread_create_2_1): Set
11918         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11919         when copying values from IATTR into PD.
11921 2014-11-21  Will Newton  <will.newton@linaro.org>
11922             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11924         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11925         Refactor inline-asm.  Also add comment.
11927         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11928         ElfW macro instead of hardcoded Elf64 types.
11929         (la_aarch64_gnu_pltenter): Likewise.
11930         * sysdeps/aarch64/dl-machine.h
11931         (elf_machine_runtime_setup): Use ElfW(Addr).
11933         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11934         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11935         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11936         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11937         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11938         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11939         (R_AARCH64_TLS_DTPMOD): This.
11940         (R_AARCH64_TLS_DTPREL64): Rename to ...
11941         (R_AARCH64_TLS_DTPREL): This.
11942         (R_AARCH64_TLS_TPREL64): Rename to ...
11943         (R_AARCH64_TLS_TPREL): This.
11944         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11945         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11946         R_AARCH64_TLS_TPREL64.
11947         (elf_machine_rela): Likewise.
11949 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11951         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11952         by setting it to 0.  64b atomics are not supported currently.
11954 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11956         [BZ #16469]
11957         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11958         search domain names.
11960 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11962         [BZ #16469]
11963         * NEWS: Update.
11964         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11965         trailing dot.
11966         * posix/tst-getaddrinfo5.c: New.
11967         * posix/Makefile (tests): Add it.
11969 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11971         [BZ #14498]
11972         * NEWS: Fixed.
11973         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11974         after parsing line but before break_if_match.
11975         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11976         if there is a protocol mismatch.
11978 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11980         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11981         because the potential race is on the user-supplied stream.
11983 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11985         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11986         string literal if not passed a buffer.
11987         * manual/job.texi (ctermid): Update reasoning, note deviation
11988         from posix, suggest mtasurace when not passed a buffer, for
11989         future non-preliminary safety notes.
11991 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11993         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11994         of not passing it a buffer.
11995         Reported by Peng Haitao.
11997 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11999         * manual/Makefile ($(objpfx)stamp-summary): Require
12000         check-safety.sh to pass.
12001         * manual/check-safety.sh: Wish for verification that every
12002         @deftypefn and @deftypefun is followed by a @safety remark.
12004 2014-11-20  Roland McGrath  <roland@hack.frob.com>
12006         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12008         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12009         PTHREAD_CANCEL_ASYNCHRONOUS.
12010         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12011         send SIGCANCEL.
12013         * nptl/default-sched.h: New file.
12014         * sysdeps/unix/sysv/linux/default-sched.h: New file.
12015         * nptl/pthread_create.c: Include it.
12016         (__pthread_create_2_1): Use collect_default_sched instead of making
12017         Linux syscalls here directly.
12019 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12021         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12022         __pthread_once): Use C11 atomics.
12024 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12026         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12028 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12030         * include/atomic.h (__atomic_link_error, __atomic_check_size,
12031         atomic_thread_fence_acquire, atomic_thread_fence_release,
12032         atomic_thread_fence_seq_cst, atomic_load_relaxed,
12033         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12034         atomic_compare_exchange_weak_relaxed,
12035         atomic_compare_exchange_weak_acquire,
12036         atomic_compare_exchange_weak_release,
12037         atomic_exchange_acquire, atomic_exchange_release,
12038         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12039         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12040         atomic_fetch_and_acquire,
12041         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12043 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12045         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12046         USE_ATOMIC_COMPILER_BUILTINS): Define.
12047         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12049         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12051         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12053         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12055         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12057         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12059         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12061         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12063         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12065         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12067         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12069         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12071         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12073         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12075         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12077         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12079         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12081         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12082         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12083         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12085         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12086         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12088 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12090         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12091         the sched_priority value here.  It was already checked when the user
12092         called pthread_attr_setschedparam.
12094         * nptl/tst-bad-schedattr.c: New file.
12095         * nptl/Makefile (tests): Add it.
12097 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12098             Florian Weimer  <fweimer@redhat.com>
12099             Joseph Myers  <joseph@codesourcery.com>
12100             Adam Conrad  <adconrad@0c3.net>
12101             Andreas Schwab  <schwab@suse.de>
12102             Brooks  <bmoses@google.com>
12104         [BZ #17625]
12105         * wordexp-test.c (__dso_handle): Add prototype.
12106         (__register_atfork): Likewise.
12107         (__app_register_atfork): New function.
12108         (registered_forks): New global.
12109         (register_fork): New function.
12110         (test_case): Add 3 new tests for WRDE_CMDSUB.
12111         (main): Call __app_register_atfork.
12112         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12113         fork count is non-zero fail the test.
12114         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12115         is set.
12116         (parse_dollars): Remove check for WRDE_NOCMD.
12117         (parse_dquote): Likewise.
12119 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12121         * Makeconfig (built-modules): List non-library modules to be
12122         built.
12123         (module-cppflags): Include libc-modules.h for
12124         everything except shlib-versions.v.i.
12125         (CPPFLAGS): Use it.
12126         (before-compile): Add libc-modules.h.
12127         ($(common-objpfx)libc-modules.h,
12128         $(common-objpfx)libc-modules.stmp): New targets.
12129         (common-generated): Add libc-modules.h and libc-modules.stmp.
12130         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12131         * include/libc-symbols.h: Don't include libc-modules.h.
12132         * include/libc-modules.h: Remove file.
12133         * scripts/gen-libc-modules.awk: New script to generate
12134         libc-modules.h.
12135         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12136         Depend on libc-modules.stmp.
12138         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12140         * Makeconfig (in-module): Get value of libof set for the
12141         translation unit.
12142         (CPPFLAGS): Use $(in-module).
12143         * Makerules: Don't suffix routine names for nonlib.
12144         * include/libc-modules.h: New file.
12145         * include/libc-symbols.h: Include libc-modules.h
12146         (IS_IN): New macro to replace IS_IN_* macros.
12147         * elf/Makefile: Set libof-* for each routine.
12148         * elf/rtld-Rules: Likewise.
12149         * extra-modules.mk: Likewise.
12150         * iconv/Makefile: Likewise.
12151         * iconvdata/Makefile: Likewise.
12152         * locale/Makefile: Likewise.
12153         * malloc/Makefile: Likewise.
12154         * nss/Makefile: Likewise.
12155         * sysdeps/gnu/Makefile: Likewise.
12156         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12157         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12158         * sysdeps/s390/s390-64/Makefile: Likewise.
12159         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12160         CPPFLAGS for nscd instead of nonlib.
12162 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12164         * nptl/createthread.c: New file.
12166         * nptl/createthread.c: Moved ...
12167         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12169         * nptl/createthread.c: Add proper top-line comment.
12170         (do_clone): Folded into ...
12171         (create_thread): ... here.  Take new arguments STOPPED_START and
12172         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12173         increment __nptl_threads, do event-reporting logic, do
12174         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12175         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12176         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12177         just send SIGCANCEL.
12178         * nptl/pthread_create.c: Forward-declare create_thread before
12179         including createthread.c.
12180         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12181         declaration, and new macro START_THREAD_SELF to replace argument.
12182         Remove return statement.
12183         (report_thread_creation): New function.
12184         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12185         synchronization logic, and __nptl_nthreads increment here, around
12186         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12187         PD->parent_cancelhandling here, before create_thread.  When
12188         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12189         __deallocate_stack, and ENOMEM translation here.
12191 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12193         [BZ #17616]
12194         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12195         (mptwo): Rename to __mptwo.
12196         (__inv): Use __mptwo instead of mptwo.
12197         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12198         (mptwo): Rename to __mptwo.
12199         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12200         of mpone and __mptwo instead of mptwo.
12201         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12202         instead of mpone.
12203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12204         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12205         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12206         of mpone and __mptwo instead of mptwo.
12207         (__mpranred): Use __mpone instead of mpone.
12208         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12209         variable.
12210         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12211         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12212         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12213         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12214         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12215         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12216         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12217         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12218         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12219         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12220         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12221         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12222         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12223         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12224         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12225         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12226         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12227         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12228         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12230 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12232         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12233         replace BSD Handler xref with BSD Signal Handling.
12235 2014-11-17  Richard Henderson  <rth@redhat.com>
12237         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12238         (_FP_PACK_RAW_2): Remove.
12239         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12240         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12241         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12242         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12243         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12244         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12245         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12246         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12247         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12248         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12249         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12250         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12251         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12252         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12253         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12254         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12256 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12258         * signal/signal.h [__USE_MISC]
12259         (struct sigvec): Remove type.
12260         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12261         (sigvec): Remove declaration.
12262         * sysdeps/posix/sigvec.c: Moved ...
12263         * signal/sigvec.c: ... here, replacing old file.
12264         (struct sigvec): New type, copied from old signal.h definition.
12265         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12266         (__sigvec): Convert definition to prototype.
12267         (sigvec): Replace weak_alias with compat_symbol.
12268         * signal/Versions (libc: GLIBC_2.21): New version set.
12269         * include/signal.h: Remove __sigvec declaration.
12270         * sysdeps/unix/bsd/sigvec.c: Remove file.
12271         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12272         * manual/signal.texi (BSD Handler): Remove subsection.
12273         Move siginterrupt up to ...
12274         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12275         (Blocking in BSD): Fold subsection into its parent.
12276         * NEWS: Mention sigvec removal.
12278 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12280         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12281         (DLA_FMS): Make definition conditional only on [__FMA4__].
12282         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12283         definition.
12285         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12286         Make definition conditional only on [PROF].
12287         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12288         definition.
12289         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12290         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12292         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12293         !__GNUC__].
12294         * include/signal.h (__sigpause): Move declaration above call to
12295         libc_hidden_proto.
12296         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12297         variable.
12298         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12299         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12301 2014-11-14  David S. Miller  <davem@davemloft.net>
12303         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12304         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12306 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12308         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12309         * configure: Regenerated.
12310         * manual/install.texi (Tools for Compilation): Document a
12311         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12312         compiler verified to work.
12313         * INSTALL: Regenerated.
12315         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12316         redeclare with asm name.
12317         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12318         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12319         including <string.h>.
12320         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12322         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12323         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12324         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12325         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12326         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12328 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12330         * stdlib/strtol.c (__strtol): Use prototype definition.
12332         [BZ #17594]
12333         * stdlib/strtol.c (SYM__): New macro.
12334         (SYM__1): Likewise.
12335         (__strtol): Likewise.
12336         (strtol): Rename to __strtol and define as weak alias of
12337         __strtol.  Use libc_hidden_weak.
12339 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12341         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12342         Use numbered labels in inline assembly.
12344 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12346         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12347         Add setjmp LIBC_PROBE.
12348         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12349         Likewise.
12350         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12351         Add longjmp, longjmp_target LIBC_PROBE.
12352         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12353         Likewise.
12355 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12357         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12358         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12359         to get rid of unused variable warning.
12361 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12363         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12364         Check for unwind_backtrace ==  NULL only in SHARED case.
12365         (__backchain_backtrace): Compile only in SHARED case.
12366         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12367         Likewise.
12368         (__backchain_backtrace): Declare as static.
12370 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12372         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12373         (__libc_multiple_threads_ptr): Variable moved ...
12374         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12376 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12378         * conform/GlibcConform.pm: New file.
12379         * conform/conformtest.pl: Use GlibcConform module.
12380         * conform/linknamespace.pl: New file.
12381         * conform/list-header-symbols.pl: Likewise.
12382         * conform/Makefile (linknamespace-symlists-base): New variable.
12383         (linknamespace-symlists-tests): Likewise.
12384         (linknamespace-header-base): Likewise.
12385         (linknamespace-header-tests): Likewise.
12386         (tests-special): Add new tests.
12387         ($(linknamespace-symlists-tests)): New rule.
12388         (linknamespace-libs): New variable.
12389         ($(objpfx)symlist-stdlibs): New rule.
12390         ($(linknamespace-header-tests)): Likewise.
12391         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12392         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12393         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12394         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12395         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12396         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12397         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12398         (test-xfail-ISO/math.h/linknamespace): Likewise.
12399         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12400         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12401         (test-xfail-ISO/time.h/linknamespace): Likewise.
12402         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12403         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12404         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12405         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12406         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12407         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12408         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12409         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12410         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12411         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12412         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12413         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12414         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12415         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12416         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12417         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12418         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12419         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12420         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12421         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12422         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12423         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12424         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12425         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12426         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12427         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12428         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12429         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12430         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12431         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12432         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12433         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12434         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12435         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12436         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12437         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12438         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12439         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12440         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12441         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12442         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12443         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12444         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12445         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12446         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12447         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12448         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12449         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12450         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12451         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12452         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12453         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12454         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12455         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12456         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12457         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12458         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12459         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12460         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12461         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12462         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12463         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12464         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12465         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12466         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12467         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12468         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12469         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12470         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12471         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12472         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12473         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12474         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12475         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12476         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12477         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12478         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12479         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12480         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12481         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12482         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12483         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12484         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12485         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12486         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12487         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12488         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12489         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12490         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12491         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12492         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12493         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12494         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12495         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12496         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12497         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12498         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12499         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12500         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12501         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12502         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12503         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12504         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12505         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12506         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12507         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12508         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12509         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12510         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12511         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12512         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12513         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12514         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12515         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12516         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12517         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12518         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12519         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12520         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12521         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12522         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12523         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12524         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12525         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12526         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12527         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12528         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12529         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12530         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12531         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12532         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12533         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12534         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12535         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12536         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12537         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12538         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12539         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12540         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12541         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12542         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12543         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12544         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12545         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12546         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12547         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12548         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12549         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12550         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12551         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12553         [BZ #17589]
12554         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12555         of fgets_unlocked.
12557         [BZ #17585]
12558         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12559         (memmem): Rename to __memmem and define as weak alias of
12560         __memmem.  Use libc_hidden_weak.
12561         (__memmem): Use libc_hidden_def.
12562         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12563         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12564         memmem.
12566         [BZ #17582]
12567         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12568         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12569         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12570         and define as weak alias of __fgets_unlocked.  Use
12571         libc_hidden_weak.
12572         (__fgets_unlocked): Use libc_hidden_def.
12573         * include/stdio.h (__fgets_unlocked): Declare.  Use
12574         libc_hidden_proto.
12575         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12576         __fgets_unlocked instead of fgets_unlocked.
12577         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12578         (GET_NPROCS_CONF_PARSER): Likewise.
12579         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12580         (GET_NPROCS_CONF_PARSER): Likewise.
12582         [BZ #17574]
12583         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12584         weak alias of __wmemset.  Use libc_hidden_weak.
12585         (__wmemset): Use libc_hidden_def.
12586         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12587         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12588         of wmemset.
12590         [BZ #17573]
12591         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12592         with asm name __mempcpy.
12593         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12595         [BZ #17572]
12596         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12597         and define as weak alias of __rawmemchr.
12598         (__rawmemchr): Do not define as strong alias of rawmemchr.
12600         [BZ #17571]
12601         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12602         alias of __qsort_r.
12603         (qsort): Call __qsort_r instead of qsort_r.
12604         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12605         (__qsort_r): Declare.  Call libc_hidden_proto.
12606         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12607         instead of qsort_r.
12608         * nscd/gai.c (__qsort_r): Define to qsort_r.
12609         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12610         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12611         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12613         [BZ #17570]
12614         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12615         define as weak alias of __malloc_info.
12617         [BZ #17584]
12618         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12619         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12620         (__rewinddir): Use libc_hidden_def.
12621         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12622         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12623         (__rewinddir): Use libc_hidden_def.
12624         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12625         weak alias of __rewinddir.  Don't use libc_hidden_def.
12626         (__rewinddir): Use libc_hidden_def.
12627         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12628         (__rewinddir): Use libc_hidden_proto.
12629         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12630         rewinddir.
12631         (__getcwd): Use __rewinddir instead of rewinddir.
12633         [BZ #17583]
12634         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12635         alias of __fileno.  Use libc_hidden_weak.
12636         (__fileno): Use libc_hidden_def.
12637         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12638         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12639         alias of __ftello.
12640         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12641         __ftello.
12642         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12643         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12644         libc_hidden_def.
12645         (fread_unlocked): Don't use libc_hidden_ver.
12646         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12647         and define as weak alias of __fread_unlocked.  Don't use
12648         libc_hidden_def.
12649         (__fread_unlocked): Use libc_hidden_def.
12650         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12651         (ftello): Don't use libc_hidden_proto.
12652         (__ftello): Declare.  Use libc_hidden_proto.
12653         (fread_unlocked): Don't use libc_hidden_proto.
12654         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12655         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12656         and __ftello instead of fileno, fread_unlocked and ftello.
12658 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12660         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12661         GOT12.
12662         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12663         Likewise.
12664         (_dl_start_user): Likewise.
12665         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12667 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12668             Siddhesh Poyarekar  <siddhesh@redhat.com>
12670         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12671         Move argv and envp down instead of moving argc up.
12672         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12674 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12676         [BZ #17506]
12677         * test-skeleton.c (main): Return successful if one of
12678         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12679         * string/tst-strcoll-overflow.c: Define expected status.
12681 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12683         [BZ #17475]
12684         * locale/iso-639.def: Define Bhili and Tulu language codes.
12686 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12688         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12690 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12692         [BZ #17555]
12693         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12695 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12697         * configure.ac: Updated check of minimal required version to
12698         2.22.
12699         * manual/install.texi (Tools for Compilation): Updated version
12700         number.
12701         * configure: Regenerated.
12702         * INSTALL: Likewise.
12704 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12706         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12707         __tls_get_addr.
12709 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12711         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12712         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12713         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12714         libc_hidden_weak.
12715         (waitpid): Define as alias of __waitpid.
12716         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12717         __waitpid.
12718         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12719         libc_hidden_weak.
12720         (waitpid): Define as alias of __waitpid.
12721         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12722         __libc_waitpid alias.
12723         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12724         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12725         Likewise.
12726         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12727         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12728         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12729         alias.
12730         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12731         __waitpid.
12732         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12733         libc_hidden_weak.
12734         (waitpid): Define as alias of __waitpid.
12736 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12738         * manual/llio.texi: Add comment that write safety has been
12739         fixed in Linux.
12741         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12742         (localplt-build-dso): Add elf/ld.so.
12743         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12744         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12745         and free for ld.so.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12747         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12749         Likewise.
12750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12751         Likewise.
12752         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12753         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12754         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12755         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12756         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12757         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12758         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12759         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12760         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12761         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12762         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12764 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12766         [BZ #14132]
12767         * include/libc-symbols.h (INTUSE): Remove macro.
12768         (INTDEF): Likewise.
12769         (INTVARDEF): Likewise.
12770         (_INTVARDEF): Likewise.
12771         (INTDEF2): Likewise.
12772         (INTVARDEF2): Likewise.
12773         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12774         rtld_hidden_def instead of INTVARDEF.
12775         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12776         (_dl_starting_up_internal): Remove declaration.
12777         (_dl_starting_up): Use rtld_hidden_proto.
12778         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12779         declaration.
12780         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12781         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12782         _dl_starting_up.
12783         * elf/dl-writev.h (_dl_writev): Likewise.
12784         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12785         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12786         _dl_starting_up_internal.
12788 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12790         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12791         test-skeleton.c.
12793 2014-11-05  Will Newton  <will.newton@linaro.org>
12795         * benchtests/Makefile: (bench-malloc): Add malloc thread
12796         scalability benchmark.
12797         * benchtests/bench-malloc-threads.c: New file.
12799 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12801         * sysdeps/aarch64/strchrnul.S: New file.
12803 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12805         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12806         definition.
12807         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12808         Likwise.
12809         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12810         Likewise.
12811         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12812         Likewise.
12813         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12814         Likewise.
12815         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12816         Likewise.
12818 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12820         * catgets/test-gencat.c: Use test-skeleton.c.
12821         * catgets/tst-catgets.c: Likewise.
12822         * csu/tst-empty.c: Likewise.
12823         * elf/tst-audit2.c: Likewise.
12824         * elf/tst-global1.c: Likewise.
12825         * elf/tst-pathopt.c: Likewise.
12826         * elf/tst-piemod1.c: Likewise.
12827         * elf/tst-tls10.c: Likewise.
12828         * elf/tst-tls11.c: Likewise.
12829         * elf/tst-tls12.c: Likewise.
12830         * gnulib/tst-gcc.c: Likewise.
12831         * iconvdata/tst-e2big.c: Likewise.
12832         * iconvdata/tst-loading.c: Likewise.
12833         * iconv/tst-iconv1.c: Likewise.
12834         * iconv/tst-iconv2.c: Likewise.
12835         * inet/test-inet6_opt.c: Likewise.
12836         * inet/tst-gethnm.c: Likewise.
12837         * inet/tst-network.c: Likewise.
12838         * inet/tst-ntoa.c: Likewise.
12839         * intl/tst-codeset.c: Likewise.
12840         * intl/tst-gettext2.c: Likewise.
12841         * intl/tst-gettext3.c: Likewise.
12842         * intl/tst-ngettext.c: Likewise.
12843         * intl/tst-translit.c: Likewise.
12844         * io/test-stat.c: Likewise.
12845         * libio/test-fmemopen.c: Likewise.
12846         * libio/tst-freopen.c: Likewise.
12847         * libio/tst-sscanf.c: Likewise.
12848         * libio/tst-ungetwc1.c: Likewise.
12849         * libio/tst-ungetwc2.c: Likewise.
12850         * libio/tst-widetext.c: Likewise.
12851         * localedata/tst-ctype.c: Likewise.
12852         * localedata/tst-digits.c: Likewise.
12853         * localedata/tst-leaks.c: Likewise.
12854         * localedata/tst-mbswcs1.c: Likewise.
12855         * localedata/tst-mbswcs2.c: Likewise.
12856         * localedata/tst-mbswcs3.c: Likewise.
12857         * localedata/tst-mbswcs4.c: Likewise.
12858         * localedata/tst-mbswcs5.c: Likewise.
12859         * localedata/tst-setlocale.c: Likewise.
12860         * localedata/tst-trans.c: Likewise.
12861         * localedata/tst-wctype.c: Likewise.
12862         * localedata/tst-xlocale1.c: Likewise.
12863         * login/tst-grantpt.c: Likewise.
12864         * malloc/tst-calloc.c: Likewise.
12865         * malloc/tst-malloc.c: Likewise.
12866         * malloc/tst-mallocstate.c: Likewise.
12867         * malloc/tst-mcheck.c: Likewise.
12868         * malloc/tst-mtrace.c: Likewise.
12869         * malloc/tst-obstack.c: Likewise.
12870         * math/atest-exp2.c: Likewise.
12871         * math/atest-exp.c: Likewise.
12872         * math/atest-sincos.c: Likewise.
12873         * math/test-matherr.c: Likewise.
12874         * math/test-misc.c: Likewise.
12875         * math/test-powl.c: Likewise.
12876         * math/tst-definitions.c: Likewise.
12877         * misc/tst-dirname.c: Likewise.
12878         * misc/tst-efgcvt.c: Likewise.
12879         * misc/tst-fdset.c: Likewise.
12880         * misc/tst-hsearch.c: Likewise.
12881         * misc/tst-mntent2.c: Likewise.
12882         * nptl/tst-sem7.c: Likewise.
12883         * nptl/tst-sem8.c: Likewise.
12884         * nptl/tst-sem9.c: Likewise.
12885         * nss/test-netdb.c: Likewise.
12886         * posix/tst-fnmatch.c: Likewise.
12887         * posix/tst-getlogin.c: Likewise.
12888         * posix/tst-gnuglob.c: Likewise.
12889         * posix/tst-mmap.c: Likewise.
12890         * pwd/tst-getpw.c: Likewise.
12891         * resolv/tst-inet_ntop.c: Likewise.
12892         * rt/tst-timer.c: Likewise.
12893         * stdio-common/test-fseek.c: Likewise.
12894         * stdio-common/test-popen.c: Likewise.
12895         * stdio-common/test-vfprintf.c: Likewise.
12896         * stdio-common/tst-cookie.c: Likewise.
12897         * stdio-common/tst-fileno.c: Likewise.
12898         * stdio-common/tst-gets.c: Likewise.
12899         * stdio-common/tst-obprintf.c: Likewise.
12900         * stdio-common/tst-perror.c: Likewise.
12901         * stdio-common/tst-sprintf2.c: Likewise.
12902         * stdio-common/tst-sprintf3.c: Likewise.
12903         * stdio-common/tst-sprintf.c: Likewise.
12904         * stdio-common/tst-swprintf.c: Likewise.
12905         * stdio-common/tst-tmpnam.c: Likewise.
12906         * stdio-common/tst-unbputc.c: Likewise.
12907         * stdio-common/tst-wc-printf.c: Likewise.
12908         * stdlib/tst-environ.c: Likewise.
12909         * stdlib/tst-fmtmsg.c: Likewise.
12910         * stdlib/tst-limits.c: Likewise.
12911         * stdlib/tst-rand48-2.c: Likewise.
12912         * stdlib/tst-rand48.c: Likewise.
12913         * stdlib/tst-random2.c: Likewise.
12914         * stdlib/tst-random.c: Likewise.
12915         * stdlib/tst-strtol.c: Likewise.
12916         * stdlib/tst-strtoll.c: Likewise.
12917         * stdlib/tst-tls-atexit.c: Likewise.
12918         * stdlib/tst-xpg-basename.c: Likewise.
12919         * string/test-ffs.c: Likewise.
12920         * string/tst-bswap.c: Likewise.
12921         * string/tst-inlcall.c: Likewise.
12922         * string/tst-strtok.c: Likewise.
12923         * string/tst-strxfrm.c: Likewise.
12924         * sysdeps/x86_64/tst-audit10.c: Likewise.
12925         * sysdeps/x86_64/tst-audit3.c: Likewise.
12926         * sysdeps/x86_64/tst-audit4.c: Likewise.
12927         * sysdeps/x86_64/tst-audit5.c: Likewise.
12928         * time/tst-ftime_l.c: Likewise.
12929         * time/tst-getdate.c: Likewise.
12930         * time/tst-mktime3.c: Likewise.
12931         * time/tst-mktime.c: Likewise.
12932         * time/tst-posixtz.c: Likewise.
12933         * time/tst-strptime2.c: Likewise.
12934         * time/tst-strptime3.c: Likewise.
12935         * wcsmbs/tst-btowc.c: Likewise.
12936         * wcsmbs/tst-mbrtowc.c: Likewise.
12937         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12938         * wcsmbs/tst-wchar-h.c: Likewise.
12939         * wcsmbs/tst-wcpncpy.c: Likewise.
12940         * wcsmbs/tst-wcrtomb.c: Likewise.
12941         * wcsmbs/tst-wcsnlen.c: Likewise.
12942         * wcsmbs/tst-wcstof.c: Likewise.
12944 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12946         [BZ #14132]
12947         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12948         INTDEF.
12949         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12950         declaration.
12951         (_dl_mcount): Use rtld_hidden_proto.
12952         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12953         _dl_mcount.
12954         * elf/rtld.c (_rtld_global_ro): Likewise.
12956         [BZ #14132]
12957         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12958         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12959         of _dl_init_internal.
12960         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12961         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12962         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12963         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12964         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12965         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12966         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12967         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12968         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12969         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12970         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12971         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12972         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12973         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12974         * sysdeps/tile/dl-start.S (_start): Likewise.
12975         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12976         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12978         [BZ #14132]
12979         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12980         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12981         (rtld_progname): Make macro definition unconditional.
12982         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12983         INTDEF.
12984         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12985         (dl_main): Likewise.
12986         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12987         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12988         instead of _dl_argv_internal.
12989         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12990         __GI__dl_argv instead of INTUSE(_dl_argv).
12991         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12992         __GI__dl_argv instead of _dl_argv_internal.
12994         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12995         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12996         macro.
12997         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12998         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12999         New macro.
13000         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13001         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13002         macro.
13003         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13004         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13006 2014-11-04  Andreas Schwab  <schwab@suse.de>
13008         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13010 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13012         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13013         mtvsrd instruction in binary form.
13015 2014-11-03  Andreas Schwab  <schwab@suse.de>
13017         [BZ #17522]
13018         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13019         for less than MB_LEN_MAX use a local buffer of that size.
13020         * libio/tst-fputws.c: New file.
13021         * libio/Makefile (tests): Add tst-fputws.
13023 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
13025         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13026         the size of the fpu_fr.fpu_dregs[] array.
13028 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
13030         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13031         (__nanosleep): Do not define as alias.
13032         (nanosleep): Define as alias of __nanosleep.
13033         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13034         __libc_nanosleep name.
13036 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13038         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13039         install.texi in comment.
13041 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13043         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13044         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13045         ... add here and use lwsync or sync ...
13046         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13047         ... and add here using lwsync.
13049 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13051         * elf/dl-machine-reject-phdr.h: New file.
13052         * elf/dl-load.c: #include that.
13053         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13054         if that returned true.
13056 2014-10-31  Roland McGrath  <roland@hack.frob.com>
13058         [BZ #17496]
13059         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13060         gen-as-const-headers chunk.  Add a big scare comment after the last
13061         safe place to touch before-compile.
13063 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13065         * manual/install.texi (Tools for Compilation): Update autoconf
13066         version requirements.
13067         * INSTALL: Regenerated.
13069         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13070         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13071         (__libc_pselect): Likewise.
13073         [BZ #14138]
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13079 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13081         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13082         correct barrier instruction.
13083         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13084         Likewise.
13085         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13086         Likewise.
13088 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13090         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13091         after defining inlines.  Instead, just use parens to defeat macro
13092         expansion of __isctype in its declaration.
13094 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13096         * include/sys/uio.h (__libc_readv): Remove declaration.
13097         (__libc_writev): Likewise.
13098         * misc/readv.c (__libc_readv): Rename to __readv.
13099         (__readv): Do not define as alias.
13100         (readv): Define as alias of __readv.
13101         * misc/writev.c (__libc_writev): Rename to __writev.
13102         (__writev): Do not define as alias.
13103         (writev): Define as alias of __writev.
13104         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13105         (__readv): Do not define as alias.
13106         (readv): Define unconditionally as alias of __readv.
13107         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13108         (__writev): Do not define as alias.
13109         (writev): Define unconditionally as alias of __writev.
13110         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13111         name.
13112         (writev): Do not define __libc_writev name.
13114 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13116         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13117         (convert_charseq): New function, broken out of ...
13118         (use_from_charmap): ... here.  Call it.
13119         (use_to_charmap): Use convert_charseq and free instead of duplicating
13120         its code with a variable-length stack struct.
13122 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13124         * include/fcntl.h (__libc_creat): Remove declaration.
13125         * io/creat.c (__libc_creat): Rename to creat.
13126         (creat): Do not define as alias.
13127         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13128         of creat instead of __libc_creat.
13129         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13130         to creat.
13131         (creat): Do not define as alias.
13132         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13133         __libc_creat.
13134         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13135         __libc_creat name.
13136         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13137         Likewise.
13139 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13141         * manual/llio.texi: Add comments discussing why write() may be
13142         considered MT-unsafe on Linux.
13144 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13146         * dl-load.c (local_strdup): Remove.
13147         (expand_dynamic_string_token): Use __strdup.
13148         (decompose_rpath): Likewise.
13149         (_dl_map_object): Likewise.
13151 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13153         [BZ #14132]
13154         * sysdeps/generic/unwind-dw2-fde.c
13155         (__register_frame_info_bases_internal): Do not declare.
13156         (__register_frame_info_table_bases_internal): Likewise.
13157         (__deregister_frame_info_bases_internal): Likewise.
13158         (__register_frame_info_bases): Declare and use hidden_proto before
13159         definition.  Use hidden_def instead of INTDEF.
13160         (__register_frame_info_table_bases): Likewise.
13161         (__deregister_frame_info_bases): Likewise.
13162         (__register_frame_info): Do not use INTUSE.
13163         (__register_frame): Likewise.
13164         (__register_frame_info_table): Likewise.
13165         (__register_frame_table): Likewise.
13166         (__deregister_frame_info): Likewise.
13167         (__deregister_frame): Likewise.
13169 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13171         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13172         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13173         not undefine.
13174         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13175         Likewise.
13176         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13177         Likewise.
13179 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13181         [BZ #14138]
13182         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13183         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13184         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13185         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13186         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13187         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13188         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13189         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13190         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13191         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13193         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13194         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13195         syscall.
13196         (setfsuid): Likewise.
13197         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13198         (setfsuid): Likewise.
13199         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13200         (setfsuid): Likewise.
13201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13202         Likewise.
13203         (setfsuid): Likewise.
13204         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13205         (setfsuid): Likewise.
13206         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13207         Likewise.
13208         (setfsuid): Likewise.
13210 2014-10-27  Andreas Schwab  <schwab@suse.de>
13212         [BZ #17501]
13213         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13214         check for Slow_SSE4_2 feature bit.
13215         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13216         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13217         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13218         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13220 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13222         * configure.ac: Validate compiler version with a empirical test of
13223         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13224         $CC -v output.
13225         * configure: Regenerated.
13227         * inet/htons.c (htons): Prototypify.
13228         * inet/htonl.c (htonl): Likewise.
13230 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13232         * string/strncat.c (strncat): Improve performance by using strlen.
13234 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13236         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13238 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13240         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13241         Call libc_fetestexcept_aarch64.
13243 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13245         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13246         Call libc_feholdexcept_aarch64.
13248 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13250         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13251         Call get_rounding_mode.
13253 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13255         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13256         Simplify logic.
13258 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13260         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13261         Simplify logic.
13263 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #14138]
13266         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13267         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13268         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13269         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13270         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13271         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13272         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13273         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13274         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13275         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13276         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13277         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13278         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13279         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13280         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13281         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13282         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13283         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13284         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13285         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13286         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13287         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13288         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13289         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13290         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13291         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13292         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13293         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13294         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13295         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13296         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13297         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13298         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13299         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13300         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13301         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13302         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13303         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13304         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13305         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13306         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13307         syscall.
13308         (geteuid): Likewise.
13309         (getgid): Likewise.
13310         (getuid): Likewise.
13311         (getresgid): Likewise.
13312         (getresuid): Likewise.
13313         (getgroups): Likewise.
13314         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13315         (geteuid): Likewise.
13316         (getgid): Likewise.
13317         (getuid): Likewise.
13318         (getresgid): Likewise.
13319         (getresuid): Likewise.
13320         (getgroups): Likewise.
13321         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13322         (geteuid): Likewise.
13323         (getgid): Likewise.
13324         (getuid): Likewise.
13325         (getresgid): Likewise.
13326         (getresuid): Likewise.
13327         (getgroups): Likewise.
13328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13329         Likewise.
13330         (geteuid): Likewise.
13331         (getgid): Likewise.
13332         (getuid): Likewise.
13333         (getresgid): Likewise.
13334         (getresuid): Likewise.
13335         (getgroups): Likewise.
13336         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13337         (geteuid): Likewise.
13338         (getgid): Likewise.
13339         (getuid): Likewise.
13340         (getresgid): Likewise.
13341         (getresuid): Likewise.
13342         (getgroups): Likewise.
13343         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13344         Likewise.
13345         (geteuid): Likewise.
13346         (getgid): Likewise.
13347         (getuid): Likewise.
13348         (getgroups): Likewise.
13350         [BZ #14138]
13351         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13352         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13353         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13354         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13355         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13356         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13357         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13358         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13359         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13360         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13361         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13362         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13363         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13364         __chown.
13365         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13366         (lchown): Likewise.
13367         (fchown): Likewise.
13368         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13369         Likewise.
13370         (lchown): Likewise.
13371         (fchown): Likewise.
13372         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13373         (lchown): Likewise.
13374         (fchown): Likewise.
13375         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13376         Likewise.
13377         (lchown): Likewise.
13378         (fchown): Likewise.
13380 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13382         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13383         Simplify logic.
13385 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13387         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13388         Cleanup logic.
13390 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13392         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13393         Remove unused include.
13395 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13397         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13398         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13399         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13400         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13402 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13403             Helge Deller <deller@gmx.de>
13405         [BZ #17508]
13406         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13407         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13408         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13410 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13412         [BZ #14132]
13413         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13414         Remove macro definition.
13415         (__ashrdi3_v_glibc20): Likewise.
13416         (__lshrdi3_v_glibc20): Likewise.
13417         (__cmpdi2_v_glibc20): Likewise.
13418         (__ucmpdi2_v_glibc20): Likewise.
13419         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13420         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13421         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13422         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13423         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13424         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13426 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13428         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13429         old GNU extension [0] syntax.
13430         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13431         alloca rather than an array member with variable length.
13432         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13433         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13434         (parse_opt): ... here.  Likewise use alloca there.
13435         Validate the -i argument before checking for rootness.
13436         (send_shutdown): New function, broken out of ...
13437         (parse_opt): ... here.
13439 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13441         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13442         macro to get at the _rt_local_ro field.
13443         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13444         ([PIC] case) or _dl_hwcap ([!PIC] case).
13445         * sysdeps/arm/setjmp.S: Likewise.
13447         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13448         * sysdeps/arm/configure.ac: New check to define it.
13449         * sysdeps/arm/configure: Regenerated.
13450         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13451         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13452         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13453         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13454         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13455         Use move/movt pair instead of a load.
13456         (LDST_GLOBAL): Macro removed.
13457         (LDR_GLOBAL): New macro replaces it.
13458         (LDR_HIDDEN): New macro.
13459         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13460         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13462         * setjmp/tst-setjmp-static.c: New file.
13463         * setjmp/Makefile (tests): Add it.
13464         (tests-static): New variable.
13466 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13468         [BZ #17485]
13469         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13471 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13473         [BZ #14132]
13474         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13476 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13478         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13480 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13482         * io/fts.c (dirent_not_directory): New function.
13483         (fts_build): Call it.
13485 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13487         * nptl/version.c (__nptl_main): Use normal __write rather than
13488         INTERNAL_SYSCALL.
13489         (banner): Update copyright years.
13491         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13492         gettimeofday.
13493         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13494         * nptl/pthread_cond_timedwait.c: Likewise.
13495         * nptl/pthread_mutex_timedlock.c: Likewise.
13496         * nptl/sem_timedwait.c: Likewise.
13498         * sysdeps/nptl/bits/libc-lock.h
13499         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13500         (__libc_lock_init_recursive): Return void, not 0.
13501         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13502         (__libc_rwlock_init): Likewise.
13503         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13505 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13507         [BZ #15215]
13508         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13509         (__pthread_once_slow): ... here.
13510         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13511         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13513 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13515         [BZ #15215]
13516         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13517         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13518         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13519         * nptl/pthread_once.c (__pthread_once): Likewise.
13520         Update comments.
13522 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13524         [BZ #14138]
13525         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13526         name.
13527         (writev): Use __libc_writev as strong name.
13528         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13529         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13531 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13533         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13535         * sysdeps/i386/nptl/tls.h
13536         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13537         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13538         New macros.
13539         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13540         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13541         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13542         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13543         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13544         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13546         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13547         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13548         on [__NR_futex].
13549         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13550         broken out of ...
13551         (__pthread_mutex_init): ... here.  Call it.
13552         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13553         Conditionalize PI cases on [__NR_futex].
13554         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13555         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13556         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13558         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13559         conditional on [SIGSETXID].
13560         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13561         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13562         is defined.  Likewise for SIGSETXID.
13563         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13564         Conditionalize definitions on [SIGSETXID].
13565         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13566         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13567         unblocking on [SIGCANCEL].
13569         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13570         [__NR_set_robust_list].
13572 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13574         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13575         (do_compare): Likewise.
13577 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13579         [BZ #15884]
13580         * string/strcoll_l.c: Don't include stdio.h.
13581         (coll_seq): Remove members idxarr and rulearr.
13582         (get_next_seq_cached): Remove function.
13583         (get_next_seq): Likewise.
13584         (get_next_seq_nocache): Rename to get_next_seq.
13585         (do_compare): Remove function.
13586         (do_compare_nocache): Rename to do_compare.
13587         (STRCOLL): Remove weight and rules cache.
13589 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13591         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13592         * sysdeps/arm/sfp-machine.h: ... to here.
13593         * sysdeps/arm/Implies: Remove arm/soft-fp.
13595 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13597         * conform/data/sys/utsname.h-data (*_t): Allow.
13598         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13599         [POSIX] (WEXITED): Do not expect constant.
13600         [POSIX] (WSTOPPED): Likewise.
13601         [POSIX] (WNOHANG): Likewise.
13602         [POSIX] (WNOWAIT): Likewise.
13603         [POSIX] (siginfo_t): Do not expect type or elements.
13604         [POSIX] (pid_t): Do not expect type.
13605         [POSIX] (signal.h): Do not allow header.
13606         [POSIX] (sys/resource.h): Likewise.
13607         [POSIX] (si_*): Do not allow pattern.
13608         [POSIX] (W*): Likewise.
13609         [POSIX] (P_*): Likewise.
13610         [POSIX] (BUS_*): Likewise.
13611         [POSIX] (CLD_*): Likewise.
13612         [POSIX] (FPE_*): Likewise.
13613         [POSIX] (ILL_*): Likewise.
13614         [POSIX] (POLL_*): Likewise.
13615         [POSIX] (SEGV_*): Likewise.
13616         [POSIX] (SI_*): Likewise.
13617         [POSIX] (TRAP_*): Likewise.
13618         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13619         variable.
13621 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13623         [BZ #12926]
13624         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13625         infinite loop when __recvmsg returns 0.
13627 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13629         * CANCEL-FCT-WAIVE: Remove file.
13630         * CANCEL-FILE-WAIVE: Likewise.
13632         [BZ #14132]
13633         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13634         instead of INTVARDEF.
13635         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13636         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13637         rtld_hidden_data_def instead of INTVARDEF.
13638         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13639         * elf/dl-deps.c (expand_dst): Likewise.
13640         * elf/dl-load.c (_dl_dst_count): Likewise.
13641         (_dl_dst_substitute): Likewise.
13642         (decompose_rpath): Likewise.
13643         (_dl_init_paths): Likewise.
13644         (open_path): Likewise.
13645         (_dl_map_object): Likewise.
13646         * elf/rtld.c (dl_main): Likewise.
13647         (process_dl_audit): Likewise.
13648         (process_envvars): Likewise.
13649         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13650         Remove declaration.
13651         (__libc_enable_secure): Use rtld_hidden_proto.
13653 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13655         * elf/dl-load.c
13656         (add_path): New function broken out of _dl_rtld_di_serinfo.
13657         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13659 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13661         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13662         parentheses around macro arguments.
13663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13668         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13669         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13673         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13674         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13675         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13676         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13677         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13678         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13679         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13692         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13693         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13694         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13695         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13696         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13697         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13698         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13699         Likewise.
13700         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13701         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13703         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13707         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13708         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13709         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13710         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13711         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13712         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13713         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13719         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13720         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13721         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13722         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13723         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13724         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13725         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13726         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13727         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13728         (_FP_FRAC_SRS_1): Likewise.
13729         (_FP_FRAC_CLZ_1): Likewise.
13730         (_FP_MUL_MEAT_1_imm): Likewise.
13731         (_FP_MUL_MEAT_1_wide): Likewise.
13732         (_FP_MUL_MEAT_1_hard): Likewise.
13733         (_FP_SQRT_MEAT_1): Likewise.
13734         (_FP_FRAC_ASSEMBLE_1): Likewise.
13735         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13736         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13737         (__FP_CLZ_2): Likewise.
13738         (_FP_MUL_MEAT_2_wide): Likewise.
13739         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13740         (_FP_MUL_MEAT_2_gmp): Likewise.
13741         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13742         (_FP_SQRT_MEAT_2): Likewise.
13743         (_FP_FRAC_ASSEMBLE_2): Likewise.
13744         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13745         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13746         (_FP_FRAC_CLZ_4): Likewise.
13747         (_FP_MUL_MEAT_4_wide): Likewise.
13748         (_FP_MUL_MEAT_4_gmp): Likewise.
13749         (_FP_SQRT_MEAT_4): Likewise.
13750         (_FP_FRAC_ASSEMBLE_4): Likewise.
13751         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13752         * soft-fp/op-common.h (_FP_CMP): Likewise.
13753         (_FP_CMP_EQ): Likewise.
13754         (_FP_CMP_UNORD): Likewise.
13755         (_FP_TO_INT): Likewise.
13756         (_FP_FROM_INT): Likewise.
13757         [!__FP_CLZ] (__FP_CLZ): Likewise.
13758         (_FP_DIV_HELP_imm): Likewise.
13759         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13760         Likewise.
13761         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13762         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13763         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13764         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13766         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13767         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13771         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13772         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13773         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13774         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13775         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13776         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13777         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13780         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13784         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13785         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13786         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13788         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13790         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13791         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13792         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13793         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13794         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13795         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13796         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13797         (FP_UNPACK_RAW_SP): Likewise.
13798         (FP_PACK_RAW_S): Likewise.
13799         (FP_PACK_RAW_SP): Likewise.
13800         (FP_UNPACK_S): Likewise.
13801         (FP_UNPACK_SP): Likewise.
13802         (FP_UNPACK_SEMIRAW_S): Likewise.
13803         (FP_UNPACK_SEMIRAW_SP): Likewise.
13804         (FP_PACK_S): Likewise.
13805         (FP_PACK_SP): Likewise.
13806         (FP_PACK_SEMIRAW_S): Likewise.
13807         (FP_PACK_SEMIRAW_SP): Likewise.
13808         (_FP_SQRT_MEAT_S): Likewise.
13809         (FP_CMP_S): Likewise.
13810         (FP_CMP_EQ_S): Likewise.
13811         (FP_CMP_UNORD_S): Likewise.
13812         (FP_TO_INT_S): Likewise.
13813         (FP_FROM_INT_S): Likewise.
13815         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13817         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13818         (FP_EX_INVALID_IMZ): Likewise.
13819         (FP_EX_INVALID_IMZ_FMA): Likewise.
13820         (FP_EX_INVALID_ISI): Likewise.
13821         (FP_EX_INVALID_ZDZ): Likewise.
13822         (FP_EX_INVALID_IDI): Likewise.
13823         (FP_EX_INVALID_SQRT): Likewise.
13824         (FP_EX_INVALID_CVI): Likewise.
13825         (FP_EX_INVALID_VC): Likewise.
13826         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13827         "invalid" exceptions.
13828         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13829         (_FP_ADD_INTERNAL): Likewise.
13830         (_FP_MUL): Likewise.
13831         (_FP_FMA): Likewise.
13832         (_FP_DIV): Likewise.
13833         (_FP_CMP_CHECK_NAN): Likewise.
13834         (_FP_SQRT): Likewise.
13835         (_FP_TO_INT): Likewise.
13836         (FP_EXTEND): Likewise.
13838 2014-10-09  Allan McRae  <allan@archlinux.org>
13840         * po/fr.po: Update French translation from translation project.
13842 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13844         [BZ #14132]
13845         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13846         of INTDEF.
13847         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13848         (__cxa_atexit): Use libc_hidden_proto.
13849         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13851         [BZ #14132]
13852         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13853         declaration.
13854         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13855         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13856         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13857         [!_ISOMAC] (__iswctype_internal): Likewise.
13858         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13859         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13860         alias.
13861         (fcntl): Remove __fcntl_internal alias.
13862         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13863         __connect_internal alias.
13864         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13865         Likewise.
13867         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13868         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13869         FP_DENORM_ZERO.
13870         (_FP_CHECK_FLUSH_ZERO): New macro.
13871         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13872         (_FP_CMP): Likewise.
13873         (_FP_CMP_EQ): Likewise.
13874         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13875         FP_DENORM_ZERO.
13876         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13877         (FP_TRUNC): Likewise.
13879         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13880         treated as invalid conversion, not as normal exponent.
13882         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13883         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13884         (_FP_CMP_EQ): Likewise.
13885         (_FP_CMP_UNORD): Likewise.
13886         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13887         (FP_CMP_EQ_D): Likewise.
13888         (FP_CMP_UNORD_D): Likewise.
13889         * soft-fp/extended.h (FP_CMP_E): Likewise.
13890         (FP_CMP_EQ_E): Likewise.
13891         (FP_CMP_UNORD_E): Likewise.
13892         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13893         (FP_CMP_EQ_Q): Likewise.
13894         (FP_CMP_UNORD_Q): Likewise.
13895         * soft-fp/single.h (FP_CMP_S): Likewise.
13896         (FP_CMP_EQ_S): Likewise.
13897         (FP_CMP_UNORD_S): Likewise.
13898         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13899         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13900         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13901         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13902         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13903         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13904         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13905         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13906         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13907         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13908         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13909         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13910         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13911         to FP_CMP_Q.
13912         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13913         FP_CMP_Q.
13914         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13915         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13916         FP_CMP_EQ_Q.
13917         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13918         FP_CMP_Q.
13919         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13920         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13921         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13922         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13923         FP_CMP_EQ_Q.
13924         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13925         FP_CMP_Q.
13926         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13927         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13928         FP_CMP_EQ_Q.
13929         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13930         FP_CMP_Q.
13931         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13932         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13933         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13934         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13935         FP_CMP_EQ_Q.
13937         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13938         a subnormal result, set the underflow exception if trapping on
13939         underflow is enabled.
13940         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13941         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13942         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13943         redefine to 0.
13944         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13945         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13946         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13947         * soft-fp/extendxftf2.c (__extendxftf2): Use
13948         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13950         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13951         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13952         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13953         FP_HANDLE_EXCEPTIONS.
13954         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13955         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13956         FP_HANDLE_EXCEPTIONS.
13957         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13958         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13959         FP_HANDLE_EXCEPTIONS.
13960         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13961         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13962         FP_HANDLE_EXCEPTIONS.
13964 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13966         [BZ #14132]
13967         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13968         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13969         use INTUSE.
13970         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13971         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13972         Remove alias.
13973         (__adjtimex): Define using libc_hidden_ver.
13974         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13975         Remove declaration.
13976         (ntp_gettime): Call __adjtimex directly.
13977         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13978         Remove declaration.
13979         (ntp_gettimex): Call __adjtimex directly.
13980         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13981         __adjtimex_internal alias.
13983 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13985         [BZ #17460]
13986         * nscd/nscd.c (more_help): Rewrite list of tables collection
13987         using xstrdup and asprintf.
13989         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13991 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13992             Roland McGrath  <roland@hack.frob.com>
13994         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13995         (do_lookup_unique): ... local function 'enter' here; update callers.
13997 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13999         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14000         compat_symbol calls on [SHARED].
14001         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14002         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14003         Remove.
14004         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14005         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14006         (oldsetrlimit): Remove.
14007         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14009         (lchown): New syscall entry.
14010         (oldsetrlimit): Remove.
14011         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14013         (oldsetrlimit): Remove.
14014         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14016         [BZ #14138]
14017         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14018         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14019         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14020         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14021         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14022         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14023         (fchown): Likewise.
14024         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14025         (fchown): Likewise.
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14027         Likewise.
14029 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14031         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14032         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14033         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14034         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14035         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14036         Likewise.
14037         (__old_sem_post): Likewise.
14039 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
14041         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14042         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14043         HAVE_CLOCK_GETTIME_VSYSCALL macros.
14044         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14045         Use INLINE_VSYSCALL macro.
14046         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14047         __vdso_clock_gettime.
14048         * sysdeps/unix/sysv/linux/tile/init-first.c
14049         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14050         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14051         __vdso_clock_gettime.
14053         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14054         to set up frame more cleanly.
14056         * sysdeps/tile/memcmp.c: New file.
14058         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14060         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14061         * sysdeps/tile/tilegx/strcasestr.c: New file.
14062         * sysdeps/tile/tilegx/strnlen.c: New file.
14063         * sysdeps/tile/tilegx/strstr.c: New file.
14065         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14067 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
14069         * nptl/tst-setuid3.c: Write errors to stdout.
14071 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14073         * elf/dl-deps.c
14074         (preload): New functions broken out of _dl_map_object_deps.
14075         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14077 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14079         [BZ #14138]
14080         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14081         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14083 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14085         * sysdeps/mips/strcmp.S: New.
14087 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14089         [BZ #14138]
14090         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14091         (linkat): Likewise.
14092         (mkdirat): Likewise.
14093         (readlinkat): Likewise.
14094         (renameat): Likewise.
14095         (symlinkat): Likewise.
14096         (unlinkat): Likewise.
14097         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14098         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14099         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14100         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14101         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14102         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14103         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14105 2014-09-30  Will Newton  <will.newton@linaro.org>
14107         * math/math.h: Define long double math functions if
14108         _LIBC_TEST is defined.
14109         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14111         * localedata/Makefile: Move assignment to tests-special
14112         into an ifdef testing run-built-tests.
14113         * timezone/Makefile: Likewise.
14115 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14117         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14118         with $(BASH) not $(SHELL).
14120 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14121             Matthew LeGendre  <legendre1@llnl.gov>
14123         [BZ #17411]
14124         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14125         l_reloc_result.
14127 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14129         * stdio-common/printf_fp.c
14130         (hack_digit): New function, broken out of ...
14131         (__printf_fp): ... local function here.  Update call sites.
14132         hack_digit now takes an additional parameter that is a pointer
14133         to a struct of the referenced locals.  Those locals moved inside
14134         the struct and references updated.
14136 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14138         * aclocal.m4: Require autoconf 2.69.
14139         * configure: Regenerated.
14140         * sysdeps/aarch64/configure: Likewise.
14141         * sysdeps/alpha/configure: Likewise.
14142         * sysdeps/arm/armv7/configure: Likewise.
14143         * sysdeps/arm/configure: Likewise.
14144         * sysdeps/ia64/configure: Likewise.
14145         * sysdeps/mach/configure: Likewise.
14146         * sysdeps/mips/configure: Likewise.
14147         * sysdeps/s390/configure: Likewise.
14148         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14151         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14152         file.
14153         * sysdeps/ia64/configure.ac: Likewise.
14155 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14158         specify symbol version for ld.so.  Do not include entry for
14159         libpthread.
14160         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14161         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14162         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14164         [BZ #14171]
14165         * Makeconfig [$(build-shared) = yes]
14166         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14167         makefiles.
14168         [$(build-shared) = yes && $(soversions.mk-done) = t]
14169         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14170         [$(build-shared) = yes && $(soversions.mk-done) = t]
14171         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14172         to Makerules.
14173         [$(build-shared) = yes && $(soversions.mk-done) = t]
14174         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14175         here.
14176         [$(build-shared) = yes && $(soversions.mk-done) = t]
14177         (common-generated): Don't append gnu/lib-names.h and
14178         gnu/lib-names.stmp here.
14179         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14180         (lib-names-h-abi): New variable.
14181         [$(build-shared) = yes && $(soversions.mk-done) = t]
14182         (lib-names-stmp-abi): Likewise.
14183         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14184         abi-variants] (before-compile): Append
14185         $(common-objpfx)$(lib-names-h-abi).
14186         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14187         abi-variants] (common-generated): Append gnu/lib-names.h.
14188         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14189         abi-variants] (install-others-nosubdir): Depend on
14190         $(inst_includedir)/$(lib-names-h-abi).
14191         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14192         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14193         [$(build-shared) = yes && $(soversions.mk-done) = t]
14194         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14195         [$(build-shared) = yes && $(soversions.mk-done) = t]
14196         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14197         [$(build-shared) = yes && $(soversions.mk-done) = t]
14198         (common-generated): Append $(lib-names-h-abi) and
14199         $(lib-names-stmp-abi).
14200         * scripts/lib-names.awk: Do not handle multi being set.
14201         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14202         Remove variable.
14203         (abi-lp64_be-ld-soname): Likewise.
14204         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14205         Likewise.
14206         (abi-hard-ld-soname): Likewise.
14207         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14208         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14209         Remove variable.
14210         (abi-o32_hard-ld-soname): Likewise.
14211         (abi-o32_soft_2008-ld-soname): Likewise.
14212         (abi-o32_hard_2008-ld-soname): Likewise.
14213         (abi-n32_soft-ld-soname): Likewise.
14214         (abi-n32_hard-ld-soname): Likewise.
14215         (abi-n32_soft_2008-ld-soname): Likewise.
14216         (abi-n32_hard_2008-ld-soname): Likewise.
14217         (abi-n64_soft-ld-soname): Likewise.
14218         (abi-n64_hard-ld-soname): Likewise.
14219         (abi-n64_soft_2008-ld-soname): Likewise.
14220         (abi-n64_hard_2008-ld-soname): Likewise.
14221         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14222         Likewise.
14223         (abi-64-v2-ld-soname): Likewise.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14225         ld.so entries.
14226         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14227         variable.
14228         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14229         entry.
14230         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14231         variable.
14232         (abi-64-ld-soname): Likewise.
14233         (abi-x32-ld-soname): Likewise.
14234         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14235         entry.
14236         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14238 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14240         [BZ #14138]
14241         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14242         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14243         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14244         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14245         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14246         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14247         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14248         syscall entry for GLIBC_2.2 symbol version.
14249         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14250         Likewise.
14251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14252         (setrlimit): Likewise.
14253         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14254         Likewise.
14256 2014-09-23  Will Newton  <will.newton@linaro.org>
14258         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14259         _LINUX_ARM_SYSDEP_H include guard too.
14260         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14261         define.
14263 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14265         * sysdeps/unix/sysv/linux/eventfd.c:
14266         Make first argument unsigned.
14267         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14268         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14270 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14272         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14273         * socket/sys/socket.h: Likewise
14274         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14276 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14278         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14280 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14282         * time/tst-ftime.c: New test.
14283         * time/Makefile (tests): Add tst-ftime.
14285 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14287         * soft-fp/extended.h: Fix comment formatting.
14288         * soft-fp/op-1.h: Likewise.
14289         * soft-fp/op-2.h: Likewise.
14290         * soft-fp/op-4.h: Likewise.
14291         * soft-fp/op-8.h: Likewise.
14292         * soft-fp/op-common.h: Likewise.
14293         * soft-fp/soft-fp.h: Likewise.
14295         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14297 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14299         [BZ #6652]
14300         * Makeconfig (soversions-default-setname): Remove variable.
14301         ($(common-objpfx)soversions.i): Don't pass default_setname to
14302         soversions.awk.
14303         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14304         oldest_abi to abi-versions.awk.
14305         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14306         * config.make.in (oldest-abi): Remove variable.
14307         * configure.ac (--enable-oldest-abi): Remove configure option.
14308         * configure: Regenerated.
14309         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14310         text.
14311         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14312         * scripts/soversions.awk: Do not handle default_setname variable.
14313         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14314         variable.
14315         * sysdeps/mach/hurd/configure: Regenerated.
14316         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14317         variable.
14318         * sysdeps/unix/sysv/linux/configure: Regenerated.
14320 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14322         * elf/Makefile (CFLAGS-interp.c): Remove.
14323         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14324         path string.
14325         * elf/interp.c: Include generated runtime-linker.h
14327         * Makerules (lib%.so): Don't include $(+interp) in
14328         prerequisites.
14329         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14330         * dlfcn/eval.c: Remove file.
14332         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14333         macros.
14335         [BZ #17266]
14336         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14337         4.2 and newer.
14339         [BZ #17370]
14340         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14342 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14343             Jakub Jelinek  <jakub@redhat.com>
14345         [BZ #17266]
14346         * libio/stdio.h: Check definition of __fortify_function
14347         instead of __extern_always_inline to include bits/stdio2.h.
14348         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14349         check if __extern_always_inline is defined.
14350         [__USE_MISC || __USE_XOPEN]: Likewise.
14351         [__USE_ISOC99] Likewise.
14352         * misc/sys/cdefs.h (__fortify_function): Define only if
14353         __extern_always_inline is defined.
14354         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14355         __extern_always_inline and __extern_inline only for g++-4.3
14356         and newer or a compatible gcc.
14358 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14360         [BZ #17371]
14361         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14362         last change to handle zero prefix length.
14364 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14366         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14367         _SC_REGEX_VERSION.
14369         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14370         _POSIX_RAW_SOCKETS.
14372 2014-09-13  Allan McRae  <allan@archlinux.org>
14374         * po/ru.po: Update Russian translation from translation project.
14376 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14378         * locale/programs/locale.c (show_locale_vars): Inline local function
14379         into its sole call site.  Clean up some style nits.
14380         (print_item): New function, broken out of ...
14381         (show_info): ... local function here.  Clean up style nits.
14383         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14384         out of ...
14385         (set_class_defaults): ... local function set_default here.
14386         Define set_default as a macro locally to pass constant parameters.
14387         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14388         rather than a shared local.
14390         * stdlib/rpmatch.c (try): New function, broken out of ...
14391         (rpmatch): ... local function here.  Also, prototypify definition.
14393 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14395         * scripts/soversions.awk: Do not handle configuration names.
14396         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14397         vendor and os variables to soversions.awk.
14398         * configure.ac: Do not modify gnu-* host_os.
14399         * configure: Regenerated
14400         * shlib-versions: Remove first column with configuration names.
14401         * nptl/shlib-versions: Likewise.
14402         * nptl_db/shlib-versions: Likewise.
14403         * sysdeps/hppa/shlib-versions: Likewise.
14404         * sysdeps/m68k/shlib-versions: Likewise.
14405         * sysdeps/mach/hurd/shlib-versions: Likewise.
14406         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14407         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14408         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14409         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14410         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14411         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14412         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14413         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14415         Likewise.
14416         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14417         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14418         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14419         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14420         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14421         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14422         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14423         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14426         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14428         Regenerated.
14429         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14431         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14433         * shlib-versions: Remove OS-specific entries.  Moved to files in
14434         sysdeps.
14435         * sysdeps/mach/hurd/shlib-versions: New file.
14436         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14438         * nptl/shlib-versions: Remove architecture-specific entries.
14439         Moved to files in sysdeps.
14440         * shlib-versions: Likewise.
14441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14442         file.
14443         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14444         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14445         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14446         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14448         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14449         (UDP_NO_CHECK6_RX): Likewise.
14451 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14453         * sysdeps/posix/sysconf.c (__sysconf): Spell
14454         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14456 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14458         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14459         loading.
14460         * iconv/Versions (__gconv_transliterate): Export for use from
14461         gconv modules.
14462         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14463         (struct __gconv_trans_data, __gconv_trans_fct,
14464         __gconv_trans_context_fct, __gconv_trans_query_fct,
14465         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14466         definitions.
14467         (struct __gconv_step_data): Remove __trans member.
14468         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14469         longer hidden.  Remove unused trans_data argument.
14470         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14471         (__gconv_translit_find): Remove declaration.
14472         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14473         prototype.
14474         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14475         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14476         trans_data argument.  Add hidden definition.
14477         (__gconv_translit_find): Remove.
14478         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14479         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14480         * iconv/skeleton.c: Remove transliteration initialization.
14481         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14482         __gconv_step_data initialization.
14483         * libio/iofwide.c (__libio_translit_): Remove.
14484         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14485         * wcsmbs/btowc.c (__btowc): Likewise.
14486         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14487         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14488         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14489         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14490         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14491         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14492         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14493         * wcsmbs/wctob.c (wctob): Likewise.
14495 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497         [BZ #16194]
14498         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14499         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14500         register usage.
14501         * sysdeps/x86/Makefile: Adjust.
14503 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14504             Roland McGrath  <roland@hack.frob.com>
14506         * locale/weight.h: Add include guard.
14507         (findidx): Make static rather than auto; take new parameters
14508         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14509         * locale/weightwc.h: Likewise.
14510         * posix/fnmatch_loop.c
14511         (FCT): Change type of EXTRA from int32_t to wint_t.
14512         Don't include either header inside the function.
14513         Call FINDIDX rather than findidx, and pass new arguments.
14514         #undef FINDIDX at the end of the file.
14515         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14516         FINDIDX before including fnmatch_loop.c for the non-wide version.
14517         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14518         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14519         for the wide version.
14520         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14521         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14522         Pass new arguments to findidx.
14523         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14524         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14525         Don't #include it inside the function.  Pass new arguments to findidx.
14526         * posix/regex_internal.h
14527         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14528         (re_string_elem_size_at): Don't #include it inside the function.
14529         Pass new arguments to findidx.
14530         * string/strcoll_l.c: #include WEIGHT_H at top level.
14531         (get_next_seq): Don't #include it inside the function.
14532         Pass new arguments to findidx.
14533         (get_next_seq_nocache): Likewise.
14534         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14535         (STRXFRM): Don't #include it inside the function.
14536         Pass new arguments to findidx.
14538 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14540         [BZ #17344]
14541         * malloc/malloc.c (unlink): Turn asserts into a call to
14542         malloc_printerr.
14544 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14546         [BZ #17370]
14547         * libio/wfileops (do_ftell_wide): Free OUT.
14549 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14551         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14553 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14555         [BZ #17363]
14556         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14557         group if the current group is empty.
14559 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14561         * benchtests/bench-memset.c (test_main): Add more test from size
14562         from 32 to 512 bytes.
14563         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14564         Add POWER8 memset object.
14565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14566         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14567         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14568         implementation.
14569         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14570         Likewise.
14571         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14572         multiarch POWER8 memset optimization.
14573         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14574         POWER8 memset optimization.
14576         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14577         Remove bzero multiarch objects.
14578         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14579         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14580         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14581         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14582         Remove define.
14583         [__bzero]: Redefine to specific name.
14584         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14585         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14586         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14587         define.
14588         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14589         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14591 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14593         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14594         warnings into errors.
14596         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14597         __cxa_thread_atexit_impl prototype.
14599 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14601         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14602         Fix capitalization of error message.
14604 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14606         * sysdeps/mips/preconfigure: Modify ABI tests.
14608 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14610         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14612 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14613             Carlos O'Donell  <carlos@systemhalted.org>
14615         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14616         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14617         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14618         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14619         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14620         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14621         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14622         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14623         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14624         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14625         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14626         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14627         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14628         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14629         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14630         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14631         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14632         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14633         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14634         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14635         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14636         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14637         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14638         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14639         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14640         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14641         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14642         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14643         Deconditionalize the code that was previously under [RESET_PID].
14644         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14645         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14646         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14647         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14648         include sysdep.h.
14650 2014-09-08  Allan McRae  <allan@archlinux.org>
14652         * version.h (RELEASE): Set to "development".
14653         (VERSION): Set to "2.20.90"
14655 2014-09-07  Allan McRae  <allan@archlinux.org
14657         * version.h (RELEASE): Set to "stable".
14658         (VERSION): Set to "2.20"
14659         * include/features.h (__GLIBC_MINOR__): Set to 20.
14661         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14662         Liebler.
14664         * po/ko.po: Update Korean translation from translation project.
14666 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14668         [BZ #17354]
14669         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14670         macro for handling signed relocations.
14672 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14674         [BZ #17325]
14675         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14676         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14677         assert.
14678         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14679         * iconvdata/ibm935.c (BODY): Likewise.
14680         * iconvdata/ibm937.c (BODY): Likewise.
14681         * iconvdata/ibm939.c (BODY): Likewise.
14682         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14683         assert.
14684         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14685         script.
14686         * iconvdata/run-iconv-test.sh: New test loop for checking for
14687         decoder crashers.
14689 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14691         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14692         libm_hidden_ver.
14694 2014-09-01  Allan McRae  <allan@archlinux.org>
14696         * po/eo.po: Update Esperanto translation from translation project.
14698         * po/ca.po: Update Catalan translation from translation project.
14700 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14702         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14703         __proc_dostop call.
14705 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14707         [BZ #17319]
14708         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14709         to call set_thread_area instead of hand written asm.
14710         (__NR_set_thread_area): Removed define.
14711         (TLS_FLAG_WRITABLE): Likewise.
14712         (__ASSUME_SET_THREAD_AREA): Remove check.
14713         (TLS_EBX_ARG): Remove define.
14714         (TLS_LOAD_EBX): Likewise.
14716 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14718         Simplify atomicity of socket creation in bind.
14720         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14721         looking up the name after linking the file.
14723 2014-08-27  Allan McRae  <allan@archlinux.org>
14725         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14727 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14729         [BZ #17187]
14730         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14731         trans_compare, open_translit, __gconv_translit_find):
14732         Remove module loading code.
14734 2014-08-26  Allan McRae  <allan@archlinux.org>
14736         * po/vi.po: Update Vietnamese translation from translation project.
14738         * po/uk.po: Update Ukrainian translation from translation project.
14740         * po/fr.po: Update French translation from translation project.
14742         * po/ru.po: Update Russian translation from translation project.
14744         * po/pl.po: Update Polish translation from translation project.
14746         * po/cs.po: Update Czech translation from translation project.
14748         * po/de.po: Update German translation from translation project.
14750         * po/bg.po: Update Bulgarian translation from translation project.
14752         * po/sv.po: Update Sweedish translation from translation project.
14754         * po/nl.po: Update Dutch translation from translation project.
14756         * po/es.po: Update Spanish translation from translation project.
14758 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14760         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14762         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14763         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14764         (CPPFLAGS-iconvconfig): Likewise.
14765         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14767         * include/libc-symbols.h: Remove unnecessary check for
14768         NOT_IN_libc.
14769         * nptl/pthreadP.h: Likewise.
14770         * sysdeps/aarch64/setjmp.S: Likewise.
14771         * sysdeps/alpha/setjmp.S: Likewise.
14772         * sysdeps/arm/sysdep.h: Likewise.
14773         * sysdeps/i386/setjmp.S: Likewise.
14774         * sysdeps/m68k/setjmp.c: Likewise.
14775         * sysdeps/posix/getcwd.c: Likewise.
14776         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14777         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14778         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14779         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14780         * sysdeps/sh/sh3/setjmp.S: Likewise.
14781         * sysdeps/sh/sh4/setjmp.S: Likewise.
14782         * sysdeps/unix/alpha/sysdep.h: Likewise.
14783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14784         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14785         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14786         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14791         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14794         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14796         * sysdeps/x86_64/setjmp.S: Likewise.
14798 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14800         [BZ #17263]
14801         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14802         <stdint.h>.
14803         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14804         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14806 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14808         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14810         [BZ #17262]
14811         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14812         and __x86_64__ when disabling x87 inline functions.
14814 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14816         [BZ #17259]
14817         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14818         asm statement with __cpuid_count.
14820 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14822         * configure.ac: Change __ehdr_start code to dereference the struct.
14823         Run readelf on the output to look for relocations.
14824         * configure: Regenerated.
14826 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14828         [BZ #17261]
14829         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14830         value to 0.
14831         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14833 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14835         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14837 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14839         [BZ #16892]
14840         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14841         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14843 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14845         * malloc/malloc.c: Fix typo in comment.
14847 2014-08-09  Allan McRae  <allan@archlinux.org>
14849         * Regenerate libc.po.
14851 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14853         * intl/tst-gettext2.sh: Check every lang file for creation.
14855 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14857         * sysdeps/aarch64/fpu/math_private.h
14858         (libc_feholdsetround_noex_aarch64_ctx): New function.
14860 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14862         * sysdeps/arm/armv6/strcpy.S (strcpy):
14863         Fix performance issue in misaligned cases.
14865 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14867         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14868         Move definition from termios.h.
14869         (struct termio): Likewise.
14870         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14871         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14872         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14873         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14874         Likewise.
14875         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14876         Move definition to ioctl-types.h
14877         (struct termio): Likewise.
14878         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14879         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14880         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14881         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14882         Likewise.
14884 2014-08-05  Richard Henderson  <rth@redhat.com>
14886         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14887         exceptions.
14888         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14889         Add fraiseexcpt.
14890         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14891         Use __feraiseexcept.
14892         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14893         Protect libm symbols with IS_IN_libm.
14895         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14897 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14899         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14901 2014-08-04  Will Newton  <will.newton@linaro.org>
14903         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14904         file.
14906 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14908         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14909         variants for each function.
14911 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14913         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14914         appended ...
14915         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14916         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14917         appended ...
14918         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14919         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14920         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14921         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14922         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14923         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14924         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14925         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14926         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14927         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14928         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14929         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14930         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14931         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14932         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14933         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14934         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14935         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14936         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14937         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14938         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14939         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14940         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14941         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14942         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14944         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14945         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14946         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14947         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14948         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14950         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14951         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14952         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14953         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14954         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14955         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14956         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14957         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14958         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14960         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14962         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14964         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14965         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14966         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14967         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14968         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14969         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14970         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14971         Update #include.
14972         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14973         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14975 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14977         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14978         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14979         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14980         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14981         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14982         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14984 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14986         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14987         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14988         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14989         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14991 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14993         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14994         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14995         (__libc_vfork): Define function under this name.
14996         (__vfork): Define as an alias.
14997         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14998         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15000 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15002         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15003         that was previously under [RESET_PID].
15004         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15006 2014-08-04  Andreas Schwab  <schwab@suse.de>
15008         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15010 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
15012         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15013         (main): Likewise.
15015 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15017         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15019 2014-08-01  Richard Henderon  <rth@redhat.com>
15021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15022         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15023         typo in exact zero test.
15024         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15025         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15028 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15030         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15031         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15032         * sysdeps/arm/sysdep.h: ... here.
15033         [!__ASSEMBLER__]: Include <stdint.h>.
15035 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15037         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15038         (HAVE_WCTYPE_H): Likewise.
15039         (HAVE_ISWCTYPE): Likewise.
15040         (ENABLE_NLS): Likewise.
15041         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15042         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15044         * posix/regex_internal.c: Check if DEBUG is defined and is
15045         set.
15047         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15048         (HAVE_MBSRTOWCS): Likewise.
15049         * posix/fnmatch.c: Include string.h unconditionally.
15051 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15053         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15054         reversal.
15056 2014-07-31  Roland McGrath  <roland@hack.frob.com>
15058         * sysdeps/generic/safe-fatal.h: New file.
15059         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15060         * nptl/forward.c: Include it.
15061         (__pthread_unwind): Use __safe_fatal as default action, rather
15062         than a bogus use of INTERNAL_SYSCALL that could never work.
15064         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15065         * configure.ac (libc_cv_builtin_trap): New test.
15066         * configure: Regenerated.
15067         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15068         (ABORT_INSTRUCTION): Define using __builtin_trap.
15070         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15071         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15072         * sysdeps/nptl/nptl-signals.h: New file.
15073         * nptl/pthreadP.h: Include <nptl-signals.h>.
15075 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15077         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15078         (ONE_DIRECTION): Define.
15079         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15080         (ONE_DIRECTION): Define.
15081         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15082         (ONE_DIRECTION): Define.
15084 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15086         * sysdeps/s390/Makefile: Delete file.
15087         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15088         * sysdeps/s390/__longjmp.c: Delete file.
15089         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15090         Remove fields __flags and __reserved.
15091         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15092         and add versioning.
15093         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15094         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15095         * sysdeps/s390/rtld-setjmp.S: Likewise.
15096         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15097         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15098         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15099         * sysdeps/s390/s390-32/setjmp.S: ... here.
15100         Add versioning.
15101         (__sigsetjmp): Remove setting __flags field.
15102         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15103         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15104         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15105         * sysdeps/s390/s390-64/setjmp.S: ... here.
15106         Add versioning.
15107         (__sigsetjmp): Remove setting __flags field.
15108         * sysdeps/s390/setjmp.S: Delete file.
15109         * sysdeps/s390/sigjmp.c: Likewise.
15110         * sysdeps/s390/v1-longjmp.c: Likewise.
15111         * sysdeps/s390/v1-setjmp.h: Likewise.
15112         * sysdeps/s390/v1-sigjmp.c: Likewise.
15113         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15114         Remove v1-longjmp_chk.
15115         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15116         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15117         Include debug/longjmp_chk.c and add versioning.
15118         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15119         Include nptl/pt-longjmp.c and add versioning.
15120         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15121         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15122         Include __longjmp.c.
15123         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15124         Move to ...
15125         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15126         (__getcontext): Remove setting __flags field.
15127         Add versioning.
15128         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15129         Don't restore upper high grps.
15130         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15131         Likewise.
15132         (__swapcontext): Remove setting uc_flags field.
15133         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15134         Delete file.
15135         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15136         Include __longjmp.c.
15137         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15138         Move to ...
15139         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15140         (__getcontext): Remove setting __flags field.
15141         Add versioning.
15142         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15143         (__swapcontext): Remove setting uc_flags field.
15144         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15145         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15146         Remove fields uc_high_gprs and __reserved.
15147         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15148         New file with reverted content.
15149         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15150         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15151         Regenerated.
15152         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15153         Regenerated.
15155 2014-07-31  Andreas Schwab  <schwab@suse.de>
15157         * config.h.in (HAVE_IFUNC): Define to 0.
15158         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15159         definedness.
15161 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15164         memmove-avx-unaligned, memcpy-avx-unaligned and
15165         mempcpy-avx-unaligned.
15166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15167         Add tests for AVX memcpy functions.
15168         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15169         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15170         memcpy_chk.
15171         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15172         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15173         memmove_chk.
15174         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15175         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15176         mempcpy_chk.
15177         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15178         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15179         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15181 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15183         [BZ #17213]
15184         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15185         powerpc64le.
15187 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15189         [BZ #16839]
15190         * manual/llio.texi: Add section about open file description locks.
15191         * manual/examples/ofdlocks.c: Example of open file description
15192         lock usage.
15193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15194         F_OFD_SETLK, and F_OFD_SETLKW.
15196 2014-07-23  Allan McRae  <allan@archlinux.org>
15198         * po/es.po: Update Spanish translation from translation project.
15200 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15202         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15204 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15206         [BZ #17078]
15207         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15208         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15209         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15211 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15213         [BZ #17088]
15214         * math/fesetenv.c (__fesetenv)
15215         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15216         * math/feupdateenv.c (__feupdateenv)
15217         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15219         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15220         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15221         (__ASSUME_SOCKETCALL): Do not define.
15223         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15224         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15225         (__ASSUME_SOCKETCALL): Do not define.
15226         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15227         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15228         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15229         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15230         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15231         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15232         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15233         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15235         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15236         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15237         (__ASSUME_SOCKETCALL): Do not define.
15238         (__ASSUME_IPC64): Define unconditionally.
15239         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15240         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15241         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15242         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15243         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15244         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15245         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15246         Likewise.
15248         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15249         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15250         (__ASSUME_SOCKETCALL): Do not define.
15251         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15252         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15253         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15254         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15255         (__ASSUME_REQUEUE_PI): Define unconditionally.
15256         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15257         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15258         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15259         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15260         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15261         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15263         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15264         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15265         (__ASSUME_SOCKETCALL): Do not define.
15266         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15267         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15268         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15269         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15271         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15273         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15274         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15275         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15276         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15277         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15278         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15279         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15280         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15281         (__ASSUME_GETCPU_SYSCALL): Likewise.
15283         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15284         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15285         cases for individual architectures.
15286         * sysdeps/gnu/configure: Regenerated.
15287         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15288         LIBC_SLIBDIR_RTLDDIR.
15289         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15290         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15291         LIBC_SLIBDIR_RTLDDIR.
15292         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15294         LIBC_SLIBDIR_RTLDDIR.
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15296         Regenerated.
15297         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15298         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15299         file.
15300         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15301         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15302         file.
15303         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15304         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15305         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15306         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15308         * sysdeps/aarch64/shlib-versions: Move to ...
15309         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15310         * sysdeps/alpha/shlib-versions: Move to ...
15311         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15312         * sysdeps/arm/shlib-versions: Move to ...
15313         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15314         * sysdeps/hppa/shlib-versions: Move all contents except for
15315         libgcc_s entry to ...
15316         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15317         entry from ...
15318         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15319         * sysdeps/ia64/shlib-versions: Move to ...
15320         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15321         entry from ...
15322         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15323         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15324         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15325         * sysdeps/microblaze/shlib-versions: Move to ...
15326         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15327         * sysdeps/mips/shlib-versions: Move to ...
15328         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15329         entry from ...
15330         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15331         * sysdeps/tile/shlib-versions: Move to ...
15332         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15333         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15334         from ...
15335         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15336         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15337         entry from ...
15338         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15340 2014-07-17  Will Newton  <will.newton@linaro.org>
15342         * sysdeps/arm/bits/atomic.h
15343         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15344         (__arch_compare_and_exchange_bool_16_int): Likewise.
15345         (__arch_compare_and_exchange_bool_64_int): Likewise.
15347         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15348         into an #else block.
15350 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15352         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15353         just Linux configurations.  Test empirically that the compiler sets
15354         __ARM_EABI__, rather than using the tuple to decide.
15355         * sysdeps/arm/preconfigure: Regenerated.
15356         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15357         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15358         contents appended ...
15359         * sysdeps/arm/configure.ac: ... here.
15360         * sysdeps/arm/configure: Regenerated.
15362 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15364         * nptl/pthread_kill.c: New file.
15365         * nptl/pthread_sigmask.c: New file.
15366         * nptl/pthread_sigqueue.c: New file.
15368         * sysdeps/nptl/lowlevellock.h: New file.
15369         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15370         * sysdeps/nptl/lowlevellock-futex.h: New file.
15372         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15373         Remove dead declarations.
15375 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15377         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15378         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15379         config-cflags-avx2.
15380         * sysdeps/x86_64/configure.ac: Likewise.
15381         * sysdeps/i386/configure: Regenerated.
15382         * sysdeps/x86_64/configure: Likewise.
15383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15384         memset-avx2 only if config-cflags-avx2 is yes.
15385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15386         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15387         defined.
15388         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15389         only if HAVE_AVX2_SUPPORT is defined.
15390         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15392 2014-07-14  Alan Modra  <amodra@gmail.com>
15394         [BZ #17153]
15395         * elf/elf.h (DT_PPC64_NUM): Correct value.
15396         * NEWS: Add to fixed bug list.
15398 2014-07-13  Jim Meyering  <meyering@fb.com>
15400         [BZ 17150]
15401         regex: don't deref NULL upon heap allocation failure
15402         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15403         failure in one more place.
15404         To trigger the segfault, configure grep -with-included-regex,
15405         build it, and run these commands:
15406         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15408 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15410         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15412 2014-07-11  Richard Henderson  <rth@redhat.com>
15414         * sysdeps/aarch64/libm-test-ulps: Update.
15416 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15418         [BZ #17135]
15419         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15420         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15421         (__nptl_setxid): Initialize error member.  Call
15422         __nptl_setxid_error.
15423         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15424         * nptl/descr.h (struct xid_command): Add error member.
15425         * nptl/tst-setuid3.c: New file.
15426         * nptl/Makefile (tests): Add it.
15428 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15430         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15431         New define.
15432         (__lll_trylock): Use __lll_base_trylock.
15433         (__lll_cond_trylock): Likewise.
15435 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15437         * nptl/pthread_create.c (start_thread): Use atomic_or and
15438         lll_futex_wake directly rather than lll_robust_dead.
15439         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15440         (lll_robust_dead): Macro removed.
15441         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
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         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15458         Use atomic_compare_and_exchange_val_acq directly rather than
15459         lll_robust_trylock.
15460         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15461         (__lll_robust_trylock, lll_robust_trylock): Removed.
15462         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15463         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15464         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15465         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15466         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15467         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15468         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15469         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15470         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15471         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15472         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15473         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15474         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15475         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15477 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15479         * manual/locale.texi (Locale Names): New section documenting
15480         locale name syntax.  Adjust menu and node chaining accordingly.
15481         (Choosing Locale): Reference Locale Names, Locale Categories.
15482         Mention setting LC_ALL=C.  Reflect that name syntax is now
15483         documented.
15484         (Locale Categories): New section title.  Reference Locale Names.
15485         LC_ALL is an environment variable, but not a category.
15486         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15487         description, now in Locale Name.  Reference that section.  Locale
15488         name syntax is now documented.
15490 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15492         [BZ #17137]
15493         * locale/findlocale.c (name_present, valid_locale_name): New
15494         functions.
15495         (_nl_find_locale): Use the loc_name variable to store name
15496         candidates.  Call name_present and valid_locale_name to check and
15497         validate locale names.  Return an error if the locale is invalid.
15499 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15501         * locale/setlocale.c (setlocale): Use strdup for allocating
15502         composite name copy.
15504 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506         Sync up with gnulib.
15507         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15508         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15509         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15510         and _GL_ARG_NONNULL.
15511         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15512         [!_LIBC]: Include code for Windows and Cygwin.
15513         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15514         Include prototype for int strerror_r.
15515         [!_LIBC] (is_open): New function.
15516         (flush_stdout): New function.
15517         (print_errno_message): Use it.
15518         (error): Likewise.
15519         (error_at_line): Likewise.
15520         (error_tail) Add function attribute macros.  Use
15521         __builtin_expect.
15523         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15525         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15527         * io/ftw.c: Include sys/param.h unconditionally.
15529         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15531         [BZ #17125]
15532         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15533         libc_freeres_ptr.
15534         (freecache): New function to free CACHE on exit.
15536         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15537         initialization.
15539 2014-07-09  David S. Miller  <davem@davemloft.net>
15541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15543         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15544         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15545         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15546         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15547         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15548         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15549         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15550         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15551         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15552         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15553         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15554         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15555         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15557 2014-07-09  Andreas Schwab  <schwab@suse.de>
15559         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15560         output.
15561         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15562         (do_test): Likewise.
15564         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15566 2014-07-09  Will Newton  <will.newton@linaro.org>
15568         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15569         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15570         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15571         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15572         * sysdeps/hppa/start.S (_start): Likewise.
15574 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15576         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15578         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15579         defined.
15581 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15583         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15584         after checking that it is non-NULL.
15586         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15588 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15590         * sysdeps/powerpc/memmove.c: Remove file.
15591         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15592         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15594         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15596         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15597         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15598         string memmove instead of removed powerpc one.
15600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15601         [weak_alias]: Fix compiler warning due trailing data.
15602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15603         [weak_alias]: Likewise.
15604         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15605         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15608         (__libc_ifunc_impl_list): Add memmove functions.
15610 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15613         Remove code.
15614         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15615         Likewise
15616         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15617         Likewise
15618         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15619         Likewise
15620         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15621         Likewise
15622         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15623         Likewise
15624         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15625         Likewise
15626         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15627         Likewise
15628         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15629         Likewise
15630         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15631         Likewise
15632         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15633         Likewise
15634         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15635         Likewise
15636         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15637         Likewise
15638         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15639         Likewise
15640         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15641         Likewise
15642         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15643         Likewise
15644         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15645         Likewise
15647 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15649         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15650         to avoid alignment traps in non-cacheable memory.
15651         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15654         multiarch objects.
15655         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15656         file: multiarch power7 memmove.
15657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15658         multiarch default memmove.
15659         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15660         multiarch memove for powerpc32/power4.
15662         * string/bcopy.c: Use full path to include memmove.c.
15663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15664         multiarch objects.
15665         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15666         bcopy for powerpc64.
15667         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15668         bcopy for powerpc64.
15669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15670         and memmove implementations.
15671         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15672         optimized multiarch memmove for POWER7/powerpc64.
15673         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15674         default multiarch memmove for powerpc64.
15675         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15676         multiarch for powerpc64.
15677         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15678         for POWER7/powerpc64.
15679         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15680         memmove for POWER7/powerpc64.
15682         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15683         glibc default one.
15685         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15686         __ELF_NATIVE_CLASS equal to 64.
15688 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15690         * sysdeps/nptl/lowlevellock.h: File removed.
15692         * NEWS: NPTL is no longer an add-on!
15693         * nptl/internaltypes.h: Moved ...
15694         * sysdeps/nptl/internaltypes.h: ... here.
15695         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15696         * sysdeps/nptl/fork.c: Likewise.
15697         * sysdeps/nptl/gai_misc.h: Likewise.
15698         * sysdeps/nptl/librt-cancellation.c: Likewise.
15699         * sysdeps/nptl/jmp-unwind.c: Likewise.
15700         * sysdeps/nptl/setxid.h: Likewise.
15701         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15702         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15703         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15704         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15705         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15706         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15707         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15708         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15709         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15710         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15711         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15712         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15713         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15714         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15715         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15716         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15717         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15718         * nptl/Makeconfig: Moved ...
15719         * sysdeps/nptl/Makeconfig: ... here.
15720         * nptl/configure: File removed.
15721         * nptl/ANNOUNCE: File removed.
15722         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15723         * sysdeps/unix/sysv/linux/configure: Regenerated.
15725         * nptl/Makefile (routines): Add libc_pthread_init,
15726         libc_multiple_threads, register-atfork and unregister-atfork.
15727         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15728         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15729         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15730         pthread-pi-defines.sym, structsem.sym.
15731         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15732         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15733         [$(subdir) = nptl] (tests): Add tst-setgetname.
15734         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15735         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15736         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15737         [!LIBC_SIGACTION]: Remove aliases.
15738         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15739         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15740         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15741         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15742         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15743         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15744         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15745         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15746         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15747         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15748         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15749         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15750         __libc_allocate_rtsig_private.
15751         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15752         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15753         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15754         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15755         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15756         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15757         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15758         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15759         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15760         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15761         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15762         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15763         * nptl/internaltypes.h: ... here.
15764         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15765         * sysdeps/nptl/jmp-unwind.c: ... here.
15766         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15767         * nptl/libc-lowlevellock.c: ... here.
15768         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15769         * nptl/libc_multiple_threads.c: ... here.
15770         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15771         * nptl/libc_pthread_init.c: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15773         * nptl/lowlevelbarrier.sym: ... here.
15774         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15775         * nptl/lowlevelcond.sym: ... here.
15776         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15777         * nptl/lowlevellock.c: ... here.
15778         * nptl/lowlevellock.h: Moved ...
15779         * sysdeps/nptl/lowlevellock.h: ... here.
15780         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15781         * nptl/lowlevelrobustlock.c: ... here.
15782         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15783         * nptl/lowlevelrobustlock.sym: ... here.
15784         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15785         * nptl/lowlevelrwlock.sym: ... here.
15786         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15787         * nptl/pt-fork.c: ... here.
15788         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15789         * nptl/pthread-pi-defines.sym: ... here.
15790         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15791         * nptl/pthread_attr_getaffinity.c: ... here.
15792         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15793         * nptl/pthread_attr_setaffinity.c: ... here.
15794         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15795         * nptl/pthread_mutex_cond_lock.c: ... here.
15796         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15797         Update #include.
15798         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15799         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15800         * nptl/pthread_once.c: ... here, replacing old file.
15801         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15802         * nptl/pthread_yield.c: ... here.
15803         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15804         * nptl/register-atfork.c: ... here.
15805         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15806         * nptl/sem_post.c: ... here.
15807         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15808         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15809         * nptl/sem_timedwait.c: ... here.
15810         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15811         * nptl/sem_trywait.c: ... here.
15812         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15813         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15814         * nptl/sem_wait.c: ... here.
15815         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15816         * nptl/structsem.sym: ... here.
15817         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15818         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15819         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15820         * nptl/unregister-atfork.c: ... here.
15821         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15822         * nptl/unwindbuf.sym: ... here.
15823         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15824         * sysdeps/nptl/fork.c: ... here.
15825         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15826         * sysdeps/nptl/fork.h: ... here.
15827         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15828         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15829         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15830         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15831         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15832         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15833         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15834         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15835         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15836         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15837         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15838         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15839         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15840         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15841         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15842         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15843         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15845         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15846         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15847         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15848         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15849         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15850         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15851         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15852         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15853         * sysdeps/unix/sysv/linux/raise.c: ... here.
15854         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15855         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15856         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15857         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15858         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15859         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15860         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15861         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15862         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15863         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15864         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15865         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15866         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15867         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15868         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15870 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15872         * sysdeps/generic/memcopy.h: Add comment for
15873         MEMCPY_OK_FOR_FWD_MEMMOVE.
15875 2014-07-04  Will Newton  <will.newton@linaro.org>
15877         * string/memchr.c: Merge from gnulib.
15878         [_LIBC]: Remove conditionals.
15879         (__ptr_t): Remove define.
15880         (LONG_MAX_32_BITS): Likewise.
15881         (LONG_MAX): Likewise.
15882         (MEMCHR): Use ANSI prototype and optimize algorithm.
15884         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15886 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15888         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15889         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15891         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15892         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15893         in a bare environment with no <stdlib.h> installed.
15894         * sysdeps/nptl/configure: Regenerated.
15896         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15898         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15899         AC_EGREP_CPP for kernel header checks, so they only succeed if
15900         including <linux/version.h> actually works right.
15901         * sysdeps/unix/sysv/linux/configure: Regenerated.
15903         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15904         value so it's not diagnosed as unused.
15906         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15907         thing) with "ifeq ($(subdir),rt)".
15909 2014-07-03  Richard Henderson  <rth@redhat.com>
15911         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15912         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15913         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15915         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15916         (math_force_eval): New.
15918         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15919         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15921         * sysdeps/alpha/fpu/s_round.c: Remove file.
15922         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15924         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15925         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15926         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15927         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15928         (_dl_start, print_statistics): Likewise.
15929         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15930         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15932         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15933         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15934         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15935         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15936         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15937         (HP_SMALL_TIMING_AVAIL): Define.
15938         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15939         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15940         (HP_SMALL_TIMING_AVAIL): Define.
15941         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15942         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15944         * sysdeps/aarch64/hp-timing.h: New file.
15946         * sysdeps/generic/hp-timing.h: Remove dead comment.
15947         * sysdeps/generic/hp-timing-common.h: New file.
15948         * sysdeps/alpha/hp-timing.h: Include it.
15949         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15950         * sysdeps/i386/i686/hp-timing.h: Likewise.
15951         * sysdeps/ia64/hp-timing.h: Likewise.
15952         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15953         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15954         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15955         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15956         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15957         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15958         (hp_timing_t): New.
15960         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15961         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15962         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15963         * elf/rtld.c (_dl_start_final): Likewise.
15964         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15965         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15966         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15967         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15968         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15969         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15970         (HP_TIMING_DIFF_INIT): Remove.
15971         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15972         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15973         (HP_TIMING_DIFF_INIT): Remove.
15974         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15975         * sysdeps/i386/i686/hp-timing.c: Remove file.
15976         * sysdeps/x86_64/hp-timing.c: Remove file.
15977         * sysdeps/ia64/hp-timing.c: Remove file.
15978         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15979         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15980         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15981         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15983         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15984         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15985         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15986         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15987         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15988         (HP_TIMING_ACCUM): Remove.
15989         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15991         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15993         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15994         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15995         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15996         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15997         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15998         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15999         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16000         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16002         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16004 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
16006         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16008 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16010         Sync up with gettext.
16011         * intl/loadmsgcat.c: Define O_BINARY if not defined.
16012         [_MSC_VER]: Include malloc.h
16013         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16014         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16015         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
16016         TEMP_FAILURE_RETRY.  Cast return of alloca.
16017         [!_LIBC] Call gl_rwlock_init.
16018         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16020 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16022         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16023         before checking its value.
16025 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16027         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16029         * debug/memcpy_chk.c: Don't include pagecopy.h.
16030         * debug/mempcpy_chk.c: Likewise.
16031         * string/memcpy.c: Likewise.
16032         * string/memmove.c: Likewise.
16033         * sysdeps/powerpc/memmove.c: Likewise.
16034         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
16035         definition of PAGE_COPY_FWD_MAYBE here...
16036         * sysdeps/generic/pagecopy.h: ... from here.
16037         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16039 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16040             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16042         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16044         optimizations.
16045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16046         (__libc_ifunc_impl_list): Likewise.
16047         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16048         multiarch strcat for PPC64.
16049         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16050         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16052 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16054         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16056 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16058         * intl/loadmsgcat.c: Remove declaration of
16059         get_sysdep_segment_value.
16060         (get_sysdep_segment_value): Use ISO C style.
16061         (_nl_load_domain): Use ISO C style.  Get rid of redundant
16062         semicolon.  Fix typo and formatting in comment.
16063         (_nl_unload_domain): Use ISO C style.
16065         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16067 2014-07-02  Will Newton  <will.newton@linaro.org>
16069         * malloc/obstack.c: Merge from gnulib master.
16070         [HAVE_CONFIG_H]: Remove conditional code.
16071         [!_LIBC]: Include config.h.
16072         [!ELIDE_CODE]: Don't include inttypes.h, include
16073         stdint.h unconditionally.
16074         (print_and_abort): Mark as _Noreturn.
16075         (_obstack_allocated_p): Mark as __attribute_pure__.
16076         (obstack_free): Rename to __obstack_free.
16077         [!__attribute__]: Remove conditional code.
16078         * malloc/obstack.h: Merge from gnulib master.
16079         [__cplusplus]: Move conditional down.
16080         [!__attribute_pure__]: Define __attribute_pure__ here
16081         if it is not already defined.
16082         (_obstack_memory_used): Mark as __attribute_pure__.
16083         [!__obstack_free]: Define as obstack_free.
16084         [__GNUC__]: Remove check for ancient NeXT gcc.
16086 2014-07-02  Will Newton  <will.newton@linaro.org>
16087             Paul Eggert  <eggert@cs.ucla.edu>
16089         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16091 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16093         * resolv/gethnamaddr.c: Add comment warning that the file is
16094         not maintained.
16096 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16098         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16099         entries.
16101         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16102         entry for aio_cancel and aio_cancel64.
16103         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16104         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16105         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16106         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16107         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16108         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16109         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16110         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16111         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16112         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16113         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16114         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16115         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16117 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16119         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16120         * nptl/pthread_mutex_lock.c: Likewise.
16121         * nptl/pthread_mutex_timedlock.c: Likewise.
16122         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16124 2014-07-01  Richard henderson  <rth@redhat.com>
16126         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16127         (__isnan, __isnanl): Remove.
16128         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16130         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16132 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16134         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16136 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16138         * resolv/nss_dns/dns-host.c (getanswer_r)
16139         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16141 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16143         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16144         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16145         undefine.
16146         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16147         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16149 2014-07-01  Roland McGrath <roland@hack.frob.com>
16151         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16152         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16154         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16155         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16157         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16158         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16159         ... here.
16160         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16161         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16163         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16164         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16165         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16166         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16168         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16169         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16170         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16171         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16172         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16173         Moved ...
16174         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16175         ... here.
16176         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16177         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16178         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16179         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16180         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16181         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16182         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16183         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16184         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16185         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16186         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16187         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16189         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16190         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16191         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16192         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16193         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16194         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16195         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16196         ... here.
16197         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16198         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16199         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16200         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16201         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16202         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16203         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16204         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16206 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16208         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16209         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16210         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16211         Add sysdep.
16213 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16217 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16219         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16220         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16222         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16224         * sysdeps/arm/libm-test-ulps: Regenerated.
16226 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16227             Roland McGrath <roland@hack.frob.com>
16229         * test-skeleton.c (signal_handler): Kill the whole process group
16230         before killing the child individually.
16231         (main): Report any failure on `setpgid'.
16233 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16235         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16236         from _TLS_H to _ARM_NPTL_TLS_H.
16237         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16238         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16240 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16242         [BZ #16539]
16243         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16244         (__expm1l): Return argument unchanged when small but not
16245         subnormal.
16247         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16248         include macro name.
16249         (_FP_UNPACK_RAW_1_P): Likewise.
16250         (_FP_PACK_RAW_1): Likewise.
16251         (_FP_PACK_RAW_1_P): Likewise.
16252         (_FP_MUL_MEAT_1_wide): Likewise.
16253         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16254         (_FP_MUL_MEAT_1_hard): Likewise.
16255         (_FP_DIV_MEAT_1_imm): Likewise.
16256         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16257         (_FP_DIV_MEAT_1_udiv): Likewise.
16258         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16259         (_FP_UNPACK_RAW_2): Likewise.
16260         (_FP_UNPACK_RAW_2_P): Likewise.
16261         (_FP_PACK_RAW_2): Likewise.
16262         (_FP_PACK_RAW_2_P): Likewise.
16263         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16264         (_FP_MUL_MEAT_2_wide): Likewise.
16265         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16266         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16267         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16268         (_FP_MUL_MEAT_2_gmp): Likewise.
16269         (_FP_DIV_MEAT_2_udiv): Likewise.
16270         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16271         (_FP_FRAC_SRL_4): Likewise.
16272         (_FP_FRAC_SRST_4): Likewise.
16273         (_FP_FRAC_SRS_4): Likewise.
16274         (_FP_UNPACK_RAW_4): Likewise.
16275         (_FP_UNPACK_RAW_4_P): Likewise.
16276         (_FP_PACK_RAW_4): Likewise.
16277         (_FP_PACK_RAW_4_P): Likewise.
16278         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16279         (_FP_MUL_MEAT_4_wide): Likewise.
16280         (_FP_MUL_MEAT_4_gmp): Likewise.
16281         (umul_ppppmnnn): Likewise.
16282         (_FP_DIV_MEAT_4_udiv): Likewise.
16283         (__FP_FRAC_ADD_4): Likewise.
16284         (__FP_FRAC_SUB_3): Likewise.
16285         (__FP_FRAC_SUB_4): Likewise.
16286         (__FP_FRAC_DEC_3): Likewise.
16287         (__FP_FRAC_DEC_4): Likewise.
16288         (__FP_FRAC_ADDI_4): Likewise.
16289         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16290         (_FP_FRAC_SRL_8): Likewise.
16291         (_FP_FRAC_SRS_8): Likewise.
16293         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16294         include macro name.
16295         (FP_UNPACK_RAW_EP): Likewise.
16296         (FP_PACK_RAW_E): Likewise.
16297         (FP_PACK_RAW_EP): Likewise.
16298         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16299         (_FP_ISSIGNAN): Likewise.
16300         (_FP_ADD_INTERNAL): Likewise.
16301         (_FP_FMA): Likewise.
16302         (_FP_CMP): Likewise.
16303         (_FP_SQRT): Likewise.
16304         (_FP_TO_INT): Likewise.
16305         (_FP_FROM_INT): Likewise.
16306         (FP_EXTEND): Likewise.
16307         (_FP_DIV_MEAT_N_loop): Likewise.
16309 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16311         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16312         throughout.
16314 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16316         [BZ #17097]
16317         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16318         result with correct sign in case of exponents that produce
16319         overflow except for X very close to 1.
16321 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16323         mktime: merge #if/#ifdef usage from glibc
16324         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16325         as that works with both Glibc's and Gnulib's style.
16326         See thread starting at Siddhesh Poyarekar's bug report at:
16327         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16329 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16331         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16332         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16333         * sysdeps/tile/tilegx/memmove.c: Remove file.
16335 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16337         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16338         abi-name definition.
16339         * scripts/soversions.awk: Do not handle or generate ABI lines.
16340         * shlib-versions: Remove ABI entries.
16341         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16342         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16344 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16347         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16348         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16349         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16351         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16353         Moved ...
16354         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16355         ... here.
16356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16357         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16359         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16361         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16363         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16365         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16367         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16369         Moved ...
16370         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16371         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16372         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16373         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16374         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16376         Moved ...
16377         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16379         Moved ...
16380         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16384         Moved ...
16385         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16387         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16389         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16390         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16391         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16393         Moved ...
16394         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16396         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16397         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16398         Moved ...
16399         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16401         Moved ...
16402         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16404         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16406         Moved ...
16407         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16408         ... here.
16409         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16410         Identical file removed.
16411         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16412         Moved ...
16413         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16415         Identical file removed.
16416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16417         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16419         Moved ...
16420         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16421         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16422         Identical file removed.
16423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16424         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16426         Identical file removed.
16427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16428         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16430         Identical file removed.
16431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16432         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16433         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16434         Identical file removed.
16435         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16436         Moved ...
16437         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16438         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16439         Identical file removed.
16440         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16441         Moved ...
16442         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16444         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16446         Identical file removed.
16447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16448         Moved ...
16449         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16450         ... here.
16451         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16452         Identical file removed.
16453         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16454         Moved ...
16455         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16457         Identical file removed.
16458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16459         Moved ...
16460         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16462         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16465         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16469         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16471         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16472         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16473         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16474         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16475         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16477 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16479         [BZ #17092]
16480         * nscd/nscd.c (monitor_child): Return exit status of child
16481         instead of return value from wait syscall.
16483 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16485         * configure.ac (libc_commonpagesize): Remove variable.
16486         (libc_relro_required): Likewise.
16487         (libc_cv_z_relro): Remove configure test.
16488         * configure: Regenerated.
16489         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16490         variable.
16491         (libc_relro_required): Likewise.
16492         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16493         (libc_relro_required): Likewise.
16494         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16495         (libc_relro_required): Likewise.
16496         * sysdeps/arm/preconfigure: Regenerated.
16497         * sysdeps/ia64/preconfigure: Remove file.
16498         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16499         variable.
16500         (libc_relro_required): Likewise.
16502         [BZ #16561]
16503         [BZ #16562]
16504         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16505         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16506         recompute overflowing results in original rounding mode.
16507         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16508         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16509         recompute overflowing results in original rounding mode.
16510         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16511         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16512         recompute overflowing results in original rounding mode.
16513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16514         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16515         recompute overflowing results in original rounding mode.
16516         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16517         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16518         recompute overflowing results in original rounding mode.
16519         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16520         (libc_feholdsetround_ctx): New macro.
16521         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16522         * sysdeps/i386/fpu/libm-test-ulps: Update.
16523         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16525 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16527         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16528         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16529         corresponding .cpsetup call.
16531 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16533         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16534         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16535         * sysdeps/arm/Makefile [$(subdir) = csu]
16536         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16537         (static-only-routines): Add aeabi_read_tp here.
16538         (shared-only-routines): Add libc-aeabi_read_tp here.
16539         (CFLAGS-libc-start.c): Add -fexceptions here.
16540         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16541         (sysdep_routines, static-only-routines, shared-only-routines):
16542         Don't add to these here.
16543         (CFLAGS-libc-start.c): Likewise.
16545         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16546         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16547         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16548         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16549         * sysdeps/arm/Makefile [$(subdir) = rt]
16550         (librt-sysdep_routines, librt-shared-only-routines):
16551         Append rt-aeabi_unwind_cpp_pr1 here.
16552         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16553         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16554         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16555         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16556         Append nptl-aeabi_unwind_cpp_pr1 here.
16557         (tests): Filter out tst-cleanupx4 here.
16558         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16559         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16560         Don't do those here.
16562 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16564         * scripts/list-sources.sh: Do not handle ports specially.
16566 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16568         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16569         * sysdeps/arm/feupdateenv.c: Likewise.
16571         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16573 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16575         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16576         trailing whitespace removed.
16577         * scripts/config.guess: Update to version 2014-03-23.
16578         * scripts/config.sub: Update to version 2014-05-01
16579         * scripts/install-sh: Update to version 2013-12-25.23.
16580         * scripts/move-if-change: Update from gnulib.
16582 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16584         * debug/memmove_chk.c: Remove pagecopy.h include.
16586 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16588         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16589         identical to gnulib mktime.
16591 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16593         * configure.ac: Do not test for machine being rs6000.  Do not test
16594         for powerpc*-*soft.
16595         * configure: Regenerated.
16597         [BZ #11505]
16598         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16599         test.
16600         * configure: Regenerated.
16601         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16602         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16603         Remove configure test.
16604         * sysdeps/arm/configure: Regenerated.
16605         * sysdeps/nptl/configure.ac: Do not check
16606         libc_cv_asm_cfi_directives.
16607         * sysdeps/nptl/configure: Regenerated.
16608         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16609         * sysdeps/x86_64/nptl/configure: Remove generated file.
16610         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16611         unconditional.
16612         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16614 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16616         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16617         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16618         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16619         it is defined.
16621         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16622         instead of whether it is defined.
16623         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16624         * sysdeps/hppa/dl-machine.h: Likewise.
16625         * sysdeps/ia64/dl-machine.h: Likewise.
16626         * sysdeps/m68k/dl-machine.h: Likewise.
16627         * sysdeps/microblaze/dl-machine.h: Likewise.
16628         * sysdeps/mips/dl-machine.: Likewise.
16629         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16630         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16631         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16632         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16633         * sysdeps/sh/dl-machine.h: Likewise.
16634         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16635         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16636         * sysdeps/tile/dl-machine.h: Likewise.
16637         * sysdeps/x86_64/dl-machine.h: Likewise.
16639         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16640         code.
16641         (verify_persistent_db): Likewise.
16643 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16646         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16648         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16650         Moved ...
16651         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16652         ... here.
16653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16654         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16656         Identical file removed.
16657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16660         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16662         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16664         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16666         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16668         Moved ...
16669         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16671         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16673         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16675         Moved ...
16676         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16678         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16680         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16682         Identical file removed.
16683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16684         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16686         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16688         Moved ...
16689         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16690         ... here.
16691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16692         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16694         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16696         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16698         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16700         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16702         Moved ...
16703         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16705         Moved ...
16706         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16708         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16710         Moved ...
16711         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16713         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16715         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16716         folded into ...
16717         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16718         * sysdeps/unix/sysv/linux/s390/Versions
16719         (libpthread: GLIBC_2.19): New version set.
16720         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16721         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16722         (librt: GLIBC_2.3.3): New version set.
16723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16724         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16725         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16726         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16727         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16728         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16729         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16730         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16731         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16733         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16734         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16735         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16736         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16737         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16738         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16739         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16740         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16741         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16742         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16743         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16744         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16745         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16746         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16747         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16749         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16751         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16752         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16753         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16759         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16761         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16763         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16764         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16765         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16767         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16770         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16771         (__libc_vfork): Define the function under this name.
16772         [!NOT_IN_libc] (__vfork): Make this an alias.
16773         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16775         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16776         (__libc_vfork): Define the function under this name.
16777         [!NOT_IN_libc] (__vfork): Make this an alias.
16778         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16779         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16780         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16782         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16783         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16785         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16786         code that was previously under [RESET_PID].
16787         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16788         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16789         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16791         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16792         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16793         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16794         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16795         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16796         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16797         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16798         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16799         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16800         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16801         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16802         Moved ...
16803         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16804         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16805         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16806         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16807         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16808         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16809         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16810         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16811         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16812         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16813         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16814         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16815         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16816         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16817         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16818         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16819         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16820         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16821         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16822         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16823         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16824         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16825         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16826         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16827         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16828         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16829         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16830         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16831         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16833 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16835         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16836         that was previously under [RESET_PID].
16837         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16839 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16841         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16842         not undefine and redefine.
16843         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16844         [O_CLOEXEC]: Make code unconditional.
16845         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16846         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16847         <kernel-features.h>.
16848         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16849         conditional variable definition.
16850         (shm_open) [O_CLOEXEC]: Make code unconditional.
16851         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16852         code.
16854         * configure.ac (USE_REGPARMS): Don't define here.
16855         * configure: Regenerated.
16856         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16857         * sysdeps/i386/configure: Regenerated.
16859         * nptl/createthread.c: Don't include kernel-features.h.
16860         * nptl/pthread_cancel.c: Likewise.
16861         * nptl/pthread_condattr_setclock.c: Likewise.
16862         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16863         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16864         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16865         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16866         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16867         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16868         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16870         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16871         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16872         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16873         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16874         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16875         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16876         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16877         * nscd/gai.c: Likewise.
16878         * nss/nss_db/db-open.c: Likewise.
16879         * sysdeps/generic/ldsodefs.h: Likewise.
16880         * sysdeps/sh/nptl/tls.h: Likewise.
16881         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16882         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16883         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16884         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16885         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16886         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16887         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16888         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16889         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16890         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16891         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16892         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16893         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16894         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16895         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16896         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16897         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16898         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16899         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16900         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16903         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16904         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16909         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16910         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16911         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16912         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16913         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16914         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16915         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16916         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16917         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16918         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16919         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16920         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16921         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16922         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16923         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16924         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16925         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16926         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16927         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16928         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16929         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16930         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16931         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16932         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16933         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16934         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16935         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16936         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16937         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16938         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16961         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16962         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16963         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16964         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16965         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16966         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16967         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16968         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16969         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16970         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16971         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16972         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16973         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16974         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16975         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16976         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16977         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16978         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16979         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16980         * sysdeps/unix/sysv/linux/system.c: Likewise.
16981         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16982         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16983         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16984         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16985         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16986         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16987         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16989         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16990         * configure: Regenerated.
16991         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16993         * configure.ac (base_machine): Do not set specially for particular
16994         machines here.
16995         * configure: Regenerated.
16996         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16997         settings from configure.ac.
16998         * sysdeps/i386/preconfigure: New file.
16999         * sysdeps/s390/preconfigure: Likewise.
17000         * sysdeps/sh/preconfigure: Likewise.
17001         * sysdeps/sparc/preconfigure: Likewise.
17003 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17005         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17006         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17007         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17008         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17009         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17010         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17011         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17012         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17013         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17014         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17015         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17016         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17017         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17018         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17019         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17020         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17021         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17022         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17023         * sysdeps/sparc/sparc64/Makefile: ... appended here.
17025         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17026         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17027         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17028         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17029         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17030         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17031         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17032         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17033         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17034         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17035         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17036         * sysdeps/sparc/sparc32/sem_post.c: ... here.
17037         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17038         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17039         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17040         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17041         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17042         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17043         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17044         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17045         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17046         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17048         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17050         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17051         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17052         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17053         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17054         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17056         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17057         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17058         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17059         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17060         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17061         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17062         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17065         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17067         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17069         Moved ...
17070         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17071         ... here.
17072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17073         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17075         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17077         Moved ...
17078         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17080         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17082         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17084         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17086         Moved ...
17087         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17089         Moved ...
17090         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17092         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17094         Moved ...
17095         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17097         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17099         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17101         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17103         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17105         Moved ...
17106         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17107         ... here.
17108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17109         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17111         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17113         Moved ...
17114         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17116         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17118         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17120         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17122         Moved ...
17123         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17125         Moved ...
17126         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17128         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17130         Moved ...
17131         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17133         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17135         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17137 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17139         * timezone/checktab.awk: Update from tzcode 2014e.
17140         * timezone/private.h: Likewise.
17141         * timezone/tzfile.h: Likewise.
17142         * timezone/zdump.c: Likewise.
17143         * timezone/zic.c: Likewise.
17145         * sysdeps/unix/sysv/linux/kernel-features.h
17146         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17147         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17148         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17149         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17150         Remove conditional code.
17152 2014-06-25  Will Newton  <will.newton@linaro.org>
17154         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17155         (_dl_arm_cap_flags): Add HWCAP2 values.
17156         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17157         (_DL_HWCAP_COUNT): Increase to 37.
17158         (_DL_HWCAP_LAST): New define.
17159         (_DL_HWCAP2_LAST): New define.
17160         (_dl_procinfo): Add support for printing
17161         AT_HWCAP2 entries.
17162         (_dl_string_hwcap): Use _dl_hwcap_string.
17164 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17168 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17170         * README: Do not mention ports directory.
17172         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17173         Remove macro.
17174         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17175         <kernel-features.h>.
17176         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17177         conditional variable definition.
17178         (__futimes): Update comment.
17179         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17180         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17182         [BZ #16560]
17183         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17184         arguments close to 0.
17185         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17186         Likewise.
17187         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17188         Likewise.
17189         * math/auto-libm-test-in: Add more tests of exp10.
17190         * math/auto-libm-test-out: Regenerated.
17191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17193         * sysdeps/unix/sysv/linux/kernel-features.h
17194         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17195         * sysdeps/unix/sysv/linux/readv.c: Do not include
17196         <kernel-features.h>.
17197         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17198         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17199         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17200         unconditional.
17201         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17202         conditional code.
17203         * sysdeps/unix/sysv/linux/writev.c: Do not include
17204         <kernel-features.h>.
17205         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17206         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17207         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17208         unconditional.
17209         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17210         conditional code.
17212 2014-06-25  Will Newton  <will.newton@linaro.org>
17214         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17215         comment changes throughout the file.  Remove checks
17216         for HAVE_*_H definitions that are not required.
17217         (__gen_tempname): Call abort if an unknown kind value is
17218         passed.
17220 2014-06-25  Andreas Schwab  <schwab@suse.de>
17222         [BZ #17086]
17223         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17224         scalbln, scalblnf, scalblnl in libc.
17226 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17228         [BZ #17086]
17229         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17230         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17231         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17233 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17235         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17236         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17237         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17238         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17239         Update #include.
17240         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17241         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17242         Update #include.
17243         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17244         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17245         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17246         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17247         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17248         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17249         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17250         * sysdeps/x86/bits/semaphore.h: ... here.
17251         * sysdeps/x86/nptl/elide.h: Moved ...
17252         * sysdeps/x86/elide.h: ... here.
17253         * sysdeps/x86_64/nptl/Implies: File removed.
17254         * sysdeps/i386/nptl/Implies: File removed.
17256 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17258         [BZ #16539]
17259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17260         return the argument for normal arguments with exponent below -64.
17261         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17262         Likewise.
17263         * math/auto-libm-test-in: Add another test of expm1.
17264         * math/auto-libm-test-out: Regenerated.
17266         [BZ #16287]
17267         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17268         calling __erfcl for arguments at least 16.
17269         * math/auto-libm-test-in: Add more tests of erf.
17270         * math/auto-libm-test-out: Regenerated.
17272         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17273         individual architectures.
17274         * sysdeps/unix/sysv/linux/configure: Regenerated.
17275         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17276         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17277         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17278         (ldd_rewrite_script): Define variable.
17279         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17281         file.
17282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17283         generated file.
17284         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17285         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17286         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17287         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17288         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17289         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17290         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17291         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17293 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17295         [BZ #17084]
17296         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17297         Rename member __data.d to __data.__elision_data.
17299 2014-06-24  Wilco  <wdijkstr@arm.com>
17301         * NEWS: Add 16918 to fixed bug list.
17303 2014-06-24  Wilco  <wdijkstr@arm.com>
17305         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17307 2014-06-24  Wilco  <wdijkstr@arm.com>
17309         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17310         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17311         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17312         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17313         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17314         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17315         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17316         Use _FPU_MASK_RM.
17318 2014-06-24  Wilco  <wdijkstr@arm.com>
17320         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17322 2014-06-24  Wilco  <wdijkstr@arm.com>
17324         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17325         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17326         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17327         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17329 2014-06-24  Wilco  <wdijkstr@arm.com>
17331         [BZ #16918]
17332         * sysdeps/arm/feupdateenv.c (feupdateenv):
17333         Rewrite to reduce FPSCR accesses and fix return value.
17335 2014-06-24  Wilco  <wdijkstr@arm.com>
17337         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17338         Optimize to avoid unnecessary FPSCR writes.
17339         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17340         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17341         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17342         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17344 2014-06-24  Wilco  <wdijkstr@arm.com>
17346         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17347         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17348         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17349         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17350         Call libc_fetestexcept_vfp.
17351         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17352         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17353         __SOFTFP__ ifdef so that they can be built for softfp.
17355 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17357         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17358         argument type signed char.
17360         * Makerules (check-abi): Dump diff of symlist if the test
17361         fails.
17363 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17365         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17366         using abort.
17368         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17369         Remove unused variable ST.
17371 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17373         [BZ #16354]
17374         [BZ #17061]
17375         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17376         small arguments before calling __expm1.
17377         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17378         small arguments before calling __expm1f.
17379         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17380         small arguments before calling __expm1l.
17381         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17382         Likewise.
17383         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17384         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17385         spurious underflow for some cosh tests.
17386         * math/auto-libm-test-out: Regenerated.
17387         * sysdeps/i386/fpu/libm-test-ulps: Update.
17389         [BZ #17050]
17390         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17391         (__ieee754_y1): Set errno if return value overflows.
17392         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17393         (__ieee754_y1f): Set errno if return value overflows.
17394         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17395         (__ieee754_y1l): Set errno if return value overflows.
17396         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17397         (__ieee754_y1l): Set errno if return value overflows.
17398         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17399         * math/auto-libm-test-out: Regenerated.
17401         * math/gen-auto-libm-tests.c: Document use of
17402         ignore-zero-inf-sign.
17403         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17404         (input_flags): Add ignore-zero-inf-sign.
17405         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17406         * math/gen-libm-test.pl (generate_testfile): Handle
17407         ignore-zero-inf-sign.
17408         * math/auto-libm-test-in: Mark some cpow tests with
17409         ignore-zero-inf-sign and some with xfail-rounding.
17410         * math/auto-libm-test-out: Regenerated.
17411         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17412         * sysdeps/i386/fpu/libm-test-ulps: Update.
17413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17415         [BZ #16315]
17416         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17417         overflowing or underflowing operations take place with sign of
17418         result.
17419         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17420         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17421         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17422         (__ieee754_pow): Recompute overflowing and underflowing results in
17423         original rounding mode.
17424         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17425         (__powl_helper): Allow negative argument X and scale negated value
17426         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17427         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17428         overflowing or underflowing operations take place with sign of
17429         result.
17430         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17431         Include <math.h>.
17432         * math/auto-libm-test-in: Add more tests of pow.
17433         * math/auto-libm-test-out: Regenerated.
17434         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17435         (pow_tonearest_test_data): Remove.
17436         (pow_test_tonearest): Likewise.
17437         (pow_towardzero_test_data): Likewise.
17438         (pow_test_towardzero): Likewise.
17439         (pow_downward_test_data): Likewise.
17440         (pow_test_downward): Likewise.
17441         (pow_upward_test_data): Likewise.
17442         (pow_test_upward): Likewise.
17443         (main): Don't call removed functions.
17444         * sysdeps/i386/fpu/libm-test-ulps: Update.
17445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17447 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17450         Moved ...
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17453         Moved ...
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17456         Moved ...
17457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17459         Moved ...
17460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17462         File removed.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17464         File removed.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17466         File removed.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17468         File removed.
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17470         File removed.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17472         File removed.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17474         File removed.
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17476         File removed.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17478         File removed.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17480         File removed.
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17482         File removed.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17484         File removed.
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17486         Moved ...
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17489         Moved ...
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17491         ... here.
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17493         Moved ...
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17496         Moved ...
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17499         Moved ...
17500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17502         Moved ...
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17505         Moved ...
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17508         Moved ...
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17511         Moved ...
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17515         ... here.
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17517         Moved ...
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17520         Moved ...
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17522         ... here.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17524         Moved ...
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17526         ... here.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17530         ... here.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17532         Moved ...
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17535         Moved ...
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17540         Moved ...
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17542         ... here.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17546         ... here.
17547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17548         Moved ...
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17551         Moved ...
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17554         Moved ...
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17557         Moved ...
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17560         Moved ...
17561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17562         ... here.
17563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17564         Moved ...
17565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17567         Moved ...
17568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17570         Moved ...
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17573         Moved ...
17574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17578         Moved ...
17579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17581         Moved ...
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17584         Moved ...
17585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17586         ... here.
17587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17588         Moved ...
17589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17590         ... here.
17591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17592         Moved ...
17593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17594         ... here.
17595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17596         Moved ...
17597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17599         Moved ...
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17602         Moved ...
17603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17605         Moved ...
17606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17607         ... here.
17608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17609         Moved ...
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17611         ... here.
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17613         Moved ...
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17615         ... here.
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17617         Moved ...
17618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17620         Moved ...
17621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17623 2014-06-23  Will Newton  <will.newton@linaro.org>
17624             Wilco  <wdijkstr@arm.com>
17626         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17627         implementation.  Include get-rounding-mode.h.
17628         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17629         [!libc_feholdsetround_noex_ctx]: Define
17630         libc_feholdsetround_noex_ctx.
17631         [!libc_feholdsetround_noexf_ctx]: Define
17632         libc_feholdsetround_noexf_ctx.
17633         [!libc_feholdsetround_noexl_ctx]: Define
17634         libc_feholdsetround_noexl_ctx.
17635         (libc_feholdsetround_ctx): New function.
17636         (libc_feresetround_ctx): New function.
17637         (libc_feholdsetround_noex_ctx): New function.
17638         (libc_feresetround_noex_ctx): New function.
17640 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17642         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17643         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17644         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17645         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17646         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17647         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17649         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17650         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17651         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17652         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17653         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17654         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17656         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17658         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17660         Moved ...
17661         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17662         ... here.
17663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17664         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17666         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17667         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17668         Moved ...
17669         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17671         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17673         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17675         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17677         Moved ...
17678         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17680         Moved ...
17681         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17682         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17683         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17684         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17685         Moved ...
17686         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17687         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17688         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17689         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17690         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17691         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17692         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17694         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17696         Moved ...
17697         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17698         ... here.
17699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17700         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17702         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17704         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17706         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17708         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17709         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17710         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17711         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17712         Moved ...
17713         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17715         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17716         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17717         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17718         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17719         Moved ...
17720         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17721         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17722         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17723         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17724         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17726         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17727         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17728         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17729         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17730         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17731         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17732         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17733         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17734         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17735         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17736         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17737         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17738         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17739         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17740         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17741         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17742         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17743         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17744         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17745         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17746         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17747         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17748         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17749         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17750         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17751         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17752         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17753         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17755 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17758         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17759         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17760         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17761         (IPV6_PMTUDISC_INTERFACE): Likewise.
17762         (IPV6_PMTUDISC_OMIT): Likewise.
17764 2014-06-23  Andreas Schwab  <schwab@suse.de>
17766         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17767         Remove unused errout label.
17769 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17771         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17772         macro: hardware supports Vector Crypto instructions.
17774 2014-06-23  Will Newton  <will.newton@linaro.org>
17776         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17777         rather than __builtin_expect.
17779         * elf/dl-lookup.c (undefined_msg): Remove variable.
17780         (_dl_lookup_symbol_x): Replace undefined_msg with string
17781         literal.
17783         * elf/dl-lookup.c (do_lookup_unique): New function.
17784         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17785         to a separate function.
17787 2014-06-23  Andreas Schwab  <schwab@suse.de>
17789         [BZ #17079]
17790         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17791         before reading the next line.
17793 2014-06-23  Will Newton  <will.newton@linaro.org>
17795         * test-skeleton.c (signal_handler): Use printf and %m
17796         rather than perror.  Use printf rather than fprintf to
17797         stderr.  Use puts rather than fputs to stderr.
17798         (main): Likewise.
17800 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17802         * nscd/nscd.c (thread_info_t): Remove typedef.
17803         (thread_info): Remove variable.
17805 2014-06-21  Allan McRae  <allan@archlinux.org>
17807         * NEWS: Mention CVE-2014-4043.
17809 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17811         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17812         * nptl/smp.h: ... here.
17814         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17816         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17817         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17818         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17819         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17821         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17822         * nptl/stack-aliasing.h: New file.
17823         * sysdeps/i386/i686/stack-aliasing.h: New file.
17824         * sysdeps/i386/i686/nptl/Makefile: File removed.
17825         * sysdeps/x86_64/stack-aliasing.h: New file.
17826         * sysdeps/x86_64/nptl/Makefile
17827         (CFLAGS-pthread_create.c): Variable removed.
17829         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17830         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17831         old file.
17832         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17833         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17834         old file.
17836 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17838         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17839         (__ASSUME_SIGFRAME_V2): Remove macro.
17840         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17841         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17842         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17843         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17844         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17845         Declare as function.  Remove conditional macro definitions.
17846         (__default_rt_sa_restorer): Likewise.
17847         (__default_sa_restorer_v1): Remove declaration.
17848         (__default_sa_restorer_v2): Likewise.
17849         (__default_rt_sa_restorer_v1): Likewise.
17850         (__default_rt_sa_restorer_v2): Likewise.
17851         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17852         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17853         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17855 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17857         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17858         (libpthread-routines): Add sysdep.
17859         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17860         * sysdeps/unix/sysv/linux/sparc/Versions
17861         (libpthread: GLIBC_2.3.3): New version set.
17862         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17863         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17864         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17866         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17867         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17868         Moved ...
17869         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17871         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17873         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17875         * sysdeps/sparc/nptl/sem_init.c: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17877         * sysdeps/sparc/nptl/sem_post.c: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17879         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17880         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17881         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17883         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17884         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17885         (libpthread-routines): Add cpu_relax.
17886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17887         File removed.
17888         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17889         (librt: GLIBC_2.3.3): New version set.
17890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17891         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17892         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17893         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17896         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17898         Moved ...
17899         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17901         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17903         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17905         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17907         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17909         Moved ...
17910         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17911         Update #include.
17912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17913         Moved ...
17914         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17915         Update #include.
17916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17917         Moved ...
17918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17919         Update #include.
17920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17921         Moved ...
17922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17923         Update #include.
17924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17925         Moved ...
17926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17927         Update #include.
17928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17929         Moved ...
17930         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17931         Update #include.
17932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17933         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17935         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17937         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17939         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17941         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17943         Moved ...
17944         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17946         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17948         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17950 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17952         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17953         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17954         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17955         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17956         * nscd/nscd.c: Likewise.
17957         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17958         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17959         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17960         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17962         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17963         <kernel-features.h>.
17964         (init_mq_netlink): Remove conditional have_sock_cloexec
17965         definitions.  Remove code conditional on have_sock_cloexec < 0.
17966         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17967         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17968         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17969         <kernel-features.h>.
17970         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17971         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17973 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17976         Add tests for memset_chk and memset.
17978         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17979         with AVX2_Usable.
17981 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17983         [BZ #16046]
17984         * elf/tst-dl-iter-static.c: New file.
17985         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17987         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17988         error.
17990 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17992         * sysdeps/unix/sysv/linux/kernel-features.h
17993         (__ASSUME_F_GETOWN_EX): Remove macro.
17994         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17995         <kernel-features.h>.
17996         (miss_F_GETOWN_EX): Remove variable or macro.
17997         (do_fcntl): Do not check miss_F_GETOWN_EX.
17998         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18000         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18001         Remove macro.
18002         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18003         [!__ASSUME_AT_RANDOM]: Remove conditional code.
18004         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18006         * sysdeps/unix/sysv/linux/kernel-features.h
18007         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18008         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18009         [ADJ_OFFSET_SS_READ]: Make code unconditional.
18010         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18012 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18014         [BZ #17075]
18015         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18016         Fix calculation of the symbol's value.
18017         * sysdeps/arm/tst-armtlsdescloc.c: New file.
18018         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18019         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18020         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18021         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18022         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18023         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18024         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18025         (modules-names): Add `tst-armtlsdescmod',
18026         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18027         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18028         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18029         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18030         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18031         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18032         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18033         ($(objpfx)tst-armtlsdescloc): New dependency.
18034         ($(objpfx)tst-armtlsdescextnow): Likewise.
18035         ($(objpfx)tst-armtlsdescextlazy): Likewise.
18036         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18037         TLS scheme support.
18038         * sysdeps/arm/configure: Regenerate.
18040 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18042         * include/fcntl.h (__atfct_seterrno): Remove prototype.
18043         (__atfct_seterrno_2): Likewise.
18044         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18045         <kernel-features.h>.
18046         (__ASSUME_ATFCTS): Do not undefine and redefine.
18047         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18048         (__have_atfcts): Remove conditional definition.
18049         (__fxstatat([__NR_fstatat64]: Make code unconditional.
18050         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18051         unreachable if [__ASSUME_ATFCTS].
18052         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18053         not undefine and redefine.
18054         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18055         <kernel-features.h>.
18056         (faccessat) [__NR_faccessat]: Make code unconditional.
18057         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18058         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18059         <kernel-features.h>.
18060         (fchmodat) [__NR_fchmodat]: Make code unconditional.
18061         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18062         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18063         <kernel-features.h>.
18064         (fchownat) [__NR_fchownat]: Make code unconditional.
18065         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18066         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18067         <kernel-features.h>.
18068         (futimesat) [__NR_futimesat]: Make code unconditional.
18069         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18070         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18071         <kernel-features.h>.
18072         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18073         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18074         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18075         <kernel-features.h>.
18076         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18077         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18078         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18079         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18080         <kernel-features.h>.
18081         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18082         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18083         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18084         <kernel-features.h>.
18085         (linkat) [__NR_linkat]: Make code unconditional.
18086         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18087         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18088         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18089         <kernel-features.h>.
18090         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18091         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18092         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18093         <kernel-features.h>.
18094         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18095         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18096         * sysdeps/unix/sysv/linux/openat.c: Do not include
18097         <kernel-features.h>.
18098         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18099         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18100         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18101         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18102         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18103         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18104         <kernel-features.h>.
18105         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18106         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18107         result of INLINE_SYSCALL directly, not via int variable.
18108         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18109         <kernel-features.h>.
18110         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18111         (renameat) [__NR_renameat]: Make code unconditional.
18112         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18113         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18114         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18115         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18116         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18117         (__ASSUME_ATFCTS): Do not undefine and redefine.
18118         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18119         <kernel-features.h>.
18120         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18121         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18122         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18123         <kernel-features.h>.
18124         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18125         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18126         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18127         (__ASSUME_ATFCTS): Do not undefine and redefine.
18128         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18129         <kernel-features.h>.
18130         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18131         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18132         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18133         <kernel-features.h>.
18134         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18135         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18137 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18139         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18141 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18143         [BZ #17069]
18144         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18145         constructed tree before returning error.
18146         * posix/bug-regexp36.c: Expand test case.
18148 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18150         [BZ #6803]
18151         * math/libm-test.inc (scalbln_test_date):
18152         Add errno expectations.
18153         * math/w_scalblnf.c: New File.
18154         Add wrapper which checks for setting errno to ERANGE.
18155         Add weak_alias for corresponding scalbln function.
18156         * math/w_scalbln.c: Likewise.
18157         * math/w_scalblnl.c: Likewise.
18158         * math/Makefile (libm-calls): Add w_scalbln.
18159         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18160         Remove weak_alias for corresponding scalbln function.
18161         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18162         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18163         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18164         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18165         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18166         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18167         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18168         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18169         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18170         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18171         Remove long_double_symbol for scalblnl function in libm, libc.
18172         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18173         Add wrapper which checks for setting errno to ERANGE.
18174         Add long_double_symbol for scalblnl function in libm, libc.
18175         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18176         Remove long_double_symbol for scalblnl in libm.
18177         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18178         Add wrapper which checks for setting errno to ERANGE.
18179         Add long_double_symbol for scalblnl function in libm.
18180         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18181         Do not use wrapper because of own implementation.
18183 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18185         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18186         3 bytes for __pad1 for x32.
18187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18189 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18190             H.J. Lu  <hongjiu.lu@intel.com>
18192         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18193         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18194         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18195         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18196         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18198 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18200         [BZ #17069]
18201         * posix/regcomp.c (parse_expression): Deallocate partially
18202         constructed tree before returning error.
18203         * posix/Makefile.c (tests): Add bug-regex36.
18204         (generated): Add bug-regex36.mtrace.
18205         (tests-special): Add $(objpfx)bug-regex36-mem.out
18206         (bug-regex36-ENV): New variable.
18207         ($(objpfx)bug-regex36-mem.out): New rule.
18208         * posix/bug-regex36.c: New file.
18210 2014-06-19  Will Newton  <will.newton@linaro.org>
18212         * malloc/malloc.c (systrim): If extra is zero then return
18213         early.
18215 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18217         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18219 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18221         * sysdeps/aarch64/strchr.S: New file.
18223 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18225         [BZ #17022]
18226         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18227         from arguments -2 or below.
18228         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18229         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18231 2014-06-18  Andreas Schwab  <schwab@suse.de>
18233         [BZ #17062]
18234         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18235         of a bracket expr not to run off the end of the string.
18236         * posix/Makefile (tests): Add tst-fnmatch3.
18237         * posix/tst-fnmatch3.c: New file.
18239 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18241         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18242         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18243         [$(cross-compiling) = no]: Likewise.
18244         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18245         [$(cross-compiling) = no]: Likewise.
18247 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18249         [BZ #17031]
18250         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18251         double, adjusted for any remainder from the high double.
18252         * math/libm-test.inc (nearbyint): Add tests.
18253         (rint): Likewise.
18255 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18257         * nptl/sysdeps/powerpc/Makefile: Moved ...
18258         * sysdeps/powerpc/nptl/Makefile: ... here.
18259         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18260         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18261         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18262         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18263         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18264         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18265         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18266         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18267         * nptl/sysdeps/powerpc/tls.h: Moved ...
18268         * sysdeps/powerpc/nptl/tls.h: ... here.
18270 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18272         [BZ #16681]
18273         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18274         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18275         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18276         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18277         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18278         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18279         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18280         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18281         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18283 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18285         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18287 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18289         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18290         defined operator.
18292         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18293         $TIMEOUTFACTOR.
18295 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18297         [BZ #17058]
18298         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18299         non-executed part of the test.
18301 2014-06-16  Andreas Schwab  <schwab@suse.de>
18303         * string/bits/string2.h (strdup, strndup): Update feature guard.
18305 2014-06-14  David S. Miller  <davem@davemloft.net>
18307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18309 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18311         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18312         that was previously under [RESET_PID].
18313         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18315         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18316         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18317         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18319         (__libc_vfork): New strong alias.
18320         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18322 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18324         * sysdeps/generic/elide.h: New file.
18326 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18328         * Makefile (installed-headers): Adjust path of pthread.h header.
18330 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18332         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18333         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18334         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18335         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18337         * nptl/sysdeps/s390/Makefile: Moved ...
18338         * sysdeps/s390/nptl/Makefile: ... here.
18339         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18340         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18341         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18342         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18343         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18344         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18345         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18346         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18347         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18348         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18349         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18350         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18351         * nptl/sysdeps/s390/tls.h: Moved ...
18352         * sysdeps/s390/nptl/tls.h: ... here.
18354         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18355         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18357 2014-06-13  David S. Miller  <davem@davemloft.net>
18359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18362         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18366         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18367         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18368         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18369         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18370         Remove RESET_PID cpp guards.
18371         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18372         Remove RESET_PID cpp guards.
18373         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18375 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18377         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18378         __sp to uintptr_t.
18380 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18383         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18384         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18390         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18391         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18392         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18393         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18394         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18396         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18398         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18401         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18403         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18404         (pthread_rwlock_rdlock): Add elision.
18405         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18406         (pthread_rwlock_wrlock): Add elision.
18407         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18408         (pthread_rwlock_trywrlock): Add elision.
18409         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18410         (pthread_rwlock_tryrdlock): Add elision.
18411         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18412         (pthread_rwlock_tryrdlock): Add elision unlock.
18413         * nptl/sysdeps/pthread/pthread.h:
18414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18415         (PTHREAD_RWLOCK_INITIALIZER,
18416         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18417         Handle new elision field.
18418         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18419         * sysdeps/arm/nptl/bits/pthreadtypes.h
18420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18421         * sysdeps/sh/nptl/bits/pthreadtypes.h
18422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18423         * sysdeps/tile/nptl/bits/pthreadtypes.h
18424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18425         * sysdeps/a/nptl/bits/pthreadtypes.h
18426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18427         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18429         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18431         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18433         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18435         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18437         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18439         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18440         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18441         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18442         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18443         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18444         (elision_init): Set try_xbegin to zero when no RTM.
18445         * sysdeps/x86/nptl/bits/pthreadtypes.h
18446         (pthread_rwlock_t): Change __pad1 to __rwelision.
18447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18449 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18451         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18452         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18453         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18454         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18456 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18458         [BZ #16996]
18459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18460         that the cached result has been set before returning it.
18462 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18464         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18465         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18466         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18467         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18468         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18469         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18471         * nptl/sysdeps/sparc/Makefile: Moved ...
18472         * sysdeps/sparc/nptl/Makefile: ... here.
18473         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18474         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18475         * nptl/sysdeps/sparc/tls.h: Moved ...
18476         * sysdeps/sparc/nptl/tls.h: ... here.
18477         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18478         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18479         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18480         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18481         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18482         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18483         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18484         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18485         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18486         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18487         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18488         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18489         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18490         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18491         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18492         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18493         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18495         Update #include.
18496         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18497         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18498         Update #include.
18499         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18500         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18501         Update #include.
18502         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18503         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18504         Update #include.
18506         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18508         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18509         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18511         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18512         (struct list_links): Type removed.
18513         (struct thread_node, struct timer_node): Replace struct list_links
18514         with struct list_head.
18515         (list_unlink_ip): Likewise.
18516         * sysdeps/pthread/timer_routines.c
18517         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18518         (list_append, list_insbefore): Likewise.
18519         (list_init): Function removed.
18520         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18521         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18522         * sysdeps/pthread/Makefile: ... here, new file.
18524         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18525         * sysdeps/nptl/Implies: ... here.
18526         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18527         * nptl/sysdeps/pthread/list.h: Moved ...
18528         * include/list.h: ... here.
18529         * nptl/sysdeps/pthread/createthread.c: Moved ...
18530         * nptl/createthread.c: ... here.
18531         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18532         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18533         * nptl/pt-longjmp.c: ... here.
18534         * nptl/sysdeps/pthread/Makefile: Moved ...
18535         * sysdeps/nptl/Makefile: ... here.
18536         * nptl/sysdeps/pthread/Subdirs: Moved ...
18537         * sysdeps/nptl/Subdirs: ... here.
18538         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18539         * sysdeps/nptl/aio_misc.h: ... here.
18540         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18541         * sysdeps/nptl/bits/libc-lock.h: ... here.
18542         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18543         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18544         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18545         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18546         * nptl/sysdeps/pthread/configure: Moved ...
18547         * sysdeps/nptl/configure: ... here.
18548         * nptl/sysdeps/pthread/configure.ac: Moved ...
18549         * sysdeps/nptl/configure.ac: ... here.
18550         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18551         * sysdeps/nptl/gai_misc.h: ... here.
18552         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18553         * sysdeps/nptl/librt-cancellation.c: ... here.
18554         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18555         * sysdeps/nptl/malloc-machine.h: ... here.
18556         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18557         * sysdeps/nptl/pthread-functions.h: ... here.
18558         * nptl/sysdeps/pthread/pthread.h: Moved ...
18559         * sysdeps/nptl/pthread.h: ... here.
18560         * nptl/sysdeps/pthread/setxid.h: Moved ...
18561         * sysdeps/nptl/setxid.h: ... here.
18562         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18563         * sysdeps/nptl/sigfillset.c: ... here.
18564         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18565         * sysdeps/nptl/tcb-offsets.h: ... here.
18566         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18567         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18568         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18569         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18570         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18571         * sysdeps/pthread/allocalim.h: ... here.
18572         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18573         * sysdeps/pthread/bits/sigthread.h: ... here.
18574         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18575         * sysdeps/pthread/flockfile.c: ... here.
18576         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18577         * sysdeps/pthread/ftrylockfile.c: ... here.
18578         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18579         * sysdeps/pthread/funlockfile.c: ... here.
18580         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18581         * sysdeps/pthread/posix-timer.h: ... here.
18582         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18583         * sysdeps/pthread/timer_create.c: ... here.
18584         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18585         * sysdeps/pthread/timer_delete.c: ... here.
18586         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18587         * sysdeps/pthread/timer_getoverr.c: ... here.
18588         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18589         * sysdeps/pthread/timer_gettime.c: ... here.
18590         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18591         * sysdeps/pthread/timer_routines.c: ... here.
18592         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18593         * sysdeps/pthread/timer_settime.c: ... here.
18594         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18595         * sysdeps/pthread/tst-timer.c: ... here.
18596         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18597         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18599         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18600         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18602         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18603         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18604         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18605         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18606         Update #include target.
18607         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18608         * sysdeps/i386/i686/nptl/Makefile: ... here.
18609         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18610         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18611         Update #include target.
18612         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18613         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18614         * nptl/sysdeps/i386/Makefile: Moved ...
18615         * sysdeps/i386/nptl/Makefile: ... here.
18616         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18617         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18618         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18619         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18620         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18621         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18622         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18623         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18624         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18625         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18626         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18627         * nptl/sysdeps/i386/tls.h: Moved ...
18628         * sysdeps/i386/nptl/tls.h: ... here.
18630         * sysdeps/sh/Makefile [$(subdir) = csu]
18631         (gen-as-const-headers): Add tcb-offsets.sym.
18632         * nptl/sysdeps/sh/Makefile: File removed.
18633         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18634         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18635         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18636         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18637         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18638         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18639         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18640         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18641         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18642         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18643         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18644         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18645         * nptl/sysdeps/sh/tls.h: Moved ...
18646         * sysdeps/sh/nptl/tls.h: ... here.
18647         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18648         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18649         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18650         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18651         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18652         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18653         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18655         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18656         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18658         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18660         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18662         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18664         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18666         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18667         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18668         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18669         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18671         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18672         Moved ...
18673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18674         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18675         Moved ...
18676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18677         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18678         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18679         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18680         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18681         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18682         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18683         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18684         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18685         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18686         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18687         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18688         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18689         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18690         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18691         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18692         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18693         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18694         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18696 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18698         * posix/spawn_faction_addopen.c: Include string.h.
18700 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18702         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18703         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18704         * nptl/sysdeps/x86_64/Makefile: Moved ...
18705         * sysdeps/x86_64/nptl/Makefile: ... here.
18706         * nptl/sysdeps/x86_64/configure: Moved ...
18707         * sysdeps/x86_64/nptl/configure: ... here.
18708         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18709         * sysdeps/x86_64/nptl/configure.ac: ... here.
18710         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18711         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18712         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18713         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18714         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18715         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18716         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18717         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18718         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18719         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18720         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18721         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18722         * nptl/sysdeps/x86_64/tls.h: Moved ...
18723         * sysdeps/x86_64/nptl/tls.h: ... here.
18724         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18725         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18726         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18727         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18729         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18731 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18735 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18737         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18738         type.
18739         [POSIX] (off_t): Likewise.
18740         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18741         [POSIX] (S_ISBLK): Require macro.
18742         [POSIX] (S_ISCHR): Likewise.
18743         [POSIX] (S_ISDIR): Likewise.
18744         [POSIX] (S_ISFIFO): Likewise.
18745         [POSIX] (S_ISREG): Likewise.
18746         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18747         optional-macro.
18748         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18749         type.
18750         [POSIX] (time_t): Likewise.
18751         [POSIX] (timer_t): Likewise.
18753 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18755         [BZ #17048]
18756         * posix/spawn_int.h (struct __spawn_action): Make the path string
18757         non-const to support deallocation.
18758         * posix/spawn_faction_addopen.c
18759         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18760         * posix/spawn_faction_destroy.c
18761         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18762         path in all spawn_do_open actions.
18763         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18764         posix_spawn_file_actions_addopen.
18766 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18768         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18769         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18770         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18771         conditional code always true.
18772         (__libc_vfork): New alias.
18774 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18776         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18777         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18779         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18781         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18782         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18784         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18785         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18787         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18788         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18790 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18792         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18793         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18794         multiarch strcmp for PPC64.
18795         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18796         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18798         multiarch optimizations.
18799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18800         (__libc_ifunc_impl_list): Likewise.
18802 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18804         * benchtests/scripts/validate_benchout.py: New script.
18805         * benchtests/Makefile (bench-func): Call it.
18806         * benchtests/scripts/benchout.schema.json: New file.
18808 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18810         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18811         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18812         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18813         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18814         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18815         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18816         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18817         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18818         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18819         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18820         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18821         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18822         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18823         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18824         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18825         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18827         Moved ...
18828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18829         ... here.
18830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18831         Moved ...
18832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18834         Moved ...
18835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18836         ... here.
18837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18838         Moved ...
18839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18840         ... here.
18841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18842         Moved ...
18843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18845         Moved ...
18846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18847         ... here.
18848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18849         Moved ...
18850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18851         ... here.
18852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18853         Moved ...
18854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18856         Moved ...
18857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18858         ... here.
18859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18860         Moved ...
18861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18862         ... here.
18863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18864         Moved ...
18865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18866         ... here.
18867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18868         Moved ...
18869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18871         Moved ...
18872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18873         ... here.
18874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18875         Moved ...
18876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18877         ... here.
18878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18879         Moved ...
18880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18881         ... here.
18882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18883         Moved ...
18884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18886         Moved ...
18887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18888         ... here.
18889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18890         Moved ...
18891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18892         ... here.
18893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18894         Moved ...
18895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18897         Moved ...
18898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18899         ... here.
18900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18901         Moved ...
18902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18904         Moved ...
18905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18907         Moved ...
18908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18909         ... here.
18910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18911         Moved ...
18912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18913         ... here.
18914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18915         Moved ...
18916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18917         ... here.
18918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18919         Moved ...
18920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18922         Moved ...
18923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18924         ... here.
18925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18926         Moved ...
18927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18928         ... here.
18929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18930         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18932         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18934         Moved ...
18935         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18936         ... here.
18937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18938         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18940         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18942         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18944         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18946         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18948         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18950         Moved ...
18951         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18952         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18953         Moved ...
18954         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18955         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18956         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18957         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18958         Moved ...
18959         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18960         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18961         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18962         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18963         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18964         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18965         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18967 2014-06-10  Wilco  <wdijkstr@arm.com>
18969         * math/test-fenv-return.c: New file.
18970         * math/Makefile: Add new test test-fenv-return.
18972 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18974         [BZ #17042]
18975         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18976         when x - 1 is zero.
18977         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18978         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18979         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18980         0.0L for an argument of 1.0L.
18981         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18982         Likewise.
18983         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18984         value when x - 1 is zero.
18985         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18986         * sysdeps/i386/fpu/libm-test-ulps: Update.
18987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18989 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18991         [BZ #15119]
18992         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18994 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18996         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18997         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18999 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19001         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19002         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19004         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19005         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19007         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19008         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19010         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19011         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19013         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19014         if not already defined.
19015         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19016         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19017         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19018         (TLS_INIT_TP): Use it.
19019         (TLS_DEFINE_INIT_TP): New macro.
19020         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19022 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
19024         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19025         constant.
19026         [POSIX] (IXANY): Likewise.
19027         [POSIX] (OLCUC): Likewise.
19028         [POSIX || POSIX2008] (CBAUD): Do not allow.
19029         [POSIX || POSIX2008] (DEFECHO): Likewise.
19030         [POSIX || POSIX2008] (ECHOCTL): Likewise.
19031         [POSIX || POSIX2008] (ECHOKE): Likewise.
19032         [POSIX || POSIX2008] (ECHOPRT): Likewise.
19033         [POSIX || POSIX2008] (EXTA): Likewise.
19034         [POSIX || POSIX2008] (EXTB): Likewise.
19035         [POSIX || POSIX2008] (FLUSHO): Likewise.
19036         [POSIX || POSIX2008] (LOBLK): Likewise.
19037         [POSIX || POSIX2008] (PENDIN): Likewise.
19038         [POSIX || POSIX2008] (SWTCH): Likewise.
19039         [POSIX || POSIX2008] (VDISCARD): Likewise.
19040         [POSIX || POSIX2008] (VDSUSP): Likewise.
19041         [POSIX || POSIX2008] (VLNEXT): Likewise.
19042         [POSIX || POSIX2008] (VREPRINT): Likewise.
19043         [POSIX || POSIX2008] (VSTATUS): Likewise.
19044         [POSIX || POSIX2008] (VWERASE): Likewise.
19045         (B*): Change to B[0123456789]*.
19046         * conform/data/time.h-data [POSIX || UNIX98]
19047         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19048         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19049         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19050         [POSIX] (tm_*): Do not allow.
19052 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
19054         * Makefile (install): Don't set LANGUAGE.
19055         * Makefile.in (install): Likewise.
19056         * assert/Makefile (test-assert-ENV): Remove variable.
19057         (test-assert-perr-ENV): Likewise.
19058         * elf/Makefile (neededtest4-ENV): Likewise.
19059         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19060         [$(cross-compiling) = no]: Don't set LANGUAGE.
19061         * io/ftwtest-sh (LANG): Remove variable.
19062         * libio/Makefile (tst-widetext-ENV): Likewise.
19063         * manual/install.texi (Running make install): Don't refer to
19064         environment settings for make install.
19065         * INSTALL: Regenerated.
19066         * nptl/tst-tls6.sh: Don't set LANG.
19067         * posix/globtest.sh (LANG): Remove variable.
19068         * string/Makefile (tester-ENV): Likewise.
19069         (inl-tester-ENV): Likewise.
19070         (noinl-tester-ENV): Likewise.
19071         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19072         [$(cross-compiling) = no]: Don't set LANGUAGE.
19073         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19074         without explicit environment settings.
19076 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19078         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19079         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19080         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19081         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19083 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19085         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19086         other files in the crypt directory.
19087         * crypt/crypt.c: Remove duplicate includes.
19088         * crypt/crypt-entry.c: Likewise.
19089         * crypt/crypt_util.c: Likewise.
19091 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19093         * Makeconfig (run-program-env): New variable.
19094         (run-program-prefix-before-env): Likewise.
19095         (run-program-prefix-after-env): Likewise.
19096         (run-program-prefix): Define in terms of new variables.
19097         (built-program-cmd-before-env): New variable.
19098         (built-program-cmd-after-env): Likewise.
19099         (built-program-cmd): Define in terms of new variables.
19100         (test-program-prefix-before-env): New variable.
19101         (test-program-prefix-after-env): Likewise.
19102         (test-program-prefix): Define in terms of new variables.
19103         (test-program-cmd-before-env): New variable.
19104         (test-program-cmd-after-env): Likewise.
19105         (test-program-cmd): Define in terms of new variables.
19106         * Rules (make-test-out): Use $(run-program-env).
19107         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19108         (help): Do not mention environment variables.  Mention
19109         --timeoutfactor option.
19110         (timeoutfactor): New variable.
19111         (blacklist_exports): Remove function.
19112         (exports): Remove variable.
19113         (command): Do not include ${exports}.
19114         * manual/install.texi (Configuring and compiling): Do not mention
19115         test wrappers preserving environment variables.  Mention that last
19116         assignment to a variable must take precedence.
19117         * INSTALL: Regenerated.
19118         * benchtests/Makefile (run-bench): Use $(run-program-env).
19119         * catgets/Makefile ($(objpfx)test1.cat): Use
19120         $(built-program-cmd-before-env), $(run-program-env) and
19121         $(built-program-cmd-after-env).
19122         ($(objpfx)test2.cat): Do not specify environment variables
19123         explicitly.
19124         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19125         $(run-program-env) and $(built-program-cmd-after-env).
19126         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19127         $(run-program-env) and $(test-program-cmd-after-env).
19128         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19129         explicitly.
19130         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19131         run_program_env and test_program_cmd_after_env arguments.
19132         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19133         * elf/tst-pathopt.sh: Use run_program_env argument.
19134         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19135         $(test-wrapper-env) and $(run-program-env).
19136         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19137         run_program_env arguments.
19138         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19139         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19140         $(test-program-prefix-before-env), $(run-program-env) and
19141         $(test-program-prefix-after-env).
19142         ($(objpfx)tst-gettext2.out): Likewise.
19143         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19144         run_program_env and test_program_prefix_after_env arguments.
19145         * intl/tst-gettext2.sh: Likewise.
19146         * intl/tst-gettext4.sh: Do not set environment variables
19147         explicitly.
19148         * intl/tst-gettext6.sh: Likewise.
19149         * intl/tst-translit.sh: Likewise.
19150         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19151         $(test-program-prefix-before-env), $(run-program-env) and
19152         $(test-program-prefix-after-env).
19153         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19154         run_program_env and test_program_prefix_after_env arguments.
19155         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19156         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19157         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19158         explicitly with each use of ${test_wrapper_env}.
19159         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19160         $(test-program-prefix-before-env), $(run-program-env) and
19161         $(test-program-prefix-after-env).
19162         * posix/tst-getconf.sh: Do not set environment variables
19163         explicitly.
19164         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19165         run_program_env and test_program_prefix_after_env arguments.
19166         * stdio-common/tst-printf.sh: Do not set environment variables
19167         explicitly.
19168         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19169         $(test-program-prefix-before-env), $(run-program-env) and
19170         $(test-program-prefix-after-env).
19171         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19172         run_program_env and test_program_prefix_after_env arguments.
19173         Split $test calls into $test_pre and $test.
19174         * timezone/Makefile (build-testdata): Use
19175         $(built-program-cmd-before-env), $(run-program-env) and
19176         $(built-program-cmd-after-env).
19178 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19180         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19181         strlen for non SHARED builds.
19183 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19185         * nptl/allocatestack.c (check_list): Inlined function...
19186         (__reclaim_stacks): ... here.
19188 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19190         [BZ #15698]
19191         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19192         memory overrun.
19194 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19196         * Rules (make-test-out): Include
19197         LOCPATH=$(common-objpfx)localedata in default environment.
19198         * debug/Makefile (tst-chk1-ENV): Remove variable.
19199         (tst-chk2-ENV): Likewise.
19200         (tst-chk3-ENV): Likewise.
19201         (tst-chk4-ENV): Likewise.
19202         (tst-chk5-ENV): Likewise.
19203         (tst-chk6-ENV): Likewise.
19204         (tst-lfschk1-ENV): Likewise.
19205         (tst-lfschk2-ENV): Likewise.
19206         (tst-lfschk3-ENV): Likewise.
19207         (tst-lfschk4-ENV): Likewise.
19208         (tst-lfschk5-ENV): Likewise.
19209         (tst-lfschk6-ENV): Likewise.
19210         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19211         (tst-iconv7-ENV): Likewise.
19212         * intl/Makefile (LOCPATH-ENV): Likewise.
19213         (tst-codeset-ENV): Likewise.
19214         (tst-gettext3-ENV): Likewise.
19215         (tst-gettext5-ENV): Likewise.
19216         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19217         (tst-fopenloc-ENV): Likewise.
19218         (tst-fgetws-ENV): Remove variable.
19219         (tst-ungetwc1-ENV): Likewise.
19220         (tst-ungetwc2-ENV): Likewise.
19221         (bug-ungetwc2-ENV): Likewise.
19222         (tst-swscanf-ENV): Likewise.
19223         (bug-ftell-ENV): Likewise.
19224         (tst-fgetwc-ENV): Likewise.
19225         (tst-fseek-ENV): Likewise.
19226         (tst-ftell-partial-wide-ENV): Likewise.
19227         (tst-ftell-active-handler-ENV): Likewise.
19228         (tst-ftell-append-ENV): Likewise.
19229         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19230         (tst-regexloc-ENV): Likewise.
19231         (bug-regex1-ENV): Likewise.
19232         (tst-regex-ENV): Likewise.
19233         (tst-regex2-ENV): Likewise.
19234         (bug-regex5-ENV): Likewise.
19235         (bug-regex6-ENV): Likewise.
19236         (bug-regex17-ENV): Likewise.
19237         (bug-regex18-ENV): Likewise.
19238         (bug-regex19-ENV): Likewise.
19239         (bug-regex20-ENV): Likewise.
19240         (bug-regex22-ENV): Likewise.
19241         (bug-regex23-ENV): Likewise.
19242         (bug-regex25-ENV): Likewise.
19243         (bug-regex26-ENV): Likewise.
19244         (bug-regex30-ENV): Likewise.
19245         (bug-regex32-ENV): Likewise.
19246         (bug-regex33-ENV): Likewise.
19247         (bug-regex34-ENV): Likewise.
19248         (bug-regex35-ENV): Likewise.
19249         (tst-rxspencer-ENV): Likewise.
19250         (tst-rxspencer-no-utf8-ENV): Likewise.
19251         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19252         (tst-sscanf-ENV): Likewise.
19253         (tst-swprintf-ENV): Likewise.
19254         (tst-swscanf-ENV): Likewise.
19255         (test-vfprintf-ENV): Likewise.
19256         (scanf13-ENV): Likewise.
19257         (bug14-ENV): Likewise.
19258         (tst-grouping-ENV): Likewise.
19259         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19260         (tst-strtod3-ENV): Likewise.
19261         (tst-strtod4-ENV): Likewise.
19262         (tst-strtod5-ENV): Likewise.
19263         (testmb2-ENV): Likewise./
19264         * string/Makefile (tst-strxfrm-ENV): Likewise.
19265         (tst-strxfrm2-ENV): Likewise.
19266         (bug-strcoll1-ENV): Likewise.
19267         (test-strcasecmp-ENV): Likewise.
19268         (test-strncasecmp-ENV): Likewise.
19269         * time/Makefile (tst-strptime-ENV): Likewise.
19270         (tst-ftime_l-ENV): Likewise.
19271         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19272         (tst-mbrtowc-ENV): Likewise.
19273         (tst-wcrtomb-ENV): Likewise.
19274         (tst-mbrtowc2-ENV): Likewise.
19275         (tst-c16c32-1-ENV): Likewise.
19276         (tst-mbsnrtowcs-ENV): Likewise.
19278 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19280         * manual/resource.texi (How to get information about the memory
19281         subsystem?): Fix typo.
19282         Reported by Peon de la Parra Ivan <peon@keba.com>
19284 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19286         [BZ #16882]
19287         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19288         (pthread_spin_lock): Branch out of spin loop to proper location.
19289         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19290         (pthread_spin_lock): Likewise.
19292         * nptl/tst-spin4.c: New test.
19293         * nptl/Makefile (tests): Add tst-spin4.
19295 2014-06-03  Andreas Schwab  <schwab@suse.de>
19297         [BZ #15946]
19298         * resolv/res_send.c (send_dg): Reload file descriptor after
19299         calling reopen.
19301 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19303         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19305 2014-06-03  Richard Henderson  <rth@redhat.com>
19307         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19308         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19309         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19310         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19311         in the SAVE_PID block.
19312         (__libc_vfork): New alias.
19313         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19315         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19316         child in registers, not on the stack.  Remove RESET_PID conditionals.
19317         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19319 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19321         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19323 2014-06-03  Wilco  <wdijkstr@arm.com>
19325         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19326         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19327         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19328         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19329         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19330         Likewise.
19332 2014-06-03  Wilco  <wdijkstr@arm.com>
19334         * sysdeps/aarch64/fpu/math_private.h
19335         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19336         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19337         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19338         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19339         Fix declarations.
19341 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19343         * crypt/crypt-private.h: Include ufc-crypt.h.
19344         (__b64_from_24bit): Declare extern.
19345         * crypt/crypt_util.c(__b64_from_24bit): New function.
19346         (b64t): New static const variable.
19347         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19348         (b64t): Remove variable.
19349         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19350         * crypt/sha256-crypt.c: Include crypt-private.h.
19351         (b64t): Remove variable.
19352         (__sha256_crypt_r): Remove b64_from_24bit and replace
19353         with __b64_from_24bit.
19354         * crypt/sha512-crypt.c: Likewise.
19356 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19358         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19359         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19360         Label the code __libc_vfork rather than __vfork.
19361         [!NOT_IN_libc] (vfork): Define as weak alias.
19362         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19363         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19364         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19366 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19368         * malloc/malloc.c (malloc_info): Fix format specifier for
19369         n_mmaps.
19371 2014-06-02  Wilco  <wdijkstr@arm.com>
19373         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19374         FPCR write.
19376 2014-06-02  Wilco  <wdijkstr@arm.com>
19378         [BZ #17009]
19379         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19380         Rewrite to reduce FPCR/FPSR accesses.
19382 2014-06-01  David S. Miller  <davem@davemloft.net>
19384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19386 2014-05-31  David S. Miller  <davem@davemloft.net>
19388         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19389         to occur in round to nearest mode when |x| >= 2.0
19391 2014-05-30  Richard Henderson  <rth@twiddle.net>
19393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19394         (PSEUDO_RET_NOERRNO): Remove.
19395         (ret): Don't redefine.
19396         (ret_NOERRNO): Define in terms of ret.
19397         (ret_ERRVAL): Likewise.
19399         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19400         use of PSEUDO_RET; perform the error check directly.
19402 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19404         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19405         with __int128_t.
19407 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19409         * malloc/malloc (malloc_info): Fix formatting.
19411 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19412             Roland McGrath  <roland@hack.frob.com>
19414         * malloc/malloc (malloc_info): Also print mmapped statistics.
19416 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19418         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19419         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19421 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19423         * malloc/malloc.c (malloc_info): Inline mi_arena.
19425 2014-05-29  Richard Henderson  <rth@twiddle.net>
19427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19428         Remove comma before expanding ASM_ARGS_##nr.
19429         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19430         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19431         of ASM_ARGS_##nr.
19432         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19433         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19434         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19435         (ASM_ARGS_1): Add leading comma.
19437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19438         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19439         to __errno_location.
19440         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19441         Remove the expected plt for __errno_location.
19443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19444         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19445         call to __read_tp.
19447         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19448         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19449         it and break it down.
19450         (DOCARGS_0, DOCARGS_1): Do nothing.
19451         (DOCARGS_2): Update to store into the new stack frame.
19452         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19453         (UNDOCARGS_1): Update to restore from the new stack frame.
19454         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19455         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19458         (SINGLE_THREAD_P): New parameter for result regno.
19459         (PSEUDO): Update to match; use cbz instead of beq.
19461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19462         Use ENTRY to define the _nocancel entry point.  Share the syscall
19463         and syscall error check paths with the cancel path.
19464         (PSEUDO_END): New.
19466         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19467         whitespace; tabs before and after asm mnemonics.
19469 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19471         [BZ #15132]
19472         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19473         Call fstat64 or stat64 internally, depending on arguments passed.
19474         Replace stat buffer argument with file descriptor argument.
19475         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19476         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19477         Pass fd to __internal_statvfs instead of calling fstat64.
19478         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19479         Pass fd to __internal_statvfs64 instead of calling fstat64.
19480         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19481         Pass -1 to __internal_statvfs instead of calling stat64.
19482         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19483         Pass -1 to __internal_statvfs64 instead of calling stat64.
19485 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19487         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19488         that was previously under [RESET_PID].
19489         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19491         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19492         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19494 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19496         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19498         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19499         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19501 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19503         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19505 2014-05-27  Andreas Schwab  <schwab@suse.de>
19507         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19508         TLS_INIT_TP macro.
19509         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19510         * elf/rtld.c (init_tls, dl_main): Likewise.
19511         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19512         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19513         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19514         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19515         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19516         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19517         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19518         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19519         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19520         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19521         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19522         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19523         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19524         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19525         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19526         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19527         * sysdeps/generic/tls.h: Update description.
19529 2014-05-27  Will Newton  <will.newton@linaro.org>
19531         [BZ #16990]
19532         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19533         and restore r2 rather than just restoring.
19535 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19537         [BZ #16724]
19538         * libio/tst-ftell-append.c: New test case.
19539         * libio/Makefile (tests): Add test case.
19540         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19541         append mode.
19542         * libio/wfileops.c (do_ftell_wide): Likewise.
19544 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19548         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19549         ...
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19552         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19553         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19554         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19555         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19557         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19559         Moved ...
19560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19562         Moved ...
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19565         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19567         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19568         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19569         ...
19570         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19571         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19572         Moved ...
19573         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19574         here.
19575         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19576         ...
19577         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19578         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19579         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19581         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19582         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19583         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19584         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19587         merge into ...
19588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19590         ...
19591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19593         ...
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19598         here.
19599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19600         Moved ...
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19603         Moved ...
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19607         conditional [RESET_PID].
19608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19610         removed.
19611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19612         removed.
19614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19615         <tcb-offsets.h>.
19616         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19617         (__libc_vfork): New strong alias.
19618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19619         removed.
19620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19621         Removed.
19623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19624         <tcb-offsets.h>.
19625         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19626         (__libc_vfork): New strong alias.
19627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19628         removed.
19629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19630         removed.
19632 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19634         * malloc/malloc.c (mi_arena): New function.
19635         (malloc_info): Remove nested function mi_arena. Call non-nosted
19636         function mi_arena.
19638 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19640         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19641         by insrwi.
19642         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19643         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19644         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19645         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19647         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19648         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19650 2014-05-26  Andreas Schwab  <schwab@suse.de>
19652         [BZ #16984]
19653         * locale/programs/repertoire.c (repertoire_read): Add slash
19654         between I18NPATH element and file name.
19655         * locale/programs/locfile.c (locfile_read): Likewise.
19657 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19659         * nptl/pthread_mutexattr_settype.c
19660         (__pthread_mutexattr_settype):
19661         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19663 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19665         * nptl/tst-mutex5 (do_test):
19666         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19668 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19670         * benchtests/README: Document 'init' directive.
19671         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19672         BENCH_INIT.
19673         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19674         (parse_file): Recognize 'init' directive.
19676 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19678         [BZ #16796]
19679         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19680         alignment of struct pthread.
19682 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19684         [BZ #16878]
19685         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19686         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19687         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19688         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19690 2014-05-25  Richard Henderson  <rth@twiddle.net>
19692         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19693         (SINGLE_THREAD_P_PIC): Remove.
19694         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19695         (SINGLE_THREAD_P_PIC): Remove.
19697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19698         branch to syscall error ...
19699         (PSEUDO): ... here.
19700         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19701         from __local_syscall_error to .Lsyscall_error.
19702         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19703         (SYSCALL_ERROR): Update label name.
19705         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19706         Do not use DOARGS/UNDOARGS.
19707         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19708         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19709         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19710         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19711         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19713         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19714         block comment.
19716         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19717         define if !NOT_IN_libc.
19718         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19719         define with non-default symbol versions.
19721 2014-05-23  Richard Henderson  <rth@twiddle.net>
19723         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19724         (vfork, __vfork): Define via compat_symbol.
19726         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19727         [!HAVE_IFUNC] (vfork_compat): Remove.
19728         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19730 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19732         [BZ #16978]
19733         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19734         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19735         variable.
19737 2014-05-23  Richard Henderson  <rth@twiddle.net>
19739         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19740         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19741         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19742         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19744         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19745         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19746         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19747         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19748         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19749         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19750         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19751         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19752         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19753         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19754         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19755         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19756         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19757         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19761         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19763         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19764         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19765         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19766         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19767         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19768         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19769         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19772         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19773         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19774         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19775         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19776         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19777         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19778         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19779         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19780         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19781         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19782         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19783         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19784         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19785         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19786         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19787         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19788         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19789         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19791         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19793         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19795         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19796         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19797         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19798         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19799         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19801         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19802         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19803         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19804         before exiting on error.
19805         (__libc_vfork): New strong alias.
19806         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19807         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19809         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19810         that was previously under [RESET_PID].
19811         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19813         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19815 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19817         [BZ #16977]
19818         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19819         value when x - 1 is zero.
19820         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19821         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19822         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19823         0.0L for an argument of 1.0L.
19824         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19825         Likewise.
19826         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19827         value when x - 1 is zero.
19828         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19829         * sysdeps/i386/fpu/libm-test-ulps: Update.
19830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19834         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19835         alphasort and versionsort.
19837 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19839         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19840         macro.
19841         [copysignf]: Likewise.
19843 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19845         * crypt/md5-crypt.c: Fix formatting.
19847 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19849         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19850         (b64_from_24bit): New function.
19852 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19854         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19855         libc_hidden_builtin_def to ifunc.
19856         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19857         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19859 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19861         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19862         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19864 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19866         * nscd/Depend (linuxthreads): Remove.
19867         (nptl): Add.
19868         * resolv/Depend (linuxthreads): Remove.
19869         * rt/Depend (linuxthreads): Remove.
19871         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19872         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19873         $(common-objpfx)elf/.
19874         (link-libc-before-gnulib): Likewise.
19875         (elfobjdir): Remove variable.
19876         * Makefile (install): Use $(elf-objpfx) instead of
19877         $(common-objpfx)elf/.
19878         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19879         $(elfobjdir)/.
19880         (link-libc-deps): Likewise.
19881         ($(common-objpfx)libc.so): Likewise.
19882         ($(common-objpfx)linkobj/libc.so): Likewise.
19883         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19884         instead of $(common-objpfx)elf/.
19885         (symbolic-link-list): Likewise.
19886         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19887         [$(cross-compiling) = no]: Likewise.
19888         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19889         $(elfobjdir)/.
19890         (static-gnulib-arch): Likewise.
19891         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19892         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19893         $(common-objpfx)elf/.
19895 2014-05-21  Richard Henderson  <rth@redhat.com>
19897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19898         (SINGLE_THREAD_P): Use the correct width load.  Fold
19899         into the ldr offset.
19901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19902         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19904 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19906         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19907         (libgcc_s_resume): Use __attribute_used__.
19908         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19909         Likewise.
19911 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19913         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19914         optimization when used with float constants.
19916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19918 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19920         [BZ #16915]
19921         * locale/nl_langinfo_l.c: Make direct reference to every
19922         _nl_current_CATEGORY symbol.
19923         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19924         (tests-static): Add tst-langinfo-static.
19925         (tests-special): Add tst-langinfo-static.out.
19926         ($(objpfx)tst-langinfo.out): Redirect output.
19927         ($(objpfx)tst-langinfo-static.out): New.
19928         * localedata/tst-langinfo.sh: Send output to stdout.
19929         * localedata/tst-langinfo-static.c: New file.
19931         [BZ #16965]
19932         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19933         when the shift amount is modulo the limb size.
19935 2014-05-20  Richard Henderson  <rth@redhat.com>
19937         [BZ #16967]
19938         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19939         Change type of sa_flags from unsigned int to int.
19941         [BZ #16966]
19942         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19944         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19946 2014-05-20  Will Newton  <will.newton@linaro.org>
19948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19949         Test the return value of the system call in the nocancel case.
19951 2014-05-20  Will Newton  <will.newton@linaro.org>
19952             Yvan Roux  <yvan.roux@linaro.org>
19954         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19955         #include of asm/ptrace.h.
19956         (PTRACE_GET_THREAD_AREA): Remove #undef.
19957         (PTRACE_GETHBPREGS): Likewise.
19958         (PTRACE_SETHBPREGS): Likewise.
19959         (struct user_regs_struct): New structure.
19960         (struct user_fpsimd_struct): New structure.
19961         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19962         #include of asm/ptrace.h and second #include of sys/user.h.
19963         (PTRACE_GET_THREAD_AREA): Remove #undef.
19964         (PTRACE_GETHBPREGS): Likewise.
19965         (PTRACE_SETHBPREGS): Likewise.
19966         (ELF_NGREG): Use new struct user_regs_struct.
19967         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19969 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19971         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19972         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19974 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19976         [BZ #16958]
19977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19978         membar to avoid block loads/stores to overlap previous stores.
19980 2014-05-17  Richard Henderson  <rth@redhat.com>
19982         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19983         Create the __##syscall_name##_nocancel entry point.
19984         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19985         Remove; let the sysdep-cancel.h code create it.
19987 2014-05-17  David S. Miller  <davem@davemloft.net>
19989         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19990         Protect with __USE_GNU.
19991         (TIOCSET_TEMPT): Likewise.
19992         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19993         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19994         these are already provided in bits/ioctl-types.h
19996 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19998         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19999         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20001         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20002         Use wait4 regardless of [__NR_waitpid].
20004 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20006         PR libgcc/60166
20007         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20008         (_FP_NANSIGN_Q): Set the quiet bit.
20010 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
20012         * benchtests/Makefile
20013         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20014         not $(common-objpfx)math/libm.so.
20015         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20016         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20017         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20018         $(common-objpfx)dlfcn/libdl.so.
20019         ($(objpfx)tst-audit8): Depend on $(libm), not
20020         $(common-objpfx)math/libm.so.
20021         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20022         not $(common-objpfx)dlfcn/libdl.so.
20023         * math/Makefile
20024         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20025         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
20026         [$(build-shared) = yes].
20027         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20028         $(common-objpfx)nptl/libpthread.so.
20029         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20030         $(common-objpfx)math/libm.so$(libm.so-version) or
20031         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20032         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20033         $(common-objpfx)dlfcn/libdl.so.
20034         * setjmp/Makefile (link-libm): Remove variable.
20035         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20036         * stdio-common/Makefile (link-libm): Remove variable.
20037         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20038         * stdlib/Makefile (link-libm): Remove variable.
20039         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20040         ($(objpfx)tst-strtod-round): Likewise.
20041         ($(objpfx)tst-tininess): Likewise.
20042         ($(objpfx)tst-strtod-underflow): Likewise.
20043         ($(objpfx)tst-strtod6): Likewise.
20044         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20045         $(libdl), not $(common-objpfx)nptl/libpthread.so and
20046         $(common-objpfx)dlfcn/libdl.so.
20048 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20050         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20051         BSD terminal modes definitions.
20053 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20055         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20056         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20058         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20059         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20060         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20061         Don't do #include_next.
20062         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20063         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20064         Don't do #include_next.
20065         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20066         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20067         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20068         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20070 2014-05-16  Allan McRae  <allan@archlinux.org>
20072         * po/sv.po: Update Swedish translation from translation project.
20074         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20075         in sed expression.
20077 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20079         [BZ #16917]
20080         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20081         errno if the TIOCGPTN ioctl fails with an error different than
20082         EINVAL.
20083         * login/tst-ptsname.c: New file.
20084         * login/Makefile (tests): Add tst-ptsname.
20086         [BZ #16943]
20087         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20088         and prlimit64.
20090 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20092         [BZ #16849]
20093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20094         herrno to return EAI_AGAIN.
20096 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20098         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20099         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20100         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20101         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20102         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20103         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20104         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20105         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20106         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20107         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20108         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20109         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20110         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20111         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20112         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20113         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20114         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20115         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20116         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20117         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20118         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20119         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20120         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20121         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20122         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20123         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20124         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20125         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20126         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20127         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20129         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20131         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20133         Moved ...
20134         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20136         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20138         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20140         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20142         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20144         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20146         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20148         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20150         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20152         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20154         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20156         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20158         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20160         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20162         Moved ...
20163         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20165         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20167         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20169         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20171         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20173         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20175         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20177         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20179         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20181         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20183         Moved ...
20184         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20186         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20188         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20189         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20190         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20191         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20192         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20193         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20194         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20196         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20198         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20199         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20200         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20202         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20204         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20206         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20208         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20210         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20211         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20212         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20213         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20214         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20215         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20216         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20218         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20220         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20221         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20223         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20224         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20225         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20226         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20227         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20229         Moved ...
20230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20232         Moved ...
20233         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20235         Moved ...
20236         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20238         Moved ...
20239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20240         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20241         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20243         Moved ...
20244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20245         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20246         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20248         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20249         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20250         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20252         Moved ...
20253         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20254         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20255         Moved ...
20256         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20257         ... here.
20258         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20259         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20260         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20261         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20262         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20263         Moved ...
20264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20265         ... here.
20266         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20267         Moved ...
20268         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20269         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20270         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20271         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20272         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20274         Moved ...
20275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20277         Moved ...
20278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20279         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20280         Moved ...
20281         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20283         Moved ...
20284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20285         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20286         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20288         Moved ...
20289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20290         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20291         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20293         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20294         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20295         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20297         Moved ...
20298         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20299         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20300         Moved ...
20301         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20302         ... here.
20303         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20304         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20305         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20306         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20307         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20308         Moved ...
20309         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20310         ... here.
20311         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20312         Moved ...
20313         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20314         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20315         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20316         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20317         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20319         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20320         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20321         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20323         Moved ...
20324         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20325         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20326         Moved ...
20327         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20328         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20329         Moved ...
20330         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20331         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20332         Moved ...
20333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20334         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20335         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20336         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20337         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20338         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20339         Moved ...
20340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20341         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20342         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20344         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20345         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20346         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20347         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20348         Moved ...
20349         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20350         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20351         Moved ...
20352         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20353         ... here.
20354         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20355         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20356         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20357         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20358         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20359         Moved ...
20360         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20361         ... here.
20362         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20363         Moved ...
20364         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20365         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20366         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20368         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20369         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20370         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20371         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20372         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20373         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20374         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20376         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20377         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20379         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20380         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20382         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20383         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20384         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20385         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20386         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20387         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20388         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20389         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20390         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20391         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20392         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20393         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20394         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20395         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20396         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20398         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20400         Moved ...
20401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20403         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20405         Moved ...
20406         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20410         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20412         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20414         Moved ...
20415         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20417         Moved ...
20418         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20419         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20420         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20421         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20422         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20423         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20424         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20425         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20426         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20427         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20428         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20429         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20430         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20431         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20432         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20433         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20434         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20436         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20437         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20438         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20439         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20440         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20442         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20443         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20444         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20445         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20446         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20447         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20448         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20449         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20450         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20451         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20453         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20454         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20456         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20457         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20458         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20459         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20460         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20461         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20462         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20463         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20464         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20465         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20466         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20467         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20468         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20469         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20471         Update #include.
20472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20473         Likewise.
20474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20475         Likewise.
20476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20477         Likewise.
20478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20479         Likewise.
20480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20481         Likewise.
20482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20483         Likewise.
20484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20485         Likewise.
20486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20487         Likewise.
20488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20489         Likewise.
20490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20492         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20496         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20498         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20499         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20501         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20502         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20504         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20506         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20507         that was previously under [RESET_PID].
20508         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20509         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20510         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20512         * sysdeps/i386/nptl/Implies: New file.
20513         * sysdeps/x86_64/nptl/Implies: New file.
20514         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20515         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20516         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20517         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20519         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20520         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20521         (__libc_vfork): New strong alias.
20522         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20523         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20525         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20526         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20527         (__libc_vfork): New strong alias.
20528         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20529         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20531         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20532         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20533         (__libc_vfork): New strong alias.
20534         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20535         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20536         * nptl/pt-vfork.c: New file.
20537         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20538         (libpthread: GLIBC_2.20): New version set (empty).
20540 2014-05-14  Will Newton  <will.newton@linaro.org>
20542         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20543         rather than #if.
20545 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20547         [BZ #16564]
20548         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20549         arguments with exponent 65 or above.
20550         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20551         arguments 0x1p113L or above.
20552         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20553         to arguments 0x1p107L or above.
20554         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20555         positive arguments with exponent 65 or above.
20556         * math/auto-libm-test-in: Add more tests of log1p.
20557         * math/auto-libm-test-out: Regenerated.
20559         [BZ #16928]
20560         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20561         non-finite arguments is +0.
20562         * math/s_cacosf.c (__cacosf): Likewise.
20563         * math/s_cacosl.c (__cacosl): Likewise.
20564         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20565         * sysdeps/i386/fpu/libm-test-ulps: Update.
20566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20568         [BZ #16927]
20569         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20570         value.
20571         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20572         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20573         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20574         for explicit high bit of mantissa when testing for argument equal
20575         to 1.
20576         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20577         * sysdeps/i386/fpu/libm-test-ulps: Update.
20578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20580         [BZ #16516]
20581         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20582         (__erf): Scale by 16 instead of 8 in potentially underflowing
20583         case.  Ensure exception if result actually underflows.
20584         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20585         (__erff): Scale by 16 instead of 8 in potentially underflowing
20586         case.  Ensure exception if result actually underflows.
20587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20588         (efx8): Remove variable.
20589         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20590         case.  Ensure exception if result actually underflows.
20591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20592         (efx8): Remove variable.
20593         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20594         case.  Ensure exception if result actually underflows.
20595         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20596         (efx8): Remove variable.
20597         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20598         case.  Ensure exception if result actually underflows.
20599         * math/auto-libm-test-in: Add more tests of erf.
20600         * math/auto-libm-test-out: Regenerated.
20602 2014-05-14  Andreas Schwab  <schwab@suse.de>
20604         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20605         Remove code conditionalized on USE___THREAD.
20607         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20608         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20609         not definedness.
20611 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20613         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20614         Define unconditionally.
20615         (__ASSUME_O_CLOEXEC): Likewise.
20616         (__ASSUME_SOCK_CLOEXEC): Likewise.
20617         (__ASSUME_IN_NONBLOCK): Likewise.
20618         (__ASSUME_PIPE2): Likewise.
20619         (__ASSUME_EVENTFD2): Likewise.
20620         (__ASSUME_SIGNALFD4): Likewise.
20621         (__ASSUME_DUP3): Likewise.
20622         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20623         (__ASSUME_DUP3): Do not define.
20624         (__ASSUME_EVENTFD2): Likewise.
20625         (__ASSUME_IN_NONBLOCK): Likewise.
20626         (__ASSUME_O_CLOEXEC): Likewise.
20627         (__ASSUME_PIPE2): Likewise.
20628         (__ASSUME_SIGNALFD4): Likewise.
20629         (__ASSUME_SOCK_CLOEXEC): Likewise.
20630         (__ASSUME_UTIMES): Undefine.
20631         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20632         (__ASSUME_UTIMES): Do not define.
20633         (__ASSUME_O_CLOEXEC): Likewise.
20634         (__ASSUME_SOCK_CLOEXEC): Likewise.
20635         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20636         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20637         0x020621].
20638         (__ASSUME_PIPE2): Likewise.
20639         (__ASSUME_EVENTFD2): Likewise.
20640         (__ASSUME_SIGNALFD4): Likewise.
20641         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20642         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20643         Do not define.
20644         (__ASSUME_EVENTFD2): Likewise.
20645         (__ASSUME_SIGNALFD4): Likewise.
20646         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20647         (__ASSUME_32BITUIDS): Likewise.
20648         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20649         (__ASSUME_IPC64): Likewise.
20650         (__ASSUME_ST_INO_64_BIT): Likewise.
20651         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20652         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20653         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20654         (__ASSUME_UTIMES): Do not define.
20655         (__ASSUME_PSELECT): Likewise.
20656         (__ASSUME_PPOLL): Likewise.
20657         (__ASSUME_O_CLOEXEC): Likewise.
20658         (__ASSUME_SOCK_CLOEXEC): Likewise.
20659         (__ASSUME_IN_NONBLOCK): Likewise.
20660         (__ASSUME_PIPE2): Likewise.
20661         (__ASSUME_EVENTFD2): Likewise.
20662         (__ASSUME_SIGNALFD4): Likewise.
20663         (__ASSUME_DUP3): Likewise.
20664         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20665         (__ASSUME_UTIMES): Likewise.
20666         (__ASSUME_O_CLOEXEC): Likewise.
20667         (__ASSUME_SOCK_CLOEXEC): Likewise.
20668         (__ASSUME_IN_NONBLOCK): Likewise.
20669         (__ASSUME_PIPE2): Likewise.
20670         (__ASSUME_EVENTFD2): Likewise.
20671         (__ASSUME_SIGNALFD4): Likewise.
20672         (__ASSUME_DUP3): Likewise.
20673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20674         (__ASSUME_UTIMES): Likewise.
20675         (__ASSUME_O_CLOEXEC): Likewise.
20676         (__ASSUME_SOCK_CLOEXEC): Likewise.
20677         (__ASSUME_IN_NONBLOCK): Likewise.
20678         (__ASSUME_PIPE2): Likewise.
20679         (__ASSUME_EVENTFD2): Likewise.
20680         (__ASSUME_SIGNALFD4): Likewise.
20681         (__ASSUME_DUP3): Likewise.
20682         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20683         Likewise.
20684         (__ASSUME_UTIMES): Likewise.
20685         (__ASSUME_EVENTFD2): Likewise.
20686         (__ASSUME_SIGNALFD4): Likewise.
20687         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20688         (__ASSUME_O_CLOEXEC): Likewise.
20689         (__ASSUME_SOCK_CLOEXEC): Likewise.
20690         (__ASSUME_IN_NONBLOCK): Likewise.
20691         (__ASSUME_PIPE2): Likewise.
20692         (__ASSUME_EVENTFD2): Likewise.
20693         (__ASSUME_SIGNALFD4): Likewise.
20694         (__ASSUME_DUP3): Likewise.
20695         (__ASSUME_UTIMES): Undefine.
20697         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20698         feclearexcept.  Remove symbol versioning code.
20699         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20700         symbol versioning code.
20701         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20702         symbol versioning code.
20703         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20704         feupdateenv.  Remove symbol versioning code.
20705         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20706         fegetexceptflag.  Remove symbol versioning code.
20707         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20708         fesetexceptflag.  Remove symbol versioning code.
20709         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20710         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20711         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20712         (__posix_fadvise64_l32): Remove prototype.
20713         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20714         code.
20716 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20718         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20719         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20720         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20721         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20723 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20725         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20726         current working directory
20728 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20730         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20731         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20732         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20733         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20734         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20735         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20736         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20737         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20738         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20739         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20740         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20741         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20742         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20743         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20744         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20745         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20746         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20747         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20748         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20749         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20750         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20751         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20752         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20753         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20754         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20755         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20756         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20757         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20758         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20759         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20760         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20761         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20762         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20763         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20764         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20765         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20766         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20767         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20768         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20769         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20770         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20771         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20773         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20774         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20776         * sysdeps/unix/sysv/linux/arm/Makefile
20777         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20778         Add rt-aeabi_unwind_cpp_pr1.
20779         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20780         Add nptl-aeabi_unwind_cpp_pr1.
20781         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20782         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20783         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20784         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20785         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20786         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20788         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20789         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20790         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20791         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20793         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20794         Deconditionalize the code that was previously under [RESET_PID].
20795         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20797         * sysdeps/generic/exit-thread.h: New file.
20798         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20799         * include/unistd.h (__exit_thread): Remove declaration.
20800         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20801         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20802         * csu/libc-start.c: Include <exit-thread.h>.
20803         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20804         * nptl/pthread_create.c: Include <exit-thread.h>.
20805         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20806         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20807         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20808         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20809         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20810         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20811         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20812         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20813         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20814         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20815         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20816         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20817         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20818         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20819         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20820         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20821         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20823 2014-05-13  Andreas Schwab  <schwab@suse.de>
20825         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20827 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20829         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20830         (__ASSUME_UTIMES): Do not condition on kernel version.
20831         (__ASSUME_PSELECT): Define unconditionally.
20832         (__ASSUME_PPOLL): Likewise.
20833         (__ASSUME_ATFCTS): Likewise.
20834         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20835         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20836         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20837         (__ASSUME_UTIMENSAT): Define unconditionally.
20838         (__ASSUME_PRIVATE_FUTEX): Likewise.
20839         (__ASSUME_FALLOCATE): Likewise.
20840         (__ASSUME_O_CLOEXEC): Likewise.
20841         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20842         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20843         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20844         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20845         (__ASSUME_IN_NONBLOCK): Likewise.
20846         (__ASSUME_PIPE2): Likewise.
20847         (__ASSUME_EVENTFD2): Likewise.
20848         (__ASSUME_SIGNALFD4): Likewise.
20849         (__ASSUME_DUP3): Likewise.
20850         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20851         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20852         (__ASSUME_AT_RANDOM): Likewise.
20853         (__ASSUME_PREADV): Likewise.
20854         (__ASSUME_PWRITEV): Likewise.
20855         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20856         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20857         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20858         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20859         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20860         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20861         (__ASSUME_O_CLOEXEC): Define unconditionally.
20862         (__ASSUME_PSELECT): Do not undefine conditionally.
20863         (__ASSUME_PPOLL): Likewise.
20864         (__ASSUME_ATFCTS): Likewise.
20865         (__ASSUME_SET_ROBUST_LIST): Likewise.
20866         (__ASSUME_UTIMENSAT): Likewise.
20867         (__ASSUME_FDATASYNC): Define unconditionally.
20868         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20869         (__ASSUME_SIGFRAME_V2): Likewise.
20870         )__ASSUME_EVENTFD2): Likewise.
20871         (__ASSUME_SIGNALFD4): Likewise.
20872         (__ASSUME_PSELECT): Do not undefine conditionally.
20873         (__ASSUME_PPOLL): Likewise.
20874         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20875         (__ASSUME_PSELECT): Define unconditionally.
20876         (__ASSUME_PPOLL): Likewise.
20877         (__ASSUME_O_CLOEXEC): Likewise.
20878         (__ASSUME_SOCK_CLOEXEC): Likewise.
20879         (__ASSUME_IN_NONBLOCK): Likewise.
20880         (__ASSUME_PIPE2): Likewise.
20881         (__ASSUME_EVENTFD2): Likewise.
20882         (__ASSUME_SIGNALFD4): Likewise.
20883         (__ASSUME_DUP3): Likewise.
20884         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20885         (__ASSUME_O_CLOEXEC): Likewise.
20886         (__ASSUME_SOCK_CLOEXEC): Likewise.
20887         (__ASSUME_IN_NONBLOCK): Likewise.
20888         (__ASSUME_PIPE2): Likewise.
20889         (__ASSUME_EVENTFD2): Likewise.
20890         (__ASSUME_SIGNALFD4): Likewise.
20891         (__ASSUME_DUP3): Likewise.
20892         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20893         (__ASSUME_EVENTFD2): Likewise.
20894         (__ASSUME_SIGNALFD4): Likewise.
20895         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20897 2014-05-12  Andreas Schwab  <schwab@suse.de>
20899         [BZ #16932]
20900         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20901         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20902         than maximum RPC packet size.
20903         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20904         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20905         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20906         (_nss_nis_getservbyport_r): Likewise.
20908 2014-05-12  Will Newton  <will.newton@linaro.org>
20910         * malloc/Makefile (tests): Add tst-mallopt.
20911         * malloc/tst-mallopt.c: New file.
20913 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20915         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20916         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20918 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20920         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20921         (tst-tlsmod6.so): Likewise.
20923 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20925         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20927 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20929         [BZ #16064]
20930         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20931         and <dl-procinfo.h>.
20932         (__fegetenv): Save SSE state in envp->__eip if supported.
20933         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20934         envp->__eip if supported.
20935         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20936         and <dl-procinfo.h>.
20937         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20938         __data_offset and __data_selector in environment to 0.  Set SSE
20939         state if supported.
20940         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20941         test-fenv-sse.
20942         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20943         -mfpmath=sse.
20944         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20946 2014-05-09  Will Newton  <will.newton@linaro.org>
20948         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20949         and libc_relro_required for ARM.
20950         * sysdeps/arm/preconfigure: Regenerate.
20952 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20953             Stefan Liebler  <stli@linux.vnet.ibm.com>
20955         * config.make.in (enable-lock-elision): New Makefile variable.
20956         * configure.ac: Likewise.
20957         * configure: Regenerate.
20958         * sysdeps/s390/configure.ac:
20959         Add check for gcc transactions support.
20960         * sysdeps/s390/configure: Regenerate.
20961         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20962         Build elision files if enabled.
20963         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20964         Add lock elision support for s390.
20965         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20966         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20967         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20968         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20969         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20970         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20972         Likewise.
20973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20974         Likewise.
20975         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20976         Likewise.
20977         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20978         Likewise.
20979         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20980         (__lll_timedlock_elision, __lll_lock_elision)
20981         (__lll_unlock_elision, __lll_trylock_elision)
20982         (lll_timedlock_elision, lll_lock_elision)
20983         (lll_unlock_elision, lll_trylock_elision): Add.
20984         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20985         (pthread_mutex_t): Add lock elision support for s390.
20987 2014-05-14  Wilco  <wdijkstr@arm.com>
20989         * sysdeps/arm/fclrexcpt.c: Cleanup.
20990         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20991         * sysdeps/arm/feenablxcpt.c: Cleanup.
20992         * sysdeps/arm/fegetenv.c: Cleanup.
20993         * sysdeps/arm/fegetexcept.c: Cleanup.
20994         * sysdeps/arm/fegetround.c: Cleanup.
20995         * sysdeps/arm/feholdexcpt.c: Cleanup.
20996         * sysdeps/arm/fesetenv.c: Cleanup.
20997         * sysdeps/arm/fesetround.c: Cleanup.
20998         * sysdeps/arm/feupdateenv.c: Cleanup.
20999         * sysdeps/arm/fgetexcptflg.c: Cleanup.
21000         * sysdeps/arm/fraiseexcpt.c: Cleanup.
21001         * sysdeps/arm/fsetexcptflg.c: Cleanup.
21002         * sysdeps/arm/ftestexcept.c: Cleanup.
21003         * sysdeps/arm/get-rounding-mode.h: Cleanup.
21004         * sysdeps/arm/setfpucw.c: Cleanup.
21006 2014-05-09  Will Newton  <will.newton@linaro.org>
21008         * sysdeps/arm/armv7/strcmp.S: New file.
21009         * NEWS: Mention addition of ARMv7 optimized strcmp.
21011 2014-05-08  Roland McGrath  <roland@hack.frob.com>
21013         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21014         look for %.ac rather than %.in.
21016         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21017         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21018         * sysdeps/mach/hurd/configure: Regenerated.
21019         * sysdeps/unix/sysv/linux/configure: Regenerated.
21021         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21023 2014-05-07  Steve Ellcey  <sellcey@mips.com>
21025         [BZ# 16922]
21026         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21027         (LONG_SUB): Ditto.
21028         (PTR_SUB): Ditto.
21030 2014-05-07  Andreas Schwab  <schwab@suse.de>
21032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21033         when skipping over non-matching result from nscd.
21035 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
21037         [BZ #16876]
21038         * nptl/sockperf.c (client): Check socket return value.
21040         [BZ #16877]
21041         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21042         nscd security class.
21044 2014-05-06  Roland McGrath  <roland@hack.frob.com>
21046         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21047         * sysdeps/arm/unwind.h: ... here.
21049 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
21051         [BZ# 16916]
21052         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21053         Define.
21055 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21057         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21058         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21059         multiarch strncpy for PPC64.
21060         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21061         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21063         multiarch optimizations.
21064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21065         (__libc_ifunc_impl_list): Likewise.
21066         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21067         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21068         multiarch stpncpy for PPC64.
21069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21070         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21072 2014-05-06  Andreas Schwab  <schwab@suse.de>
21074         [BZ #16912]
21075         * gmon/mcount.c (_MCOUNT_DECL): Use
21076         atomic_compare_and_exchange_bool_acq instead of
21077         catomic_compare_and_exchange_bool_acq.
21079 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21081         * elf/Makefile (others, install-bin): Remove pldd.
21082         (pldd-modules): Variable removed.
21083         ($(objpfx)pldd): Target removed.
21084         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21085         (others, install-bin): Append pldd here.
21086         ($(objpfx)pldd): New target.
21088         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21089         to 0, so the first #if test emitted later doesn't see it undefined.
21090         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21091         * sysdeps/gnu/errlist.c: Regenerated.
21093 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21096         [libc_hidden_builtin_def]: Define to empty value.
21097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21098         [libc_hidden_builtin_def]: Likewise.
21099         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21100         [libc_hidden_builtin_def]: Likewise.
21101         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21102         [libc_hidden_builtin_def]: Likewise.
21103         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21104         __redirect_memcpy and define ifunc as default hidden symbol.
21105         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21106         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21108 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21110         * locale/iso-4217.def: Reintroduce XDR currency.
21112 2014-05-04  Allan McRae  <allan@archlinux.org>
21114         * po/eo.po: Update Esperanto translation from translation project.
21116 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21118         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21119         and FEATURE_INDEX_MAX to 1.
21120         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21122 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21124         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21125         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21126         * iconvdata/big5.c (ONE_DIRECTION): Define.
21127         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21128         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21129         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21130         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21131         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21132         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21133         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21134         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21135         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21136         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21137         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21138         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21139         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21140         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21141         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21142         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21143         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21144         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21145         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21146         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21147         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21148         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21149         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21150         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21151         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21152         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21153         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21154         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21155         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21156         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21157         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21158         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21159         * iconvdata/johab.c (ONE_DIRECTION): Define.
21160         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21161         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21162         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21163         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21164         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21165         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21166         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21167         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21168         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21169         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21171 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21173         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21174         (_IO_JUMPS_OFFSET): Define to 0.
21176         * nptl/sysdeps/pthread/bits/libc-lock.h
21177         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21178         (__libc_lock_define_initialized_recursive): Always define using
21179         initializer.  Modern compilers treat uninitialized (implicit zero) and
21180         explicit zero initializers the same (i.e. put the datum in bss).
21182 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21184         * nscd/nscd-client.h: Include <string.h>.
21186 2014-05-01  David S. Miller  <davem@davemloft.net>
21188         [BZ #16885]
21189         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21190         multiple zero bytes exist at the end of a string.
21191         Reported by Aurelien Jarno <aurelien@aurel32.net>
21193         * string/test-strcmp.c (check): Add explicit test for situations where
21194         there are multiple zero bytes after the first.
21196 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21198         [BZ #16890]
21199         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21200         when compiling wprintf.
21201         * stdio-common/tstdiomisc.c (t3): New function.
21202         (main): Call it.
21204 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21206         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21207         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21208         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21209         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21211 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21213         * stdlib/longlong.h: Updated from GCC.
21215 2014-05-01  Will Newton  <will.newton@linaro.org>
21216             Bernard Ogden  <bernie.ogden@linaro.org>
21218         * NEWS: Update fixed bug list.
21220         [BZ #15119]
21221         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21223 2014-04-30  David S. Miller  <davem@davemloft.net>
21225         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21226         (libc_feholdexcept_setround_sparc_ctx): New function.
21227         (libc_fesetenv_sparc_ctx): Likewise.
21228         (libc_feupdateenv_sparc_ctx): Likewise.
21229         (libc_feholdsetround_sparc_ctx): Likewise.
21230         (libc_feholdexcept_setround_ctx): Define.
21231         (libc_feholdexcept_setroundf_ctx): Likewise.
21232         (libc_feholdexcept_setroundl_ctx): Likewise.
21233         (libc_fesetenv_ctx): Likewise.
21234         (libc_fesetenvf_ctx): Likewise.
21235         (libc_fesetenvl_ctx): Likewise.
21236         (libc_feupdateenv_ctx): Likewise.
21237         (libc_feupdateenvf_ctx): Likewise.
21238         (libc_feupdateenvl_ctx): Likewise.
21239         (libc_feresetround_ctx): Likewise.
21240         (libc_feresetroundf_ctx): Likewise.
21241         (libc_feresetroundl_ctx): Likewise.
21242         (libc_feholdsetround_ctx): Likewise.
21243         (libc_feholdsetroundf_ctx): Likewise.
21244         (libc_feholdsetroundl_ctx): Likewise.
21246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21247         with __USE_GNU instead of XOPEN cpp guards.
21249         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21250         0.
21252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21253         with XOPEN cpp guards.
21255 2014-04-30  Julian Brown  <julian@codesourcery.com>
21257         [BZ #16888]
21258         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21259         handling.
21261 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21263         [BZ #9894]
21264         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21265         Change to 2.6.32.
21266         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21267         * sysdeps/unix/sysv/linux/configure: Regenerated.
21268         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21269         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21270         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21271         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21272         * README: Update reference to required Linux kernel version.
21273         * manual/install.texi (Linux): Update reference to required Linux
21274         kernel headers version.
21275         * INSTALL: Regenerated.
21277         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21278         header inclusion.
21279         [POSIX] (limits.h): Likewise.
21280         [POSIX] (math.h): Likewise.
21281         [POSIX] (sys/wait.h): Likewise.
21282         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21283         function.
21284         [POSIX] (stddef.h): Do not allow header inclusion.
21286 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21288         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21290 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21292         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21293         Return immediately after lll_futex_wake.
21295 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21297         [BZ #16791]
21298         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21299         structure.
21300         (datahead_init_pos): Call datahead_init_common early.
21301         (datahead_init_neg): Likewise.
21303         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21304         datahead_init_neg): New functions.
21305         * nscd/aicache.c (addhstaiX): Use them.
21306         * nscd/grpcache.c (cache_addgr): Likewise.
21307         * nscd/hstcache.c (cache_addhst): Likewise.
21308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21309         * nscd/netgroupcache.c (do_notfound): Likewise.
21310         (addgetnetgrentX): Likewise.
21311         (addinnetgrX): Likewise.
21312         * nscd/pwdcache.c (cache_addpw): Likewise.
21313         * nscd/servicescache.c (cache_addserv): Likewise.
21315 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21316             Atsushi Onoe  <atsushi@onoe.org>
21318         [BZ #14308]
21319         [BZ #12994]
21320         [BZ #13651]
21321         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21322         one response is valid.
21323         * resolv/res_send.c (send_dg): Check for validity of other
21324         response if the current response is a referral.
21326 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21328         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21330 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21332         [BZ #16823]
21333         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21334         Always divide by positive zero when computing -Inf result.
21335         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21336         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21338 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21340         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21341         FPSCR if value do not change.
21342         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21343         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21344         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21345         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21346         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21347         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21348         function.
21350 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21352         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21353         * sysdeps/unix/sysv/linux/hppa: Move directory from
21354         ports/systeps/unix/sysv/linux/hppa.
21355         * README: Update listing for hppa-*-linux-gnu.
21357 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21359         [BZ #16754]
21360         * manual/stdio.texi (Hook functions): Fix types of stream hook
21361         functions.
21362         [BZ #16854]
21363         * socket/sys/socket.h: Fix typo in comment.
21365 2014-04-28  Wilco  <wdijkstr@arm.com>
21367         * sysdeps/arm/fenv_private.h: New file.
21368         * sysdeps/arm/math_private.h: New file.
21369         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21371 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21373         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21374         with __int128_t.
21375         (La_x86_64_retval): Likewise.
21377 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21379         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21380         fpsr if value didn't change.
21381         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21382         to fpcr if value didn't change.
21383         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21384         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21385         fpsr or fpcr if value didn't change.
21386         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21387         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21388         fpcr if value didn't change.
21389         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21390         to fpsr if value didn't change.
21392 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21394         * nptl/tst-sem3.c: Use test-skeleton.c
21395         (main): Rename to do_test.  Use return instead of
21396         exit.
21397         * nptl/tst-sem4.c: Use test-skeleton.c
21398         (main): Rename to do_test.
21400 2014-04-22  David S. Miller  <davem@davemloft.net>
21402         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21403         (struct sigaction): New struct member __glibc_reserved0, change
21404         type of sa_flags to int.
21406 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21408         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21409         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21411 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21413         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21414         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21416 2014-04-22  Will Newton  <will.newton@linaro.org>
21417             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21419         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21420         (__longjmp): Add longjmp and longjmp_target SystemTap
21421         probes.
21422         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21423         (__sigsetjmp): Add setjmp SystemTap probe.
21425 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21427         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21428         match manual order.
21430 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21432         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21434         * sysdeps/powerpc/fpu/fenv_private.h
21435         (libc_feholdexcept_setroundl_ctx): Define to
21436         libc_feholdexcept_setround_ppc_ctx.
21437         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21438         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21439         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21440         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21442 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21444         * sysdeps/aarch64/math-tests.h: New file.
21446 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21448         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21449         New.
21450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21451         Check and set bit_AVX2_Usable.
21452         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21453         macro.
21454         (bit_AVX2): Likewise.
21455         (index_AVX2_Usable): Likewise.
21456         (CPUID_AVX2): Likewise.
21457         (HAS_AVX2): Likewise.
21459 2014-04-17  Will Newton  <will.newton@linaro.org>
21461         * manual/setjmp.texi (System V contexts): Add note that
21462         calling setcontext on a context created by a call to a
21463         signal handler is undefined.  Update text to note that
21464         setcontext from a signal handler is possible but not
21465         recommended.
21467         [BZ #16629]
21468         * stdlib/tst-setcontext.c: Include signal.h.
21469         (main): Check that the signal stack before and
21470         after swapcontext is the same.
21472         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21473         Re-implement to restore registers in user code and avoid
21474         rt_sigreturn system call.
21476 2014-04-17  Wilco  <wdijkstr@arm.com>
21478         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21479         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21480         * math/test-fenv.c: Skip exception trap tests on targets which only
21481         support non-stop mode.
21483 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21484             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21486         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21487         (libc_feholdsetround_aarch64_ctx)
21488         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21489         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21490         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21491         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21492         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21493         (libc_feresetround_noexl_ctx): Define.
21495 2014-04-16  Richard Henderson  <rth@redhat.com>
21497         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21499         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21500         unwind tables.
21502         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21503         const from the non-libc, non-ldso copy.
21505         * sysdeps/alpha/libm-test-ulps: Regenerate.
21507 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21508             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21510         * sysdeps/aarch64/fpu/math_private.h: New file.
21512 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21514         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21516 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21518         [BZ #16275]
21519         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21520         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21521         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21522         Intel MPX bound registers before _dl_profile_fixup.
21523         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21524         registers after _dl_profile_fixup.  Save and restore bound
21525         registers bnd0/bnd1 when calling _dl_call_pltexit.
21526         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21527         (LR_BND_OFFSET): Likewise.
21528         (LRV_BND0_OFFSET): Likewise.
21529         (LRV_BND1_OFFSET): Likewise.
21531 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21533         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21534         to...
21535         * sysdeps/mach/hurd/i386/tls.h: ... here.
21536         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21537         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21538         fields.
21540 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21542         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21544 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21546         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21548 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21550         [BZ #14770]
21551         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21552         * sysdeps/s390/configure: Regenerate.
21554         [BZ #16824]
21555         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21556         Set round-to-nearest internally to reduce error accumulation.
21558 2014-04-16  Alan Modra  <amodra@gmail.com>
21560         [BZ #16740]
21561         [BZ #16619]
21562         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21563         * math/libm-test.inc (frexp_test_data): Add tests.
21564         * NEWS: Update fixed bug list.
21566 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21568         * benchtests/Makefile: Depend on libraries in build directory.
21569         (bench-math): Separate out math tests.
21570         (bench-pthread): Separate out pthread tests.
21571         (bench): Include math and pthread tests.
21573 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21575         [BZ #16831]
21576         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21577         _dl_debug_initialize.
21579         * configure.ac: Remove SELinux header check.
21580         * configure: Regenerate.
21581         * nscd/selinux.c (perms): Array of const char* to permission names.
21582         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21583         default policy. Call string_to_security_class and string_to_av_perm to
21584         translate strings. Enforce default policy and call avs_has_perm with
21585         results of translated strings.
21587 2014-04-13  David S. Miller  <davem@davemloft.net>
21589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21591 2014-04-12  Allan McRae  <allan@archlinux.org>
21593         [BZ #16838]
21594         * manual/string.texi (Collation Functions): Fix qsort argument
21595         order in example.
21596         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21598 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21600         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21601         Make the test a no-op if there are no exceptions defined.
21603 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21605         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21606         enable-hardcoded-path-in-tests
21608 2014-04-11  Will Newton  <will.newton@linaro.org>
21610         * benchtests/Makefile (extra-objs): Add json-lib.o.
21611         (bench-func): Tidy up JSON output.
21612         * benchtests/bench-skeleton.c: Include json-lib.h.
21613         (main): Use JSON library functions to do output of
21614         benchmark results.
21615         * benchtests/bench-timing-type.c (main): Output the
21616         timing type simply, leaving formatting to the user.
21617         * benchtests/json-lib.c: New file.
21618         * benchtests/json-lib.h: Likewise.
21620 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21622         [BZ #15215]
21623         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21624         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21625         memory barriers.  Add comments.
21626         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21627         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21628         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21629         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21630         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21631         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21633 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21635         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21636         * sysdeps/s390/s390-64/configure.ac: ... this ...
21637         * sysdeps/s390/configure.ac: ... to here.
21638         * sysdeps/s390/s390-32/configure: Delete file.
21639         * sysdeps/s390/s390-64/configure: Delete file.
21640         * sysdeps/s390/configure: Regenerate.
21642 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21644         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21646 2014-04-11  Will Newton  <will.newton@linaro.org>
21648         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21649         to zero if it is not defined elsewhere.  (mtrim): Test
21650         the value of MALLOC_DEBUG with #if rather than #ifdef.
21652 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21654         * benchtests/pthread_once-inputs: New file.
21655         * benchtests/pthread_once-source.c: New file.
21656         * benchtests/README: Update documentation.
21658 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21659             H.J. Lu  <hongjiu.lu@intel.com>
21661         [BZ #16275]
21662         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21663         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21664         * sysdeps/x86_64/configure: Regenerated.
21665         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21666         macro.
21667         (REGISTER_SAVE_RAX): Likewise.
21668         (REGISTER_SAVE_RCX): Likewise.
21669         (REGISTER_SAVE_RDX): Likewise.
21670         (REGISTER_SAVE_RSI): Likewise.
21671         (REGISTER_SAVE_RDI): Likewise.
21672         (REGISTER_SAVE_R8): Likewise.
21673         (REGISTER_SAVE_R9): Likewise.
21674         (REGISTER_SAVE_BND0): Likewise.
21675         (REGISTER_SAVE_BND1): Likewise.
21676         (REGISTER_SAVE_BND2): Likewise.
21677         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21678         bound registers when calling _dl_fixup.
21680 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21682         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21683         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21684         of its definition.
21685         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21686         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21687         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21688         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21689         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21690         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21691         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21693 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21695         [BZ #15514]
21696         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21697         pathconf(_PC_NAME_MAX).
21699 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21701         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21702         Remove macro usage.
21703         (__PTHREAD_SPINS): Move definition to ...
21704         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21705         (__PTHREAD_SPINS): ... here.
21706         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21707         (__PTHREAD_SPIN): Likewise.
21708         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21709         (__PTHREAD_SPIN): Likewise.
21710         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21711         (__PTHREAD_SPIN): Likewise.
21712         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21713         (__PTHREAD_SPIN): Likewise.
21714         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21715         (__PTHREAD_SPIN): Likewise.
21716         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21717         (__PTHREAD_SPIN): Likewise.
21718         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21719         (__PTHREAD_SPIN): Likewise.
21720         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21721         (__PTHREAD_SPIN): Likewise.
21722         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21723         (__PTHREAD_SPIN): Likewise.
21724         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21725         (__PTHREAD_SPIN): Likewise.
21726         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21727         (__PTHREAD_SPIN): Likewise.
21728         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21729         (__PTHREAD_SPIN): Likewise.
21731         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21732         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21733         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21734         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21735         imply folder.
21736         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21737         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21738         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21739         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21740         correct imply path.
21741         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21742         strlen symbol for non multi-arch builds.
21743         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21744         missing hidden_def and weak_alias.
21746 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21748         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21750 2014-04-07  Will Newton  <will.newton@linaro.org>
21752         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21753         and contents.  [!_LIBC] Remove #ifndef and contents.
21754         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21755         * string/memccpy.c (__memccpy): Use ANSI prototype.
21756         * string/memfrob.c (memfrob): Likewise.
21757         * string/strcoll.c (STRCOLL): Likewise.
21758         * string/strlen.c (strlen): Likewise.
21759         * string/strtok.c (STRTOK): Likewise.
21760         * string/strcat.c: Remove unused #include of memcopy.h.
21761         (strcat): Use ANSI prototype.
21762         * string/strchr.c: Remove unused #include of memcopy.h.
21763         (strchr): Use ANSI prototype.
21764         * string/strcmp.c: Remove unused #include of memcopy.h.
21765         (strcmp): Use ANSI prototype.
21766         * string/strcpy.c: Remove unused #include of memcopy.h.
21767         (strcpy): Use ANSI prototype.
21769 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21771         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21772         * config.make.in (config-extra-cppflags): Set it from
21773         libc_extra_cppflags.
21774         * configure.ac (libc_extra_cflags): Make it accumulate over
21775         configure fragments.
21776         (libc_extra_cppflags): New flag.
21777         * configure. Regenerate.
21778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21779         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21780         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21783         [BZ #16815]
21784         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21785         result for FE_DOWNWARD rounding mode.
21786         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21787         Likewise.
21788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21790 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21792         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21793         in function argument name.
21795 2014-04-03  David Svoboda  <svoboda@cert.org>
21797         [BZ #5666]
21798         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21799         explicitly.
21801 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21803         * elf/dl-unmap-segments.h: New file.
21804         * sysdeps/generic/ldsodefs.h
21805         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21806         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21807         * elf/dl-fptr.c: Likewise.
21808         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21809         * sysdeps/aarch64/tlsdesc.c: Likewise.
21810         * sysdeps/arm/tlsdesc.c: Likewise.
21811         * sysdeps/i386/tlsdesc.c: Likewise.
21812         * sysdeps/tile/dl-runtime.c: Likewise.
21813         * sysdeps/x86_64/tlsdesc.c: Likewise.
21814         * elf/dl-load.h: New file.
21815         * elf/dl-load.c: Include it.
21816         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21817         Macros moved to dl-load.h.
21818         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21819         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21820         Use _dl_unmap_segments in place of __munmap.
21821         Break out segment-mapping loop into ...
21822         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21824 2014-04-03  Will Newton  <will.newton@linaro.org>
21826         * elf/dl-lookup.c (do_lookup_x): Remove comment
21827         referring to nested function and move variable
21828         declarations down to before first use.
21830 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21832         [BZ #16799]
21833         [BZ #16800]
21834         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21835         with 0 numerator.
21836         * math/s_catanf.c (__catanf): Likewise.
21837         * math/s_catanh.c (__catanh): Likewise.
21838         * math/s_catanhf.c (__catanhf): Likewise.
21839         * math/s_catanhl.c (__catanhl): Likewise.
21840         * math/s_catanl.c (__catanl): Likewise.
21841         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21842         by positive zero when computing -Inf result.
21843         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21844         (catanh_test): Likewise.
21845         * sysdeps/i386/fpu/libm-test-ulps: Update.
21846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21848         [BZ #16789]
21849         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21850         instead of using underflowing value in computing result.
21851         * math/s_clog10.c (__clog10): Likewise.
21852         * math/s_clog10f.c (__clog10f): Likewise.
21853         * math/s_clog10l.c (__clog10l): Likewise.
21854         * math/s_clogf.c (__clogf): Likewise.
21855         * math/s_clogl.c (__clogl): Likewise.
21856         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21857         (clog10_test): Likewise.
21858         * sysdeps/i386/fpu/libm-test-ulps: Update.
21859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21861 2014-04-02  Alan Modra  <amodra@gmail.com>
21863         [BZ #16739]
21864         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21865         output when value is near a power of two.  Use int64_t for lx and
21866         remove casts.  Use decimal rather than hex exponent constants.
21867         Don't use long double multiplication when double will suffice.
21868         * math/libm-test.inc (nextafter_test_data): Add tests.
21869         * NEWS: Add 16739 and 16786 to bug list.
21871         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21873         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21875 2014-04-01  Will Newton  <will.newton@linaro.org>
21877         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21878         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21880 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21882         [BZ #13347]
21883         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21884         * nptl/tst-setuid2.c: New file.
21885         * nptl/Makefile (xtests): Add tst-setuid2.
21887 2014-04-01  Alan Modra  <amodra@gmail.com>
21889         [BZ #16786]
21890         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21892 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21894         [BZ #6803]
21895         [BZ #6804]
21896         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21897         set errno as appropriate.
21898         * math/w_scalbf.c (__scalbf): Likewise.
21899         * math/w_scalbl.c (__scalbl): Likewise.
21900         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21901         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21902         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21903         Add more NaN tests.
21905         [BZ #16349]
21906         * math/w_atan2.c: Include <errno.h>.
21907         (__atan2): Set errno for result underflowing to zero.
21908         * math/w_atan2f.c: Include <errno.h>.
21909         (__atan2f): Set errno for result underflowing to zero.
21910         * math/w_atan2l.c: Include <errno.h>.
21911         (__atan2l): Set errno for result underflowing to zero.
21912         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21913         tests.
21914         * math/auto-libm-test-out: Regenerated.
21916 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21919         Encode instruction correctly in little endian.
21920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21921         Likewise.
21922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21923         Likewise.
21924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21925         Likewise.
21926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21927         Likewise.
21929 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21931         [BZ #9894]
21932         * sysdeps/unix/sysv/linux/kernel-features.h
21933         [__sparc__ && !__arch64__ && !__sparc_v9__]
21934         (__ASSUME_SET_ROBUST_LIST): Do not define.
21935         [__sparc__ && !__arch64__ && !__sparc_v9__]
21936         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21937         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21938         Likewise.
21939         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21940         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21941         (__ASSUME_REQUEUE_PI): Likewise.
21942         (__ASSUME_SET_ROBUST_LIST): Likewise.
21943         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21944         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21945         Undefine.
21946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21947         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21948         Likewise.
21949         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21950         Likewise.
21951         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21952         Likewise.
21953         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21954         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21955         Undefine.
21956         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21957         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21958         Likewise.
21960         [BZ #16648]
21961         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21963         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21965 2014-03-31  Will Newton  <will.newton@linaro.org>
21967         * benchtests/Makefile (bench): Add ffs and ffsll to list
21968         of tests.
21969         * benchtests/ffs-inputs: New file.
21970         * benchtests/ffsll-inputs: Likewise.
21972 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21974         [BZ #16770]
21975         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21976         too large before casting to int.
21977         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21978         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21979         * math/libm-test.inc (scalb_test_data): Add more tests.
21981 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21983         * benchtests/Makefile (DETAILED_OPT): New make option.
21984         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21985         set.
21986         * benchtests/bench-skeleton.c: Include stdbool.h.
21987         (main): Store and print timings per input.
21988         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21989         member to each argument value.
21990         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21991         (_print_arg_data): Initialize per-input timing to 0.
21993         * benchtests/Makefile (timing-type): New binary.
21994         (bench-clean): Also remove bench-timing-type.
21995         (bench): New target for timing-type.
21996         (bench-func): Print output in JSON format.
21997         * benchtests/bench-skeleton.c (main): Print output in JSON
21998         format.
21999         * benchtests/bench-timing-type.c: New file.
22000         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22001         (TIMING_PRINT_STATS): Remove.
22002         * benchtests/scripts/bench.py (_print_arg_data): Store variant
22003         name separately.
22005         * benchtests/bench-modf.c: Remove.
22006         * benchtests/modf-inputs: New inputs file.
22008 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
22010         [BZ #16362]
22011         * math/s_clog10.c (M_PI_LOG10E): New macro.
22012         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22013         imaginary parts are 0.
22014         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22015         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22016         imaginary parts are 0.
22017         * math/s_clog10l.c (M_PI_LOG10El): New macro.
22018         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22019         imaginary parts are 0.
22020         * math/libm-test.inc (clog10_test_data): Update expected results
22021         for when real and imaginary parts are 0.
22023 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
22025         * elf/dl-load.c: Finish conversion of __builtin_expect into
22026         __glibc_{un}likely.
22028 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
22030         [BZ #16348]
22031         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22032         1+x for argument with exponent below -67.
22033         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22034         Likewise.
22035         * math/auto-libm-test-in: Add more tests of exp.
22036         * math/auto-libm-test-out: Regenerated.
22038 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22040         [BZ #16759]
22041         * inet/getnetgrent_r.c (get_nonempty_val): New function.
22042         (nscd_getnetgrent): Use it.
22044         [BZ #16760]
22045         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22046         of stpcpy.
22048 2014-03-27  Andi Kleen  <ak@linux.intel.com>
22050         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22051         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22052         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22053         (lll_robust_unlock): Remove out of line section. Use cfi
22054         intrinsics.
22055         (LLL_STUB_UNWIND_INFO*): Remove.
22056         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22057         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22058         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22059         (lll_robust_unlock): Remove out of line section. Use cfi
22060         intrinsics.
22061         (LLL_STUB_UNWIND_INFO*): Remove.
22063 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22065         [BZ #16758]
22066         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22067         blank values.
22069 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22071         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22073 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22075         [BZ #16198]
22076         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22077         fnstenv.
22078         * math/test-fenv-preserve.c: New file.
22079         * math/Makefile (tests): Add test-fenv-preserve.
22081 2014-03-26  Will Newton <will.newton@linaro.org>
22083         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22085 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22087         * scripts/versionlist.awk: Partition the version sets and emit all
22088         GLIBC_* (sorted) before all others (sorted).
22090 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22092         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22093         GLIBC_2.2.5 version.
22095 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22098         calls.
22100         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22101         previous change.
22103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22105 2014-03-25  Andreas Schwab  <schwab@suse.de>
22107         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22108         label to be used after in6ailist is initialized.
22110 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22112         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22113         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22115 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22117         [BZ #16357]
22118         [BZ #16599]
22119         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22120         min_plus_half.
22121         (fp_formats): Update initializers.
22122         (init_fp_formats): Initialize new field.
22123         (output_for_one_input_case): Allow underflow for results up to
22124         min_plus_half.
22125         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22126         * math/auto-libm-test-in: Don't mark some underflows from asin and
22127         atanh as spurious.
22128         * math/auto-libm-test-out: Regenerated.
22129         * sysdeps/i386/fpu/libm-test-ulps: Update.
22130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22132 2014-03-25  Andreas Schwab  <schwab@suse.de>
22134         * libio/Makefile (tst-ftell-partial-wide-ENV)
22135         (tst-ftell-active-handler-ENV): Define.
22137 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22139         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22141 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22143         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22145 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22147         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22148         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22149         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22151 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22153         [BZ #16634]
22154         * elf/dl-load.c (open_verify): Add mode parameter.
22155         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22156         (open_path): Change from boolean 'secure' to complete flag 'mode'
22157         (_dl_map_object): Adjust.
22158         * elf/Makefile (tests): Add tst-dlopen-aout.
22159         * elf/tst-dlopen-aout.c: New test.
22161 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22163         [BZ #16714]
22164         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22165         (struct stat): Rename member pad0 to __glibc_reserved0.
22167         [BZ #16712]
22168         * sysdeps/s390/s390-32/bits/wordsize.h
22169         (__WORDSIZE32_SIZE_ULONG): New define.
22170         * sysdeps/s390/s390-64/bits/wordsize.h
22171         (__WORDSIZE32_SIZE_ULONG): Likewise.
22172         * sysdeps/generic/stdint.h (SIZE_MAX):
22173         Define as UL if __WORDSIZE32_SIZE_ULONG.
22175         [BZ #16713]
22176         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22177         (__glibc_reserved0): New variable.
22178         (sa_flags): Change type to int.
22180         * posix/Makefile (before-compile): Use += before-compile instead
22181         of a :=.
22183         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22184         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22186 2014-03-20  Andreas Schwab  <schwab@suse.de>
22188         [BZ #16743]
22189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22190         non-matching result from nscd.
22192 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22194         * scripts/bench.py: Moved to ...
22195         * benchtests/scripts/bench.py: ... here.
22196         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22198 2014-03-24  Andreas Schwab  <schwab@suse.de>
22200         [BZ #16002]
22201         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22202         alloca_account and account alloca use for struct in6ailist.
22204 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22206         [BZ #16284]
22207         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22208         rounding mode to recompute results that overflow to infinity or
22209         underflow to zero.
22210         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22211         bug 16284.
22212         * math/auto-libm-test-out: Regenerated.
22213         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22214         (ccosh_test): Likewise.
22215         (csin_test_data): Use plus_oflow.
22216         (csin_test): Use ALL_RM_TEST.
22217         (csinh_test_data): Use plus_oflow.
22218         (csinh_test): Use ALL_RM_TEST.
22219         * sysdeps/i386/fpu/libm-test-ulps: Update.
22220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22222 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22224         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22225         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22226         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22228         [BZ #16731]
22229         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22230         when x - 1 is zero.
22231         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22232         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22233         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22234         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22235         argument is 1.
22236         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22237         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22238         zero.
22239         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22240         * sysdeps/i386/fpu/libm-test-ulps: Update.
22241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22245         * scripts/bench.pl: Remove file.
22246         * scripts/bench.py: New benchmark script.
22247         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22248         * benchtests/README: Mention python dependency.
22249         * scripts/pylintrc: New file.
22250         * scripts/pylint: New file.
22252         * bits/mathdef.h: Use #ifdef instead of #if.
22253         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22254         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22255         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22256         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22257         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22258         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22260 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22261             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22263         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22265         and strpbrk-ppc64 objects.
22266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22267         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22268         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22269         multiarch strpbrk for POWER7.
22270         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22271         multiarch strpbrk for PPC64.
22272         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22273         ifunc selector.
22274         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22275         strpbrk for POWER7.
22277 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22279         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22280         (atan_test): Likewise.
22281         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22282         (atanh_test): Use ALL_RM_TEST.
22283         (atan2_test_data): Likewise.
22284         (cabs_test): Likewise.
22285         (cacosh_test): Likewise.
22286         (carg_test): Likewise.
22287         (casin_test): Likewise.
22288         (casinh_test): Likewise.
22289         (cbrt_test): Likewise.
22290         (csqrt_test): Likewise.
22291         (erf_test): Likewise.
22292         (erfc_test): Likewise.
22293         (pow10_test): Likewise.
22294         (exp2_test): Likewise.
22295         (hypot_test): Likewise.
22296         (j0_test): Likewise.
22297         (j1_test): Likewise.
22298         (lgamma_test): Likewise.
22299         (gamma_test): Likewise.
22300         (sincos_test): Likewise.
22301         (tanh_test): Likewise.
22302         (y0_test): Likewise.
22303         (y1_test): Likewise.
22304         * sysdeps/i386/fpu/libm-test-ulps: Update.
22305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22307 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22309         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22311         and strcspn-ppc64 objects.
22312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22313         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22314         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22315         multiarch strcspn for POWER7.
22316         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22317         multiarch strcspn for PPC64.
22318         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22319         ifunc selector.
22320         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22321         strcspn for POWER7.
22323 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22325         * math/gen-libm-test.pl (generate_testfile): Expect only function
22326         name as argument to AUTO_TESTS_* and pass results for all rounding
22327         modes to parse_args.
22328         (parse_auto_input): Separate inputs of automatic tests from
22329         outputs before storing in %auto_tests.
22330         * math/libm-test.inc (acos_test_data): Update call to
22331         AUTO_TESTS_f_f.
22332         (acos_test): Use ALL_RM_TEST.
22333         (acos_tonearest_test_data): Remove.
22334         (acos_test_tonearest): Likewise.
22335         (acos_towardzero_test_data): Likewise.
22336         (acos_test_towardzero): Likewise.
22337         (acos_downward_test_data): Likewise.
22338         (acos_test_downward): Likewise.
22339         (acos_upward_test_data): Likewise.
22340         (acos_test_upward): Likewise.
22341         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22342         (asin_test_data): Likewise.
22343         (asin_test): Use ALL_RM_TEST.
22344         (asin_tonearest_test_data): Remove.
22345         (asin_test_tonearest): Likewise.
22346         (asin_towardzero_test_data): Likewise.
22347         (asin_test_towardzero): Likewise.
22348         (asin_downward_test_data): Likewise.
22349         (asin_test_downward): Likewise.
22350         (asin_upward_test_data): Likewise.
22351         (asin_test_upward): Likewise.
22352         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22353         (atan_test_data): Likewise.
22354         (atanh_test_data): Likewise.
22355         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22356         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22357         (carg_test_data): Likewise.
22358         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22359         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22360         (ccosh_test_data): Likewise.
22361         (cexp_test_data): Likewise.
22362         (clog_test_data): Likewise.
22363         (clog10_test_data): Likewise.
22364         (cos_test_data): Update call to AUTO_TESTS_f_f.
22365         (cos_test): Use ALL_RM_TEST.
22366         (cos_tonearest_test_data): Remove.
22367         (cos_test_tonearest): Likewise.
22368         (cos_towardzero_test_data): Likewise.
22369         (cos_test_towardzero): Likewise.
22370         (cos_downward_test_data): Likewise.
22371         (cos_test_downward): Likewise.
22372         (cos_upward_test_data): Likewise.
22373         (cos_test_upward): Likewise.
22374         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22375         (cosh_test): Use ALL_RM_TEST.
22376         (cosh_tonearest_test_data): Remove.
22377         (cosh_test_tonearest): Likewise.
22378         (cosh_towardzero_test_data): Likewise.
22379         (cosh_test_towardzero): Likewise.
22380         (cosh_downward_test_data): Likewise.
22381         (cosh_test_downward): Likewise.
22382         (cosh_upward_test_data): Likewise.
22383         (cosh_test_upward): Likewise.
22384         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22385         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22386         (ctan_test_data): Likewise.
22387         (ctan_test): Use ALL_RM_TEST.
22388         (ctan_tonearest_test_data): Remove.
22389         (ctan_test_tonearest): Likewise.
22390         (ctan_towardzero_test_data): Likewise.
22391         (ctan_test_towardzero): Likewise.
22392         (ctan_downward_test_data): Likewise.
22393         (ctan_test_downward): Likewise.
22394         (ctan_upward_test_data): Likewise.
22395         (ctan_test_upward): Likewise.
22396         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22397         (ctanh_test): Use ALL_RM_TEST.
22398         (ctanh_tonearest_test_data): Remove.
22399         (ctanh_test_tonearest): Likewise.
22400         (ctanh_towardzero_test_data): Likewise.
22401         (ctanh_test_towardzero): Likewise.
22402         (ctanh_downward_test_data): Likewise.
22403         (ctanh_test_downward): Likewise.
22404         (ctanh_upward_test_data): Likewise.
22405         (ctanh_test_upward): Likewise.
22406         (erf_test_data): Update call to AUTO_TESTS_f_f.
22407         (erfc_test_data): Likewise.
22408         (exp_test_data): Likewise.
22409         (exp_test): Use ALL_RM_TEST.
22410         (exp_tonearest_test_data): Remove.
22411         (exp_test_tonearest): Likewise.
22412         (exp_towardzero_test_data): Likewise.
22413         (exp_test_towardzero): Likewise.
22414         (exp_downward_test_data): Likewise.
22415         (exp_test_downward): Likewise.
22416         (exp_upward_test_data): Likewise.
22417         (exp_test_upward): Likewise.
22418         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22419         (exp10_test): Use ALL_RM_TEST.
22420         (exp10_tonearest_test_data): Remove.
22421         (exp10_test_tonearest): Likewise.
22422         (exp10_towardzero_test_data): Likewise.
22423         (exp10_test_towardzero): Likewise.
22424         (exp10_downward_test_data): Likewise.
22425         (exp10_test_downward): Likewise.
22426         (exp10_upward_test_data): Likewise.
22427         (exp10_test_upward): Likewise.
22428         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22429         (expm1_test_data): Likewise.
22430         (expm1_test): Use ALL_RM_TEST.
22431         (expm1_tonearest_test_data): Remove.
22432         (expm1_test_tonearest): Likewise.
22433         (expm1_towardzero_test_data): Likewise.
22434         (expm1_test_towardzero): Likewise.
22435         (expm1_downward_test_data): Likewise.
22436         (expm1_test_downward): Likewise.
22437         (expm1_upward_test_data): Likewise.
22438         (expm1_test_upward): Likewise.
22439         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22440         (fma_test): Use ALL_RM_TEST.
22441         (fma_towardzero_test_data): Remove.
22442         (fma_test_towardzero): Likewise.
22443         (fma_downward_test_data): Likewise.
22444         (fma_test_downward): Likewise.
22445         (fma_upward_test_data): Likewise.
22446         (fma_test_upward): Likewise.
22447         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22448         (j0_test_data): Update call to AUTO_TESTS_f_f.
22449         (j1_test_data): Likewise.
22450         (jn_test_data): Update call to AUTO_TESTS_if_f.
22451         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22452         (log_test_data): Update call to AUTO_TESTS_f_f.
22453         (log10_test_data): Likewise.
22454         (log1p_test_data): Likewise.
22455         (log2_test_data): Likewise.
22456         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22457         (pow_tonearest_test_data): Likewise.
22458         (sin_test_data): Update call to AUTO_TESTS_f_f.
22459         (sin_test): Use ALL_RM_TEST.
22460         (sin_tonearest_test_data): Remove.
22461         (sin_test_tonearest): Likewise.
22462         (sin_towardzero_test_data): Likewise.
22463         (sin_test_towardzero): Likewise.
22464         (sin_downward_test_data): Likewise.
22465         (sin_test_downward): Likewise.
22466         (sin_upward_test_data): Likewise.
22467         (sin_test_upward): Likewise.
22468         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22469         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22470         (sinh_test): Use ALL_RM_TEST.
22471         (sinh_tonearest_test_data): Remove.
22472         (sinh_test_tonearest): Likewise.
22473         (sinh_towardzero_test_data): Likewise.
22474         (sinh_test_towardzero): Likewise.
22475         (sinh_downward_test_data): Likewise.
22476         (sinh_test_downward): Likewise.
22477         (sinh_upward_test_data): Likewise.
22478         (sinh_test_upward): Likewise.
22479         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22480         (sqrt_test): Use ALL_RM_TEST.
22481         (sqrt_tonearest_test_data): Remove.
22482         (sqrt_test_tonearest): Likewise.
22483         (sqrt_towardzero_test_data): Likewise.
22484         (sqrt_test_towardzero): Likewise.
22485         (sqrt_downward_test_data): Likewise.
22486         (sqrt_test_downward): Likewise.
22487         (sqrt_upward_test_data): Likewise.
22488         (sqrt_test_upward): Likewise.
22489         (tan_test_data): Update call to AUTO_TESTS_f_f.
22490         (tan_test): Use ALL_RM_TEST.
22491         (tan_tonearest_test_data): Remove.
22492         (tan_test_tonearest): Likewise.
22493         (tan_towardzero_test_data): Likewise.
22494         (tan_test_towardzero): Likewise.
22495         (tan_downward_test_data): Likewise.
22496         (tan_test_downward): Likewise.
22497         (tan_upward_test_data): Likewise.
22498         (tan_test_upward): Likewise.
22499         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22500         (tgamma_test_data): Likewise.
22501         (y0_test_data): Likewise.
22502         (y1_test_data): Likewise.
22503         (yn_test_data): Update call to AUTO_TESTS_if_f.
22504         (main): Do not call removed functions.
22506 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22508         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22509         (ldexp_test_data): Remove.
22510         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22511         scalbn_test_data.
22512         (scalb_test): Use ALL_RM_TEST.
22514 2014-03-19  Andreas Schwab  <schwab@suse.de>
22516         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22518 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22520         [BZ #16649]
22521         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22522         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22523         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22525         (__ASSUME_PREADV): Undefine.
22526         (__ASSUME_PWRITEV): Likewise.
22528 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22530         * bits/mman-linux.h: Add comment about non-Linux use.
22531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22532         bits/mman-linux.h resting place.
22534         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22535         * bits/mman-linux.h: ... here.
22537 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22539         * conform/conformtest.pl: Add standard definition when calling C
22540         preprocessor on data files.
22541         (checknamespace): Remove unused variable.
22543 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22545         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22546         minus_oflow, plus_uflow and minus_uflow in expected results.
22547         * math/libm-test.inc (scalbn_test_data): Add more tests of
22548         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22549         minus_uflow.
22550         (scalbn_test): Use ALL_RM_TEST.
22551         (scalbln_test_data): Add more tests of negative arguments.  Use
22552         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22553         (scalbln_test): Use ALL_RM_TEST.
22555 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22557         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22559 2014-03-18  Will Newton  <will.newton@linaro.org>
22561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22562         inaccurate comment.
22564 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22566         * Makerules [!subdir] (check-abi): Exit with error status if a
22567         test failed.
22569 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22571         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22572         for rint.  Include results for all rounding modes.
22573         (nearbyint_test): Use ALL_RM_TEST.
22574         (rint_test_data): Include all tests used for nearbyint.
22576 2014-03-17  Will Newton  <will.newton@linaro.org>
22578         * nptl/sysdeps/pthread/pthread.h: Revert previous
22579         change.
22581         * sysdeps/generic/ldsodefs.h: Revert previous
22582         change.
22584         * libio/genops.c: Revert previous change.
22585         * libio/libioP.h: Likewise.
22586         * stdio-common/vfprintf.c: Likewise.
22588         * sysdeps/generic/math_private.h: Revert previous
22589         change.
22591         * sysdeps/generic/math_private.h: Check whether
22592         HAVE_RM_CTX is defined with #ifdef rather
22593         than #if.
22595         * argp/argp-fmtstream.h: Check whether
22596         __STRICT_ANSI__ is defined with #ifdef rather
22597         than #if.
22598         * argp/argp.h: Likewise.
22600         * libio/genops.c: Check whether
22601         _IO_JUMPS_OFFSET is defined with #ifdef rather
22602         than #if.
22603         * libio/libioP.h: Likewise.
22604         * stdio-common/vfprintf.c: Likewise.
22606         * sysdeps/generic/ldsodefs.h: Check whether
22607         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22608         than #if.
22610         * nptl/sysdeps/pthread/pthread.h: Check
22611         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22612         its value.
22614 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22616         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22617         setting O_APPEND.
22618         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22619         test case.
22621         [BZ #16680]
22622         * libio/fileops.c (_IO_file_open): Seek to end of file but
22623         don't cache the offset.
22624         (get_file_offset): Remove function.
22625         (do_ftell): Use cached offset when available.
22626         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22627         don't cache the offset.
22628         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22629         case.
22630         (do_one_test): Call it.
22631         (do_ftell_test): Fix up expected old offset for a+ mode.
22632         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22633         available.
22635         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22636         up test status with function return status.
22637         (do_write_test): Likewise.
22638         (do_append_test): Likewise.
22640         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22641         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22642         Remove.
22644 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22646         * math/gen-libm-test.pl (parse_args): Handle results specified for
22647         each rounding mode separately.
22648         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22649         tests and results from lrint_tonearest_test_data,
22650         lrint_towardzero_test_data, lrint_downward_test_data and
22651         lrint_upward_test_data.
22652         (lrint_test): Use ALL_RM_TEST.
22653         (lrint_tonearest_test_data): Remove.
22654         (lrint_test_tonearest): Likewise.
22655         (lrint_towardzero_test_data): Likewise.
22656         (lrint_test_towardzero): Likewise.
22657         (lrint_downward_test_data): Likewise.
22658         (lrint_test_downward): Likewise.
22659         (lrint_upward_test_data): Likewise.
22660         (lrint_test_upward): Likewise.
22661         (llrint_test_data): Merge in per-rounding-mode tests and results
22662         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22663         llrint_downward_test_data and llrint_upward_test_data.
22664         (llrint_test): Use ALL_RM_TEST.
22665         (llrint_tonearest_test_data): Remove.
22666         (llrint_test_tonearest): Likewise.
22667         (llrint_towardzero_test_data): Likewise.
22668         (llrint_test_towardzero): Likewise.
22669         (llrint_downward_test_data): Likewise.
22670         (llrint_test_downward): Likewise.
22671         (llrint_upward_test_data): Likewise.
22672         (llrint_test_upward): Likewise.
22673         (rint_test_data): Merge in per-rounding-mode tests and results
22674         from rint_tonearest_test_data, rint_towardzero_test_data,
22675         rint_downward_test_data and rint_upward_test_data.  Add
22676         per-rounding-mode results for tests not in those arrays.
22677         (rint_test): Use ALL_RM_TEST.
22678         (rint_tonearest_test_data): Remove.
22679         (rint_test_tonearest): Likewise.
22680         (rint_towardzero_test_data): Likewise.
22681         (rint_test_towardzero): Likewise.
22682         (rint_downward_test_data): Likewise.
22683         (rint_test_downward): Likewise.
22684         (rint_upward_test_data): Likewise.
22685         (rint_test_upward): Likewise.
22686         (main): Don't call removed functions.
22688 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22690         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22691         "Compiled on ..." crapola.  It is anti-useful.
22693 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22695         * scripts/evaluate-test.sh: Handle fourth argument to determine
22696         whether test run should stop on failure.
22697         * Makeconfig (stop-on-test-failure): New variable.
22698         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22699         $(stop-on-test-failure).
22700         * Makefile (tests): Give a summary of results from testing and
22701         exit with failure status if they include an ERROR or FAIL.
22702         (xtests): Likewise.
22703         * manual/install.texi (Configuring and compiling): Mention
22704         stop-on-test-failure=y.
22705         * INSTALL: Regenerated.
22707 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22709         * scripts/versionlist.awk: New file.
22710         * Makerules [$(build-shared) = yes]
22711         (postclean-generated): Add Versions.def, not Versions.def.v and
22712         Versions.def.v.i.
22713         ($(common-objpfx)Versions.def.v.i): Target removed.
22714         ($(common-objpfx)Versions.def): New target.
22715         ($(common-objpfx)Versions.all): Depend on that rather that
22716         $(common-objpfx)Versions.def.v.
22717         * Versions.def: File removed.
22719         * Makeconfig (+gccwarn): Add -Wundef.
22720         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22721         a dl-sysdep.h breaking its contract.
22722         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22723         * include/stackinfo.h: New file.
22724         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22725         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22726         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22727         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22728         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22729         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22730         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22731         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22732         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22733         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22734         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22735         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22736         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22737         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22738         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22740 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22742         [BZ #16707]
22743         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22744         implementation.
22745         * math/libm-test.inc (round_test_data): Add more tests.
22747         [BZ #16706]
22748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22749         implementation.
22750         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22752         [BZ #16701]
22753         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22754         implementation.
22755         * math/libm-test.inc (ceil_test_data): Add more tests.
22757         * math/libm-test.inc (trunc_test_data): Add more tests related to
22758         BZ#16414.
22760 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22762         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22763         with #if rather than #ifdef.
22764         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22766 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22768         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22769         first.  Disable AVX-512 GCC support if assembler doesn't support
22770         it.
22771         * sysdeps/x86_64/configure: Regenerated.
22773 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22775         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22776         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22777         (__old_pthread_attr_setstack): Likewise.
22778         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22779         [!_STACK_GROWS_DOWN]: Likewise.
22781 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22783         * config.make.in (have-bash2): Delete.
22784         * configure.ac (libc_cv_have_bash2): Delete.
22785         * configure: Regenerate.
22786         * elf/Makefile (common-ldd-rewrite): Rename to ...
22787         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22788         (sh-ldd-rewrite): Delete.
22789         (bash-ldd-rewrite): Delete.
22790         (have-bash2): Delete checks.
22791         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22792         ldd-rewrite.
22794         * config.make.in (have-ksh): Delete.
22795         (KSH): Delete.
22796         * configure.ac (libc_cv_have_ksh): Delete.
22797         * configure: Regenerate.
22799         * elf/Makefile: Delete $(have-ksh) check.
22800         ($(objpfx)sotruss): Change KSH to BASH.
22801         * elf/sotruss.ksh: Rename to ...
22802         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22803         function style to match POSIX.  Drop ksh vim mode setting.
22805         * manual/time.texi (Specifying the Time Zone with TZ): Change
22806         Tuesday to Thursday.
22808         * debug/tst-longjmp_chk2.c: Update header comment.
22809         (stackoverflow_handler): Add comment.  Call assert on pass value.
22811 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22813         [BZ #16194]
22814         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22815         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22816         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22817         (La_x86_64_vector): Add zmm.
22818         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22819         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22820         ($(objpfx)tst-audit10): New target.
22821         ($(objpfx)tst-audit10.out): Likewise.
22822         (tst-audit10-ENV): New.
22823         (AVX512-CFLAGS): Likewise.
22824         (CFLAGS-tst-audit10.c): Likewise.
22825         (CFLAGS-tst-auditmod10a.c): Likewise.
22826         (CFLAGS-tst-auditmod10b.c): Likewise.
22827         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22828         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22829         * sysdeps/x86_64/configure: Regenerated.
22830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22831         AVX-512 zmm register support.
22832         (_dl_x86_64_save_sse): Likewise.
22833         (_dl_x86_64_restore_sse): Likewise.
22834         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22835         size vector registers.
22836         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22837         (ZMM_SIZE): Likewise.
22838         * sysdeps/x86_64/tst-audit10.c: New file.
22839         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22840         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22842 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22844         * configure.ac (HAVE_EHDR_START): New check.
22845         * configure: Regenerated.
22846         * config.h.in (HAVE_EHDR_START): New #undef.
22847         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22848         assuming the lowest-addressed segment maps the start of the file.
22850 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22852         * INSTALL: Regenerated.
22854 2014-03-13  Will Newton  <will.newton@linaro.org>
22856         * manual/setjmp.texi (System V contexts): Improve
22857         clarity and grammar of documentation.
22859 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22861         [BZ #16381]
22862         * elf/Makefile (tests): Add tst-pie2.
22863         (tests-pie): Add tst-pie2.
22864         * elf/tst-pie2.c: New file.
22865         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22866         for ET_EXEC.
22867         * elf/rtld.c (map_doit): Load executable as lt_executable.
22868         (dl_main): Likewise.
22870 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22872         [BZ #16642]
22873         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22874         (__ASSUME_PSELECT): Undefine.
22876 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22878         [BZ #16689]
22879         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22880         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22881         static build.
22882         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22883         selector for static builds.
22885 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22887         [BZ #16695]
22888         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22889         key in the buffer.
22891 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22893         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22894         IFUNC selector for static builds.
22896 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22898         * sysdeps/mips/math_private.h [__mips_hard_float]
22899         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22900         libc_feresetround_mips_ctx.
22901         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22902         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22903         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22905         [BZ #16677]
22906         * math/s_nextafter.c (__nextafter): Do not return value from
22907         overflowing computation.
22908         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22909         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22910         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22911         Likewise.
22912         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22913         Likewise.
22914         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22915         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22917 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22919         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22920         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22921         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22922         the new mov targetting sp.
22924 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22926         [BZ #16683]
22927         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22928         Define it for static builds as well.
22929         (NO_BZERO_IMPL): Likewise.
22931 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22933         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22934         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22935         multiarch strspn for PPC64.
22936         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22937         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22939         (__libc_ifunc_impl_list): Likewise.
22940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22941         multiarch optimizations
22942         * string/strspn.c (strspn): Using macro to redefine symbol name.
22944 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22945             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22947         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22948         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22949         multiarch strncat for PPC64.
22950         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22951         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22953         (__libc_ifunc_impl_list): Likewise.
22954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22955         multiarch optimizations
22957 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22959         [BZ #16639]
22960         * nscd/nscd.service: Make service type forking.
22962 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22964         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22965         sign in non default rounding modes.
22966         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22968 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22970         * math/libm-test.inc (ALL_RM_TEST): New macro.
22971         (ceil_test): Use ALL_RM_TEST.
22972         (cimag_test): Likewise.
22973         (conj_test): Likewise.
22974         (copysign_test): Likewise.
22975         (cproj_test): Likewise.
22976         (creal_test): Likewise.
22977         (fabs_test): Likewise.
22978         (floor_test): Likewise.
22979         (fmax_test): Likewise.
22980         (fmin_test): Likewise.
22981         (fmod_test): Likewise.
22982         (fpclassify_test): Likewise.
22983         (frexp_test): Likewise.
22984         (ilogb_test): Likewise.
22985         (isfinite_test): Likewise.
22986         (finite_test): Likewise.
22987         (isgreater_test): Likewise.
22988         (isgreaterequal_test): Likewise.
22989         (isinf_test): Likewise.
22990         (isless_test): Likewise.
22991         (islessequal_test): Likewise.
22992         (islessgreater_test): Likewise.
22993         (isnan_test): Likewise.
22994         (isnormal_test): Likewise.
22995         (issignaling_test): Likewise.
22996         (isunordered_test): Likewise.
22997         (logb_test): Likewise.
22998         (logb_downward_test_data): Remove.
22999         (logb_test_downward): Likewise.
23000         (lround_test): Use ALL_RM_TEST.
23001         (llround_test): Likewise.
23002         (modf_test): Likewise.
23003         (nexttoward_test): Likewise.
23004         (remainder_test): Likewise.
23005         (drem_test): Likewise.
23006         (remainder_tonearest_test_data): Likewise.
23007         (remainder_test_tonearest): Likewise.
23008         (drem_test_tonearest): Likewise.
23009         (remainder_towardzero_test_data): Likewise.
23010         (remainder_test_towardzero): Likewise.
23011         (drem_test_towardzero): Likewise.
23012         (remainder_downward_test_data): Likewise.
23013         (remainder_test_downward): Likewise.
23014         (drem_test_downward): Likewise.
23015         (remainder_upward_test_data): Likewise.
23016         (remainder_test_upward): Likewise.
23017         (drem_test_upward): Likewise.
23018         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
23019         (round_test): Use ALL_RM_TEST.
23020         (signbit_test): Likewise.
23021         (trunc_test): Likewise.
23022         (significand_test): Likewise.
23023         (main): Don't call removed functions.
23025 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23027         [BZ #16674]
23028         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23029         || __USE_XOPEN2K8].
23030         (ILL_ILLOPN): Likewise.
23031         (ILL_ILLADR): Likewise.
23032         (ILL_ILLTRP): Likewise.
23033         (ILL_PRVOPC): Likewise.
23034         (ILL_PRVREG): Likewise.
23035         (ILL_COPROC): Likewise.
23036         (ILL_BADSTK): Likewise.
23037         (FPE_INTDIV): Likewise.
23038         (FPE_INTOVF): Likewise.
23039         (FPE_FLTDIV): Likewise.
23040         (FPE_FLTOVF): Likewise.
23041         (FPE_FLTUND): Likewise.
23042         (FPE_FLTRES): Likewise.
23043         (FPE_FLTINV): Likewise.
23044         (FPE_FLTSUB): Likewise.
23045         (SEGV_MAPERR): Likewise.
23046         (SEGV_ACCERR): Likewise.
23047         (BUS_ADRALN): Likewise.
23048         (BUS_ADRERR): Likewise.
23049         (BUS_OBJERR): Likewise.
23050         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23051         (TRAP_TRACE): Likewise.
23052         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23053         __USE_XOPEN2K8].
23054         (CLD_KILLED): Likewise.
23055         (CLD_DUMPED): Likewise.
23056         (CLD_TRAPPED): Likewise.
23057         (CLD_STOPPED): Likewise.
23058         (CLD_CONTINUED): Likewise.
23059         (POLL_IN): Likewise.
23060         (POLL_OUT): Likewise.
23061         (POLL_MSG): Likewise.
23062         (POLL_ERR): Likewise.
23063         (POLL_PRI): Likewise.
23064         (POLL_HUP): Likewise.
23065         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23066         Likewise.
23067         (ILL_ILLOPN): Likewise.
23068         (ILL_ILLADR): Likewise.
23069         (ILL_ILLTRP): Likewise.
23070         (ILL_PRVOPC): Likewise.
23071         (ILL_PRVREG): Likewise.
23072         (ILL_COPROC): Likewise.
23073         (ILL_BADSTK): Likewise.
23074         (FPE_INTDIV): Likewise.
23075         (FPE_INTOVF): Likewise.
23076         (FPE_FLTDIV): Likewise.
23077         (FPE_FLTOVF): Likewise.
23078         (FPE_FLTUND): Likewise.
23079         (FPE_FLTRES): Likewise.
23080         (FPE_FLTINV): Likewise.
23081         (FPE_FLTSUB): Likewise.
23082         (SEGV_MAPERR): Likewise.
23083         (SEGV_ACCERR): Likewise.
23084         (BUS_ADRALN): Likewise.
23085         (BUS_ADRERR): Likewise.
23086         (BUS_OBJERR): Likewise.
23087         (BUS_MCEERR_AR): Likewise.
23088         (BUS_MCEERR_AO): Likewise.
23089         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23090         (TRAP_TRACE): Likewise.
23091         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23092         __USE_XOPEN2K8].
23093         (CLD_KILLED): Likewise.
23094         (CLD_DUMPED): Likewise.
23095         (CLD_TRAPPED): Likewise.
23096         (CLD_STOPPED): Likewise.
23097         (CLD_CONTINUED): Likewise.
23098         (POLL_IN): Likewise.
23099         (POLL_OUT): Likewise.
23100         (POLL_MSG): Likewise.
23101         (POLL_ERR): Likewise.
23102         (POLL_PRI): Likewise.
23103         (POLL_HUP): Likewise.
23104         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23105         (ILL_ILLOPN): Likewise.
23106         (ILL_ILLADR): Likewise.
23107         (ILL_ILLTRP): Likewise.
23108         (ILL_PRVOPC): Likewise.
23109         (ILL_PRVREG): Likewise.
23110         (ILL_COPROC): Likewise.
23111         (ILL_BADSTK): Likewise.
23112         (FPE_INTDIV): Likewise.
23113         (FPE_INTOVF): Likewise.
23114         (FPE_FLTDIV): Likewise.
23115         (FPE_FLTOVF): Likewise.
23116         (FPE_FLTUND): Likewise.
23117         (FPE_FLTRES): Likewise.
23118         (FPE_FLTINV): Likewise.
23119         (FPE_FLTSUB): Likewise.
23120         (SEGV_MAPERR): Likewise.
23121         (SEGV_ACCERR): Likewise.
23122         (BUS_ADRALN): Likewise.
23123         (BUS_ADRERR): Likewise.
23124         (BUS_OBJERR): Likewise.
23125         (BUS_MCEERR_AR): Likewise.
23126         (BUS_MCEERR_AO): Likewise.
23127         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23128         (TRAP_TRACE): Likewise.
23129         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23130         __USE_XOPEN2K8].
23131         (CLD_KILLED): Likewise.
23132         (CLD_DUMPED): Likewise.
23133         (CLD_TRAPPED): Likewise.
23134         (CLD_STOPPED): Likewise.
23135         (CLD_CONTINUED): Likewise.
23136         (POLL_IN): Likewise.
23137         (POLL_OUT): Likewise.
23138         (POLL_MSG): Likewise.
23139         (POLL_ERR): Likewise.
23140         (POLL_PRI): Likewise.
23141         (POLL_HUP): Likewise.
23142         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23143         Likewise.
23144         (ILL_ILLOPN): Likewise.
23145         (ILL_ILLADR): Likewise.
23146         (ILL_ILLTRP): Likewise.
23147         (ILL_PRVOPC): Likewise.
23148         (ILL_PRVREG): Likewise.
23149         (ILL_COPROC): Likewise.
23150         (ILL_BADSTK): Likewise.
23151         (ILL_BADIADDR): Likewise.
23152         (ILL_BREAK): Likewise.
23153         (FPE_INTDIV): Likewise.
23154         (FPE_INTOVF): Likewise.
23155         (FPE_FLTDIV): Likewise.
23156         (FPE_FLTOVF): Likewise.
23157         (FPE_FLTUND): Likewise.
23158         (FPE_FLTRES): Likewise.
23159         (FPE_FLTINV): Likewise.
23160         (FPE_FLTSUB): Likewise.
23161         (FPE_DECOVF): Likewise.
23162         (FPE_DECDIV): Likewise.
23163         (FPE_DECERR): Likewise.
23164         (FPE_INVASC): Likewise.
23165         (FPE_INVDEC): Likewise.
23166         (SEGV_MAPERR): Likewise.
23167         (SEGV_ACCERR): Likewise.
23168         (SEGV_PSTKOVF): Likewise.
23169         (BUS_ADRALN): Likewise.
23170         (BUS_ADRERR): Likewise.
23171         (BUS_OBJERR): Likewise.
23172         (BUS_MCEERR_AR): Likewise.
23173         (BUS_MCEERR_AO): Likewise.
23174         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23175         (TRAP_TRACE): Likewise.
23176         (TRAP_BRANCH): Likewise.
23177         (TRAP_HWBKPT): Likewise.
23178         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23179         __USE_XOPEN2K8].
23180         (CLD_KILLED): Likewise.
23181         (CLD_DUMPED): Likewise.
23182         (CLD_TRAPPED): Likewise.
23183         (CLD_STOPPED): Likewise.
23184         (CLD_CONTINUED): Likewise.
23185         (POLL_IN): Likewise.
23186         (POLL_OUT): Likewise.
23187         (POLL_MSG): Likewise.
23188         (POLL_ERR): Likewise.
23189         (POLL_PRI): Likewise.
23190         (POLL_HUP): Likewise.
23191         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23192         (ILL_ILLOPN): Likewise.
23193         (ILL_ILLADR): Likewise.
23194         (ILL_ILLTRP): Likewise.
23195         (ILL_PRVOPC): Likewise.
23196         (ILL_PRVREG): Likewise.
23197         (ILL_COPROC): Likewise.
23198         (ILL_BADSTK): Likewise.
23199         (FPE_INTDIV): Likewise.
23200         (FPE_INTOVF): Likewise.
23201         (FPE_FLTDIV): Likewise.
23202         (FPE_FLTOVF): Likewise.
23203         (FPE_FLTUND): Likewise.
23204         (FPE_FLTRES): Likewise.
23205         (FPE_FLTINV): Likewise.
23206         (FPE_FLTSUB): Likewise.
23207         (SEGV_MAPERR): Likewise.
23208         (SEGV_ACCERR): Likewise.
23209         (BUS_ADRALN): Likewise.
23210         (BUS_ADRERR): Likewise.
23211         (BUS_OBJERR): Likewise.
23212         (BUS_MCEERR_AR): Likewise.
23213         (BUS_MCEERR_AO): Likewise.
23214         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23215         (TRAP_TRACE): Likewise.
23216         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23217         __USE_XOPEN2K8].
23218         (CLD_KILLED): Likewise.
23219         (CLD_DUMPED): Likewise.
23220         (CLD_TRAPPED): Likewise.
23221         (CLD_STOPPED): Likewise.
23222         (CLD_CONTINUED): Likewise.
23223         (POLL_IN): Likewise.
23224         (POLL_OUT): Likewise.
23225         (POLL_MSG): Likewise.
23226         (POLL_ERR): Likewise.
23227         (POLL_PRI): Likewise.
23228         (POLL_HUP): Likewise.
23229         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23230         (ILL_ILLOPN): Likewise.
23231         (ILL_ILLADR): Likewise.
23232         (ILL_ILLTRP): Likewise.
23233         (ILL_PRVOPC): Likewise.
23234         (ILL_PRVREG): Likewise.
23235         (ILL_COPROC): Likewise.
23236         (ILL_BADSTK): Likewise.
23237         (FPE_INTDIV): Likewise.
23238         (FPE_INTOVF): Likewise.
23239         (FPE_FLTDIV): Likewise.
23240         (FPE_FLTOVF): Likewise.
23241         (FPE_FLTUND): Likewise.
23242         (FPE_FLTRES): Likewise.
23243         (FPE_FLTINV): Likewise.
23244         (FPE_FLTSUB): Likewise.
23245         (SEGV_MAPERR): Likewise.
23246         (SEGV_ACCERR): Likewise.
23247         (BUS_ADRALN): Likewise.
23248         (BUS_ADRERR): Likewise.
23249         (BUS_OBJERR): Likewise.
23250         (BUS_MCEERR_AR): Likewise.
23251         (BUS_MCEERR_AO): Likewise.
23252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23253         (TRAP_TRACE): Likewise.
23254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23255         __USE_XOPEN2K8].
23256         (CLD_KILLED): Likewise.
23257         (CLD_DUMPED): Likewise.
23258         (CLD_TRAPPED): Likewise.
23259         (CLD_STOPPED): Likewise.
23260         (CLD_CONTINUED): Likewise.
23261         (POLL_IN): Likewise.
23262         (POLL_OUT): Likewise.
23263         (POLL_MSG): Likewise.
23264         (POLL_ERR): Likewise.
23265         (POLL_PRI): Likewise.
23266         (POLL_HUP): Likewise.
23267         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23268         (ILL_ILLOPN): Likewise.
23269         (ILL_ILLADR): Likewise.
23270         (ILL_ILLTRP): Likewise.
23271         (ILL_PRVOPC): Likewise.
23272         (ILL_PRVREG): Likewise.
23273         (ILL_COPROC): Likewise.
23274         (ILL_BADSTK): Likewise.
23275         (FPE_INTDIV): Likewise.
23276         (FPE_INTOVF): Likewise.
23277         (FPE_FLTDIV): Likewise.
23278         (FPE_FLTOVF): Likewise.
23279         (FPE_FLTUND): Likewise.
23280         (FPE_FLTRES): Likewise.
23281         (FPE_FLTINV): Likewise.
23282         (FPE_FLTSUB): Likewise.
23283         (SEGV_MAPERR): Likewise.
23284         (SEGV_ACCERR): Likewise.
23285         (BUS_ADRALN): Likewise.
23286         (BUS_ADRERR): Likewise.
23287         (BUS_OBJERR): Likewise.
23288         (BUS_MCEERR_AR): Likewise.
23289         (BUS_MCEERR_AO): Likewise.
23290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23291         (TRAP_TRACE): Likewise.
23292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23293         __USE_XOPEN2K8].
23294         (CLD_KILLED): Likewise.
23295         (CLD_DUMPED): Likewise.
23296         (CLD_TRAPPED): Likewise.
23297         (CLD_STOPPED): Likewise.
23298         (CLD_CONTINUED): Likewise.
23299         (POLL_IN): Likewise.
23300         (POLL_OUT): Likewise.
23301         (POLL_MSG): Likewise.
23302         (POLL_ERR): Likewise.
23303         (POLL_PRI): Likewise.
23304         (POLL_HUP): Likewise.
23305         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23306         (ILL_ILLOPN): Likewise.
23307         (ILL_ILLADR): Likewise.
23308         (ILL_ILLTRP): Likewise.
23309         (ILL_PRVOPC): Likewise.
23310         (ILL_PRVREG): Likewise.
23311         (ILL_COPROC): Likewise.
23312         (ILL_BADSTK): Likewise.
23313         (ILL_DBLFLT): Likewise.
23314         (ILL_HARDWALL): Likewise.
23315         (FPE_INTDIV): Likewise.
23316         (FPE_INTOVF): Likewise.
23317         (FPE_FLTDIV): Likewise.
23318         (FPE_FLTOVF): Likewise.
23319         (FPE_FLTUND): Likewise.
23320         (FPE_FLTRES): Likewise.
23321         (FPE_FLTINV): Likewise.
23322         (FPE_FLTSUB): Likewise.
23323         (SEGV_MAPERR): Likewise.
23324         (SEGV_ACCERR): Likewise.
23325         (BUS_ADRALN): Likewise.
23326         (BUS_ADRERR): Likewise.
23327         (BUS_OBJERR): Likewise.
23328         (BUS_MCEERR_AR): Likewise.
23329         (BUS_MCEERR_AO): Likewise.
23330         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23331         (TRAP_TRACE): Likewise.
23332         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23333         __USE_XOPEN2K8].
23334         (CLD_KILLED): Likewise.
23335         (CLD_DUMPED): Likewise.
23336         (CLD_TRAPPED): Likewise.
23337         (CLD_STOPPED): Likewise.
23338         (CLD_CONTINUED): Likewise.
23339         (POLL_IN): Likewise.
23340         (POLL_OUT): Likewise.
23341         (POLL_MSG): Likewise.
23342         (POLL_ERR): Likewise.
23343         (POLL_PRI): Likewise.
23344         (POLL_HUP): Likewise.
23345         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23346         (ILL_ILLOPN): Likewise.
23347         (ILL_ILLADR): Likewise.
23348         (ILL_ILLTRP): Likewise.
23349         (ILL_PRVOPC): Likewise.
23350         (ILL_PRVREG): Likewise.
23351         (ILL_COPROC): Likewise.
23352         (ILL_BADSTK): Likewise.
23353         (FPE_INTDIV): Likewise.
23354         (FPE_INTOVF): Likewise.
23355         (FPE_FLTDIV): Likewise.
23356         (FPE_FLTOVF): Likewise.
23357         (FPE_FLTUND): Likewise.
23358         (FPE_FLTRES): Likewise.
23359         (FPE_FLTINV): Likewise.
23360         (FPE_FLTSUB): Likewise.
23361         (SEGV_MAPERR): Likewise.
23362         (SEGV_ACCERR): Likewise.
23363         (BUS_ADRALN): Likewise.
23364         (BUS_ADRERR): Likewise.
23365         (BUS_OBJERR): Likewise.
23366         (BUS_MCEERR_AR): Likewise.
23367         (BUS_MCEERR_AO): Likewise.
23368         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23369         (TRAP_TRACE): Likewise.
23370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23371         __USE_XOPEN2K8].
23372         (CLD_KILLED): Likewise.
23373         (CLD_DUMPED): Likewise.
23374         (CLD_TRAPPED): Likewise.
23375         (CLD_STOPPED): Likewise.
23376         (CLD_CONTINUED): Likewise.
23377         (POLL_IN): Likewise.
23378         (POLL_OUT): Likewise.
23379         (POLL_MSG): Likewise.
23380         (POLL_ERR): Likewise.
23381         (POLL_PRI): Likewise.
23382         (POLL_HUP): Likewise.
23383         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23384         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23386         [BZ #16670]
23387         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23388         before #include of <time.h>.
23389         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23390         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23391         (test-xfail-UNIX98/sched.h/conform): Likewise.
23393 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23395         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23396         error absence of trapping exception support.
23397         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23399 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23401         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23402         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23403         * timezone/Makefile (testdata): Move definition above include of
23404         Rules.
23405         (test-zones): New variable.
23406         (tests-special): Add zone files.
23407         (build-testdata): Use $(evaluate-test).
23409         * elf/Makefile (tests-special): Rename tests to end with .out.
23410         ($(objpfx)noload-mem): Likewise.
23411         ($(objpfx)tst-leaks1-mem): Likewise.
23412         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23413         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23414         $(objpfx)test-iconvconfig.out.
23415         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23416         set -e inside subshell and redirect output to file.
23417         * iconvdata/Makefile (generated): Rename tests to end with .out.
23418         Correct type.
23419         (tests-special): Rename tests to end with .out.
23420         ($(objpfx)mtrace-tst-loading): Likewise.
23421         * intl/Makefile (generated): Likewise.
23422         (tests-special): Likewise.
23423         ($(objpfx)mtrace-tst-gettext): Likewise.
23424         * misc/Makefile (generated): Likewise.
23425         (tests-special): Likewise.
23426         ($(objpfx)tst-error1-mem): Likewise.
23427         * nptl/Makefile (tests-special): Likewise.
23428         ($(objpfx)tst-stack3-mem): Likewise.
23429         (generated): Likewise.
23430         * posix/Makefile (generated): Likewise.
23431         (tests-special): Likewise.
23432         (xtests-special): Likewise.
23433         ($(objpfx)tst-fnmatch-mem): Likewise.
23434         ($(objpfx)bug-regex2-mem): Likewise.
23435         ($(objpfx)bug-regex14-mem): Likewise.
23436         ($(objpfx)bug-regex21-mem): Likewise.
23437         ($(objpfx)bug-regex31-mem): Likewise.
23438         ($(objpfx)tst-vfork3-mem): Likewise.
23439         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23440         ($(objpfx)tst-pcre-mem): Likewise.
23441         ($(objpfx)tst-boost-mem): Likewise.
23442         ($(objpfx)bug-ga2-mem): Likewise.
23443         ($(objpfx)bug-glob2-mem): Likewise.
23444         * resolv/Makefile (generate): Likewise.
23445         (tests-special): Likewise.
23446         (xtests-special): Likewise.
23447         (generated): Likewise.
23448         ($(objpfx)mtrace-tst-leaks): Likewise.
23449         ($(objpfx)mtrace-tst-leaks2): Likewise.
23451         * scripts/merge-test-results.sh: New file.
23452         * Makefile (tests-special-notdir): New variable.
23453         (tests): Run merge-test-results.sh.
23454         (xtests): Likewise.
23455         * Rules (tests-special-notdir): New variable.
23456         (xtests-special-notdir): Likewise.
23457         (tests): Run merge-test-results.sh
23458         (xtests): Likewise.
23460         * Makeconfig (test-xfail-name): New variable.
23461         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23462         compute variable name for expected failures.
23463         * conform/Makefile (conformtest-headers-data): New variable.
23464         (conformtest-standards): Likewise.
23465         (conformtest-headers-ISO): Likewise.
23466         (conformtest-headers-ISO99): Likewise.
23467         (conformtest-headers-ISO11): Likewise.
23468         (conformtest-headers-POSIX): Likewise.
23469         (conformtest-headers-XPG3): Likewise.
23470         (conformtest-headers-XPG4): Likewise.
23471         (conformtest-headers-UNIX98): Likewise.
23472         (conformtest-headers-XOPEN2K): Likewise.
23473         (conformtest-headers-POSIX2008): Likewise.
23474         (conformtest-headers-XOPEN2K8): Likewise.
23475         (conformtest-header-list-base): Likewise.
23476         (conformtest-header-list-tests): Likewise.
23477         (conformtest-header-base): Likewise.
23478         (conformtest-header-tests): Likewise.
23479         (tests-special): Add $(conformtest-header-list-tests).  If
23480         [$(fast-check) && !$(cross-compiling)], add
23481         $(conformtest-header-tests) instead of
23482         $(objpfx)run-conformtest.out.
23483         (generated): Add $(conformtest-header-list-base).  If
23484         [$(fast-check) && !$(cross-compiling)], add
23485         $(conformtest-header-base).  Remove previous setting.
23486         ($(conformtest-header-list-tests)): New target.
23487         (test-xfail-run-conformtest): Remove variable.
23488         ($(objpfx)run-conformtest.out): Remove target.
23489         (test-xfail-ISO11/complex.h/conform): New variable.
23490         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23491         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23492         (test-xfail-XPG3/varargs.h/conform): Likewise.
23493         (test-xfail-XPG4/varargs.h/conform): Likewise.
23494         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23495         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23496         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23497         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23498         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23499         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23500         (test-xfail-XPG3/ftw.h/conform): Likewise.
23501         (test-xfail-XPG3/grp.h/conform): Likewise.
23502         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23503         (test-xfail-XPG3/limits.h/conform): Likewise.
23504         (test-xfail-XPG3/pwd.h/conform): Likewise.
23505         (test-xfail-XPG3/search.h/conform): Likewise.
23506         (test-xfail-XPG3/signal.h/conform): Likewise.
23507         (test-xfail-XPG3/stdio.h/conform): Likewise.
23508         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23509         (test-xfail-XPG3/string.h/conform): Likewise.
23510         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23511         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23512         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23513         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23514         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23515         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23516         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23517         (test-xfail-XPG3/termios.h/conform): Likewise.
23518         (test-xfail-XPG3/time.h/conform): Likewise.
23519         (test-xfail-XPG3/unistd.h/conform): Likewise.
23520         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23521         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23522         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23523         (test-xfail-XPG4/netdb.h/conform): Likewise.
23524         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23525         (test-xfail-XPG4/signal.h/conform): Likewise.
23526         (test-xfail-XPG4/stdio.h/conform): Likewise.
23527         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23528         (test-xfail-XPG4/stropts.h/conform): Likewise.
23529         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23530         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23531         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23532         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23533         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23534         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23535         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23536         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23537         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23538         (test-xfail-XPG4/termios.h/conform): Likewise.
23539         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23540         (test-xfail-XPG4/unistd.h/conform): Likewise.
23541         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23542         (test-xfail-POSIX/sched.h/conform): Likewise.
23543         (test-xfail-POSIX/signal.h/conform): Likewise.
23544         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23545         (test-xfail-POSIX/tar.h/conform): Likewise.
23546         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23547         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23548         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23549         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23550         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23551         (test-xfail-UNIX98/sched.h/conform): Likewise.
23552         (test-xfail-UNIX98/signal.h/conform): Likewise.
23553         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23554         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23555         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23556         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23557         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23558         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23559         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23560         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23561         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23562         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23563         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23564         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23565         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23566         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23567         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23568         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23569         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23570         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23571         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23572         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23573         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23574         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23575         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23576         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23577         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23578         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23579         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23580         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23581         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23582         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23583         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23584         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23585         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23586         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23587         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23588         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23589         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23590         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23591         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23592         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23593         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23594         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23595         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23596         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23597         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23598         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23599         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23600         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23601         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23602         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23603         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23604         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23605         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23606         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23607         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23608         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23609         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23610         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23611         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23612         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23613         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23614         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23615         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23616         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23617         (conformtest-cc-flags): Likewise.
23618         ($(conformtest-header-tests): New target.
23619         * conform/check-header-lists.sh: New file.
23620         * conform/run-conformtest.sh: Remove.
23622         * conform/conformtest.pl: Allow ' and \ in values given for
23623         constants.
23624         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23625         inclusion.
23626         [POSIX] (sys/types.h): Likewise.
23627         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23628         inclusion.
23629         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23630         inclusion.
23631         * conform/data/signal.h-data (SIGIO): Remove expectation.
23632         [XPG3] (SIGBUS): Do not expect.
23633         [POSIX || XPG3] (SIGPOLL): Likewise.
23634         [POSIX || XPG3] (SIGPROF): Likewise.
23635         [POSIX || XPG3] (SIGSYS): Likewise.
23636         [XPG3] (SIGTRAP): Likewise.
23637         [POSIX || XPG3] (SIGURG): Likewise.
23638         [POSIX || XPG3] (SIGVTALRM): Likewise.
23639         [POSIX || XPG3] (SIGXCPU): Likewise.
23640         [POSIX || XPG3] (SIGXFSZ): Likewise.
23641         [POSIX] (SA_SIGINFO): Expect.
23642         [XPG3] (siginfo_t): Do not expect type or contents.
23643         [POSIX] (si_pid): Do not expect element.
23644         [POSIX] (si_uid): Likewise.
23645         [POSIX] (si_addr): Likewise.
23646         [POSIX] (si_status): Likewise.
23647         [POSIX] (si_band): Likewise.
23648         [XPG4] (si_value): Likewise.
23649         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23650         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23651         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23652         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23653         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23654         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23655         [POSIX || XPG3] (ILL_COPROC): Likewise.
23656         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23657         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23658         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23659         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23660         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23661         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23662         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23663         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23664         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23665         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23666         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23667         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23668         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23669         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23670         [POSIX || XPG3] (CLD_EXITED): Likewise.
23671         [POSIX || XPG3] (CLD_KILLED): Likewise.
23672         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23673         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23674         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23675         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23676         [POSIX || XPG3] (POLL_IN): Likewise.
23677         [POSIX || XPG3] (POLL_OUT): Likewise.
23678         [POSIX || XPG3] (POLL_MSG): Likewise.
23679         [POSIX || XPG3] (POLL_ERR): Likewise.
23680         [POSIX || XPG3] (POLL_PRI): Likewise.
23681         [POSIX || XPG3] (POLL_HUP): Likewise.
23682         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23683         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23684         (SIG*): Do not allow.
23685         [XPG3] (si_*): Likewise.
23686         [XPG3] (SI_*): Likewise.
23687         [XPG3 || XPG4] (sigev_*): Likewise.
23688         [XPG3 || XPG4] (SIGEV_*): Likewise.
23689         [XPG3 || XPG4] (sival_*): Likewise.
23690         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23691         [POSIX || XPG3] (BUS_*): Likewise.
23692         [POSIX || XPG3] (CLD_*): Likewise.
23693         [POSIX || XPG3] (FPE_*): Likewise.
23694         [POSIX || XPG3] (ILL_*): Likewise.
23695         [POSIX || XPG3] (POLL_*): Likewise.
23696         [POSIX || XPG3] (SEGV_*): Likewise.
23697         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23698         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23699         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23700         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23701         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23702         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23703         Specify type and value.
23704         (TVERSLEN): Likewise.
23705         (REGTYPE): Likewise.
23706         (AREGTYPE): Likewise.
23707         (LNKTYPE): Likewise.
23708         (SYMTYPE): Likewise.
23709         (CHRTYPE): Likewise.
23710         (BLKTYPE): Likewise.
23711         (DIRTYPE): Likewise.
23712         (FIFOTYPE): Likewise.
23713         (CONTTYPE): Likewise.
23714         (TSUID): Likewise.
23715         (TSGID): Likewise.
23716         (TSVTX): Likewise.
23717         (TUREAD): Likewise.
23718         (TUWRITE): Likewise.
23719         (TUEXEC): Likewise.
23720         (TGREAD): Likewise.
23721         (TGWRITE): Likewise.
23722         (TGEXEC): Likewise.
23723         (TOREAD): Likewise.
23724         (TOWRITE): Likewise.
23725         (TOEXEC): Likewise.
23726         [POSIX] (TSVTX): Expect constant.
23728 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23730         * Makefile (tests): Change dependencies to ....
23731         (tests-special): ... additions to this variable.
23732         (tests): Depend on $(tests-special).
23733         * Makerules (check-abi-list): New variable.
23734         (check-abi): Depend on $(check-abi-list).
23735         [$(subdir) = elf] (tests-special): Add
23736         $(objpfx)check-abi-libc.out.
23737         [$(build-shared) = yes && subdir] (tests-special): Add
23738         $(check-abi-list).
23739         [$(build-shared) = yes && subdir] (tests): Do not depend on
23740         check-abi.
23741         * Rules (tests): Depend on $(tests-special).
23742         (xtests): Depend on $(xtests-special).
23743         * catgets/Makefile (tests): Change dependencies to ....
23744         (tests-special): ... additions to this variable.
23745         * conform/Makefile (tests): Change dependencies to ....
23746         (tests-special): ... additions to this variable.
23747         * elf/Makefile (tests): Change dependencies to ....
23748         (tests-special): ... additions to this variable.
23749         * grp/Makefile (tests): Change dependencies to ....
23750         (tests-special): ... additions to this variable.
23751         * iconv/Makefile (xtests): Change dependencies to ....
23752         (xtests-special): ... additions to this variable.
23753         * iconvdata/Makefile (tests): Change dependencies to ....
23754         (tests-special): ... additions to this variable.
23755         * intl/Makefile (tests): Change dependencies to ....
23756         (tests-special): ... additions to this variable.  Also add
23757         $(objpfx)tst-gettext.out.
23758         * io/Makefile (tests): Change dependencies to ....
23759         (tests-special): ... additions to this variable.
23760         * libio/Makefile (tests): Change dependencies to ....
23761         (tests-special): ... additions to this variable.
23762         * malloc/Makefile (tests): Change dependencies to ....
23763         (tests-special): ... additions to this variable.
23764         * misc/Makefile (tests): Change dependencies to ....
23765         (tests-special): ... additions to this variable.
23766         * nptl/Makefile (tests): Change dependencies to ....
23767         (tests-special): ... additions to this variable.
23768         * nptl_db/Makefile (tests): Change dependencies to ....
23769         (tests-special): ... additions to this variable.
23770         * posix/Makefile (tests): Change dependencies to ....
23771         (tests-special): ... additions to this variable.
23772         (xtests): Change dependencies to ....
23773         (xtests-special): ... additions to this variable.
23774         * resolv/Makefile (tests): Change dependencies to ....
23775         (tests-special): ... additions to this variable.
23776         (xtests): Change dependencies to ....
23777         (xtests-special): ... additions to this variable.
23778         * stdio-common/Makefile (tests): Change dependencies to ....
23779         (tests-special): ... additions to this variable.
23780         (do-tst-unbputc): Remove target.
23781         (do-tst-printf): Likewise.
23782         * stdlib/Makefile (tests): Change dependencies to ....
23783         (tests-special): ... additions to this variable.
23784         * string/Makefile (tests): Change dependencies to ....
23785         (tests-special): ... additions to this variable.
23786         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23787         (tests-special): ... additions to this variable.
23789         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23790         whole file.
23791         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23792         whole file.
23793         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23794         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23796         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23797         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23798         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23799         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23800         * conform/data/libgen.h-data [XPG3]: Likewise.
23801         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23802         * conform/data/ndbm.h-data [XPG3]: Likewise.
23803         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23804         * conform/data/netdb.h-data [XPG3]: Likewise.
23805         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23806         * conform/data/poll.h-data [XPG3]: Likewise.
23807         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23808         * conform/data/strings.h-data [XPG3]: Likewise.
23809         * conform/data/stropts.h-data [XPG3]: Likewise.
23810         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23811         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23812         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23813         Likewise.
23814         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23815         * conform/data/sys/time.h-data [XPG3]: Likewise.
23816         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23817         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23818         * conform/data/sys/un.h-data [XPG3]: Likewise.
23819         * conform/data/syslog.h-data [XPG3]: Likewise.
23820         * conform/data/ucontext.h-data [XPG3]: Likewise.
23821         * conform/data/utmpx.h-data [XPG3]: Likewise.
23822         * conform/data/varargs.h-data [UNIX98]: Enable file.
23824         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23826         * math/libm-test.inc (struct test_f_f_data): Move expected results
23827         into structure for each rounding mode.
23828         (struct test_ff_f_data): Likewise.
23829         (struct test_ff_f_data_nexttoward): Likewise.
23830         (struct test_fi_f_data): Likewise.
23831         (struct test_fl_f_data): Likewise.
23832         (struct test_if_f_data): Likewise.
23833         (struct test_fff_f_data): Likewise.
23834         (struct test_c_f_data): Likewise.
23835         (struct test_f_f1_data): Likewise.
23836         (struct test_fF_f1_data): Likewise.
23837         (struct test_ffI_f1_data): Likewise.
23838         (struct test_c_c_data): Likewise.
23839         (struct test_cc_c_data): Likewise.
23840         (struct test_f_i_data): Likewise.
23841         (struct test_ff_i_data): Likewise.
23842         (struct test_f_l_data): Likewise.
23843         (struct test_f_L_data): Likewise.
23844         (struct test_fFF_11_data): Likewise.
23845         (RM_): New macro.
23846         (RM_FE_DOWNWARD): Likewise.
23847         (RM_FE_TONEAREST): Likewise.
23848         (RM_FE_TOWARDZERO): Likewise.
23849         (RM_FE_UPWARD): Likewise.
23850         (RUN_TEST_LOOP_f_f): Update references to expected results.
23851         (RUN_TEST_LOOP_2_f): Likewise.
23852         (RUN_TEST_LOOP_fff_f): Likewise.
23853         (RUN_TEST_LOOP_c_f): Likewise.
23854         (RUN_TEST_LOOP_f_f1): Likewise.
23855         (RUN_TEST_LOOP_fF_f1): Likewise.
23856         (RUN_TEST_LOOP_fI_f1): Likewise.
23857         (RUN_TEST_LOOP_ffI_f1): Likewise.
23858         (RUN_TEST_LOOP_c_c): Likewise.
23859         (RUN_TEST_LOOP_cc_c): Likewise.
23860         (RUN_TEST_LOOP_f_i): Likewise.
23861         (RUN_TEST_LOOP_f_i_tg): Likewise.
23862         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23863         (RUN_TEST_LOOP_f_b): Likewise.
23864         (RUN_TEST_LOOP_f_b_tg): Likewise.
23865         (RUN_TEST_LOOP_f_l): Likewise.
23866         (RUN_TEST_LOOP_f_L): Likewise.
23867         (RUN_TEST_LOOP_fFF_11): Likewise.
23868         * math/gen-libm-test.pl (parse_args): Output four copies of
23869         expected results for each test.
23871         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23872         (__ASSUME_UTIMES): Remove.
23873         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23874         (__ASSUME_UTIMES): Likewise.
23876         * math/gen-auto-libm-tests.c: Update comment on output format.
23877         (output_for_one_input_case): Generate before-rounding and
23878         after-rounding information as conditions on output flags not
23879         floating-point format.
23880         * math/auto-libm-test-out: Regenerated.
23881         * math/gen-libm-test.pl (cond_value): New function.
23882         (or_cond_value): Use cond_value.
23883         (generate_testfile): Handle conditional exceptions.
23885 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23887         * math/libm-test.inc (max_valid_error): New variable.
23888         (init_max_error): Take new argument specifying whether function
23889         results are exactly determined.  Set max_valid_error and bound
23890         other variables for errors based on this argument.
23891         (set_max_error): Do not record results above max_valid_error.
23892         (check_float_internal): Only accept errors of up to 0.5ulps if
23893         also at most max_valid_error.
23894         (START): Take new argument EXACT and pass it to init_max_error.
23895         (acos_test): Update call to START.
23896         (acos_test_tonearest): Likewise.
23897         (acos_test_towardzero): Likewise.
23898         (acos_test_downward): Likewise.
23899         (acos_test_upward): Likewise.
23900         (acosh_test): Likewise.
23901         (asin_test): Likewise.
23902         (asin_test_tonearest): Likewise.
23903         (asin_test_towardzero): Likewise.
23904         (asin_test_downward): Likewise.
23905         (asin_test_upward): Likewise.
23906         (asinh_test): Likewise.
23907         (atan_test): Likewise.
23908         (atanh_test): Likewise.
23909         (atan2_test): Likewise.
23910         (cabs_test): Likewise.
23911         (cacos_test): Likewise.
23912         (cacosh_test): Likewise.
23913         (carg_test): Likewise.
23914         (casin_test): Likewise.
23915         (casinh_test): Likewise.
23916         (catan_test): Likewise.
23917         (catanh_test): Likewise.
23918         (cbrt_test): Likewise.
23919         (ccos_test): Likewise.
23920         (ccosh_test): Likewise.
23921         (ceil_test): Likewise.
23922         (cexp_test): Likewise.
23923         (cimag_test): Likewise.
23924         (clog_test): Likewise.
23925         (clog10_test): Likewise.
23926         (conj_test): Likewise.
23927         (copysign_test): Likewise.
23928         (cos_test): Likewise.
23929         (cos_test_tonearest): Likewise.
23930         (cos_test_towardzero): Likewise.
23931         (cos_test_downward): Likewise.
23932         (cos_test_upward): Likewise.
23933         (cosh_test): Likewise.
23934         (cosh_test_tonearest): Likewise.
23935         (cosh_test_towardzero): Likewise.
23936         (cosh_test_downward): Likewise.
23937         (cosh_test_upward): Likewise.
23938         (cpow_test): Likewise.
23939         (cproj_test): Likewise.
23940         (creal_test): Likewise.
23941         (csin_test): Likewise.
23942         (csinh_test): Likewise.
23943         (csqrt_test): Likewise.
23944         (ctan_test): Likewise.
23945         (ctan_test_tonearest): Likewise.
23946         (ctan_test_towardzero): Likewise.
23947         (ctan_test_downward): Likewise.
23948         (ctan_test_upward): Likewise.
23949         (ctanh_test): Likewise.
23950         (ctanh_test_tonearest): Likewise.
23951         (ctanh_test_towardzero): Likewise.
23952         (ctanh_test_downward): Likewise.
23953         (ctanh_test_upward): Likewise.
23954         (erf_test): Likewise.
23955         (erfc_test): Likewise.
23956         (exp_test): Likewise.
23957         (exp_test_tonearest): Likewise.
23958         (exp_test_towardzero): Likewise.
23959         (exp_test_downward): Likewise.
23960         (exp_test_upward): Likewise.
23961         (exp10_test): Likewise.
23962         (exp10_test_tonearest): Likewise.
23963         (exp10_test_towardzero): Likewise.
23964         (exp10_test_downward): Likewise.
23965         (exp10_test_upward): Likewise.
23966         (pow10_test): Likewise.
23967         (exp2_test): Likewise.
23968         (expm1_test): Likewise.
23969         (expm1_test_tonearest): Likewise.
23970         (expm1_test_towardzero): Likewise.
23971         (expm1_test_downward): Likewise.
23972         (expm1_test_upward): Likewise.
23973         (fabs_test): Likewise.
23974         (fdim_test): Likewise.
23975         (floor_test): Likewise.
23976         (fma_test): Likewise.
23977         (fma_test_towardzero): Likewise.
23978         (fma_test_downward): Likewise.
23979         (fma_test_upward): Likewise.
23980         (fmax_test): Likewise.
23981         (fmin_test): Likewise.
23982         (fmod_test): Likewise.
23983         (fpclassify_test): Likewise.
23984         (frexp_test): Likewise.
23985         (hypot_test): Likewise.
23986         (ilogb_test): Likewise.
23987         (isfinite_test): Likewise.
23988         (finite_test): Likewise.
23989         (isgreater_test): Likewise.
23990         (isgreaterequal_test): Likewise.
23991         (isinf_test): Likewise.
23992         (isless_test): Likewise.
23993         (islessequal_test): Likewise.
23994         (islessgreater_test): Likewise.
23995         (isnan_test): Likewise.
23996         (isnormal_test): Likewise.
23997         (issignaling_test): Likewise.
23998         (isunordered_test): Likewise.
23999         (j0_test): Likewise.
24000         (j1_test): Likewise.
24001         (jn_test): Likewise.
24002         (ldexp_test): Likewise.
24003         (lgamma_test): Likewise.
24004         (gamma_test): Likewise.
24005         (lrint_test): Likewise.
24006         (lrint_test_tonearest): Likewise.
24007         (lrint_test_towardzero): Likewise.
24008         (lrint_test_downward): Likewise.
24009         (lrint_test_upward): Likewise.
24010         (llrint_test): Likewise.
24011         (llrint_test_tonearest): Likewise.
24012         (llrint_test_towardzero): Likewise.
24013         (llrint_test_downward): Likewise.
24014         (llrint_test_upward): Likewise.
24015         (log_test): Likewise.
24016         (log10_test): Likewise.
24017         (log1p_test): Likewise.
24018         (log2_test): Likewise.
24019         (logb_test): Likewise.
24020         (logb_test_downward): Likewise.
24021         (lround_test): Likewise.
24022         (llround_test): Likewise.
24023         (modf_test): Likewise.
24024         (nearbyint_test): Likewise.
24025         (nextafter_test): Likewise.
24026         (nexttoward_test): Likewise.
24027         (pow_test): Likewise.
24028         (pow_test_tonearest): Likewise.
24029         (pow_test_towardzero): Likewise.
24030         (pow_test_downward): Likewise.
24031         (pow_test_upward): Likewise.
24032         (remainder_test): Likewise.
24033         (drem_test): Likewise.
24034         (remainder_test_tonearest): Likewise.
24035         (drem_test_tonearest): Likewise.
24036         (remainder_test_towardzero): Likewise.
24037         (drem_test_towardzero): Likewise.
24038         (remainder_test_downward): Likewise.
24039         (drem_test_downward): Likewise.
24040         (remainder_test_upward): Likewise.
24041         (drem_test_upward): Likewise.
24042         (remquo_test): Likewise.
24043         (rint_test): Likewise.
24044         (rint_test_tonearest): Likewise.
24045         (rint_test_towardzero): Likewise.
24046         (rint_test_downward): Likewise.
24047         (rint_test_upward): Likewise.
24048         (round_test): Likewise.
24049         (scalb_test): Likewise.
24050         (scalbn_test): Likewise.
24051         (scalbln_test): Likewise.
24052         (signbit_test): Likewise.
24053         (sin_test): Likewise.
24054         (sin_test_tonearest): Likewise.
24055         (sin_test_towardzero): Likewise.
24056         (sin_test_downward): Likewise.
24057         (sin_test_upward): Likewise.
24058         (sincos_test): Likewise.
24059         (sinh_test): Likewise.
24060         (sinh_test_tonearest): Likewise.
24061         (sinh_test_towardzero): Likewise.
24062         (sinh_test_downward): Likewise.
24063         (sinh_test_upward): Likewise.
24064         (sqrt_test): Likewise.
24065         (sqrt_test_tonearest): Likewise.
24066         (sqrt_test_towardzero): Likewise.
24067         (sqrt_test_downward): Likewise.
24068         (sqrt_test_upward): Likewise.
24069         (tan_test): Likewise.
24070         (tan_test_tonearest): Likewise.
24071         (tan_test_towardzero): Likewise.
24072         (tan_test_downward): Likewise.
24073         (tan_test_upward): Likewise.
24074         (tanh_test): Likewise.
24075         (tgamma_test): Likewise.
24076         (trunc_test): Likewise.
24077         (y0_test): Likewise.
24078         (y1_test): Likewise.
24079         (yn_test): Likewise.
24080         (significand_test): Likewise.
24082         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24083         individual tests in comment.
24084         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24085         (prev_max_error): New variable.
24086         (prev_real_max_error): Likewise.
24087         (prev_imag_max_error): Likewise.
24088         (compare_ulp_data): Don't refer to test names in comment.
24089         (find_test_ulps): Remove function.
24090         (find_function_ulps): Likewise.
24091         (find_complex_function_ulps): Likewise.
24092         (init_max_error): Take function name as argument.  Look up ulps
24093         for that function.
24094         (print_ulps): Remove function.
24095         (print_max_error): Use prev_max_error instead of calling
24096         find_function_ulps.
24097         (print_complex_max_error): Use prev_real_max_error and
24098         prev_imag_max_error instead of calling find_complex_function_ulps.
24099         (check_float_internal): Take max_ulp parameter instead of calling
24100         find_test_ulps.  Don't call print_ulps.
24101         (check_float): Update call to check_float_internal.
24102         (check_complex): Update calls to check_float_internal.
24103         (START): Pass argument to init_max_error.
24104         * math/gen-libm-test.pl (%results): Don't include "kind"
24105         information.
24106         (parse_ulps): Don't handle ulps of individual tests.
24107         (print_ulps_file): Likewise.
24108         (output_ulps): Likewise.
24109         * math/README.libm-test: Update.
24110         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24111         individual tests.
24112         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24113         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24114         * sysdeps/arm/libm-test-ulps: Likewise.
24115         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24116         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24117         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24118         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24119         * sysdeps/microblaze/libm-test-ulps: Likewise.
24120         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24121         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24122         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24123         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24124         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24125         * sysdeps/sh/libm-test-ulps: Likewise.
24126         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24127         * sysdeps/tile/libm-test-ulps: Likewise.
24128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24130 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24132         * math/libm-test.inc (print_complex_max_error): Check separately
24133         whether real and imaginary errors are within allowed range and
24134         pass 0 to print_complex_function_ulps instead of value within
24135         allowed range.
24137 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24139         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24140         formatting.
24141         (get_handles_fopen): Likewise.
24142         (do_write_test): Likewise.
24144         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24146         * libio/fileops.c (do_ftell): Use cached offset when
24147         available.
24148         * libio/iofwide.c (do_ftell_wide): Likewise.
24149         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24150         _IO_file_attach.
24151         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24153         [BZ #16532]
24154         * libio/libioP.h (get_file_offset): New function.
24155         * libio/fileops.c (get_file_offset): Likewise.
24156         (do_ftell): Likewise.
24157         (_IO_new_file_seekoff): Split out ftell logic.
24158         * libio/wfileops.c (do_ftell_wide): Likewise.
24159         (_IO_wfile_seekoff): Split out ftell logic.
24160         * libio/tst-ftell-active-handler.c: New test case.
24161         * libio/Makefile (tests): Add it.
24163 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24165         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24166         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24168 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24170         [BZ #16639]
24171         * nscd/connections.c (nscd_init): Call do_exit.
24172         (start_threads): Call do_exit and notify_parent.
24173         (begin_drop_privileges): Call do_exit.
24174         (finish_drop_privileges): Likewise.
24175         * nscd/selinux.c (preserve_capabilities): Likewise.
24176         (install_real_capabilities): Likewise.
24177         (nscd_selinux_enabled): Likewise.
24178         (avc_create_thread): Likewise.
24179         (avc_alloc_lock): Likewise.
24180         (nscd_avc_init): Likewise.
24181         * nscd/nscd.c (parent_fd): New static variable.
24182         (main): Create a pipe between parent and child processes.
24183         Skip closing parent_fd.
24184         (monitor_child): New function.
24185         (do_exit): Likewise.
24186         (notify_parent): Likewise.
24187         * nscd/nscd.h (notify_parent): Likewise.
24188         (do_exit): Likewise.
24190 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24192         * malloc/malloc.c (__libc_calloc): Revert last change.
24194 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24198 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24200         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24202         implementation.
24203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24204         (__libc_ifunc_impl_list): Likewise.
24205         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24206         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24207         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24208         * string/strrchr.c: Define STRRCHR.
24210 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24212         * benchtest/bench-strtok.c (simple_strtok): Delete.
24213         (strtok_string): Use as benchmark.
24214         * string/strtok (STRTOK): New macro.
24216 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24218         * manual/threads.texi: Add header and standard comments to all
24219         functions.
24221         * elf/dl-lookup.c (check_match): New function.
24222         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24223         (do_lookup_x): Remove nested function check_match. Use non-nested
24224         function check_match.
24226 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24228         * csu/Makefile (generated, before-compile): Use += rather than =.
24229         * catgets/Makefile (generated, generated-dirs): Likewise.
24230         * debug/Makefile (generated): Likewise.
24231         * dlfcn/Makefile (generated): Likewise.
24232         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24233         * iconvdata/Makefile (before-compile, generated): Likewise.
24234         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24235         * libio/Makefile (generated): Likewise.
24236         * malloc/Makefile (generated): Likewise.
24237         * manual/Makefile (generated, generated-dirs): Likewise.
24238         * misc/Makefile (generated): Likewise.
24239         * posix/Makefile (generated): Likewise.
24240         * resolv/Makefile (generated): Likewise.
24241         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24242         * timezone/Makefile (generated, generated-dirs): Likewise.
24244         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24246 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24249         power8 implementation.
24250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24251         file: POWER8 llround ifunc implementation.
24252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24253         (__lllround): Add POWER8 implementation.
24254         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24255         POWER8 llround implementation.
24257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24258         power8 implementation.
24259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24260         file: POWER8 llrint ifunc implementation.
24261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24262         Add POWER8 implementation.
24263         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24264         POWER8 llrint implementation.
24266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24267         power8 implementation.
24268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24269         file: POWER8 finite ifunc implementation.
24270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24271         Add POWER8 implementation.
24272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24273         Likewise.
24274         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24275         POWER8 finite implementation.
24276         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24279         power8 implementation.
24280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24281         file: POWER8 isinf ifunc implementation.
24282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24283         POWER8 implementation.
24284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24285         Likewise.
24286         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24287         isinf implementation.
24288         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24290         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24291         (INIT_ARCH): Add hwcap2 initialization.
24292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24293         power8 implementation.
24294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24295         file: POWER8 isnan ifunc implementation.
24296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24297         POWER8 implementation.
24298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24299         Likewise.
24300         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24301         isnan implementation.
24302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24304 2014-02-27  Joey Ye  <joey.ye@arm.com>
24306         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24307         (_FP_NANFRAC_Q): Set to zero.
24309 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24311         [BZ #16623]
24312         * math/auto-libm-test-in: New test inputs.
24313         * math/auto-libm-test-out: Regenerate.
24314         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24315         and DA.
24316         (__cos): Likewise.
24317         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24319 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24321         * scripts/evaluate-test.sh: Take new argument indicating whether
24322         failure is expected.
24323         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24324         indicating whether failure is expected.
24325         * conform/Makefile (test-xfail-run-conformtest): New variable.
24326         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24327         level.
24328         * posix/Makefile (test-xfail-annexc): New variable.
24329         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24331 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24333         * argp/Makefile: Include Makeconfig immediately after defining
24334         subdir.
24335         * assert/Makefile: Likewise.
24336         * benchtests/Makefile: Likewise.
24337         * catgets/Makefile: Likewise.
24338         * conform/Makefile: Likewise.
24339         * crypt/Makefile: Likewise.
24340         * csu/Makefile: Likewise.
24341         (all): Remove target.
24342         * ctype/Makefile: Include Makeconfig immediately after defining
24343         subdir.
24344         * debug/Makefile: Likewise.
24345         * dirent/Makefile: Likewise.
24346         * dlfcn/Makefile: Likewise.
24347         * gmon/Makefile: Likewise.
24348         * gnulib/Makefile: Likewise.
24349         * grp/Makefile: Likewise.
24350         * gshadow/Makefile: Likewise.
24351         * hesiod/Makefile: Likewise.
24352         * hurd/Makefile: Likewise.
24353         (all): Remove target.
24354         * iconvdata/Makefile: Include Makeconfig immediately after
24355         defining subdir.
24356         * inet/Makefile: Likewise.
24357         * intl/Makefile: Likewise.
24358         * io/Makefile: Likewise.
24359         * libio/Makefile: Likewise.
24360         (all): Remove target.
24361         * locale/Makefile: Include Makeconfig immediately after defining
24362         subdir.
24363         * login/Makefile: Likewise.
24364         * mach/Makefile: Likewise.
24365         (all): Remove target.
24366         * malloc/Makefile: Include Makeconfig immediately after defining
24367         subdir.
24368         (all): Remove target.
24369         * manual/Makefile: Include Makeconfig immediately after defining
24370         subdir.
24371         * math/Makefile: Likewise.
24372         * misc/Makefile: Likewise.
24373         * nis/Makefile: Likewise.
24374         * nss/Makefile: Likewise.
24375         * po/Makefile: Likewise.
24376         (all): Remove target.
24377         * posix/Makefile: Include Makeconfig immediately after defining
24378         subdir.
24379         * pwd/Makefile: Likewise.
24380         * resolv/Makefile: Likewise.
24381         * resource/Makefile: Likewise.
24382         * rt/Makefile: Likewise.
24383         * setjmp/Makefile: Likewise.
24384         * shadow/Makefile: Likewise.
24385         * signal/Makefile: Likewise.
24386         * socket/Makefile: Likewise.
24387         * soft-fp/Makefile: Likewise.
24388         * stdio-common/Makefile: Likewise.
24389         * stdlib/Makefile: Likewise.
24390         * streams/Makefile: Likewise.
24391         * string/Makefile: Likewise.
24392         * sunrpc/Makefile: Likewise.
24393         (all): Remove target.
24394         * sysvipc/Makefile: Include Makeconfig immediately after defining
24395         subdir.
24396         * termios/Makefile: Likewise.
24397         * time/Makefile: Likewise.
24398         * timezone/Makefile: Likewise.
24399         (all): Remove target.
24400         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24401         subdir.
24402         * wctype/Makefile: Likewise.
24404 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24406         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24407         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24408         (libc_feholdexcept_setround_mips): Ditto.
24409         (libc_feholdsetround): New.
24410         (libc_feholdsetroundf): New.
24411         (libc_feholdsetroundl): New.
24412         (libc_feupdateenv_test_mips): New.
24413         (libc_feupdateenv_test): New.
24414         (libc_feupdateenv_testf): New.
24415         (libc_feupdateenv_testl): New.
24416         (libc_feresetround): New.
24417         (libc_feresetroundf): New.
24418         (libc_feresetroundl): New.
24419         (libc_fetestexcept_mips): New.
24420         (libc_fetestexcept): New.
24421         (libc_fetestexceptf): New.
24422         (libc_fetestexceptl): New.
24423         (HAVE_RM_CTX): New.
24424         (libc_feholdexcept_setround_mips_ctx): New.
24425         (libc_feholdexcept_setround_ctx): New.
24426         (libc_feholdexcept_setroundf_ctx): New.
24427         (libc_feholdexcept_setroundl_ctx): New.
24428         (libc_fesetenv_mips_ctx): New.
24429         (libc_fesetenv_ctx): New.
24430         (libc_fesetenv_ctxf): New.
24431         (libc_fesetenv_ctxl): New.
24432         (libc_feupdateenv_mips_ctx): New.
24433         (libc_feupdateenv_ctx): New.
24434         (libc_feupdateenvf_ctx): New.
24435         (libc_feupdateenvl_ctx): New.
24436         (libc_feholdsetround_mips_ctx): New.
24437         (libc_feholdsetround_ctx): New.
24438         (libc_feholdsetroundf_ctx): New.
24439         (libc_feholdsetroundl_ctx): New.
24440         (libc_feresetround_mips_ctx): New.
24441         (libc_feresetround_ctx): New.
24442         (libc_feresetroundf_ctx): New.
24443         (libc_feresetroundl_ctx): New.
24445 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24447         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24449         * manual/ipc.texi: New file.
24450         * manual/Makefile (chapters): Add ipc.
24451         * manual/job.texi: Add "Inter-Process Communication" to next.
24452         * manual/process.texi: Add "Inter-Process Communication" to prev.
24454 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24458 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24460         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24462         * manual/arith.texi: Fix spaces after sentences.
24463         * manual/charset.texi: Likewise.
24464         * manual/errno.texi: Likewise.
24465         * manual/install.texi: Likewise.
24466         * manual/llio.texi: Likewise.
24467         * manual/locale.texi: Likewise.
24468         * manual/maint.texi: Likewise.
24469         * manual/math.texi: Likewise.
24470         * manual/memory.texi: Likewise.
24471         * manual/message.texi: Likewise.
24472         * manual/probes.texi: Likewise.
24473         * manual/resource.texi: Likewise.
24474         * manual/signal.texi: Likewise.
24475         * manual/socket.texi: Likewise.
24476         * manual/stdio.texi: Likewise.
24477         * manual/string.texi: Likewise.
24478         * manual/time.texi: Likewise.
24479         * manual/users.texi: Likewise.
24481 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24483         [BZ #16632]
24484         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24485         _DEFAULT_SOURCE is defined.
24487 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24488             Carlos O'Donell  <carlos@redhat.com>
24490         [BZ #16613]
24491         * elf/dl-tls.c (_dl_count_modids): New function.
24492         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24493         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24494         audit library and increment generation counter.
24495         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24496         * elf/tst-audit9.c: New file.
24497         * elf/tst-auditmod9a.c: New file.
24498         * elf/tst-auditmod9b.c: New file.
24499         * elf/Makefile: Add rules to build and run tst-audit9.
24501 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24503         [BZ #15347]
24504         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24506 2014-02-25  Will Newton  <will.newton@linaro.org>
24508         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24509         (__longjmp): Restore sp and lr before restoring callee
24510         saved registers.  Add longjmp and longjmp_target
24511         SystemTap probe point.
24512         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24513         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24514         Define to zero to match jmpbuf layout.
24515         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24516         (__sigsetjmp): Save sp and lr before saving callee
24517         saved registers.  Add setjmp SystemTap probe point.
24519 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24521         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24523 2014-02-24  Andreas Schwab  <schwab@suse.de>
24525         [BZ #15804]
24526         * elf/pldd.c (wait_for_ptrace_stop): New function.
24527         (main): Call it after attaching.
24529 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24531         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24532         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24533         Versions files is now verboten.
24534         * hurd/Versions (libc: GLIBC_2.0):
24535         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24536         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24537         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24538         * mach/Versions: Likewise.
24540         * csu/Versions: Remove unused %include.
24541         * resolv/Versions: Likewise.
24543 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24545         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24546         ($(objpfx)check-local-headers.out): Likewise.
24547         ($(objpfx)begin-end-check.out): Likewise.
24548         * Makerules (check-abi-%.out): Likewise.
24549         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24550         ($(objpfx)test2.cat): Likewise.
24551         ($(objpfx)de/libc.cat): Likewise.
24552         ($(objpfx)test-gencat.out): Likewise.
24553         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24554         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24555         ($(objpfx)noload-mem): Likewise.
24556         ($(objpfx)tst-pathopt.out): Likewise.
24557         ($(objpfx)tst-rtld-load-self.out): Likewise.
24558         ($(objpfx)tst-array1-cmp.out): Likewise.
24559         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24560         ($(objpfx)tst-array2-cmp.out): Likewise.
24561         ($(objpfx)tst-array3-cmp.out): Likewise.
24562         ($(objpfx)tst-array4-cmp.out): Likewise.
24563         ($(objpfx)tst-array5-cmp.out): Likewise.
24564         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24565         ($(objpfx)check-textrel.out): Likewise.
24566         ($(objpfx)check-execstack.out): Likewise.
24567         ($(objpfx)check-localplt.out): Likewise.
24568         ($(objpfx)order2-cmp.out): Likewise.
24569         ($(objpfx)tst-leaks1-mem): Likewise.
24570         ($(objpfx)tst-leaks1-static-mem): Likewise.
24571         ($(objpfx)tst-initorder-cmp.out): Likewise.
24572         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24573         ($(objpfx)tst-unused-dep.out): Likewise.
24574         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24575         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24576         * iconv/Makefile (test-iconvconfig): Likewise.
24577         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24578         ($(objpfx)iconv-test.out): Likewise.
24579         ($(objpfx)tst-tables.out): Likewise.
24580         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24581         ($(objpfx)tst-gettext.out): Likewise.
24582         ($(objpfx)tst-translit.out): Likewise.
24583         ($(objpfx)tst-gettext2.out): Likewise.
24584         ($(objpfx)tst-gettext4.out): Likewise.
24585         ($(objpfx)tst-gettext6.out): Likewise.
24586         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24587         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24588         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24589         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24590         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24591         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24592         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24593         ($(objpfx)wordexp-tst.out): Likewise.
24594         ($(objpfx)annexc.out): Likewise.
24595         ($(objpfx)tst-fnmatch-mem): Likewise.
24596         ($(objpfx)bug-regex2-mem): Likewise.
24597         ($(objpfx)bug-regex14-mem): Likewise.
24598         ($(objpfx)bug-regex21-mem): Likewise.
24599         ($(objpfx)bug-regex31-mem): Likewise.
24600         ($(objpfx)tst-vfork3-mem): Likewise.
24601         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24602         ($(objpfx)tst-pcre-mem): Likewise.
24603         ($(objpfx)tst-boost-mem): Likewise.
24604         ($(objpfx)tst-getconf.out): Likewise.
24605         ($(objpfx)bug-ga2-mem): Likewise.
24606         ($(objpfx)bug-glob2-mem): Likewise.
24607         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24608         ($(objpfx)mtrace-tst-leaks2): Likewise.
24609         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24610         ($(objpfx)tst-printf.out): Likewise.
24611         ($(objpfx)tst-setvbuf1.out): Likewise.
24612         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24613         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24614         ($(objpfx)tst-fmtmsg.out): Likewise.
24615         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24616         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24618         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24619         * bits/sigaction.h [__USE_MISC]: Likewise.
24620         * bits/waitstatus.h: Update #endif comments.
24621         * ctype/ctype.h: Likewise.
24622         * dirent/dirent.h: Likewise.
24623         [__USE_MISC]: Remove redundant conditionals.
24624         * grp/grp.h: Update #endif comments.
24625         [__USE_GNU]: Remove redundant conditionals.
24626         [__USE_MISC]: Likewise.
24627         * inet/netinet/in.h [__USE_GNU]: Likewise.
24628         * io/sys/stat.h [__USE_MISC]: Likewise.
24629         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24630         * libio/bits/stdio.h: Update #endif comments.
24631         [__USE_MISC]: Remove redundant conditionals.
24632         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24633         * libio/stdio.h: Update #endif comments.
24634         [__USE_MISC]: Remove redundant conditionals.
24635         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24636         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24637         * math/math.h: Update #else and #endif comments.
24638         [__USE_MISC]: Remove redundant conditionals.
24639         * misc/sys/uio.h: Update #endif comments.
24640         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24641         * posix/glob.h [__USE_MISC]: Likewise.
24642         * posix/sys/types.h: Update #endif comments.
24643         [__USE_MISC]: Remove redundant conditionals.
24644         * posix/sys/wait.h: Update #endif comments.
24645         [__USE_MISC]: Remove redundant conditionals.
24646         * posix/unistd.h: Update #endif comments.
24647         [__USE_MISC]: Remove redundant conditionals.
24648         * pwd/pwd.h [__USE_GNU]: Likewise.
24649         [__USE_MISC]: Likewise.
24650         * resolv/netdb.h [__USE_GNU]: Likewise.
24651         * signal/signal.h: Update #endif comments.
24652         [__USE_MISC]: Remove redundant conditionals.
24653         * stdlib/stdlib.h: Update #else and #endif comments.
24654         [__USE_MISC]: Remove redundant conditionals.
24655         [__USE_GNU]: Likewise.
24656         * string/bits/string2.h [__USE_MISC]: Likewise.
24657         * string/string.h: Update #endif comments.
24658         [__USE_MISC]: Remove redundant conditionals.
24659         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24660         Likewise.
24661         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24662         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24663         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24664         Likewise.
24665         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24668         comments.
24669         [__USE_MISC]: Remove redundant conditionals.
24670         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24671         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24672         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24673         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24674         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24675         Likewise.
24676         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24677         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24678         Likewise.
24679         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24680         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24681         Likewise.
24682         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24683         Likewise.
24684         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24685         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24686         Likewise.
24687         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24688         Likewise.
24689         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24690         * sysdeps/x86/bits/string.h: Update #endif comments.
24691         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24692         conditionals.
24693         * time/sys/time.h: Update #endif comments.
24694         * time/time.h: Likewise.
24695         [__USE_MISC]: Remove redundant conditionals.
24697 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24699         [BZ #16600]
24700         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24702 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24704         * Versions.def (librt): Add GLIBC_2.17.
24706 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24708         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24709         synonym for _SYS_AUXV_H to allow direct inclusion.
24710         * sysdeps/sparc/bits/hwcap.h: Likewise.
24711         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24712         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24713         * sysdeps/sparc/sysdep.h: Likewise.
24715 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24717         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24719 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24721         * benchtests/bench-strrchr.c: Print length instead of position.
24723 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24725         [BZ #16611]
24726         * sysdeps/unix/sysv/linux/kernel-features.h
24727         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24728         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24729         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24730         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24731         Likewise.
24732         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24733         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24734         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24735         (__ASSUME_SENDMMSG): Define instead of using previous
24736         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24737         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24738         (__ASSUME_SENDMMSG_SYSCALL): Define.
24739         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24740         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24741         Likewise.
24742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24743         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24744         Likewise.
24745         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24746         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24747         Likewise.
24748         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24749         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24750         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24751         [__ASSUME_SENDMMSG]: Change conditionals to
24752         [__ASSUME_SENDMMSG_SOCKETCALL].
24753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24754         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24755         Define.
24756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24757         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24758         Likewise.
24759         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24760         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24761         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24762         [!__ASSUME_SENDMMSG]: Change conditional to
24763         [!__ASSUME_SENDMMSG_SOCKETCALL].
24764         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24765         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24766         Define.
24768         [BZ #16610]
24769         * sysdeps/unix/sysv/linux/kernel-features.h
24770         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24771         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24772         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24773         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24774         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24775         [__i386__ || __sparc__]
24776         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24777         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24778         (__ASSUME_RECVMMSG): Define instead of using previous
24779         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24780         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24781         (__ASSUME_RECVMMSG_SYSCALL): Define.
24782         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24783         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24784         Likewise.
24785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24786         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24787         Likewise.
24788         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24789         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24790         Likewise.
24791         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24792         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24793         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24794         [__ASSUME_RECVMMSG]: Change condition to
24795         [__ASSUME_RECVMMSG_SOCKETCALL].
24796         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24797         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24798         Define.
24799         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24801         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24802         Likewise.
24803         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24804         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24805         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24806         [!__ASSUME_RECVMMSG]: Change condition to
24807         [!__ASSUME_RECVMMSG_SOCKETCALL].
24808         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24809         (__ASSUME_RECVMMSG_SYSCALL): Define.
24811         [BZ #16609]
24812         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24813         __powerpc__ || __s390__ || __sh__ || __sparc__]
24814         (__ASSUME_SOCKETCALL): Define.
24815         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24816         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24817         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24818         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24819         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24820         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24821         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24822         (__ASSUME_ACCEPT4): Define instead of using previous
24823         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24824         __powerpc__ || __sparc__ || __s390__)] condition.
24825         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24826         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24827         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24828         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24829         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24830         [!__ASSUME_ACCEPT4]: Change condition to
24831         [!__ASSUME_ACCEPT4_SOCKETCALL].
24832         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24833         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24834         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24836         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24837         __ASSUME_ACCEPT4_SYSCALL.
24838         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24839         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24840         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24841         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24842         __ASSUME_ACCEPT4_SYSCALL.
24843         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24844         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24845         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24846         [__ASSUME_ACCEPT4]: Change condition to
24847         [__ASSUME_ACCEPT4_SOCKETCALL].
24848         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24849         (__ASSUME_SOCKETCALL): Define.
24850         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24851         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24852         (__ASSUME_SOCKETCALL): Define.
24853         (__ASSUME_ACCEPT4): Remove.
24854         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24855         Define.
24856         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24857         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24858         Likewise.
24859         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24860         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24862         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24863         macro.
24864         (HWCAP_ARM_LPAE): Likewise.
24865         (HWCAP_ARM_EVTSTRM): Likewise.
24866         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24867         Add vpfd32, lpae and evtstrm.
24868         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24869         Increase to 22.
24871 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24873         * math/auto-libm-test-in: Add tests of clog10.
24874         * math/auto-libm-test-out: Regenerated.
24875         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24876         * sysdeps/i386/fpu/libm-test-ulps: Update.
24877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24879 2014-02-18  Andreas Schwab  <schwab@suse.de>
24881         [BZ #16574]
24882         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24883         Store non-zero if the second buffer was newly allocated.
24884         (send_dg): Likewise.
24885         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24886         to send_vc and send_dg.
24887         (res_nsend): Pass NULL for ansp2_malloced.
24888         * resolv/res_query.c (__libc_res_nquery): Add parameter
24889         answerp2_malloced and pass it down to __libc_res_nsend.
24890         (res_nquery): Pass additional NULL to __libc_res_nquery.
24891         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24892         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24893         second answer buffer if answerp2_malloced was set.
24894         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24895         (__libc_res_nquerydomain): Add parameter
24896         answerp2_malloced and pass it down to __libc_res_nquery.
24897         (res_nquerydomain): Pass additional NULL to
24898         __libc_res_nquerydomain.
24899         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24900         additional NULL to __libc_res_nsend and __libc_res_nquery.
24901         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24902         additional NULL to __libc_res_nsearch.
24903         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24904         parameter of __libc_res_nsearch to check for separately allocated
24905         second buffer.
24906         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24907         __libc_res_nquery.
24908         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24909         additional NULL to __libc_res_nquery.
24910         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24911         __libc_res_nsearch.
24912         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24913         * include/resolv.h: Update prototypes of __libc_res_nquery,
24914         __libc_res_nsearch, __libc_res_nsend.
24916 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24918         * math/auto-libm-test-in: Add tests of fma.
24919         * math/auto-libm-test-out: Regenerated.
24920         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24921         (fma_towardzero_test_data): Likewise.
24922         (fma_downward_test_data): Likewise.
24923         (fma_upward_test_data): Likewise.
24924         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24925         mpc_mode.
24926         (rounding_modes): Add values for new field.
24927         (func_calc_method): Add value mpfr_fff_f.
24928         (func_calc_desc): Add mpfr_fff_f union field.
24929         (test_function): Add field exact_args.
24930         (FUNC): Add macro argument EXACT_ARGS.
24931         (FUNC_mpfr_f_f): Update call to FUNC.
24932         (FUNC_mpfr_f_f): Likewise.
24933         (FUNC_mpfr_ff_f): Likewise.
24934         (FUNC_mpfr_if_f): Likewise.
24935         (FUNC_mpc_c_f): Likewise.
24936         (FUNC_mpc_c_c): Likewise.
24937         (test_functions): Add fma.  Update calls to FUNC.
24938         (handle_input_arg): Add argument exact_args.
24939         (add_test): Update call to handle_input_arg.
24940         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24941         (output_for_one_input_case): Update call to calc_generic_results.
24942         Recalculate exact zero results in each rounding mode.
24944         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24945         non-negative before setting low bit.
24946         * math/auto-libm-test-in: Mark one asin test possibly having
24947         spurious underflow.
24948         * math/auto-libm-test-out: Regenerated.
24949         * sysdeps/i386/fpu/libm-test-ulps: Update.
24950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24954         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24955         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24956         ports/sysdeps/unix/sysv/linux/microblaze.
24957         * README: Add missing listing for microblaze*-*-linux-gnu.
24959 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24961         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24962         duplicate code
24964 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24966         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24967         * sysdeps/unix/sysv/linux/ia64: Move directory from
24968         ports/sysdeps/unix/sysv/linux/ia64.
24969         * README: Update listing for ia64-*-linux-gnu.
24971 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24972             Joseph Myers  <joseph@codesourcery.com>
24974         * Makeconfig (test-name): New variable.
24975         (evaluate-test): Likewise.
24976         * Makerules (do-test-clean): Remove .test-result files.
24977         (common-mostlyclean): Likewise.
24978         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24979         * scripts/evaluate-test.sh: New file.
24981 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24983         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24984         separate $(objpfx)tst-fopenloc-cmp.out and
24985         $(objpfx)tst-fopenloc-mem.out targets.
24986         (tests): Update dependencies.
24987         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24988         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24989         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24990         (tst-rxspencer-no-utf8-ARGS): New variable.
24991         (tst-rxspencer-no-utf8-ENV): Likewise.
24992         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24993         instead of $(objpfx)tst-rxspencer-mem.
24994         ($(objpfx)tst-rxspencer-mem): Change target to
24995         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24996         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24997         * posix/tst-rxspencer-no-utf8.c: New file.
24999         * elf/Makefile ($(objpfx)order.out): Remove rule.
25000         [$(run-built-tests) = yes] (tests): Depend on
25001         $(objpfx)order-cmp.out.
25002         ($(objpfx)order-cmp.out): New rule.
25003         [$(run-built-tests) = yes] (tests): Depend on
25004         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25005         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25006         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25007         $(objpfx)tst-array5-static-cmp.out.
25008         ($(objpfx)tst-array1.out): Remove rule.
25009         ($(objpfx)tst-array1-cmp.out): New rule.
25010         ($(objpfx)tst-array1-static.out): Remove rule.
25011         ($(objpfx)tst-array1-static-cmp.out): New rule.
25012         ($(objpfx)tst-array2.out): Remove rule.
25013         ($(objpfx)tst-array2-cmp.out): New rule.
25014         ($(objpfx)tst-array3.out): Remove rule.
25015         ($(objpfx)tst-array3-cmp.out): New rule.
25016         ($(objpfx)tst-array4.out): Remove rule.
25017         ($(objpfx)tst-array4-cmp.out): New rule.
25018         ($(objpfx)tst-array5.out): Remove rule.
25019         ($(objpfx)tst-array5-cmp.out): New rule.
25020         ($(objpfx)tst-array5-static.out): Remove rule.
25021         ($(objpfx)tst-array5-static-cmp.out): New rule.
25022         [$(run-built-tests) = yes] (tests): Depend on
25023         $(objpfx)order2-cmp.out.
25024         ($(objpfx)order2.out): Remove rule.
25025         ($(objpfx)order2-cmp.out): New rule.
25026         ($(objpfx)tst-initorder.out): Remove rule.
25027         [$(run-built-tests) = yes] (tests): Depend on
25028         $(objpfx)tst-initorder-cmp.out.
25029         ($(objpfx)tst-initorder-cmp.out): New rule.
25030         ($(objpfx)tst-initorder2.out): Remove rule.
25031         [$(run-built-tests) = yes] (tests): Depend on
25032         $(objpfx)tst-initorder2-cmp.out.
25033         ($(objpfx)tst-initorder2-cmp.out): New rule.
25034         [$(run-built-tests) = yes] (tests): Depend on
25035         $(objpfx)tst-unused-dep-cmp.out.
25036         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25037         ($(objpfx)tst-unused-dep-cmp.out): New rule.
25038         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25039         on $(objpfx)tst-setvbuf1-cmp.out.
25040         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25041         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25042         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25043         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25044         ($(objpfx)tst-svc.out): Remove rule.
25045         ($(objpfx)tst-svc-cmp.out): New rule.
25047 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
25049         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25050         * ctype/ctype.h [__USE_MISC]: Likewise.
25051         * dirent/dirent.h [__USE_MISC]: Likewise.
25052         * grp/grp.h [__USE_MISC]: Likewise.
25053         * io/fcntl.h [__USE_MISC]: Likewise.
25054         * io/sys/stat.h [__USE_MISC]: Likewise.
25055         * libio/stdio.h [__USE_MISC]: Likewise.
25056         * posix/unistd.h [__USE_MISC]: Likewise.
25057         * pwd/pwd.h [__USE_MISC]: Likewise.
25058         * stdlib.h [__USE_MISC]: Likewise.
25059         * string/bits/string2.h [__USE_MISC]: Likewise.
25060         * string/string.h [__USE_MISC]: Likewise.
25061         * time/time.h [__USE_MISC]: Likewise.
25063 2014-02-13  Andreas Schwab  <schwab@suse.de>
25065         [BZ #16574]
25066         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25067         second answer buffer if it was separately allocated.
25069 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
25071         * sysdeps/mips/math-tests.h: Include <features.h>.
25072         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25073         (ROUNDING_TESTS_long_double): Do not define.
25074         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25075         (EXCEPTION_TESTS_long_double): Likewise.
25076         * sysdeps/mips/mips64/libm-test-ulps: Update.
25078         * include/features.h (__USE_BSD): Remove macro definitions.
25079         (__USE_SVID): Likewise.
25080         (_BSD_SOURCE): Likewise.
25081         (_SVID_SOURCE): Likewise.
25082         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25083         from definition of _DEFAULT_SOURCE.
25084         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25085         [_DEFAULT_SOURCE].
25086         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25087         * bits/mman.h [__USE_BSD]: Likewise.
25088         * bits/termios.h [__USE_BSD]: Likewise.
25089         * bits/waitstatus.h [__USE_BSD]: Likewise.
25090         * ctype/ctype.h [__USE_SVID]: Likewise.
25091         * dirent/dirent.h [__USE_BSD]: Likewise.
25092         * grp/grp.h [__USE_SVID]: Likewise.
25093         [__USE_BSD]: Likewise.
25094         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25095         * io/fcntl.h [__USE_BSD]: Likewise.
25096         * io/ftw.h [__USE_BSD]: Likewise.
25097         * io/sys/stat.h [__USE_BSD]: Likewise.
25098         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25099         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25100         * libio/stdio.h [__USE_SVID]: Likewise.
25101         [__USE_BSD]: Likewise.
25102         * math/math.h [__USE_SVID]: Likewise.
25103         [__USE_BSD]: Likewise.
25104         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25105         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25106         * misc/search.h [__USE_SVID]: Likewise.
25107         * misc/sys/mman.h [__USE_BSD]: Likewise.
25108         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25109         * misc/sys/uio.h [__USE_BSD]: Likewise.
25110         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25111         * posix/glob.h [__USE_BSD]: Likewise.
25112         * posix/regex.h [__USE_BSD]: Likewise.
25113         * posix/sys/types.h [__USE_BSD]: Likewise.
25114         [__USE_SVID]: Likewise.
25115         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25116         * posix/sys/wait.h [__USE_BSD]: Likewise.
25117         [__USE_SVID]: Likewise.
25118         * posix/unistd.h [__USE_BSD]: Likewise.
25119         [__USE_SVID]: Likewise.
25120         * pwd/pwd.h [__USE_SVID]: Likewise.
25121         * resolv/netdb.h [__USE_BSD]: Likewise.
25122         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25123         * signal/signal.h [__USE_BSD]: Likewise.
25124         [__USE_SVID]: Likewise.
25125         * socket/sys/socket.h [__USE_BSD]: Likewise.
25126         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25127         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25128         [__USE_SVID]: Likewise.
25129         * string/bits/string2.h [__USE_BSD]: Likewise.
25130         [__USE_SVID]: Likewise.
25131         * string/bits/string3.h [__USE_BSD]: Likewise.
25132         * string/endian.h [__USE_BSD]: Likewise.
25133         * string/string.h [__USE_SVID]: Likewise.
25134         [__USE_BSD]: Likewise.
25135         * string/strings.h [__USE_BSD]: Likewise.
25136         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25137         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25138         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25139         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25140         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25141         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25142         Likewise.
25143         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25144         Likewise.
25145         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25146         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25147         Likewise.
25148         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25149         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25150         Likewise.
25151         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25152         Likewise.
25153         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25154         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25155         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25156         Likewise.
25157         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25158         Likewise.
25159         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25160         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25161         * termios/termios.h [__USE_BSD]: Likewise.
25162         * time/sys/time.h [__USE_BSD]: Likewise.
25163         * time/time.h [__USE_BSD]: Likewise.
25164         [__USE_SVID]: Likewise.
25166         * Makefile (subdir_targets): Remove subdir_lint.out.
25168         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25169         (do-tst-printf): Likewise.
25170         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25171         $(objpfx)tst-printf.out.
25173         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25175         * Makerules (check-abi-%): Change target to
25176         $(objpfx)check-abi-%.out.
25177         (check-abi target): Update dependencies.
25178         (check-abi-pattern variable): Redirect output of diff to $@.
25179         (check-abi variable): Likewise.
25180         * elf/Makefile (check-abi): Update dependencies.
25182         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25183         unused.
25184         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25185         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25186         subnormal range.
25187         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25188         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25189         value has largest subnormal exponent.
25190         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25191         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25192         * sysdeps/aarch64/soft-fp/sfp-machine.h
25193         (_FP_TININESS_AFTER_ROUNDING): New macro.
25194         * sysdeps/alpha/soft-fp/sfp-machine.h
25195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25196         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25197         Likewise.
25198         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25199         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25200         * sysdeps/mips/soft-fp/sfp-machine.h
25201         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25202         * sysdeps/powerpc/soft-fp/sfp-machine.h
25203         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25204         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25205         Likewise.
25206         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25207         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25208         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25209         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25210         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25211         Likewise.
25213 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25215         [BZ #16545]
25216         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25217         model 1.
25219 2014-02-12  Richard Henderson  <rth@redhat.com>
25221         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25222         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25223         * sysdeps/unix/sysv/linux/alpha: Move directory from
25224         ports/sysdeps/unix/sysv/linux/alpha.
25225         * README: Update listing for alpha-*-linux-gnu.
25227 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25229         * include/features.h: Update comment documenting feature test
25230         macros.
25231         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25232         _DEFAULT_SOURCE.
25233         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25234         (_SVID_SOURCE): Likewise.
25235         (_DEFAULT_SOURCE): Update description of default features.
25236         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25237         with _GNU_SOURCE.
25238         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25239         (S_ISVTX): Likewise.
25240         * manual/math.texi (Mathematical Constants): Likewise.
25241         * manual/signal.texi (Interrupted Primitives): Likewise.
25242         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25243         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25244         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25245         Don't refer to _SVID_SOURCE in warning text.
25247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25249         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25250         already defined.
25251         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25252         * sysdeps/mips/dl-lookup.c: Remove.
25253         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25255 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25257         [BZ #16447]
25258         * math/auto-libm-test-in: Add testcase for expl.
25259         * math/auto-libm-test-out: Regenerate.
25260         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25261         calculation of unsafe.
25262         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25264 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25266         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25267         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25268         ports/sysdeps/unix/sysv/linux/aarch64.
25269         * README: Update listing for aarch64*-*-linux-gnu.
25271 2014-02-11  Will Newton  <will.newton@linaro.org>
25273         * manual/probes.texi (Mathematical Function Probes): Use
25274         "triggered" instead of "hit".
25276         * manual/probes.texi (Internal Probes): Add documentation
25277         of setjmp, longjmp and longjmp_target probes.
25279         * include/stap-probe.h: Add comment about probe argument
25280         format.
25282         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25283         definition.  (tr_where, tr_freehook, tr_mallochook,
25284         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25286 2014-02-11  David S. Miller  <davem@davemloft.net>
25288         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25289         processing int_tests.
25291 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25293         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25294         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25295         * sysdeps/unix/sysv/linux/mips: Move directory from
25296         ports/sysdeps/unix/sysv/linux/mips.
25297         * README: Update listing for mips-*-linux-gnu and
25298         mips64-*-linux-gnu.
25300 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25302         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25303         * sysdeps/unix/sysv/linux/m68k: Move directory from
25304         ports/sysdeps/unix/sysv/linux/m68k.
25305         * README: Update listing for m68k-*-linux-gnu.
25307 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25309         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25310         * sysdeps/unix/sysv/linux/generic: Move directory from
25311         ports/sysdeps/unix/sysv/linux/generic.
25312         * sysdeps/unix/sysv/linux/tile: Move directory from
25313         ports/sysdeps/unix/sysv/linux/tile.
25314         * README: Update listing for tile*-*-linux-gnu.
25316 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25318         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25319         __builtin_expect.
25320         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25321         * catgets/open_catalog.c (__open_catalog): Likewise.
25322         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25323         * debug/confstr_chk.c: Likewise.
25324         * debug/fread_chk.c (__fread_chk): Likewise.
25325         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25326         * debug/getgroups_chk.c: Likewise.
25327         * debug/mbsnrtowcs_chk.c: Likewise.
25328         * debug/mbsrtowcs_chk.c: Likewise.
25329         * debug/mbstowcs_chk.c: Likewise.
25330         * debug/memcpy_chk.c: Likewise.
25331         * debug/memmove_chk.c: Likewise.
25332         * debug/mempcpy_chk.c: Likewise.
25333         * debug/memset_chk.c: Likewise.
25334         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25335         * debug/strcat_chk.c (__strcat_chk): Likewise.
25336         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25337         * debug/strncat_chk.c (__strncat_chk): Likewise.
25338         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25339         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25340         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25341         * debug/wcpncpy_chk.c: Likewise.
25342         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25343         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25344         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25345         * debug/wcsncpy_chk.c: Likewise.
25346         * debug/wcsnrtombs_chk.c: Likewise.
25347         * debug/wcsrtombs_chk.c: Likewise.
25348         * debug/wcstombs_chk.c: Likewise.
25349         * debug/wmemcpy_chk.c: Likewise.
25350         * debug/wmemmove_chk.c: Likewise.
25351         * debug/wmempcpy_chk.c: Likewise.
25352         * debug/wmemset_chk.c: Likewise.
25353         * dirent/scandirat.c (SCANDIRAT): Likewise.
25354         * dlfcn/dladdr1.c (dladdr1): Likewise.
25355         * dlfcn/dladdr.c (dladdr): Likewise.
25356         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25357         * dlfcn/dlerror.c (__dlerror): Likewise.
25358         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25359         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25360         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25361         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25362         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25363         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25364         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25365         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25366         Likewise.
25367         * elf/dl-conflict.c: Likewise.
25368         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25369         * elf/dl-dst.h: Likewise.
25370         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25371         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25372         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25373         * elf/dl-init.c (call_init, _dl_init): Likewise.
25374         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25375         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25376         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25377         Likewise.
25378         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25379         Likewise.
25380         * elf/dl-minimal.c (__libc_memalign): Likewise.
25381         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25382         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25383         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25384         * elf/dl-sym.c (do_sym): Likewise.
25385         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25386         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25387         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25388         * elf/dl-writev.h (_dl_writev): Likewise.
25389         * elf/ldconfig.c (search_dir): Likewise.
25390         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25391         (dl_main): Likewise.
25392         * elf/setup-vdso.h (setup_vdso): Likewise.
25393         * grp/compat-initgroups.c (compat_call): Likewise.
25394         * grp/fgetgrent.c (fgetgrent): Likewise.
25395         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25396         * grp/putgrent.c (putgrent): Likewise.
25397         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25398         Likewise.
25399         * hurd/hurdinit.c: Likewise.
25400         * iconvdata/8bit-gap.c (struct): Likewise.
25401         * iconvdata/ansi_x3.110.c : Likewise.
25402         * iconvdata/big5.c : Likewise.
25403         * iconvdata/big5hkscs.c : Likewise.
25404         * iconvdata/cp1255.c: Likewise.
25405         * iconvdata/cp1258.c : Likewise.
25406         * iconvdata/cp932.c : Likewise.
25407         * iconvdata/euc-cn.c: Likewise.
25408         * iconvdata/euc-jisx0213.c : Likewise.
25409         * iconvdata/euc-jp.c: Likewise.
25410         * iconvdata/euc-jp-ms.c : Likewise.
25411         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25412         * iconvdata/gb18030.c : Likewise.
25413         * iconvdata/gbbig5.c (const): Likewise.
25414         * iconvdata/gbgbk.c: Likewise.
25415         * iconvdata/gbk.c : Likewise.
25416         * iconvdata/ibm1364.c : Likewise.
25417         * iconvdata/ibm930.c : Likewise.
25418         * iconvdata/ibm932.c: Likewise.
25419         * iconvdata/ibm933.c : Likewise.
25420         * iconvdata/ibm935.c : Likewise.
25421         * iconvdata/ibm937.c : Likewise.
25422         * iconvdata/ibm939.c : Likewise.
25423         * iconvdata/ibm943.c: Likewise.
25424         * iconvdata/iso_11548-1.c: Likewise.
25425         * iconvdata/iso-2022-cn.c : Likewise.
25426         * iconvdata/iso-2022-cn-ext.c : Likewise.
25427         * iconvdata/iso-2022-jp-3.c: Likewise.
25428         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25429         * iconvdata/iso-2022-kr.c : Likewise.
25430         * iconvdata/iso646.c (gconv_end): Likewise.
25431         * iconvdata/iso_6937-2.c : Likewise.
25432         * iconvdata/iso_6937.c : Likewise.
25433         * iconvdata/iso8859-1.c: Likewise.
25434         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25435         * iconvdata/shift_jisx0213.c : Likewise.
25436         * iconvdata/sjis.c : Likewise.
25437         * iconvdata/t.61.c : Likewise.
25438         * iconvdata/tcvn5712-1.c : Likewise.
25439         * iconvdata/tscii.c: Likewise.
25440         * iconvdata/uhc.c : Likewise.
25441         * iconvdata/unicode.c (gconv_end): Likewise.
25442         * iconvdata/utf-16.c (gconv_end): Likewise.
25443         * iconvdata/utf-32.c (gconv_end): Likewise.
25444         * iconvdata/utf-7.c (base64): Likewise.
25445         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25446         * iconv/gconv_close.c (__gconv_close): Likewise.
25447         * iconv/gconv_open.c (__gconv_open): Likewise.
25448         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25449         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25450         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25451         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25452         (ucs4le_internal_loop_single): Likewise.
25453         * iconv/iconv.c (iconv): Likewise.
25454         * iconv/iconv_close.c: Likewise.
25455         * iconv/loop.c (SINGLE): Likewise.
25456         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25457         * include/atomic.h: Likewise.
25458         * inet/inet6_option.c (option_alloc): Likewise.
25459         * intl/bindtextdom.c (set_binding_values): Likewise.
25460         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25461         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25462         * intl/localealias.c (read_alias_file): Likewise.
25463         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25464         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25465         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25466         * libio/fmemopen.c (fmemopen): Likewise.
25467         * libio/iofgets.c (_IO_fgets): Likewise.
25468         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25469         * libio/iofgetws.c (fgetws): Likewise.
25470         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25471         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25472         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25473         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25474         * locale/findlocale.c (_nl_find_locale): Likewise.
25475         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25476         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25477         Likewise.
25478         * locale/setlocale.c (setlocale): Likewise.
25479         * login/programs/pt_chown.c (main): Likewise.
25480         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25481         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25482         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25483         (mmap, mmap64, mremap, munmap): Likewise.
25484         * math/e_exp2l.c: Likewise.
25485         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25486         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25487         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25488         * math/s_catan.c (__catan): Likewise.
25489         * math/s_catanf.c (__catanf): Likewise.
25490         * math/s_catanh.c (__catanh): Likewise.
25491         * math/s_catanhf.c (__catanhf): Likewise.
25492         * math/s_catanhl.c (__catanhl): Likewise.
25493         * math/s_catanl.c (__catanl): Likewise.
25494         * math/s_ccosh.c (__ccosh): Likewise.
25495         * math/s_ccoshf.c (__ccoshf): Likewise.
25496         * math/s_ccoshl.c (__ccoshl): Likewise.
25497         * math/s_cexp.c (__cexp): Likewise.
25498         * math/s_cexpf.c (__cexpf): Likewise.
25499         * math/s_cexpl.c (__cexpl): Likewise.
25500         * math/s_clog10.c (__clog10): Likewise.
25501         * math/s_clog10f.c (__clog10f): Likewise.
25502         * math/s_clog10l.c (__clog10l): Likewise.
25503         * math/s_clog.c (__clog): Likewise.
25504         * math/s_clogf.c (__clogf): Likewise.
25505         * math/s_clogl.c (__clogl): Likewise.
25506         * math/s_csin.c (__csin): Likewise.
25507         * math/s_csinf.c (__csinf): Likewise.
25508         * math/s_csinh.c (__csinh): Likewise.
25509         * math/s_csinhf.c (__csinhf): Likewise.
25510         * math/s_csinhl.c (__csinhl): Likewise.
25511         * math/s_csinl.c (__csinl): Likewise.
25512         * math/s_csqrt.c (__csqrt): Likewise.
25513         * math/s_csqrtf.c (__csqrtf): Likewise.
25514         * math/s_csqrtl.c (__csqrtl): Likewise.
25515         * math/s_ctan.c (__ctan): Likewise.
25516         * math/s_ctanf.c (__ctanf): Likewise.
25517         * math/s_ctanh.c (__ctanh): Likewise.
25518         * math/s_ctanhf.c (__ctanhf): Likewise.
25519         * math/s_ctanhl.c (__ctanhl): Likewise.
25520         * math/s_ctanl.c (__ctanl): Likewise.
25521         * math/w_pow.c: Likewise.
25522         * math/w_powf.c: Likewise.
25523         * math/w_powl.c: Likewise.
25524         * math/w_scalb.c (sysv_scalb): Likewise.
25525         * math/w_scalbf.c (sysv_scalbf): Likewise.
25526         * math/w_scalbl.c (sysv_scalbl): Likewise.
25527         * misc/error.c (error_tail): Likewise.
25528         * misc/pselect.c (__pselect): Likewise.
25529         * nis/nis_callback.c (__nis_create_callback): Likewise.
25530         * nis/nis_call.c (__nisfind_server): Likewise.
25531         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25532         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25533         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25534         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25535         * nis/nis_lookup.c (nis_lookup): Likewise.
25536         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25537         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25538         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25539         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25540         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25541         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25542         * nis/nss_compat/compat-initgroups.c (add_group)
25543         (internal_getgrent_r): Likewise.
25544         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25545         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25546         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25547         (internal_getspnam_r): Likewise.
25548         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25549         (_nss_nis_getaliasbyname_r): Likewise.
25550         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25551         (_nss_nis_getntohost_r): Likewise.
25552         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25553         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25554         (_nss_nis_getgrgid_r): Likewise.
25555         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25556         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25557         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25558         (_nss_nis_gethostbyname4_r): Likewise.
25559         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25560         (initgroups_netid): Likewise.
25561         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25562         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25563         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25564         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25565         (_nss_nis_getprotobynumber_r): Likewise.
25566         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25567         (_nss_nis_getsecretkey): Likewise.
25568         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25569         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25570         (_nss_nis_getpwuid_r): Likewise.
25571         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25572         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25573         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25574         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25575         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25576         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25577         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25578         Likewise.
25579         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25580         (_nss_nisplus_getntohost_r): Likewise.
25581         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25582         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25583         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25584         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25585         Likewise.
25586         * nis/nss_nisplus/nisplus-initgroups.c
25587         (_nss_nisplus_initgroups_dyn): Likewise.
25588         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25589         (_nss_nisplus_getnetbyaddr_r): Likewise.
25590         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25591         (_nss_nisplus_getprotobynumber_r): Likewise.
25592         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25593         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25594         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25595         Likewise.
25596         * nis/nss_nisplus/nisplus-service.c
25597         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25598         (_nss_nisplus_getservbyport_r): Likewise.
25599         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25600         (_nss_nisplus_getspnam_r): Likewise.
25601         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25602         Likewise.
25603         * nscd/aicache.c (addhstaiX): Likewise.
25604         * nscd/cache.c (cache_search, prune_cache): Likewise.
25605         * nscd/connections.c (register_traced_file, send_ro_fd)
25606         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25607         (main_loop_epoll): Likewise.
25608         * nscd/grpcache.c (addgrbyX): Likewise.
25609         * nscd/hstcache.c (addhstbyX): Likewise.
25610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25611         * nscd/mem.c (gc, mempool_alloc): Likewise.
25612         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25613         (addinnetgrX): Likewise.
25614         * nscd/nscd-client.h (__nscd_acquire_maplock)
25615         (__nscd_drop_map_ref): Likewise.
25616         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25617         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25618         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25619         Likewise.
25620         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25621         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25622         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25623         (__nscd_get_map_ref): Likewise.
25624         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25625         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25626         Likewise.
25627         * nscd/pwdcache.c (addpwbyX): Likewise.
25628         * nscd/selinux.c (preserve_capabilities): Likewise.
25629         * nscd/servicescache.c (addservbyX): Likewise.
25630         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25631         * posix/fnmatch.c (fnmatch): Likewise.
25632         * posix/getopt.c (_getopt_internal_r): Likewise.
25633         * posix/glob.c (glob, glob_in_dir): Likewise.
25634         * posix/wordexp.c (exec_comm_child): Likewise.
25635         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25636         (getanswer_r, gaih_getanswer_slice): Likewise.
25637         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25638         * resolv/res_init.c: Likewise.
25639         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25640         * resolv/res_query.c (__libc_res_nquery): Likewise.
25641         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25642         Likewise.
25643         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25644         * stdio-common/perror.c (perror): Likewise.
25645         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25646         * stdio-common/tmpnam.c (tmpnam): Likewise.
25647         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25648         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25649         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25650         Likewise.
25651         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25652         * stdlib/putenv.c (putenv): Likewise.
25653         * stdlib/setenv.c (__add_to_environ): Likewise.
25654         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25655         * stdlib/strtol_l.c (INTERNAL): Likewise.
25656         * string/memmem.c (memmem): Likewise.
25657         * string/strerror.c (strerror): Likewise.
25658         * string/strnlen.c (__strnlen): Likewise.
25659         * string/test-memmem.c (simple_memmem): Likewise.
25660         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25661         * sunrpc/pm_getport.c (__get_socket): Likewise.
25662         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25663         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25664         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25665         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25666         Likewise.
25667         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25668         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25669         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25670         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25671         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25672         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25673         Likewise.
25674         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25675         Likewise.
25676         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25677         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25679         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25680         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25682         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25683         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25684         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25685         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25686         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25687         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25688         Likewise.
25689         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25690         Likewise.
25691         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25692         Likewise.
25693         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25694         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25695         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25697         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25698         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25699         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25700         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25701         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25702         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25703         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25705         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25706         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25708         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25709         Likewise.
25710         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25711         Likewise.
25712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25713         Likewise.
25714         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25715         Likewise.
25716         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25717         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25718         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25719         Likewise.
25720         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25721         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25722         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25723         * sysdeps/posix/sleep.c: Likewise.
25724         * sysdeps/posix/tempname.c: Likewise.
25725         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25726         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25727         Likewise.
25728         * sysdeps/powerpc/powerpc32/dl-machine.h
25729         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25730         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25732         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25733         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25734         Likewise.
25735         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25736         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25737         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25738         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25739         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25740         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25741         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25742         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25743         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25744         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25745         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25746         (elf_machine_lazy_rel): Likewise.
25747         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25748         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25749         (elf_machine_lazy_rel): Likewise.
25750         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25751         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25752         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25753         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25754         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25755         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25756         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25758         Likewise.
25759         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25760         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25761         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25762         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25763         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25764         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25765         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25766         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25767         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25768         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25769         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25770         Likewise.
25771         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25772         (__posix_fallocate64_l64): Likewise.
25773         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25774         (posix_fallocate): Likewise.
25775         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25776         Likewise.
25777         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25778         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25779         (getifaddrs_internal): Likewise.
25780         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25781         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25782         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25783         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25784         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25785         (__posix_fallocate64_l64): Likewise.
25786         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25787         Likewise.
25788         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25789         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25790         (__get_clockfreq): Likewise.
25791         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25792         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25793         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25796         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25797         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25798         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25799         Likewise.
25800         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25801         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25802         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25803         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25804         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25805         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25806         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25807         Likewise.
25808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25809         (posix_fallocate): Likewise.
25810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25811         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25812         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25813         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25814         (elf_machine_rela, elf_machine_rela_relative)
25815         (elf_machine_lazy_rel): Likewise.
25816         * time/asctime.c (asctime_internal): Likewise.
25817         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25818         * time/tzset.c (__tzset_parse_tz): Likewise.
25819         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25820         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25821         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25822         * wcsmbs/wcsmbsload.h: Likewise.
25824         [BZ #15894]
25825         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25827         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25828         (arena_get2): Remove THREAD_STATS conditionals.
25829         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25830         (__malloc_stats, int): Likewise.
25832 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25834         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25835         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25837         * manual/setjmp.texi: Fix typos/grammar errors.
25839         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25840         Only return early when n is <= 0.  Delete unused return statement.
25842         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25843         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25844         * debug/tst-longjmp_chk3.c: New file.
25846         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25847         (test_main): Replace code with set_fortify_handler call.
25848         * debug/test-strcpy_chk.c: Likewise.
25849         * debug/tst-chk1.c: Likewise.
25850         * debug/tst-longjmp_chk.c: Likewise.
25851         * test-skeleton.c: Include fcntl.h & paths.h
25852         (set_fortify_handler): Define.
25854         * debug/tst-longjmp_chk.c: Add header comment and include
25855         ../test-skeleton.c.
25856         (do_test): Mark static.
25857         (TEST_FUNCTION): Define.
25859         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25860         (IP_PMTUDISC_INTERFACE): Likewise.
25861         (IP_MULTICAST_IF): Likewise.
25862         (IP_MULTICAST_TTL): Likewise.
25863         (IP_MULTICAST_LOOP): Likewise.
25864         (IP_ADD_MEMBERSHIP): Likewise.
25865         (IP_DROP_MEMBERSHIP): Likewise.
25866         (IP_UNBLOCK_SOURCE): Likewise.
25867         (IP_BLOCK_SOURCE): Likewise.
25868         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25869         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25870         (IP_MSFILTER): Likewise.
25871         (MCAST_JOIN_GROUP): Likewise.
25872         (MCAST_BLOCK_SOURCE): Likewise.
25873         (MCAST_UNBLOCK_SOURCE): Likewise.
25874         (MCAST_LEAVE_GROUP): Likewise.
25875         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25876         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25877         (MCAST_MSFILTER): Likewise.
25878         (IP_MULTICAST_ALL): Likewise.
25879         (IP_UNICAST_IF): Likewise.
25881         * timezone/Makefile: Delete $(have-ksh) check.
25882         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25883         * timezone/tzselect.ksh: Add +x mode bits.
25885         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25886         (ANON_INODE_FS_MAGIC): Likewise.
25887         (BDEVFS_MAGIC): Likewise.
25888         (BINFMTFS_MAGIC): Likewise.
25889         (BTRFS_TEST_MAGIC): Likewise.
25890         (CRAMFS_MAGIC_WEND): Likewise.
25891         (DEBUGFS_MAGIC): Likewise.
25892         (ECRYPTFS_SUPER_MAGIC): Likewise.
25893         (EXT3_SUPER_MAGIC): Likewise.
25894         (EXT4_SUPER_MAGIC): Likewise.
25895         (FUTEXFS_SUPER_MAGIC): Likewise.
25896         (HOSTFS_SUPER_MAGIC): Likewise.
25897         (HUGETLBFS_MAGIC): Likewise.
25898         (MINIX3_SUPER_MAGIC): Likewise.
25899         (MTD_INODE_FS_MAGIC): Likewise.
25900         (NILFS_SUPER_MAGIC): Likewise.
25901         (OPENPROM_SUPER_MAGIC): Likewise.
25902         (PIPEFS_MAGIC): Likewise.
25903         (PSTOREFS_MAGIC): Likewise.
25904         (QNX6_SUPER_MAGIC): Likewise.
25905         (RAMFS_MAGIC): Likewise.
25906         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25907         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25908         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25909         (SECURITYFS_MAGIC): Likewise.
25910         (SELINUX_MAGIC): Likewise.
25911         (SMACK_MAGIC): Likewise.
25912         (SOCKFS_MAGIC): Likewise.
25913         (SQUASHFS_MAGIC): Likewise.
25914         (STACK_END_MAGIC): Likewise.
25915         (TMPFS_MAGIC): Likewise.
25916         (USBDEVICE_SUPER_MAGIC): Likewise.
25917         (V9FS_MAGIC): Likewise.
25918         (XENFS_SUPER_MAGIC): Likewise.
25919         (CRAMFS_MAGIC): Fix typo in comment.
25920         (EXT2_SUPER_MAGIC): Update comment.
25921         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25923 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25925         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25926         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25927         * sysdeps/unix/sysv/linux/arm: Move directory from
25928         ports/sysdeps/unix/sysv/linux/arm.
25929         * README: Update listing for arm-*-linux-gnueabi.
25931         * README: Remove mention of am33.
25933 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25935         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25936         than the comma operator, to avoid "rhs of comma has no effect"
25937         compiler warnings.
25938         (__sigfillset, __sigandset, __sigorset): Likewise.
25939         * include/signal.h (__sigemptyset): Likewise.
25940         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25942 2014-02-07  Allan McRae  <allan@archlinux.org>
25944         * version.h (RELEASE): Set to "development".
25945         (VERSION): Set to "2.19.90"
25946         * NEWS: Add 2.20 section.
25948 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25950         [BZ #16529]
25951         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25953 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25955         * manual/contrib.texi: Update entry for Carlos O'Donell,
25956         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25958 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25960         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25962         * sysdeps/unix/sysv/linux/kernel-features.h
25963         [__LINUX_KERNEL_VERSION >= 0x020621]
25964         (__ASSUME_PROC_PID_TASK_COMM): Define.
25966 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25968         [BZ #16398]
25969         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25970         conversion when destination buffer does not have enough space.
25971         * libio/tst-ftell-partial-wide.c: New test case.
25972         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25974         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25975         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25976         Leonard and Allan McRae.
25978 2014-02-04  David S. Miller  <davem@davemloft.net>
25980         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25981         32-bit.
25983 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25986         New file
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25988         New file
25989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25990         New file.
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25992         New file.
25993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25994         New file.
25995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25996         New file.
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25998         New file.
25999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26000         New file.
26001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26002         New file.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26004         New file.
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26006         New file.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26008         New file.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26010         New file.
26012 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26014         * nptl/shlib-versions: Change powerpc*le start to 2.17.
26015         * shlib-versions: Likewise.
26017 2014-02-04  Roland McGrath  <roland@hack.frob.com>
26018             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26020         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26021         (abilist-pattern): New variable, set to %-le.abilist.
26023         * Makerules (abilist-pattern): New variable.
26024         (vpath): Use $(abilist-pattern) in place of %.abilist.
26025         (check-abi-% pattern rule): Likewise.
26026         (check-abi, update-abi): Likewise.
26028 2014-02-04  Eric Wong  <normalperson@yhbt.net>
26030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26032 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
26034         * manual/startup.texi: Add next, previous, and top entries for
26035         the `Program Arguments' and `Environment Variables' nodes.
26037 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
26039         * manual/macros.texi: Add comments before MTASC-safety macros.
26041         * manual/users.texi: Document MTASC-safety properties.
26043         * manual/threads.texi (pthread_key_create, pthread_key_delete)
26044         (pthread_getspecific, pthread_setspecific): Format with
26045         @deftypefun, and add @safety note.
26046         * manual/signal.texi: Move comments that analyze the above
26047         functions to their home place.
26049 2014-02-03  Allan McRae  <allan@archlinux.org>
26051         * po/sl.po: Update Slovenian translation from translation project.
26053 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
26055         * manual/time.texi (timegm): Add missing blank after @c.
26056         Reported by Joseph Myers <joseph@codesourcery.com>.
26058 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
26060         * manual/check-safety.sh: New.
26061         * manual/Makefile ($(objpfx)stamp-summary): Run it.
26063         * manual/terminal.texi: Document MTASC-safety properties.
26065         * manual/filesys.texi: Document MTASC-safety properties.
26067         * manual/errno.texi: Document MTASC-safety properties.
26069         * manual/intro.texi: Document safety identifiers and
26070         conditionals.
26072         * manual/string.texi (wcstok): Fix prototype.
26073         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26075         * manual/time.texi: Document MTASC-safety properties.
26077         * manual/string.texi: Document MTASC-safety properties.
26079         * manual/threads.texi: Document MTASC-safety properties.
26081         * manual/stdio.texi: Document MTASC-safety properties.
26083         * manual/syslog.texi: Document MTASC-safety properties.
26085         * manual/sysinfo.texi: Document MTASC-safety properties.
26087         * manual/startup.texi: Document MTASC-safety properties.
26089         * manual/socket.texi: Document MTASC-safety properties.
26091         * manual/signal.texi: Document MTASC-safety properties.
26093 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26095         * manual/setjmp.texi: Document MTASC-safety properties.
26097         * manual/search.texi: Document MTASC-safety properties.
26099         * manual/resource.texi: Document MTASC-safety properties.
26101         * manual/process.texi: Document MTASC-safety properties.
26103         * manual/platform.texi: Document MTASC-safety properties.
26105         * manual/pipe.texi: Document MTASC-safety properties.
26107         * manual/pattern.texi: Document MTASC-safety properties.
26109         * manual/message.texi: Document MTASC-safety properties.
26111         [BZ #12751]
26112         * manual/memory.texi: Document MTASC-safety properties.
26114         * manual/math.texi: Document MTASC-safety properties.
26116         * manual/locale.texi: Document MTASC-safety properties.
26118         * manual/llio.texi: Document MTASC-safety properties.
26120         * manual/libdl.texi: New.
26122         * manual/lang.texi: Document MTASC-safety properties.
26124         * manual/job.texi: Document MTASC-safety properties.
26126         * manual/getopt.texi: Document MTASC-safety properties.
26128         * manual/ctype.texi: Document MTASC-safety properties.
26130 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26132         [BZ #16046]
26133         * csu/libc-tls.c (static_map): Remove variable.
26134         (__libc_setup_tls): Use main executable's link map for TLS data.
26135         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26136         casing for LM_ID_BASE and GL(dl_nns).
26137         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26138         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26139         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26140         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26141         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26142         member.
26143         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26144         l_phnum members.
26146 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26148         * manual/debug.texi: Document MTASC-safety properties.
26150 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26152         [BZ #16510]
26153         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26154         of __x86_64__ when disabling x87 inline functions.
26156 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26158         * manual/charset.texi: Document MTASC-safety properties.
26160         * manual/crypt.texi: Document MTASC-safety properties.
26162         * manual/conf.texi: Document MTASC-safety properties.
26164         * manual/arith.texi: Document MTASC-safety properties.
26166         * manual/argp.texi: Document MTASC-safety properties.
26168         * manual/macros.texi: Introduce macros to document multi
26169         thread, asynchronous signal and asynchronous cancellation
26170         safety properties.
26171         * manual/intro.texi: Introduce the properties themselves.
26173 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26175         * sysdeps/sh/sh4/Makefile: New file.
26177 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26179         * math/gen-libm-test.pl ($srcdir): New variable.
26180         ($auto_input): Use it.
26182 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26184         [BZ #16506]
26185         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26186         access beyond array bounds when parsing netgroups file.
26188         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26189         the old buffer before realloc.
26191 2014-01-27  Allan McRae  <allan@archlinux.org>
26193         * po/fr.po: Update French translation from translation project.
26195 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26197         * sysdeps/sh/libm-test-ulps: Regenerate.
26199 2014-01-24  David S. Miller  <davem@davemloft.net>
26201         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26203 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26205         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26206         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26208 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26210         [BZ #16474]
26211         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26212         string pointers after reallocation.
26214 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26216         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26217         __SH4A__ instead of __SH_FPU_ANY__.
26219 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26221         * sysdeps/sh/fpu_control.h: New file.
26222         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26223         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26224         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26225         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26226         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26227         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26228         * sysdeps/sh/sys/ucontext.h: Remove.
26229         * sysdeps/sh/sys: Remove directory.
26231 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26233         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26234         s390/sys/ucontext.h.
26235         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26236         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26238 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26240         [BZ #15605]
26241         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26243 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26245         [BZ#16431]
26246         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26247         Adjust the vDSO correctly for internal calls.
26248         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26250 2014-01-20  Allan McRae  <allan@archlinux.org>
26252         * po/ca.po: Update Catalan translation from translation project.
26254 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26256         * sysdeps/s390/sotruss-lib.c: New file.
26258 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26260         [BZ#16430]
26261         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26262         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26263         local calls issues by not having a PLT stub required for IFUNC calls.
26264         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26266 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26268         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26269         * math/test-fpucw-static.c: Likewise.
26271 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26273         [BZ #16453]
26274         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26276 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26278         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26279         implementation for powerpc.
26281 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26283         [BZ #14782]
26284         * sysdeps/posix/system.c (__libc_system): Do not enable
26285         asynchronous cancellation.
26287 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26289         [BZ #16427]
26290         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26291         handling only for numbers special also in the IEEE case.
26293 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26297 2014-01-11  Allan McRae  <allan@archlinux.org>
26299         * po/bg.po: Update Bulgarian translation from translation project.
26301         * po/de.po: Update German translation from translation project.
26303 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26305         * sysdeps/generic/gcc-compat.h: New file.
26307 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26309         * benchtests/asin-inputs: Correct slow inputs.
26310         * benchtests/acos-inputs: Likewise.
26312 2014-01-10  Allan McRae  <allan@archlinux.org>
26314         * po:sv.po: Update Swedish translation from translation project.
26316         * po/vi.po: Update Vietnamese translation from translation project.
26318         * po/eo.po: Update Esperanto translation from translation project.
26320         * po/cs.po: Update Czech translation from translation project.
26322         * po/nl.po: Update Dutch translation from translation project.
26324         * po/pl.po: Update Polish translation from translation project.
26326         * po/ru.po: Update Russian translation from translation project.
26328         * po/uk.po: Update Ukrainian translation from translation project.
26330 2014-01-08  Brooks Moses  <bmoses@google.com>
26332         * elf/dl-load.c: Fix comment typo.
26334 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26336         * po/header.pot: Rename to...
26337         * po/pot.header: ... this.
26338         * po/Makefile: Use pot.header.
26340 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26341             Maxim Kuvyrkov  <maxim@kugelworks.com>
26343         [BZ #16394]
26344         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26345         SRC and DEST against LEN.
26347 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26349         [BZ #16414]
26350         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26351         implementation.
26352         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26354 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26358 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26360         [BZ #16408]
26361         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26362         for large positive arguments.
26364 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26366         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26368         * math/auto-libm-test-in: Mark various tests with
26369         xfail-rounding:ldbl-128ibm.
26370         * math/auto-libm-test-out: Regenerated.
26372         [BZ #16407]
26373         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26374         Increase overflow threshold.
26376 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26378         [BZ #14286]
26379         * stdio-common/vfprintf.c: Check for integer overflow.
26381 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26383         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26384         the first argument and return value of __tls_get_addr_internal.
26386 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26388         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26389         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26391 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26393         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26394         * sysdeps/s390/rtld-global-offsets.sym: New file.
26395         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26396         GLIBC_2.19 symbol.
26397         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26399         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26400         ... this.
26401         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26402         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26403         ... this.
26404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26405         Regenerate.
26406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26407         Regenerate.
26408         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26409         halfs of GPRs for high_gprs contexts.
26410         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26411         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26412         field.
26413         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26414         uc_flags field.
26415         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26416         64 bit versions:
26417         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26418         for high GPRs (uc_high_gprs) and for future extensions
26419         (__reserved).
26420         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26421         for future extensions (__reserved).
26422         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26423         64 bit versions:
26424         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26425         SC_HIGHGPRS offset definition.
26426         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26427         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26429         * Versions.def: Add GLIBC_2.19 for libpthread.
26430         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26431         siglongjmp for libpthread with GLIBC_2.19 symver.
26432         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26433         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26434         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26435         * sysdeps/s390/__longjmp.c: New file.
26436         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26437         * sysdeps/s390/longjmp.c: New file.
26438         * sysdeps/s390/setjmp.S: New file.
26439         * sysdeps/s390/sigjmp.S: New file.
26440         * sysdeps/s390/v1-longjmp.c: New file.
26441         * sysdeps/s390/v1-setjmp.h: New file.
26442         * sysdeps/s390/v1-sigjmp.c: New file.
26443         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26444         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26445         GLIBC_2.19 version.
26446         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26447         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26448         versioned symbols for ____longjmp_chk.
26449         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26450         Likewise.
26451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26452         Regenerate.
26453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26454         Regenerate.
26455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26456         Regenerate.
26457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26458         Regenerate.
26459         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26460         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26461         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26462         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26463         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26464         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26465         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26466         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26467         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26468         * sysdeps/s390/rtld-__longjmp.c: New file.
26469         * sysdeps/s390/rtld-setjmp.S: New file.
26471 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26473         [BZ #16400]
26474         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26475         Return -__logl (x) for small positive arguments without evaluating
26476         a polynomial.
26478 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26480         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26481         Rename to ...
26482         (__ptrace_peeksiginfo_args): ... this.
26483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26484         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26485         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26487 2014-01-06  Allan McRae  <allan@archlinux.org>
26489         * inet/netinet/in.h: Fix typo in comment.
26491 2014-01-05  Andreas Jaeger  <aj@suse.de>
26493         * sysdeps/i386/fpu/libm-test-ulps: Update.
26495 2014-01-05  Allan McRae  <allan@archlinux.org>
26497         * po/libc.pot: Regenerated.
26499         * malloc/memusagestat.c: Fix gettext call formatting.
26501 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26503         * nscd/nscd.c: Improve usage() output.
26505 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26507         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26508         * sysdeps/unix/sysv/linux/configure: Regenerated.
26509         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26510         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26512 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26514         [BZ #16390]
26515         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26516         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26518 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26521         extra tokens at end of #undef directive.
26522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26523         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26524         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26526 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26528         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26530         * math/auto-libm-test-in: Mark various tests with
26531         xfail-rounding:ldbl-128ibm.
26532         * math/auto-libm-test-out: Regenerated.
26534 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26536         [BZ #16386]
26537         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26538         numbers with subnormal high part when calculating exponent.
26540         [BZ #16385]
26541         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26542         fabs.
26544         [BZ #16384]
26545         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26546         M_LN2l.
26547         (__ieee754_acoshl): Use __log1pl not __log1p.
26549 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26551         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26552         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26553         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26554         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26555         (reused_arena, arena_get2): Convert to GNU style.
26556         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26557         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26558         (memalign_check, __malloc_set_state): Likewise.
26559         * malloc/mallocbug.c (main): Likewise.
26560         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26561         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26562         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26563         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26564         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26565         (__posix_memalign, malloc_info): Likewise.
26566         * malloc/malloc.h: Likewise.
26567         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26568         (mallochook, memalignhook, reallochook, mabort): Likewise.
26569         * malloc/mcheck.h: Likewise.
26570         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26571         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26572         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26573         * malloc/morecore.c (__default_morecore): Likewise.
26574         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26575         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26576         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26577         (print_and_abort): Likewise.
26578         * malloc/obstack.h: Likewise.
26579         * malloc/set-freeres.c (__libc_freeres): Likewise.
26580         * malloc/tst-mallocstate.c (main): Likewise.
26581         * malloc/tst-mtrace.c (main): Likewise.
26582         * malloc/tst-realloc.c (do_test): Likewise.
26584 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26586         [BZ #16366]
26587         * nscd/netgroupcache.c (do_notfound): New function.
26588         (addgetnetgrentX): Use it.
26590         [BZ # 16365]
26591         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26592         NSS_STATUS_NOTFOUND.
26594 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26596         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26599 2014-01-01  Allan McRae  <allan@archlinux.org>
26601         * scripts/update-copyrights: Update configure input file suffix.
26603         * NEWS: Update copyright year.
26604         * catgets/gencat.c: Likewise.
26605         * csu/version.c: Likewise.
26606         * debug/catchsegv.sh: Likewise.
26607         * debug/pcprofiledump.c: Likewise.
26608         * debug/xtrace.sh: Likewise.
26609         * elf/ldconfig.c: Likewise.
26610         * elf/ldd.bash.in: Likewise.
26611         * elf/pldd.c: Likewise.
26612         * elf/sotruss.ksh: Likewise.
26613         * elf/sprof.c: Likewise.
26614         * iconv/iconv_prog.c: Likewise.
26615         * iconv/iconvconfig.c: Likewise.
26616         * locale/programs/locale.c: Likewise.
26617         * locale/programs/localedef.c: Likewise.
26618         * login/programs/pt_chown.c: Likewise.
26619         * malloc/memusage.sh: Likewise.
26620         * malloc/memusagestat.c: Likewise.
26621         * malloc/mtrace.pl: Likewise.
26622         * manual/libc.texinfo: Likewise.
26623         * nscd/nscd.c: Likewise.
26624         * nss/getent.c: Likewise.
26625         * nss/makedb.c: Likewise.
26626         * posix/getconf.c: Likewise.
26627         * scripts/test-installation.pl: Likewise.
26629         * All files with FSF copyright notices: Update copyright dates
26630         using scripts/update-copyrights.
26631         * intl/plural.c: Regenerated.
26632         * locale/programs/charmap-kw.h: Likewise.
26633         * locale/programs/locfile-kw.h: Likewise.
26635 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26637         * sysdeps/unix/sysv/linux/configure: Regenerated.
26638         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26639         the linux/fanotify.h header.
26640         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26641         HAVE_LINUX_FANOTIFY_H is defined.
26643 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26645         * benchtests/cos-inputs: New inputs.
26646         * benchtests/sin-inputs: Likewise.
26648         * benchtests/atan-inputs: New inputs. Fix name of multiple
26649         precision fallback inputs.
26651         * benchtests/atanh-inputs: New inputs.
26652         * benchtests/tanh-inputs: Likewise.
26654         * benchtests/acosh-inputs: New inputs.
26655         * benchtests/asinh-inputs: Likewise.
26657         * benchtests/cosh-inputs: New inputs.
26658         * benchtests/sinh-inputs: Likewise.
26660         * benchtests/acos-inputs: Add more inputs.
26661         * benchtests/asin-inputs: Likewise.
26663 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26665         [BZ #16375]
26666         * manual/arith.texi: Fix spelling.
26667         * manual/charset.texi: Likewise.
26668         * manual/errno.texi: Likewise.
26669         * manual/filesys.texi: Likewise.
26670         * manual/lang.texi: Likewise.
26671         * manual/llio.texi: Likewise.
26672         * manual/locale.texi: Likewise.
26673         * manual/message.texi: Likewise.
26674         * manual/resource.texi: Likewise.
26675         * manual/search.texi: Likewise.
26676         * manual/setjmp.texi: Likewise.
26677         * manual/stdio.texi: Likewise.
26678         * manual/string.texi: Likewise.
26679         * manual/sysinfo.texi: Likewise.
26680         * manual/time.texi: Likewise.
26682 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26684         * po/sl.po: New file.
26686 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26688         * .gitignore: Add core/.gdbinit/.gdb_history.
26690 2013-12-27  Allan McRae  <allan@archlinux.org>
26692         [BZ #16369]
26693         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26694         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26696 2013-12-24  Brooks Moses  <bmoses@google.com>
26698         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26699         all compilers that claim C++98 compliance, not just GCC.
26700         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26701         Likewise.
26703 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26705         * NEWS: Restore accidentally deleted bug-fix entries.
26707 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26708             Ondřej Bílka  <neleai@seznam.cz>
26710         [BZ #15073]
26711         * malloc/malloc.c (_int_free): Perform sanity check only if we
26712         have_lock.
26714 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26716         [BZ #12986]
26717         * manual/stdio.texi (String Input Conversions): Clarify that character
26718         classes are not supported.
26720 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26724 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26726         [BZ #16337]
26727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26728         Calculate results for small negative arguments directly rather
26729         than using reflection formula with special underflow handling.
26731         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26732         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26733         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26734         (fchflags): Likewise.
26735         (revoke): Likewise.
26736         (setlogin): Likewise.
26737         (sigaltstack): Likewise.
26738         (wait4): Likewise.
26739         (sigblock): Remove.
26740         (sigsetmask): Likewise.
26741         (wait3): Likewise.
26742         (waitpid): Likewise.
26743         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26744         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26745         file.
26746         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26747         * sysdeps/unix/bsd/Makefile: ... here.
26748         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26749         * sysdeps/unix/bsd/Versions: ... here.
26750         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26751         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26752         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26753         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26754         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26755         * sysdeps/unix/bsd/sigblock.c: ... here.
26756         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26757         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26758         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26759         * sysdeps/unix/bsd/sigvec.c: ... here.
26760         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26761         * sysdeps/unix/bsd/tcdrain.c: ... here.
26762         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26763         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26764         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26765         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26766         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26767         * sysdeps/unix/bsd/wait.c: ... here.
26768         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26769         * sysdeps/unix/bsd/wait3.c: ... here.
26770         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26771         * sysdeps/unix/bsd/waitpid.c: ... here.
26773 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26775         [BZ #16356]
26776         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26777         round-to-nearest for [!USE_AS_EXPM1L].
26778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26779         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26780         more tests of exp and exp10.  Expect some exp10 tests to miss
26781         exceptions or fail in directed rounding modes.
26782         * math/auto-libm-test-out: Regenerated.
26783         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26784         (exp10_test_tonearest): New function.
26785         (exp10_towardzero_test_data): New array.
26786         (exp10_test_towardzero): New function.
26787         (exp10_downward_test_data): New array.
26788         (exp10_test_downward): New function.
26789         (exp10_upward_test_data): New array.
26790         (exp10_test_upward): New function.
26791         (main): Call the new functions.
26792         * sysdeps/i386/fpu/libm-test-ulps: Update.
26793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26795 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26797         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26798         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26799         * math/auto-libm-test-out: Regenerated.
26800         * math/libm-test.inc (acosh_test_data): Add more tests.
26801         (atanh_test_data): Likewise.
26802         (ceil_test_data): Likewise.
26803         (copysign_test_data): Likewise.
26804         * sysdeps/i386/fpu/libm-test-ulps: Update.
26805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26807         * timezone/checktab.awk: Update from tzcode 2013i.
26808         * timezone/private.h: Likewise.
26809         * timezone/scheck.c: Likewise.
26810         * timezone/tzfile.h: Likewise.
26811         * timezone/tzselect.ksh: Likewise.
26812         * timezone/zdump.c: Likewise.
26813         * timezone/zic.c: Likewise.
26815         * math/auto-libm-test-in: Add tests of cpow.
26816         * math/auto-libm-test-out: Regenerated.
26817         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26818         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26819         mpc_cc_c.
26820         (func_calc_desc): Add mpc_cc_c union field.
26821         (test_functions): Add cpow.
26822         (special_fill_2pi): New function.
26823         (special_real_inputs): Add 2pi.
26824         (calc_generic_results): Handle mpc_cc_c.
26825         * sysdeps/i386/fpu/libm-test-ulps: Update.
26826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26828         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26829         csqrt, ctan and ctanh.
26830         * math/auto-libm-test-out: Regenerated.
26831         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26832         (TEST_COND_x86): Likewise.
26833         (ccos_test_data): Use AUTO_TESTS_c_c.
26834         (ccosh_test_data): Likewise.
26835         (cexp_test_data): Likewise.
26836         (clog_test_data): Likewise.
26837         (csqrt_test_data): Likewise.
26838         (ctan_test_data): Likewise.
26839         (ctan_tonearest_test_data): Likewise.
26840         (ctan_towardzero_test_data): Likewise.
26841         (ctan_downward_test_data): Likewise.
26842         (ctan_upward_test_data): Likewise.
26843         (ctanh_test_data): Likewise.
26844         (ctanh_tonearest_test_data): Likewise.
26845         (ctanh_towardzero_test_data): Likewise.
26846         (ctanh_downward_test_data): Likewise.
26847         (ctanh_upward_test_data): Likewise.
26848         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26849         mpc_c_c.
26850         (func_calc_desc): Add mpc_c_c union field.
26851         (FUNC_mpc_c_c): New macro.
26852         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26853         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26854         ctanh.
26855         (special_fill_min_subnorm_p120): New function.
26856         (special_real_inputs): Add min_subnorm_p120.
26857         (calc_generic_results): Handle mpc_c_c.
26858         * sysdeps/i386/fpu/libm-test-ulps: Update.
26859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26861 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26863         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26864         (do_sin_slow): New functions.
26865         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26866         (cslow2, csloww1, csloww2): Use the new functions.
26868         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26869         Use M to change sign of result instead of X.  Assume X is
26870         positive.
26871         (csloww1): Likewise.
26872         (__sin): Adjust.
26873         (__cos): Adjust.
26875         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26876         arguments A and DA.
26877         (__sin): Adjust.
26878         (__cos): Likewise.
26880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26881         (__cos): Likewise.
26882         (sloww1): Don't adjust sign of DX.
26883         (csloww1): Likewise.
26884         (sloww2): Use X directly and don't adjust sign of DX.
26885         (csloww2): Likewise.
26887 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26889         * math/auto-libm-test-in: Add tests of cabs and carg.
26890         * math/auto-libm-test-out: Regenerated.
26891         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26892         (carg_test_data): Likewise.
26893         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26894         mpc_c_f.
26895         (func_calc_desc): Add mpc_c_f union field.
26896         (test_functions): Add cabs and carg.
26897         (calc_generic_results): Handle mpc_c_f.
26899         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26900         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26901         as a macro and a compat symbol.
26902         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26903         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26904         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26905         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26906         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26907         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26908         not use .hidden.
26909         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26910         Likewise.
26911         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26912         Likewise.
26913         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26914         Likewise.
26915         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26916         Likewise.
26917         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26918         Likewise.
26919         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26920         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26921         from GLIBC_2.3.2.
26923 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26927 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26929         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26930         trailing whitespace removed.
26931         * scripts/config.guess: Update to version 2013-11-29.
26932         * scripts/config.sub: Update to version 2013-10-01.
26934         * math/auto-libm-test-in: Add tests of sincos.
26935         * math/auto-libm-test-out: Regenerated.
26936         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26937         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26938         mpfr_f_11.
26939         (func_calc_desc): Add mpfr_f_11 union field.
26940         (test_functions): Add sincos.
26941         (calc_generic_results): Handle mpfr_f_11.
26942         * sysdeps/i386/fpu/libm-test-ulps: Update.
26943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26945 2013-12-19  Andreas Schwab  <schwab@suse.de>
26947         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26948         CALL_MCOUNT.
26949         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26950         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26951         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26953 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26955         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26956         * sysdeps/i386/fpu/libm-test-ulps: Update.
26957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26959         [BZ #16293]
26960         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26961         round-to-nearest mode when using frndint.
26962         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26963         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26964         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26965         Likewise.
26966         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26967         sinh test to fail.
26968         * math/auto-libm-test-out: Regenerated.
26969         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26970         (TEST_COND_x86): Likewise.
26971         (expm1_tonearest_test_data): New array.
26972         (expm1_test_tonearest): New function.
26973         (expm1_towardzero_test_data): New array.
26974         (expm1_test_towardzero): New function.
26975         (expm1_downward_test_data): New array.
26976         (expm1_test_downward): New function.
26977         (expm1_upward_test_data): New array.
26978         (expm1_test_upward): New function.
26979         (main): Run the new test functions.
26980         * sysdeps/i386/fpu/libm-test-ulps: Update.
26981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26983         * include/features.h: Update comment documenting feature test
26984         macros.  Mention _DEFAULT_SOURCE in comment.
26985         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26986         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26987         _BSD_SOURCE and _SVID_SOURCE.
26988         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26989         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26990         !_SVID_SOURCE]: Likewise.
26991         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26992         (__USE_POSIX_IMPLICITLY): Define.
26993         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26994         (_POSIX_SOURCE): Undefine and redefine.
26995         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26996         (_POSIX_C_SOURCE): Likewise.
26997         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26998         (Feature Test Macros): Update documentation of default features.
27000 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27002         * benchtests/Makefile: Add bench-strtok.
27003         * benchtests/bench-strtok.c: New file: strtok benchtest.
27005 2013-12-19  Allan McRae  <allan@archlinux.org>
27007         * manual/install.texi: Suppress menu for plain text output.
27008         * INSTALL: Regenerated.
27010 2013-12-18  Brooks Moses  <bmoses@google.com>
27012         [BZ #15846]
27013         * misc/getauxval.c: Include errno.h.
27014         (__getauxval): Set errno to ENOENT if the requested type is not
27015         found.
27016         * misc/sys/auxv.h (getauxval): Document that it may set errno;
27017         don't declare with __attribute_const__.
27018         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27019         * manual/startup.texi: Document that getauxval sets errno.
27021 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27023         * math/auto-libm-test-in: Add tests of jn and yn.
27024         * math/auto-libm-test-out: Regenerated.
27025         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27026         (yn_test_data): Likewise.
27027         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27028         mpfr_if_f.
27029         (func_calc_desc): Add mpfr_if_f union field.
27030         (FUNC_mpfr_if_f): New macro.
27031         (test_functions): Add jn and yn.
27032         (calc_generic_results): Assert type of second input for
27033         mpfr_ff_f.  Handle mpfr_if_f.
27034         (output_for_one_input_case): Disable all checking for arguments
27035         fitting floating-point types in case of an integer argument.
27036         * sysdeps/i386/fpu/libm-test-ulps: Update.
27037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27040         Don't expect fegetround reference in libm.so.
27042 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27044         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27045         $(config-cflags-nofma).
27047 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27049         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27050         * math/auto-libm-test-out: Regenerated.
27052         [BZ #16338]
27053         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27054         to determine exponent and adjust argument to have exponent of -1.
27055         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27056         log2.
27057         * math/auto-libm-test-out: Regenerated.
27058         * sysdeps/i386/fpu/libm-test-ulps: Update.
27059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27061 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
27063         * manual/probes.texi: Remove cases when per-thread arenas are
27064         disabled.
27066 2013-12-18  Andreas Schwab  <schwab@suse.de>
27068         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27069         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27070         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27071         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27072         * sysdeps/i386/i686/multiarch/Makefile: Update.
27073         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27075 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27077         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27078         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27080 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27082         [BZ #15968]
27083         Support TZ transition times < 00:00:00.
27084         This is needed for version-3 tz-format files; it supports time
27085         stamps past 2037 for America/Godthab (the only entry in the tz
27086         database for which this change is relevant).
27087         * manual/time.texi (TZ Variable): Document transition times
27088         from -167:59:59 through -00:00:01.
27089         * time/tzset.c (tz_rule): Time of day is now signed.
27090         (__tzset_parse_tz): Parse negative time of day.
27092         Document TZ transition times >= 25:00:00.
27093         * manual/time.texi (TZ Variable): Document transition times from
27094         25:00:00 through 167:59:59.  These are already supported, and this
27095         support will help with version-3 tz-format files.
27097         * manual/time.texi (TZ Variable): Modernize North America example
27098         to reflect current (i.e., 2007-and-later) daylight saving rules.
27100         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27102 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27104         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27105         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27108         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27109         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27110         * sysdeps/unix/bsd/clock.c: Likewise.
27111         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27112         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27113         * sysdeps/unix/bsd/init-posix.c: Likewise.
27114         * sysdeps/unix/bsd/poll.c: Likewise.
27115         * sysdeps/unix/bsd/ptsname.c: Likewise.
27116         * sysdeps/unix/bsd/seekdir.c: Likewise.
27117         * sysdeps/unix/bsd/setegid.c: Likewise.
27118         * sysdeps/unix/bsd/seteuid.c: Likewise.
27119         * sysdeps/unix/bsd/setgid.c: Likewise.
27120         * sysdeps/unix/bsd/setrgid.c: Likewise.
27121         * sysdeps/unix/bsd/setruid.c: Likewise.
27122         * sysdeps/unix/bsd/setsid.c: Likewise.
27123         * sysdeps/unix/bsd/setuid.c: Likewise.
27124         * sysdeps/unix/bsd/sigaction.c: Likewise.
27125         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27126         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27127         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27128         * sysdeps/unix/bsd/telldir.c: Likewise.
27129         * sysdeps/unix/bsd/times.c: Likewise.
27130         * sysdeps/unix/bsd/usleep.c: Likewise.
27132         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27133         ($(objpfx)libbsd-compat.a): Remove rule.
27135         * include/features.h (__FAVOR_BSD): Do not define.
27136         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27137         features conflicting with POSIX.
27138         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27139         (_BSD_SOURCE): Remove description of not being a subset of other
27140         feature test macros.
27141         * manual/job.texi (getpgrp): Do not document BSD version.
27142         (getpgid): Do not document by reference to BSD getpgrp.
27143         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27144         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27145         * signal/signal.h [__FAVOR_BSD]: Likewise.
27146         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27147         instead of making contents conditional on [__FAVOR_BSD].
27148         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27150 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27154 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27156         [BZ #16314]
27157         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27158         values below 2**-450, not 2**-500.
27159         * math/auto-libm-test-in: Don't allow spurious underflow from
27160         hypot.
27161         * math/auto-libm-test-out: Regenerated.
27163         [BZ #16316]
27164         [BZ #16330]
27165         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27166         values of ha and hb and sort them after adjusting subnormal
27167         arguments.
27168         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27169         Likewise.
27170         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27171         values of ea and eb and sort them after adjusting subnormal
27172         arguments.
27173         * math/auto-libm-test-in: Do not expect some hypot tests of
27174         subnormals to fail.  Add more hypot tests.
27175         * math/auto-libm-test-out: Regenerated.
27177 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27179         [BZ #13304]
27180         * sysdeps/sh/s_fma.c: New file.
27181         * sysdeps/sh/s_fmaf.c: New file.
27182         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27183         version.
27184         * sysdeps/sh/Implies: Add sh/soft-fp.
27186 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27188         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27189         level of indirection to members `objname', `errstring', `malloced'.
27190         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27191         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27192         it as the __longjmp argument (just pass 1 instead).
27193         (_dl_catch_error): Initialize C with argument pointers and address of
27194         volatile local ERRCODE rather than copying values out of C at return.
27196 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27198         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27199         * math/auto-libm-test-out: Regenerated.
27200         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27201         (hypot_test_data): Likewise.
27202         (pow_test_data): Likewise.
27203         (pow_tonearest_test_data): Likewise.
27204         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27205         mpfr_ff_f.
27206         (func_calc_desc): Add mpfr_ff_f union field.
27207         (FUNC_mpfr_ff_f): New macro.
27208         (test_functions): Add atan2, hypot and pow.
27209         (special_fill_min): New function.
27210         (special_fill_minus_min): Likewise.
27211         (special_fill_min_subnorm): Likewise.
27212         (special_fill_minus_min_subnorm): Likewise.
27213         (special_real_inputs): Add min, -min, min_subnorm and
27214         -min_subnorm.
27215         (calc_generic_results): Handle mpfr_ff_f.
27216         * sysdeps/i386/fpu/libm-test-ulps: Update.
27217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27219 2013-12-16  Will Newton  <will.newton@linaro.org>
27221         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27222         (Aligned Memory Blocks): Add documentation for aligned_alloc
27223         and suggest it as an alternative to posix_memalign.
27224         (Hooks for Malloc): Document __memalign_hook is also called
27225         for aligned_alloc.  (Summary of Malloc): Add summary for
27226         aligned alloc.  Document __memalign_hook is also called
27227         for aligned_alloc.
27229 2013-12-16  Will Newton  <will.newton@linaro.org>
27231         * manual/memory.texi (Malloc Examples): Clarify default
27232         alignment documentation.  Suggest posix_memalign rather
27233         than memalign or valloc.
27234         (Aligned Memory Blocks): Remove suggestion to use memalign
27235         or valloc.  Remove obsolete comment about BSD.
27236         Document memalign errno values and mark the function obsolete.
27237         Document posix_memalign returned error codes.  Mark valloc
27238         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27239         called for posix_memalign and valloc.
27240         (Summary of Malloc): Add posix_memalign to function summary.
27241         __memalign_hook is also called for posix_memalign and valloc.
27243 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27245         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27246         TAYLOR_SIN.
27247         (__sin): Adjust.
27248         (__cos): Likewise.
27249         (sloww): Use mynumber union.  Expand ternary operator into
27250         if-else statements.
27251         (cslow): use mynumber union.
27253 2013-12-16  Allan McRae  <allan@archlinux.org>
27255         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27256         * configure: Regenerated.
27258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27260         [BZ #14120]
27261         * configure.ac: Added --enable-maintainer-mode. Check for
27262         autoconf when enabled.
27263         * configure: Regenerated.
27265         * nscd/nscd.service: New file.
27266         * nscd/nscd.tmpfiles: New file.
27268 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27270         [BZ #12100]
27271         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27272         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27273         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27274         (strstr): Add __strstr_sse2_unaligned ifunc.
27275         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27276         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27277         (strcasestr): Remove __strcasestr_sse42 ifunc.
27278         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27282 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27284         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27285         * sysdeps/sh/bits/fenv.h: ... here.
27286         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27288 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27290         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27293         hypotf multiarch implementations.
27294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27296         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27297         multiarch hypot for PPC64.
27298         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27299         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27300         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27301         multiarch hypotf for PPC64.
27303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27304         modff multiarch implementations.
27305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27308         multiarch modf for PPC64.
27309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27312         multiarch modff for PPC64.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27315         and logl multiarch implementations.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27319         multiarch logb for PPC64.
27320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27323         multiarch logb for PPC64.
27324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27327         multiarch logb for PPC64.
27329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27330         isinff multiarch implementation.
27331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27332         file.
27333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27335         multiarch isinf for PPC64.
27336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27337         file.
27338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27339         multiarch isinff for PPC64.
27341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27342         finitef multiarch implementation.
27343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27344         file.
27345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27347         multiarch finite for PPC64.
27348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27349         file.
27350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27351         multiarch finitef for PPC64.
27353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27354         lrint multiarch implementation.
27355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27356         file.
27357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27359         multiarch llrint for PPC64.
27360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27361         multiarch lrint for PPC64.
27363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27364         copysignf multiarch implementation.
27365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27366         file.
27367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27368         file.
27369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27370         multiarch copysign for PPC64.
27371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27372         multiarch copysignf for PPC64.
27374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27375         multiarch implementation.
27376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27377         file.
27378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27379         file.
27380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27381         file.
27382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27383         file.
27384         multiarch llround for PPC64.
27385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27386         multiarch trunc for PPC64.
27387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27388         multiarch truncf for PPC64.
27390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27391         multiarch implementation.
27392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27393         file.
27394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27395         file.
27396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27397         file.
27398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27399         file.
27400         multiarch llround for PPC64.
27401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27402         multiarch round for PPC64.
27403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27404         multiarch roundf for PPC64.
27406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27407         multiarch implementation.
27408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27409         file.
27410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27411         file.
27412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27413         file.
27414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27415         file.
27416         multiarch llround for PPC64.
27417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27418         multiarch floor for PPC64.
27419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27420         multiarch floorf for PPC64.
27422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27423         multiarch implementation.
27424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27425         file.
27426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27427         file.
27428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27429         file.
27430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27431         file.
27432         multiarch llround for PPC64.
27433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27434         multiarch ceil for PPC64.
27435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27436         multiarch ceilf for PPC64.
27438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27439         multiarch implementation.
27440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27441         file.
27442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27443         file.
27444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27445         file.
27446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27447         multiarch llround for PPC64.
27448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27449         multiarch lround for PPC64.
27451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27452         multiarch implementation.
27453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27456         file.
27457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27460         multiarch isnan for PPC64.
27461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27462         multiarch isnanf for PPC64.
27464         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27465         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27466         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27467         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27468         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27471         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27472         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27473         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27474         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27477         multiarch implementations.
27478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27479         (__libc_ifunc_impl_list): Likewise.
27480         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27481         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27483         multiarch stpcpy for PPC64.
27485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27486         multiarch implementations.
27487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27488         (__libc_ifunc_impl_list): Likewise.
27489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27491         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27492         multiarch strcpy for PPC64.
27494         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27495         redefine function name.
27496         (_wordcopy_fwd_dest_aligned): Likewise.
27497         (_wordcopy_bwd_aligned): Likewise.
27498         (_wordcopy_bwd_dest_aligned): Likewise.
27499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27500         multiarch implementations.
27501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27502         (__libc_ifunc_impl_list): Likewise.
27503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27505         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27506         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27507         multiarch wcscpy for PPC64.
27509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27510         multiarch implementations.
27511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27512         (__libc_ifunc_impl_list): Likewise.
27513         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27514         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27516         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27517         multiarch wcscpy for PPC64.
27519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27520         multiarch implementations.
27521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27522         (__libc_ifunc_impl_list): Likewise.
27523         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27524         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27525         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27526         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27527         multiarch wcsrchr for PPC64.
27529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27530         multiarch implementations.
27531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27532         (__libc_ifunc_impl_list): Likewise.
27533         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27534         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27535         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27536         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27537         multiarch wcschr for PPC64.
27539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27540         multiarch implementations.
27541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27542         (__libc_ifunc_impl_list): Likewise.
27543         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27544         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27545         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27546         multiarch strchrnul for PPC64.
27548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27549         implementations.
27550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27551         (__libc_ifunc_impl_list): Likewise.
27552         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27553         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27554         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27555         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27556         strchr for PPC64.
27558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27559         implementations.
27560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27561         (__libc_ifunc_impl_list): Likewise.
27562         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27563         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27564         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27565         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27566         strncmp for PPC64.
27568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27569         multiarch implementations.
27570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27571         (__libc_ifunc_impl_list): Likewise.
27572         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27573         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27574         strncasecmp for PPC64.
27575         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27576         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27577         multiarch strncasecmp_l for PPC64.
27579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27580         multiarch implementations.
27581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27582         (__libc_ifunc_impl_list): Likewise.
27583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27584         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27585         multiarch strcasecmp for PPC64.
27586         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27587         file.
27588         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27589         multiarch strcasecmp_l for PPC64.
27591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27592         implementations.
27593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27594         (__libc_ifunc_impl_list): Likewise.
27595         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27596         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27597         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27598         strnlen for PPC64.
27600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27601         implementations.
27602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27603         (__libc_ifunc_impl_list): Likewise.
27604         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27605         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27606         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27607         strlen for PPC64.
27609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27610         implementations.
27611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27612         (__libc_ifunc_impl_list): Likewise.
27613         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27614         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27615         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27616         rawmemrchr for PPC64.
27618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27619         implementation.
27620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27621         (__libc_ifunc_impl_list): Likewise.
27622         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27623         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27624         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27625         memrchr for PPC64.
27627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27628         implementation.
27629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27630         (__libc_ifunc_impl_list): Likewise.
27631         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27632         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27633         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27634         memchr for PPC64.
27636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27637         implementation.
27638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27639         (__libc_ifunc_impl_list): Likewise.
27640         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27641         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27642         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27643         mempcpy for PPC64.
27645         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27646         avoid cretion of __bzero symbol.
27647         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27648         Likewise.
27649         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27650         Likewise.
27651         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27652         Likewise.
27653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27654         multiarch implementations.
27655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27656         (__libc_ifunc_impl_list): Likewise.
27657         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27658         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27659         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27660         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27661         bzero for PPC32.
27662         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27663         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27664         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27665         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27666         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27667         memset for PPC64.
27668         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27670         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27672         implementations.
27673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27674         (__libc_ifunc_impl_list): Likewise.
27675         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27676         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27677         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27678         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27679         memcmp for PPC64.
27681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27682         multiarch for POWER/PPC64.
27683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27684         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27686         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27687         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27688         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27690         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27691         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27692         memcpy for PPC64.
27694         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27695         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27696         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27697         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27698         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27699         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27700         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27701         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27702         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27703         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27704         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27705         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27706         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27707         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27708         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27717 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27719         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27721 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27723         * benchtests/Makefile (bench): Add exp2 and log2.
27724         (LDLIBS-bench-exp2): Add -lm.
27725         (LDLIBS-bench-log2): Likewise.
27726         * benchtests/exp2-inputs: New inputs file.
27727         * benchtests/log2-inputs: New inputs file.
27728         * benchtests/log-inputs: Add new inputs.
27729         * benchtests/tan-inputs: Likewise.
27731 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27733         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27734         definition...
27735         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27736         (csloww2): ... from here.
27738         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27739         instead of structures.
27740         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27741         (POLYNOMIAL): Likewise.
27742         (TAYLOR_SLOW): Likewise.
27743         (__sin): Likewise.
27744         (__cos): Likewise.
27745         (slow1): Likewise.
27746         (slow2): Likewise.
27747         (sloww): Likewise.
27748         (sloww1); Likewise.
27749         (sloww2): Likewise.
27750         (bsloww1): Likewise.
27751         (bsloww2): Likewise.
27752         (cslow2): Likewise.
27753         (csloww): Likewise.
27754         (csloww1): Likewise.
27755         (csloww2): Likewise.
27757 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27759         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27760         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27761         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27762         * malloc/hooks.c (realloc_check): Likewise.
27764         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27765         * malloc/arena.c: Remove PER_THREAD conditional.
27766         [!PER_THREAD]: Remove code.
27767         (ptmalloc_unlock_all2): Likewise.
27768         (ptmalloc_init): Likewise.
27769         (_int_new_arena): Likewise.
27770         (arena_get2): Likewise.
27771         * malloc/hooks.c (__malloc_get_state): Likewise.
27772         (__malloc_set_state): Likewise.
27773         * malloc/malloc.c: Likewise.
27774         (struct malloc_state): Likewise.
27775         (struct malloc_par): Likewise.
27776         (__libc_realloc): Likewise.
27777         (__libc_mallopt): Likewise.
27779 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27781         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27783 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27785         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27786         macro to a function.  Check for zero perturb_byte.
27787         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27789         * malloc/malloc.c: (force_reg): Remove.
27790         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27791         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27792         force_reg by atomic_forced_read.
27793         * malloc/arena.c (ptmalloc_init): Likewise.
27794         * malloc/hooks.c (top_check): Likewise.
27796 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27800 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27804 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27806         * math/auto-libm-test-in: Add tests of lgamma.
27807         * math/auto-libm-test-out: Regenerated.
27808         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27809         (M_LOG_2_SQRT_PIl): Likewise.
27810         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27811         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27812         mpfr_f_f1.
27813         (func_calc_desc): Add mpfr_f_f1 union field.
27814         (ARGS1): New macro.
27815         (ARGS2): Likewise.
27816         (ARGS3): Likewise.
27817         (ARGS4): Likewise.
27818         (RET1): Likewise.
27819         (RET2): Likewise.
27820         (CALC): Likewise.
27821         (FUNC): Likewise.
27822         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27823         (test_functions): Add lgamma.
27824         (calc_generic_results): Handle mpfr_f_f1.
27825         * sysdeps/i386/fpu/libm-test-ulps: Update.
27826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27828 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27830         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27831         __mpn_add_n for PowerPC64/POWER7.
27832         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27833         __mpn_sub_n for PowerPC64/POWER7.
27835         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27836         __mpn_addmul_1 for PowerPC64.
27837         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27838         __mpn_submul_1 for PowerPC64.
27839         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27840         for PowerPC64.
27841         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27842         for PowerPC64.
27844 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27846         [BZ #15089]
27847         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27849 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27851         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27853         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27854         add multiarch folders.
27855         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27856         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27857         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27858         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27859         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27860         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27861         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27862         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27863         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27864         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27865         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27874         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27876         New file.
27877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27878         New file.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27880         multiarch __ieee754_hypot for PowerPC32.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27882         New file.
27883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27884         New file.
27885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27886         multiarch __ieee754_hypotf for PowerPC32.
27888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27889         long_double_symbol only if __logbl is defined.
27890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27891         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27893         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27895         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27897         path for implementation.
27898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27899         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27901         logb, and logbl multiarch implementations for PowerPC32.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27903         file.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27905         file.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27907         multiarch logb for PowerPC32.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27909         file.
27910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27911         file.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27913         multiarch logbf for PowerPC32.
27914         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27916         file.
27917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27918         multiarch logbl implementation for PowerPC32.
27920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27921         and modff multiarch implementations.
27922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27923         New file.
27924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27925         New file.
27926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27927         multiarch modf for PowerPC32.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27929         New file.
27930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27931         New file.
27932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27933         multiarch modff for PowerPC32.
27935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27936         and lrintf multiarch implementations.
27937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27938         New file.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27940         New file.
27941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27942         multiarch lrint for PowerPC32.
27943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27944         file: multiarch lrintf for PowerPC32.
27946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27947         and lroundf multiarch implementations.
27948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27949         New file.
27950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27951         New file.
27952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27953         New file.
27954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27955         multiarch lround for PowerPC32.
27956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27957         file: multiarch lroundf for PowerPC32.
27959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27960         copysign and copysignf multiarch implementations.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27962         New file.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27964         New file.
27965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27966         file: multiarch copysign for PowerPC32.
27967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27968         file: multiarch copysignf for PowerPC32.
27970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27971         and truncf multiarch implementations.
27972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27973         New file.
27974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27975         file.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27977         multiarch trunc for PowerPC32.
27978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27979         New file.
27980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27981         New file.
27982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27983         multiarch truncf for PowerPC32.
27985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27986         and roundf multiarch implementations.
27987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27988         New file.
27989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27990         file.
27991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27992         multiarch round for PowerPC32.
27993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27994         New file.
27995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27996         New file.
27997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27998         multiarch roundf for PowerPC32.
28000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28001         and floorf multiarch implementations.
28002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28003         New file.
28004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28005         file.
28006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28007         multiarch floor for PowerPC32.
28008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28009         New file.
28010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28011         New file.
28012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28013         multiarch floorf for PowerPC32.
28015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28016         and ceilf multiarch implementations.
28017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28018         New file.
28019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28020         file.
28021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28022         multiarch ceil for PowerPC32.
28023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28024         New file.
28025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28026         file.
28027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28028         multiarch ceilf for PowerPC32.
28030         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28031         is defined.
28032         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28033         FINITEF is defined.
28034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28035         and finitef multiarch implementations.
28036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28037         New file.
28038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28039         file.
28040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28041         multiarch finite for PowerPC32.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28043         New file.
28044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28045         file: multiarch finitef for PowerPC32.
28047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28048         and isinff multiarch implementations.
28049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28050         file.
28051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28052         file.
28053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28054         multiarch isinf for PowerPC32.
28055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28056         New file.
28057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28058         multiarch isinff for PowerPC32.
28060         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28061         alias when __isnan is defined.
28062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28063         and isnanf multiarch implementations.
28064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28065         file.
28066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28067         file.
28068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28069         file.
28070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28071         file.
28072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28073         multiarch isnan for PowerPC32.
28074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28075         New file.
28076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28077         New file.
28078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28079         multiarch isnanf for PowerPC32.
28081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28082         and sqrtf multiarch implementations.
28083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28084         file.
28085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28086         file.
28087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28088         multiarch sqrt for PowerPC32.
28089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28090         file.
28091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28092         file.
28093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28094         multiarch sqrtf for PowerPC32.
28096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28097         and llroundf multiarch implementations.
28098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28099         New file.
28100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28101         New file.
28102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28103         New file.
28104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28105         file: multiarch llround for PowerPC32.
28106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28107         file: multiarch llroundf for PowerPC32.
28109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28110         multiarch PowerPC32 fpu implementations.
28111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28112         New file.
28113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28114         New file.
28115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28116         multiarch llrint for PowerPC32.
28117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28118         New file.
28119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28120         New file.
28121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28122         file.
28124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28127         file.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28129         file.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28131         file.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28133         multiarch wordcopy for PPC32.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28135         wordcopy objects.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28137         (__libc_ifunc_impl_list): Likewise.
28138         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28139         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28140         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28141         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28142         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28143         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28145         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28147         file.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28149         file.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28151         file.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28153         multiarch wcscpy for PPC32.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28155         multiarch objects.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28157         (__libc_ifunc_impl_list): Likewise.
28158         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28159         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28160         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28161         sysdeps/powerpc/power6/wcscpy.c.
28163         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28165         file.
28166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28167         file.
28168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28169         file.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28171         multiarch wcsrchr for PPC32.
28172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28173         multiarch objects.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28175         (__libc_ifunc_impl_list): Likewise.
28176         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28177         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28178         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28179         sysdeps/powerpc/power6/wcsrchr.c.
28181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28182         file.
28183         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28184         file.
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28187         multiarch wcschr for PPc32.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28189         multiarch objects.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28191         (__libc_ifunc_impl_list): Likewise.
28192         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28193         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28194         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28195         sysdeps/powerpc/power6/wcschr.c.
28197         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28198         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28199         file.
28200         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28201         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28202         file: multiarch strchr for PPC32.
28203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28204         multiarch objects.
28205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28206         (__libc_ifunc_impl_list): Likewise.
28208         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28209         name.
28210         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28211         file.
28212         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28213         file.
28214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28215         multiarch strchrnul for PPC32.
28216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28217         multiarch objects.
28218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28219         (__libc_ifunc_impl_list): Likewise.
28221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28222         file.
28223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28224         multiarch strncasecmp for PPC32.
28225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28226         file.
28227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28228         multiarch strncasecmp_l for PPC32.
28229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28230         strncasecmp multiarch objects.
28231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28232         (__libc_ifunc_impl_list): Likewise.
28234         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28235         file.
28236         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28237         multiarch strncasecmp for PPC32.
28238         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28239         New file.
28240         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28241         multiarch strcasecmp_l for PPC32.
28242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28243         multiarch objects.
28244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28245         (__libc_ifunc_impl_list): Likewise.
28247         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28248         file.
28249         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28250         file.
28251         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28252         multiarch strncmp for PPC32.
28253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28254         multiarch objects.
28255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28256         (__libc_ifunc_impl_list): Likewise.
28258         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28259         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28260         file.
28261         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28264         multiarch objects.
28265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28266         (__libc_ifunc_impl_list): Likewise.
28268         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28269         file.
28270         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28271         file.
28272         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28274         multiarch objects.
28275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28276         (__libc_ifunc_impl_list): Likewise.
28278         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28279         file.
28280         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28281         file.
28282         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28283         multiarch rawmemchr for PPC32.
28284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28285         multiarch objects.
28286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28287         (__libc_ifunc_impl_list): Likewise.
28289         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28290         file.
28291         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28292         file.
28293         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28294         file: memrchr multiarch for PPC32.
28295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28296         multiarch objects.
28297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28298         (__libc_ifunc_impl_list): Likewise.
28300         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28301         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28302         file.
28303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28304         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28305         multiarch memchr for PPC32.
28306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28307         multiarch objects.
28308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28309         (__libc_ifunc_impl_list): Likewise.
28311         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28312         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28313         file.
28314         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28315         file.
28316         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28317         file: multiarch mempcpy for PPC32.
28318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28319         multiarch objects.
28320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28321         (__libc_ifunc_impl_list): Likewise.
28323         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28324         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28325         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28326         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28327         multiarch bzero for PPC32.
28328         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28329         file.
28330         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28331         file.
28332         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28333         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28334         file: multiarch memset for PPC32.
28335         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28337         memset multiarch objects.
28338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28339         (__libc_ifunc_impl_list): Likewise.
28341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28342         file.
28343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28345         memcmp for PPC32.
28346         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28348         multiarch objects.
28349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28350         (__libc_ifunc_impl_list): Likewise.
28352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28355         file.
28356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28357         file.
28358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28359         file.
28360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28361         multiarch memcpy for PPC32.
28362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28363         multiarch objects.
28364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28365         (__libc_ifunc_impl_list): Likewise.
28367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28368         support multiarch for POWER/PPC32.
28369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28370         Likewise.
28371         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28373         Implies file to make multiarch folder appers before the fpu and
28374         default folder for power4 configuration.
28376 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28378         * scripts/bench.pl: Append volatile keyword to type.
28380 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28382         * sysdeps/sh/sotruss-lib.c: New file.
28383         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28385 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28389 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28391         [BZ #6810]
28392         * math/w_tgamma.c: Include <errno.h>.
28393         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28394         * math/w_tgammaf.c: Include <errno.h>.
28395         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28396         * math/w_tgammal.c: Include <errno.h>.
28397         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28398         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28399         underflow.  Add more tgamma tests.
28400         * math/auto-libm-test-out: Regenerated.
28401         * sysdeps/i386/fpu/libm-test-ulps: Update.
28402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28404         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28405         sin, sinh, tan, tanh, tgamma, y0 and y1.
28406         * math/auto-libm-test-out: Regenerated.
28407         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28408         (TEST_COND_x86): Likewise.
28409         (M_E2l): Remove macro.
28410         (M_E3l): Likewise.
28411         (M_2_SQRT_PIl): Likewise.
28412         (M_SQRT_PIl): Likewise.
28413         (M_1_DIV_El): Likewise.
28414         (log_test_data): Use AUTO_TESTS_f_f.
28415         (log10_test_data): Likewise.
28416         (log1p_test_data): Likewise.
28417         (log2_test_data): Likewise.
28418         (sin_test_data): Likewise.
28419         (sin_tonearest_test_data): Likewise.
28420         (sin_towardzero_test_data): Likewise.
28421         (sin_downward_test_data): Likewise.
28422         (sin_upward_test_data): Likewise.
28423         (sinh_test_data): Likewise.
28424         (sinh_tonearest_test_data): Likewise.
28425         (sinh_towardzero_test_data): Likewise.
28426         (sinh_downward_test_data): Likewise.
28427         (sinh_upward_test_data): Likewise.
28428         (tan_test_data): Likewise.
28429         (tan_tonearest_test_data): Likewise.
28430         (tan_towardzero_test_data): Likewise.
28431         (tan_downward_test_data): Likewise.
28432         (tan_upward_test_data): Likewise.
28433         (tanh_test_data): Likewise.
28434         (tgamma_test_data): Likewise.
28435         (y0_test_data): Likewise.
28436         (y1_test_data): Likewise.
28437         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28438         (special_real_inputs): Add pi/4.
28439         * sysdeps/i386/fpu/libm-test-ulps: Update.
28440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28444         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28445         "longjmp_target" static probes.
28446         (__longjmp): Rename to __longjmp_symbol.
28447         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28448         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28449         on which longjmp to generate.
28450         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28451         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28452         probe.
28453         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28454         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28455         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28456         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28457         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28458         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28460         __longjmp_symbol based on which __longjmp to generate.
28461         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28462         probe.
28463         (setjmp): Rename to setjmp_symbol.
28464         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28465         (_setjmp): Rename to _setjmp_symbol.
28466         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28467         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28468         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28469         which setjmp to generate.
28470         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28471         "longjmp_target" static probes.
28473 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28475         * benchtests/README: Add note about output arguments.
28476         * benchtests/bench-sincos.c: Remove file.
28477         * benchtests/sincos-inputs: New file.
28478         * scripts/bench.pl: Identify output arguments and define
28479         static variables for them.
28481         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28483         [BZ #15941]
28484         * Makefile (INSTALL): Add install-plain.texi as the primary
28485         dependency.
28486         * manual/install-plain.texi: New file.
28487         * manual/install.texi: Include node directive only for
28488         non-plaintext output.
28490 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28492         * stdlib/longlong.h: Update from GCC.
28494         [BZ #6807]
28495         [BZ #15901]
28496         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28497         * math/w_j0f.c (y0f): Likewise.
28498         * math/w_j0l.c (__y0l): Likewise.
28499         * math/w_j1.c (y1): Likewise.
28500         * math/w_j1f.c (y1f): Likewise.
28501         * math/w_j1l.c (__y1l): Likewise
28502         * math/w_jn.c (yn): Likewise.
28503         * math/w_jnf.c (ynf): Likewise.
28504         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28505         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28506         value for Bessel function domain errors outside _SVID_ mode.
28507         Adjust sign of return value for yn (negative integer, 0).
28508         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28509         by zero in return for negative x and set sign appropriately for
28510         negative n.
28511         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28512         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28513         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28514         expectations in error cases.
28515         (y1_test_data): Likewise.
28516         (yn_test_data): Likewise.
28517         * sysdeps/i386/fpu/libm-test-ulps: Update.
28518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28520 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28522         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28523         "64" to "64-v1".  Add "64-v2".
28524         (abi-64-options): Rename to ...
28525         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28526         (abi-64-condition): Rename to ...
28527         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28528         (abi-64-ld-soname): Rename to ...
28529         (abi-64-v1-ld-soname): ... this.
28530         (abi-64-v2-options): Define.
28531         (abi-64-v2-condition): Likewise.
28532         (abi-64-v2-ld-soname): Likewise.
28533         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28534         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28539 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28540             Alan Modra  <amodra@gmail.com>
28542         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28543         New versions for use with the ELFv2 ABI.
28544         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28545         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28546         declaration.
28547         (struct La_ppc64v2_retval): Likewise.
28548         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28549         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28550         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28551         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28552         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28553         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28554         Do not save or restore CR.
28555         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28556         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28557         return values for ELFv2 ABI.  Fix location of FPR return registers.
28558         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28559         updated values for _CALL_ELF == 2.
28560         (La_regs, La_retval, int_retval): Likewise.
28562 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28564         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28565         (FRAME_MIN_SIZE_PARM): Likewise.
28566         (FRAME_BACKCHAIN): Likewise.
28567         (FRAME_CR_SAVE): Likewise.
28568         (FRAME_LR_SAVE): Likewise.
28569         (FRAME_TOC_SAVE): Likewise.
28570         (FRAME_PARM_SAVE): Likewise.
28571         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28572         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28573         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28574         (call_mcount_parm_offset): New macro.
28575         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28576         (PROF): Use symbolic stack frame offsets.
28577         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28578         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28579         Redefine in terms of FRAME_MIN_SIZE.
28580         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28581         (_dl_profile_resolve): Likewise.  Update comment.
28582         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28583         symbols stack frame offsets.
28584         (__sigsetjmp): Likewise.
28585         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28586         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28587         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28588         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28591         (FRAME_BACKCHAIN): Remove.
28592         (FRAME_CR_SAVE): Likewise.
28593         (FRAME_LR_SAVE): Likewise.
28594         (FRAME_COMPILER_DW): Likewise.
28595         (FRAME_LINKER_DW): Likewise.
28596         (FRAME_TOC_SAVE): Likewise.
28597         (FRAME_PARM_SAVE): Likewise.
28598         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28599         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28600         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28602         (CHECK_SP): Use symbolic stack frame offsets.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28604         zone" instead of caller's parameter save area for temp storage.
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28606         Likewise.  Also, use symbolic stack frame offsets.
28607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28608         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28609         our own stack frame instead of the caller's.
28610         (__socket): Use symbolic stack frame offsets.
28612 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28613             Alan Modra  <amodra@gmail.com>
28615         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28616         Define.
28617         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28618         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28619         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28620         New function.
28621         (elf_machine_fixup_plt): Call it.
28622         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28623         reloc arguments.
28624         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28625         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28626         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28627         r2 before calling target.
28629 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28630             Alan Modra  <amodra@gmail.com>
28632         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28633         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28634         versions of macros to support ELFv2 ABI.
28635         (LOCALENTRY): New macro.
28636         (ENTRY, EALIGN): Use it.
28637         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28638         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28639         fall through into ENTRY entry point.
28640         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28641         Only define if _CALL_ELF != 2.
28643         (elf_machine_matches_host): Verify ABI version matches.
28644         (RTLD_START): Use LOCALENTRY.
28645         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28646         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28647         (PLT_ENTRY_WORDS): New macro.
28648         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28649         (elf_machine_runtime_setup): Support ELFv2 ABI.
28650         (elf_machine_fixup_plt): Likewise.
28651         (elf_machine_plt_conflict): Likewise.
28652         (resolve_ifunc): Likewise.
28653         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28655         Likewise.
28656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28657         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28659         (makecontext): Support ELFv2 ABI.
28660         * elf/elf.h (EF_PPC64_ABI): Define.
28662 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28664         * sysdeps/powerpc/powerpc64/sysdep.h
28665         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28666         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28667         (ENTRY) [ASSEMBLER]: ... but instead here ...
28668         (EALIGN) [ASSEMBLER]: ... and here.
28669         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28670         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28671         (ENTRY_2) [!ASSEMBLER]: Use it.
28672         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28673         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28674         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28675         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28676         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28678         Use PPC64_LOAD_FUNCPTR.
28680         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28682 2013-12-04  Alan Modra  <amodra@gmail.com>
28684         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28685         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28686         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28687         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28689         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28690         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28691         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28692         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28693         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28694         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28696 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28699         (__makecontext): Fix incorrect CFI when backtracing out of
28700         context created via makecontext.
28701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28702         (__setcontext): Fix incorrect CFI during switch to new context.
28703         (__novec_setcontext): Likewise.
28705 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28707         [BZ #4772]
28708         * time/strptime_l.c (__strptime_internal): Allow modifiers
28709         in strptime.
28710         * time/tst-strptime.c (day_tests): Add testcase.
28712 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28714         * scripts/bench.pl: Skip over blank lines.
28716 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28718         [BZ #926]
28719         * manual/time.texi (Calendar Time): Clarify what timezone functions
28720         use.
28722 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28726 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28728         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28729         implementation.
28730         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28731         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28732         * debug/memset_chk.c (__memset_chk): Likewise.
28733         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28734         * debug/strncpy_chk.c: Likewise.
28736 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28738         [BZ #15268]
28739         [BZ #15425]
28740         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28741         (__ieee754_exp): For possibly underflowing results, check size of
28742         result and force underflow exception if required.
28743         * math/auto-libm-test-in: Add more tests of exp.
28744         * math/auto-libm-test-out: Regenerated.
28745         * sysdeps/i386/fpu/libm-test-ulps: Update.
28746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28748         [BZ #16283]
28749         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28750         * math/w_exp2f.c (__exp2f): Likewise.
28751         * math/w_exp2l.c (__exp2l): Likewise.
28752         * math/auto-libm-test-in: Do not allow missing errno on exp2
28753         underflow.
28754         * math/auto-libm-test-out: Regenerated.
28756 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28758         [BZ #16274]
28759         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28760         handle filename validation.
28761         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28762         (do_open): Delete.
28764 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28766         [BZ #6786]
28767         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28768         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28769         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28770         <float.h>.
28771         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28772         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28773         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28775         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28776         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28777         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28778         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28779         Add more erfc tests.
28780         * math/auto-libm-test-out: Regenerated.
28781         * sysdeps/i386/fpu/libm-test-ulps: Update.
28782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28784         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28785         exp2, expm1, j0 and j1.
28786         * math/auto-libm-test-out: Regenerated.
28787         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28788         (erfc_test_data): Likewise.
28789         (exp_test_data): Likewise.
28790         (exp_tonearest_test_data): Likewise.
28791         (exp_towardzero_test_data): Likewise.
28792         (exp_downward_test_data): Likewise.
28793         (exp_upward_test_data): Likewise.
28794         (exp10_test_data): Likewise.
28795         (exp2_test_data): Likewise.
28796         (expm1_test_data): Likewise.
28797         (j0_test_data): Likewise.
28798         (j1_test_data): Likewise.
28799         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28800         (input_flag_type): Add flag_xfail_rounding.
28801         (input_flags): Add xfail-rounding.
28802         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28803         (output_for_one_input_case): Handle flag_xfail_rounding.
28804         * sysdeps/i386/fpu/libm-test-ulps: Update.
28805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28807 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28809         [BZ #16289]
28810         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28811         division by 0.
28813 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28815         [BZ #16195]
28816         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28817         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28818         (STAP_PROBE0): New macro.
28819         (STAP_PROBE1): Likewise.
28820         (STAP_PROBE2): Likewise.
28821         (STAP_PROBE3): Likewise.
28822         (STAP_PROBE4): Likewise.
28824 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28826         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28828 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28830         * benchtests/Makefile (bench): Add sqrt.
28831         (LDLIBS-bench-sqrt): New.
28832         * benchtests/sqrt-input: New.
28834 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28836         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28837         (GAIH_EAI): Likewise.
28838         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28839         (gaih_inet): Likewise.
28840         (getaddrinfo): Don't use GAIH_EAI.
28842         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28843         (struct gaih): Remove definition.
28845 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28847         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28848         Use HERRNOP directly.
28850 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28854 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28856         * math/gen-auto-libm-tests.c (test_functions): Add more
28857         single-argument functions.
28858         (special_fill_pi_2): New function.
28859         (special_fill_minus_pi_2): Likewise.
28860         (special_fill_pi_6): Likewise.
28861         (special_fill_minus_pi_6): Likewise.
28862         (special_fill_pi_3): Likewise.
28863         (special_fill_2pi_3): Likewise.
28864         (special_fill_e): Likewise.
28865         (special_fill_1_e): Likewise.
28866         (special_fill_e_minus_1): Likewise.
28867         (special_real_inputs): Add more special inputs.
28868         (output_for_one_input_case): Do not require ERANGE on underflow to
28869         zero if round-to-nearest result does not underflow to zero, unless
28870         exact results required.
28871         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28872         atan, atanh, cbrt, cos and cosh.
28873         * math/auto-libm-test-out: Regenerated.
28874         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28875         (acos_tonearest_test_data): Likewise.
28876         (acos_towardzero_test_data): Likewise.
28877         (acos_downward_test_data): Likewise.
28878         (acos_upward_test_data): Likewise.
28879         (acosh_test_data): Likewise.
28880         (asin_test_data): Likewise.
28881         (asin_tonearest_test_data): Likewise.
28882         (asin_towardzero_test_data): Likewise.
28883         (asin_upward_test_data): Likewise.
28884         (asinh_test_data): Likewise.
28885         (atan_test_data): Likewise.
28886         (atanh_test_data): Likewise.
28887         (cbrt_test_data): Likewise.
28888         (cos_test_data): Likewise.
28889         (cos_tonearest_test_data): Likewise.
28890         (cos_towardzero_test_data): Likewise.
28891         (cos_downward_test_data): Likewise.
28892         (cos_upward_test_data): Likewise.
28893         (cosh_test_data): Likewise.
28894         (cosh_tonearest_test_data): Likewise.
28895         (cosh_towardzero_test_data): Likewise.
28896         (cosh_downward_test_data): Likewise.
28897         (cosh_upward_test_data): Likewise.
28898         * sysdeps/i386/fpu/libm-test-ulps: Update.
28899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28901 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28903         [BZ #6787]
28904         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28905         * math/w_exp10f.c (__exp10f): Likewise.
28906         * math/w_exp10l.c (__exp10l): Likewise.
28907         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28908         errno settings in existing tests.
28910         [BZ #14032]
28911         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28912         precision control set to double precision.
28913         * sysdeps/i386/fpu/w_sqrt.c: New file.
28914         * math/auto-libm-test-in: Add more tests.
28915         * math/auto-libm-test-out: Update.
28917         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28918         (sqrt_test_tonearest): New function.
28919         (sqrt_towardzero_test_data): New variable.
28920         (sqrt_test_towardzero): New function.
28921         (sqrt_downward_test_data): New variable.
28922         (sqrt_test_downward): New function.
28923         (sqrt_upward_test_data): New variable.
28924         (sqrt_test_upward): New function.
28925         (main): Call the new functions.
28927         * math/gen-auto-libm-tests.c: New file.
28928         * math/auto-libm-test-in: Likewise.
28929         * math/auto-libm-test-out: New generated file.
28930         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28931         variables.
28932         (%beautify): Add generated representations of zero.
28933         (top level): Set $auto_input and call parse_auto_input.
28934         (beautify): Remove trailing "f" from hex float constants.
28935         (parse_args): Handle XFAIL_TEST.
28936         (convert_condition): New function.
28937         (or_value): Likewise.
28938         (or_cond_value): Likewise.
28939         (generate_testfile): Handle AUTO_TESTS_* lines.
28940         (parse_auto_input): New function.
28941         * math/libm-test.inc (XFAIL_TEST): New macro.
28942         (ERRNO_UNCHANGED): Update value.
28943         (ERRNO_EDOM): Likewise.
28944         (ERRNO_ERANGE): Likewise.
28945         (IGNORE_RESULT): Likewise.
28946         (TEST_COND_flt_32): New macro.
28947         (TEST_COND_dbl_64): Likewise.
28948         (TEST_COND_ldbl_96_intel): Likewise.
28949         (TEST_COND_ldbl_96_m68k): Likewise.
28950         (TEST_COND_ldbl_128): Likewise.
28951         (TEST_COND_ldbl_128ibm): Likewise.
28952         (TEST_COND_long32): Likewise.
28953         (TEST_COND_long64): Likewise.
28954         (TEST_COND_before_rounding): Likewise.
28955         (TEST_COND_after_rounding): Likewise.
28956         (enable_test): Handle XFAIL_TEST flag.
28957         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28958         with finite results.
28959         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28960         auto-libm-test-out.
28962 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28963             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28965         [BZ #16214]
28966         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28967         __tls_get_addr_internal instead of __tls_get_offset in order to
28968         avoid GOT pointer dependency.  Make rtld export
28969         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28970         __tls_get_addr since we are a __tls_get_offset platform.
28971         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28972         GOT pointer being set up before.
28973         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28975 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28977         * manual/math.texi (Errors in Math Functions): Document accuracy
28978         goals.
28980         [BZ #15004]
28981         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28982         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28983         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28984         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28985         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28986         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28987         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28988         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28989         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28994         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28995         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28996         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28998         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28999         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29000         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29001         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29002         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29003         Likewise.
29004         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29005         Likewise.
29006         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29007         Likewise.
29008         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29009         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29010         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29011         atomic-feupdateenv and flt-rounds.
29012         * sysdeps/powerpc/nofpu/Versions (libc): Add
29013         __atomic_feholdexcept, __atomic_feclearexcept,
29014         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29015         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29016         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29017         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29018         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29019         here.
29020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29021         Update.
29023         * manual/arith.texi (FP Exceptions): Document that exceptions may
29024         not be raised when matherr is used.
29025         (Math Error Reporting): Document overflow in directed rounding
29026         modes.  Document that errno may not be set when finite values are
29027         returned on overflow.  Document intent to set errno on underflow
29028         only for underflow to zero.
29030         [BZ #16271]
29031         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29032         round-to-nearest then adjust result for other rounding modes.
29033         * include/fenv.h (fegetround): Use libm_hidden_proto.
29034         * math/fegetround.c (fegetround): Use libm_hidden_def.
29035         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29036         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29037         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29038         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29039         Likewise.
29040         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29041         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29042         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29043         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29045 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29047         [BZ #16077]
29048         * nss/Versions (libnss_files): Add
29049         _nss_files_gethostbyname3_r.
29050         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29051         New function.
29052         (HOST_DB_LOOKUP): Remove macro.
29053         (_nss_files_gethostbyname_r): Implement function without the
29054         HOST_DB_LOOKUP macro.
29055         (_nss_files_gethostbyname2_r): Likewise.
29057 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
29059         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29061 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
29063         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29064         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29065         warning.
29067 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29069         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29070         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29071         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29072         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29073         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29074         __fe_nomask_env_priv and attribute_hidden.
29075         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29076         (libc_feupdateenv_test_ppc): Likewise.
29077         (libc_feresetround_ppc): Likewise.
29078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29079         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29080         compat_symbol macro.
29081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29082         (__fe_nomask_env): Likewise.
29083         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29085 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29087         * string/Makefile: Remove ifunc tests.
29088         * string/test-string.h: Define TEST_IFUNC.
29089         * string/test-bcopy-ifunc.c: Remove.
29090         * string/test-bzero-ifunc.c: Likewise.
29091         * string/test-memccpy-ifunc.c: Likewise.
29092         * string/test-memchr-ifunc.c: Likewise.
29093         * string/test-memcmp-ifunc.c: Likewise.
29094         * string/test-memcpy-ifunc.c: Likewise.
29095         * string/test-memmem-ifunc.c: Likewise.
29096         * string/test-memmove-ifunc.c: Likewise.
29097         * string/test-mempcpy-ifunc.c: Likewise.
29098         * string/test-memrchr-ifunc.c: Likewise.
29099         * string/test-memset-ifunc.c: Likewise.
29100         * string/test-rawmemchr-ifunc.c: Likewise.
29101         * string/test-stpcpy-ifunc.c: Likewise.
29102         * string/test-stpncpy-ifunc.c: Likewise.
29103         * string/test-strcasecmp-ifunc.c: Likewise.
29104         * string/test-strcasestr-ifunc.c: Likewise.
29105         * string/test-strcat-ifunc.c: Likewise.
29106         * string/test-strchr-ifunc.c: Likewise.
29107         * string/test-strchrnul-ifunc.c: Likewise.
29108         * string/test-strcmp-ifunc.c: Likewise.
29109         * string/test-strcpy-ifunc.c: Likewise.
29110         * string/test-strcspn-ifunc.c: Likewise.
29111         * string/test-strlen-ifunc.c: Likewise.
29112         * string/test-strncasecmp-ifunc.c: Likewise.
29113         * string/test-strncat-ifunc.c: Likewise.
29114         * string/test-strncmp-ifunc.c: Likewise.
29115         * string/test-strncpy-ifunc.c: Likewise.
29116         * string/test-strnlen-ifunc.c: Likewise.
29117         * string/test-strpbrk-ifunc.c: Likewise.
29118         * string/test-strrchr-ifunc.c: Likewise.
29119         * string/test-strspn-ifunc.c: Likewise.
29120         * string/test-strstr-ifunc.c: Likewise.
29122 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29124         * benchtests/Makefile: Remove ifunc tests.
29125         * benchtests/bench-string.h: Define TEST_IFUNC.
29126         * benchtests/bench-bcopy-ifunc.c: Remove.
29127         * benchtests/bench-bzero-ifunc.c: Likewise.
29128         * benchtests/bench-memccpy-ifunc.c: Likewise.
29129         * benchtests/bench-memchr-ifunc.c: Likewise.
29130         * benchtests/bench-memcmp-ifunc.c: Likewise.
29131         * benchtests/bench-memcpy-ifunc.c: Likewise.
29132         * benchtests/bench-memmem-ifunc.c: Likewise.
29133         * benchtests/bench-memmove-ifunc.c: Likewise.
29134         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29135         * benchtests/bench-memrchr-ifunc.c: Likewise.
29136         * benchtests/bench-memset-ifunc.c: Likewise.
29137         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29138         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29139         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29140         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29141         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29142         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29143         * benchtests/bench-strcat-ifunc.c: Likewise.
29144         * benchtests/bench-strchr-ifunc.c: Likewise.
29145         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29146         * benchtests/bench-strcmp-ifunc.c: Likewise.
29147         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29148         * benchtests/bench-strcpy-ifunc.c: Likewise.
29149         * benchtests/bench-strcspn-ifunc.c: Likewise.
29150         * benchtests/bench-strlen-ifunc.c: Likewise.
29151         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29152         * benchtests/bench-strncat-ifunc.c: Likewise.
29153         * benchtests/bench-strncmp-ifunc.c: Likewise.
29154         * benchtests/bench-strncpy-ifunc.c: Likewise.
29155         * benchtests/bench-strnlen-ifunc.c: Likewise.
29156         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29157         * benchtests/bench-strrchr-ifunc.c: Likewise.
29158         * benchtests/bench-strsep-ifunc.c: Likewise.
29159         * benchtests/bench-strspn-ifunc.c: Likewise.
29160         * benchtests/bench-strstr-ifunc.c: Likewise.
29162 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29164         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29166 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29168         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29169         * rt/aio.h: Likewise.
29170         * sysdeps/gnu/bits/utmp.h: Likewise.
29171         * sysdeps/gnu/bits/utmpx.h: Likewise.
29172         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29173         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29174         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29175         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29176         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29177         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29178         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29179         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29180         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29181         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29182         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29183         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29184         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29186         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29187         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29188         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29189         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29190         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29191         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29192         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29193         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29194         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29195         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29196         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29198         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29199         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29200         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29201         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29202         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29203         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29204         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29205         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29206         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29207         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29208         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29209         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29210         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29211         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29212         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29213         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29215 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29217         [BZ #16245]
29218         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29219         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29221 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29223         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29224         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29225         Likewise.
29227 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29229         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29230         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29231         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29232         (__fesetround): Remove define.
29233         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29234         rounding and exceptions handling.
29235         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29236         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29237         (__fe_nomask_env): Likewise.
29238         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29239         __fegetround instead of fegetround.
29240         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29241         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29243 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29245         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29246         it's there.
29248         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29250 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29252         [BZ #11157]
29253         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29254         (encrypt_r): Likewise.
29255         * malloc/obstack.h (obstack_free): Likewise.
29256         * posix/unistd.h (encrypt): Likewise.
29258 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29260         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29261         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29262         DL_CALL_DT_FINI() that call the functions directly.
29263         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29264         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29265         * elf/dl-fini.c: Likewise.
29267 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29269         * malloc/hooks.c (memalign_check): Add alignment rounding.
29270         * malloc/malloc.c (_mid_memalign): New function.
29271         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29272         Implement by calling _mid_memalign.
29273         * manual/probes.texi (Memory Allocation Probes): Remove
29274         memory_valloc_retry and memory_pvalloc_retry.
29276 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29278         * locale/programs/locarchive.c (open_archive): Add const
29279         qualifier to ARCHIVEFNAME and copy default fname to
29280         DEFAULT_FNAME.
29282         [BZ #15601]
29283         * libio/tst-widetext.input: Rename Oriya to Odia.
29284         * locale/iso-639.def: Likewise.
29286         * manual/probes.texi (Mathematical Function Probes): Add
29287         documentation for sin, cos, asin and acos probes.
29288         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29289         (__sin32): Add slowasin probe.
29290         (__cos32): Add slowacos probe.
29291         (__mpsin): Add slowsin probe.
29292         (__mpcos): Add slowcos probe.
29294 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29296         [BZ #15483]
29297         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29298         thread-local __sim_exceptions_thread and global
29299         __sim_exceptions_global.
29300         (__sim_disabled_exceptions): Change to thread-local
29301         __sim_disabled_exceptions_thread and global
29302         __sim_disabled_exceptions_global.
29303         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29304         and global __sim_round_mode_global.
29305         (__simulate_exceptions): Use thread-local floating-point state and
29306         set global state from it as needed.
29307         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29308         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29309         __sim_round_mode_thread.
29310         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29311         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29312         and global __sim_exceptions_global.
29313         (__sim_disabled_exceptions): Change to thread-local
29314         __sim_disabled_exceptions_thread and global
29315         __sim_disabled_exceptions_global.
29316         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29317         and global __sim_round_mode_global.
29318         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29319         (SIM_SET_GLOBAL): Likewise.
29320         * sysdeps/powerpc/soft-fp/sfp-machine.h
29321         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29322         __sim_round_mode_thread.
29323         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29324         __sim_disabled_exceptions_thread.
29325         (__sim_exceptions): Change to __sim_exceptions_thread.
29326         (__sim_disabled_exceptions): Change to
29327         __sim_disabled_exceptions_thread.
29328         (__sim_round_mode): Change to __sim_round_mode_thread.
29329         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29330         thread-local floating-point state and set global state from it as
29331         needed.
29332         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29333         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29334         (__sim_disabled_exceptions): Remove extern declaration.
29335         (feenableexcept): Use thread-local floating-point state and set
29336         global state from it as needed.
29337         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29338         extern declaration.
29339         (__sim_disabled_exceptions): Likewise.
29340         (__sim_round_mode): Likewise.
29341         (__fegetenv): Use thread-local floating-point state.
29342         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29343         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29344         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29345         floating-point state and set global state from it as needed.
29346         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29347         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29348         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29349         Likewise.
29350         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29351         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29352         Likewise.
29353         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29354         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29355         Use __sim_round_mode_thread.
29356         * math/test-fenv-tls.c: New file.
29357         * math/Makefile (tests): Add test-fenv-tls.
29358         ($(objpfx)test-fenv-tls): Depend on
29359         $(common-objpfx)nptl/libpthread.so.
29361 2013-11-19  Andreas Schwab  <schwab@suse.de>
29363         * locale/programs/locale.c (show_info): Decode wordarray elements.
29364         * locale/categories.def (LC_MONETARY): Add element for
29365         _NL_MONETARY_CRNCYSTR.
29366         * locale/C-monetary.c (conversion_rate): New variable.
29367         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29368         element.
29370 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29372         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29373         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29375 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29377         * elf/Makefile (tst-auxv): New test.
29378         * elf/tst-auxv.c: New
29379         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29381 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29383         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29384         (hidden_proto): Caller changed.
29385         (hidden_tls_proto): New macro.
29386         (libc_hidden_tls_proto): Likewise.
29387         (rtld_hidden_tls_proto): Likewise.
29388         (libm_hidden_tls_proto): Likewise.
29389         (libresolv_hidden_tls_proto): Likewise.
29390         (librt_hidden_tls_proto): Likewise.
29391         (libdl_hidden_tls_proto): Likewise.
29392         (libnss_files_hidden_tls_proto): Likewise.
29393         (libnsl_hidden_tls_proto): Likewise.
29394         (libnss_nisplus_hidden_tls_proto): Likewise.
29395         (libutil_hidden_tls_proto): Likewise.
29397 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29399         [BZ #10253]
29400         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29401         (decompose_rpath): Defer expansion to fillin_rpath.
29402         (_dl_init_paths): Pass linkmap to fillin_rpath.
29404 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29406         * benchtests/Makefile: Add strsep.
29407         * benchtests/bench-strsep.c: New file: strsep benchtest.
29408         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29410 2013-11-18  Andreas Schwab  <schwab@suse.de>
29412         * locale/programs/locale.c (show_info) [case byte]: Check for
29413         '\377' instead of '\177'.
29414         * locale/C-monetary.c (not_available): Always use "\377".
29415         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29416         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29417         detect unavailable sign_posn locale elements.
29418         * locale/localeconv.c (__localeconv): For grouping and
29419         mon_grouping handle "\177" and "\377" like no grouping.
29420         (INT_ELEM): New macro.  Use it to set all numeric members.
29421         * locale/programs/ld-monetary.c (monetary_read)
29422         <tok_mon_grouping>: Normalize single -1 to the empty string.
29423         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29424         Likewise.
29426 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29428         [BZ #16055]
29429         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29430         when we match (nil).
29431         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29433 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29435         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29436         (NO_TEST_INLINE): Update value.
29437         (ERRNO_UNCHANGED): Likewise.
29438         (ERRNO_EDOM): Likewise.
29439         (ERRNO_ERANGE): Likewise.
29440         (IGNORE_RESULT): Likewise.
29441         (check_float_internal): Check signs of NaN results if
29442         TEST_NAN_SIGN used.
29443         (check_complex): Pass TEST_NAN_SIGN flag through to second
29444         check_float_internal call.
29445         (copysign_test_data): Add tests with quiet NaNs as second
29446         argument.  Use TEST_NAN_SIGN.
29447         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29448         TEST_NAN_SIGN.
29449         (signbit_test_data): Add tests of quiet NaN argument.
29450         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29452         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29453         $ignore_result.
29454         (parse_args): Handle function results specified as IGNORE.
29455         * math/libm-test.inc (IGNORE_RESULT): New macro.
29456         (check_float_internal): Do not check numerical result if flag
29457         IGNORE_RESULT set.
29458         (check_complex): Pass through IGNORE_RESULT to second
29459         check_float_internal call.
29460         (check_int): Do not check numerical result if flag IGNORE_RESULT
29461         set.
29462         (check_long): Likewise.
29463         (check_bool): Likewise.
29464         (check_longlong): Likewise.
29465         (lrint_test_data): Add tests of infinite and NaN arguments.
29466         (lrint_tonearest_test_data): Likewise.
29467         (lrint_towardzero_test_data): Likewise.
29468         (lrint_downward_test_data): Likewise.
29469         (lrint_upward_test_data): Likewise.
29470         (llrint_test_data): Likewise.
29471         (llrint_tonearest_test_data): Likewise.
29472         (llrint_towardzero_test_data): Likewise.
29473         (llrint_downward_test_data): Likewise.
29474         (llrint_upward_test_data): Likewise.
29475         (lround_test_data): Likewise.
29476         (llround_test_data): Likewise.
29478         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29479         (ERRNO_UNCHANGED): Update value.
29480         (ERRNO_EDOM): Likewise.
29481         (ERRNO_ERANGE): Likewise.
29482         (NO_TEST_INLINE_FLOAT): New macro.
29483         (NO_TEST_INLINE_DOUBLE): Likewise.
29484         (enable_test): New function.
29485         (RUN_TEST_f_f): Check enable_test before running test.
29486         (RUN_TEST_2_f): Likewise.
29487         (RUN_TEST_fff_f): Likewise.
29488         (RUN_TEST_c_f): Likewise.
29489         (RUN_TEST_f_f1): Likewise.
29490         (RUN_TEST_fF_f1): Likewise.
29491         (RUN_TEST_fI_f1): Likewise.
29492         (RUN_TEST_ffI_f1): Likewise.
29493         (RUN_TEST_c_c): Likewise.
29494         (RUN_TEST_cc_c): Likewise.
29495         (RUN_TEST_f_i): Likewise.
29496         (RUN_TEST_f_i_tg): Likewise.
29497         (RUN_TEST_ff_i_tg): Likewise.
29498         (RUN_TEST_f_b): Likewise.
29499         (RUN_TEST_f_b_tg): Likewise.
29500         (RUN_TEST_f_l): Likewise.
29501         (RUN_TEST_f_L): Likewise.
29502         (RUN_TEST_fFF_11): Likewise.
29503         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29504         conditionals.
29505         (cosh_test_data): Likewise.
29506         (exp_test_data): Likewise.
29507         (expm1_test_data): Likewise.
29508         (hypot_test_data): Likewise.
29509         (pow_test_data): Likewise.
29510         (sinh_test_data): Likewise.
29511         (tanh_test_data): Likewise.
29512         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29513         flags argument.
29515         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29516         tests with quiet NaN input and output.
29517         (acosh_test_data): Likewise.
29518         (asin_test_data): Likewise.
29519         (asinh_test_data): Likewise.
29520         (atan_test_data): Likewise.
29521         (atanh_test_data): Likewise.
29522         (atan2_test_data): Likewise.
29523         (cbrt_test_data): Likewise.
29524         (cos_test_data): Likewise.
29525         (cosh_test_data): Likewise.
29526         (erf_test_data): Likewise.
29527         (erfc_test_data): Likewise.
29528         (exp_test_data): Likewise.
29529         (exp10_test_data): Likewise.
29530         (exp2_test_data): Likewise.
29531         (expm1_test_data): Likewise.
29532         (hypot_test_data): Likewise.
29533         (j0_test_data): Likewise.
29534         (j1_test_data): Likewise.
29535         (jn_test_data): Likewise.
29536         (lgamma_test_data): Likewise.
29537         (log_test_data): Likewise.
29538         (log10_test_data): Likewise.
29539         (log1p_test_data): Likewise.
29540         (log2_test_data): Likewise.
29541         (pow_test_data): Likewise.
29542         (scalb_test_data): Likewise.
29543         (sin_test_data): Likewise.
29544         (sincos_test_data): Likewise.
29545         (sinh_test_data): Likewise.
29546         (tan_test_data): Likewise.
29547         (tanh_test_data): Likewise.
29548         (tgamma_test_data): Likewise.
29549         (y0_test_data): Likewise.
29550         (y1_test_data): Likewise.
29551         (yn_test_data): Likewise.
29553         [BZ #16167]
29554         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29555         argument being NaN and avoid computations with second argument in
29556         that case.
29557         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29558         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29559         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29561 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29563         * locale/iso-639.def: Add Chitwani Tharu (the).
29565 2013-11-14  Andreas Schwab  <schwab@suse.de>
29567         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29568         word instead of empty string.
29570 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29573         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29575         (__fe_nomask_env): Likewise.
29577 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29579         * benchtests/bench-timing.h: Include time.h.
29581 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29583         [BZ #15997]
29584         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29585         to 3.4.0 for x32.
29586         * sysdeps/unix/sysv/linux/configure: Regenerated.
29588 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29590         [BZ #16151]
29591         * stdlib/strtod_l.c (round_and_return): Do not consider
29592         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29593         exponent one less than half the least subnormal exponent.
29594         * stdlib/test-strtod-round-data: Add more tests.
29595         * stdlib/tst-strtod-round.c (tests): Regenerated.
29597 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29599         [BZ #14143]
29600         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29601         (__fe_mask_env): Likewise.
29602         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29603         libm_hidden_proto and add function prototype.
29604         (__fe_mask_env): Add function prototype.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29606         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29608         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29610         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29612 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29614         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29615         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29617 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29619         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29620         of htab_find_slot().
29622 2013-11-11  David S. Miller  <davem@davemloft.net>
29624         [BZ #16150]
29625         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29626         symbol in the non-vis3 case in static builds.
29627         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29628         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29629         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29630         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29632 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29634         [BZ #387]
29635         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29636         it is empty.
29638 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29640         * benchtests/Makefile: Add bench-strtod.
29641         * benchtests/bench-strtod.c: New file: strtod benchtest
29643 2013-11-11  Andreas Schwab  <schwab@suse.de>
29645         [BZ #16153]
29646         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29647         terminating NUL in key length.
29649 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29651         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29652         Add artificial ODP entry for vDSO symbol for PPC64.
29653         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29654         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29656 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29658         [BZ #15374]
29659         * nss/getent.c (services_keys): Recognize services starting with digit.
29661 2013-11-06  David S. Miller  <davem@davemloft.net>
29663         [BZ #15985]
29664         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29665         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29667 2013-11-06  Will Newton  <will.newton@linaro.org>
29669         * manual/memory.texi (Malloc Examples): Remove register
29670         keyword from examples.
29672 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29674         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29676 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29678         [BZ #6981]
29679         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29680         depending on [__GCC_IEC_559 > 0].
29681         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29682         depending on [__GCC_IEC_559_COMPLEX > 0].
29684 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29686         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29687         to iso-639.def.
29689 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29691         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29693 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29695         [BZ #16112]
29696         * malloc/malloc (malloc_info): Do not handle first bin as
29697         special case.
29699 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29701         * locale/iso-639.def: Add Central Nahuatl (nhn).
29703 2013-11-01  Bruno Haible  <bruno@clisp.org>
29705         [BZ #7003]
29706         * manual/math.texi (BSD Random): Specify range upper bound as
29707         in POSIX.
29709 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29711         * locale/iso-639.def: Add Meadow Mari (mhr).
29713 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29715         [BZ #14752], [BZ #15763]
29716         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29717         Validate name.
29718         * rt/tst_shm.c: Add test for escaping directory.
29720 2013-10-31  Andreas Schwab  <schwab@suse.de>
29722         [BZ #15917]
29723         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29724         followed by 'x' as part of digit sequence.
29725         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29727 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29729         [BZ #16037]
29730         * configure.ac: allow GNU Make 4.0 and greater.
29731         * configure: Regenerated.
29733 2013-10-30  Will Newton  <will.newton@linaro.org>
29735         [BZ #16038]
29736         * malloc/hooks.c (memalign_check): Limit alignment to the
29737         maximum representable power of two.
29738         * malloc/malloc.c (__libc_memalign): Likewise.
29739         * malloc/tst-memalign.c (do_test): Add test for very
29740         large alignment values.
29741         * malloc/tst-posix_memalign.c (do_test): Likewise.
29743 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29745         [BZ #11087]
29746         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29747         (munmap_chunk): Likewise.
29748         (mremap_chunk): Likewise.
29750 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29752         [BZ #15799]
29753         * stdlib/div.c (div): Remove obsolete code.
29754         * stdlib/ldiv.c (ldiv): Likewise.
29755         * stdlib/lldiv.c (lldiv): Likewise.
29757 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29759         [BZ #16071]
29760         * nss/nss_files/files-XXX.c (get_contents_ret): New
29761         enumerator.
29762         (get_contents): New function.
29763         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29765 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29767         * configure.in: Moved to ...
29768         * configure.ac: ... here. Change reference to configure.in
29769         to configure.ac.
29770         * sysdeps/arm/preconfigure.ac: ... here.
29771         configure.in to configure.ac.
29772         * sysdeps/gnu/configure.in: Moved to ...
29773         * sysdeps/gnu/configure.ac: ... here.
29774         * sysdeps/i386/configure.in: Moved to ...
29775         * sysdeps/i386/configure.ac: ... here.
29776         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29777         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29778         * sysdeps/mach/configure.in: Moved to ...
29779         * sysdeps/mach/configure.ac: ... here.
29780         * sysdeps/mach/hurd/configure.in: Moved to ...
29781         * sysdeps/mach/hurd/configure.ac: ... here.
29782         * sysdeps/powerpc/configure.in: Moved to ...
29783         * sysdeps/powerpc/configure.ac: ... here.
29784         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29785         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29786         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29787         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29788         * sysdeps/s390/s390-32/configure.in: Moved to ...
29789         * sysdeps/s390/s390-32/configure.ac: ... here.
29790         * sysdeps/s390/s390-64/configure.in: Moved to ...
29791         * sysdeps/s390/s390-64/configure.ac: ... here.
29792         * sysdeps/sh/configure.in: Moved to ...
29793         * sysdeps/sh/configure.ac: ... here.
29794         * sysdeps/sparc/configure.in: Moved to ...
29795         * sysdeps/sparc/configure.ac: ... here.
29796         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29797         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29798         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29799         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29800         * sysdeps/x86_64/configure.in: Moved to ...
29801         * sysdeps/x86_64/configure.ac: ... here.
29802         * sysdeps/x86_64/preconfigure.in: Moved to ...
29803         * sysdeps/x86_64/preconfigure.ac: ... here.
29804         * aclocal.m4: Change reference to configure.in to configure.ac.
29805         * config.h.in: Likewise.
29806         * manual/install.texi: Likewise.
29807         * manual/maint.texi: Likewise.
29808         * Makefile: Likewise.
29809         * malloc/Makefile: Likewise.
29810         * nscd/Makefile: Likewise.
29811         * Makeconfig: Change reference to configure.in and
29812         preconfigure.in to configure.ac and preconfigure.ac
29813         respectively.
29814         * INSTALL: Regenerated.
29815         * configure: Likewise.
29816         * sysdeps/gnu/configure: Likewise.
29817         * sysdeps/i386/configure: Likewise.
29818         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29819         * sysdeps/mach/configure: Likewise.
29820         * sysdeps/mach/hurd/configure: Likewise.
29821         * sysdeps/powerpc/configure: Likewise.
29822         * sysdeps/powerpc/powerpc32/configure: Likewise.
29823         * sysdeps/powerpc/powerpc64/configure: Likewise.
29824         * sysdeps/s390/s390-32/configure: Likewise.
29825         * sysdeps/s390/s390-64/configure: Likewise.
29826         * sysdeps/sh/configure: Likewise.
29827         * sysdeps/sparc/configure: Likewise.
29828         * sysdeps/unix/sysv/linux/configure: Likewise.
29829         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29830         * sysdeps/x86_64/configure: Likewise.
29831         * sysdeps/x86_64/preconfigure: Likewise.
29833 2013-10-29  Andreas Schwab  <schwab@suse.de>
29835         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29837 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29839         * benchtests/pow-inputs: Add new inputs.
29841         * benchtests/exp-inputs: Add new inputs.
29843         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29844         conditional check for return value.
29845         (__cos32): Likewise.
29847 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29849         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29850         to provide a boost for large inputs with word alignment.
29851         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29852         implementation based on optimized PPC64 strcpy.
29853         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29854         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29855         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29856         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29858 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29860         [BZ #2801]
29861         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29863 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29865         [BZ #14876]
29866         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29867         * time/tst-strptime.c (day_tests): Add testcase.
29869 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29871         [BZ #14029]
29872         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29874 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29876         [BZ #16074]
29877         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29878         MAP_FAILED on error.
29880 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29882         [BZ #16072]
29883         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29884         heap for large requests.
29886 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29888         [BZ #9954]
29889         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29890         result if the result has no associated interface.
29891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29892         interface for all 127.X.Y.Z addresses.
29894 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29896         * locale/iso-639.def: Add Ligurian (lij)
29898 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29900         [BZ #15825]
29901         * sunrpc/rpc_main.c: Document rpcgen -5.
29903 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29905         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29907 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29909         [BZ #10278]
29910         * posix/glob.c: Match only directories when trailing slash is present.
29911         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29912         (main): Add testcase.
29914 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29916         [BZ #15670]
29917         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29919 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29921         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29922         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29923         AUTH_DES and cindex for FIPS 140-2.
29924         (DES Encryption): Add cindex FIPS 46-3.
29926         * locale/locarchive.h (struct locarhandle): Add fname.
29927         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29928         if an optional argument was specified to --list-archive,
29929         otherwise NULL.
29930         * locale/programs/locarchive.c (show_archive_content): Take new
29931         argument fname and pass it via ah.fname to open_archive.
29932         * locale/programs/localedef.h: Update decl.
29933         (open_archive): If AH->fname is non-null, open that file
29934         rather than the default file name, and don't ignore ENOENT.
29935         (create_archive): Set AH.fname to NULL.
29936         (delete_locales_from_archive): Likewise.
29937         (add_locales_to_archive): Likewise.
29938         * locale/programs/locfile.c (write_all_categories): Likewise.
29940 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29941             Aldy Hernandez  <aldyh@redhat.com>
29943         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29944         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29945         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29946         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29947         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29949         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29950         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29951         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29952         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29953         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29954         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29955         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29956         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29957         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29958         Likewise.
29959         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29960         Likewise.
29961         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29962         Likewise.
29963         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29964         Likewise.
29965         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29966         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29967         Likewise.
29968         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29969         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29970         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29971         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29972         Likewise.
29973         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29974         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29975         * sysdeps/powerpc/preconfigure: Likewise.
29976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29977         Likewise.
29978         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29979         Replace contents of file by #include of <fenv_libc.h>.
29980         * sysdeps/powerpc/soft-fp/sfp-machine.h
29981         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29982         and <sys/prctl.h>.
29983         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29991         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29994         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29996         Allow copysignl PLT reference to be missing.
29998 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29999             Joseph Myers  <joseph@codesourcery.com
30001         [BZ #15948]
30002         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30003         single character.
30004         (add_to_tablewc): Assert sequence of wide characters is nonempty.
30006 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30008         * elf/tst-tls-dlinfo.c: Don't include tls.h.
30009         * elf/tst-tls1.c: Likewise.
30010         * elf/tst-tls10.h: Likewise.
30011         * elf/tst-tls14.c: Likewise.
30012         * elf/tst-tls2.c: Likewise.
30013         * elf/tst-tls3.c: Likewise.
30014         * elf/tst-tls4.c: Likewise.
30015         * elf/tst-tls5.c: Likewise.
30016         * elf/tst-tls6.c: Likewise.
30017         * elf/tst-tls7.c: Likewise.
30018         * elf/tst-tls8.c: Likewise.
30019         * elf/tst-tls9.c: Likewise.
30020         * elf/tst-tlsmod1.c: Likewise.
30021         * elf/tst-tlsmod13.c: Likewise.
30022         * elf/tst-tlsmod13a.c: Likewise.
30023         * elf/tst-tlsmod14a.c: Likewise.
30024         * elf/tst-tlsmod16a.c: Likewise.
30025         * elf/tst-tlsmod16b.c: Likewise.
30026         * elf/tst-tlsmod2.c: Likewise.
30027         * elf/tst-tlsmod3.c: Likewise.
30028         * elf/tst-tlsmod4.c: Likewise.
30029         * elf/tst-tlsmod5.c: Likewise.
30030         * elf/tst-tlsmod6.c: Likewise.
30032 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
30034         [BZ #12486]
30035         * malloc/malloc.c: remove checks for statistics.
30037 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30039         [BZ #15277]
30040         * inet/inet_net.c (inet_network): Detect additional invalid strings.
30041         * inet/tst-network.c: Add testcase.
30043 2013-10-17  Andreas Schwab  <schwab@suse.de>
30045         [BZ #15218]
30046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30047         to determine canonical name.
30049 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30051         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30052         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30053         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30054         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30055         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30056         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30057         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30058         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30059         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30060         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30061         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30062         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30063         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30064         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30065         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30066         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30068         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30069         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30070         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30071         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30074         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30075         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30076         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30077         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30078         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30079         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30080         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30081         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30082         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30083         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30084         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30085         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30086         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30087         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30088         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30089         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30090         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30091         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30092         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30093         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30094         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30095         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30096         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30097         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30098         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30099         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30100         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30101         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30102         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30103         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30104         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30105         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30106         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30107         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30108         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30110 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30112         [BZ #16041]
30113         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30114         make result into a quiet NaN.
30116 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30118         * soft-fp/adddf3.c: Fix horizontal whitespace.
30119         * soft-fp/addsf3.c: Likewise.
30120         * soft-fp/addtf3.c: Likewise.
30121         * soft-fp/divdf3.c: Likewise.
30122         * soft-fp/divsf3.c: Likewise.
30123         * soft-fp/divtf3.c: Likewise.
30124         * soft-fp/double.h: Likewise.
30125         * soft-fp/eqdf2.c: Likewise.
30126         * soft-fp/eqsf2.c: Likewise.
30127         * soft-fp/eqtf2.c: Likewise.
30128         * soft-fp/extenddftf2.c: Likewise.
30129         * soft-fp/extended.h: Likewise.
30130         * soft-fp/extendsfdf2.c: Likewise.
30131         * soft-fp/extendsftf2.c: Likewise.
30132         * soft-fp/extendxftf2.c: Likewise.
30133         * soft-fp/fixdfdi.c: Likewise.
30134         * soft-fp/fixdfsi.c: Likewise.
30135         * soft-fp/fixdfti.c: Likewise.
30136         * soft-fp/fixsfdi.c: Likewise.
30137         * soft-fp/fixsfsi.c: Likewise.
30138         * soft-fp/fixsfti.c: Likewise.
30139         * soft-fp/fixtfdi.c: Likewise.
30140         * soft-fp/fixtfsi.c: Likewise.
30141         * soft-fp/fixtfti.c: Likewise.
30142         * soft-fp/fixunsdfdi.c: Likewise.
30143         * soft-fp/fixunsdfsi.c: Likewise.
30144         * soft-fp/fixunsdfti.c: Likewise.
30145         * soft-fp/fixunssfdi.c: Likewise.
30146         * soft-fp/fixunssfsi.c: Likewise.
30147         * soft-fp/fixunssfti.c: Likewise.
30148         * soft-fp/fixunstfdi.c: Likewise.
30149         * soft-fp/fixunstfsi.c: Likewise.
30150         * soft-fp/fixunstfti.c: Likewise.
30151         * soft-fp/floatdidf.c: Likewise.
30152         * soft-fp/floatdisf.c: Likewise.
30153         * soft-fp/floatditf.c: Likewise.
30154         * soft-fp/floatsidf.c: Likewise.
30155         * soft-fp/floatsisf.c: Likewise.
30156         * soft-fp/floatsitf.c: Likewise.
30157         * soft-fp/floattidf.c: Likewise.
30158         * soft-fp/floattisf.c: Likewise.
30159         * soft-fp/floattitf.c: Likewise.
30160         * soft-fp/floatundidf.c: Likewise.
30161         * soft-fp/floatundisf.c: Likewise.
30162         * soft-fp/floatunditf.c: Likewise.
30163         * soft-fp/floatunsidf.c: Likewise.
30164         * soft-fp/floatunsisf.c: Likewise.
30165         * soft-fp/floatunsitf.c: Likewise.
30166         * soft-fp/floatuntidf.c: Likewise.
30167         * soft-fp/floatuntisf.c: Likewise.
30168         * soft-fp/floatuntitf.c: Likewise.
30169         * soft-fp/fmadf4.c: Likewise.
30170         * soft-fp/fmasf4.c: Likewise.
30171         * soft-fp/fmatf4.c: Likewise.
30172         * soft-fp/gedf2.c: Likewise.
30173         * soft-fp/gesf2.c: Likewise.
30174         * soft-fp/getf2.c: Likewise.
30175         * soft-fp/ledf2.c: Likewise.
30176         * soft-fp/lesf2.c: Likewise.
30177         * soft-fp/letf2.c: Likewise.
30178         * soft-fp/muldf3.c: Likewise.
30179         * soft-fp/mulsf3.c: Likewise.
30180         * soft-fp/multf3.c: Likewise.
30181         * soft-fp/negdf2.c: Likewise.
30182         * soft-fp/negsf2.c: Likewise.
30183         * soft-fp/negtf2.c: Likewise.
30184         * soft-fp/op-1.h: Likewise.
30185         * soft-fp/op-2.h: Likewise.
30186         * soft-fp/op-4.h: Likewise.
30187         * soft-fp/op-8.h: Likewise.
30188         * soft-fp/op-common.h: Likewise.
30189         * soft-fp/quad.h: Likewise.
30190         * soft-fp/single.h: Likewise.
30191         * soft-fp/soft-fp.h: Likewise.
30192         * soft-fp/sqrtdf2.c: Likewise.
30193         * soft-fp/sqrtsf2.c: Likewise.
30194         * soft-fp/sqrttf2.c: Likewise.
30195         * soft-fp/subdf3.c: Likewise.
30196         * soft-fp/subsf3.c: Likewise.
30197         * soft-fp/subtf3.c: Likewise.
30198         * soft-fp/truncdfsf2.c: Likewise.
30199         * soft-fp/trunctfdf2.c: Likewise.
30200         * soft-fp/trunctfsf2.c: Likewise.
30201         * soft-fp/trunctfxf2.c: Likewise.
30202         * soft-fp/unorddf2.c: Likewise.
30203         * soft-fp/unordsf2.c: Likewise.
30204         * soft-fp/unordtf2.c: Likewise.
30206 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30208         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30209         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30211 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30213         * elf/dl-libc.c: Clear initfini list after freeing.
30215 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30217         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30218         * soft-fp/addsf3.c: Likewise.
30219         * soft-fp/addtf3.c: Likewise.
30220         * soft-fp/divdf3.c: Likewise.
30221         * soft-fp/divsf3.c: Likewise.
30222         * soft-fp/divtf3.c: Likewise.
30223         * soft-fp/double.h: Likewise.
30224         * soft-fp/eqdf2.c: Likewise.
30225         * soft-fp/eqsf2.c: Likewise.
30226         * soft-fp/eqtf2.c: Likewise.
30227         * soft-fp/extenddftf2.c: Likewise.
30228         * soft-fp/extended.h: Likewise.
30229         * soft-fp/extendsfdf2.c: Likewise.
30230         * soft-fp/extendsftf2.c: Likewise.
30231         * soft-fp/extendxftf2.c: Likewise.
30232         * soft-fp/fixdfdi.c: Likewise.
30233         * soft-fp/fixdfsi.c: Likewise.
30234         * soft-fp/fixdfti.c: Likewise.
30235         * soft-fp/fixsfdi.c: Likewise.
30236         * soft-fp/fixsfsi.c: Likewise.
30237         * soft-fp/fixsfti.c: Likewise.
30238         * soft-fp/fixtfdi.c: Likewise.
30239         * soft-fp/fixtfsi.c: Likewise.
30240         * soft-fp/fixtfti.c: Likewise.
30241         * soft-fp/fixunsdfdi.c: Likewise.
30242         * soft-fp/fixunsdfsi.c: Likewise.
30243         * soft-fp/fixunsdfti.c: Likewise.
30244         * soft-fp/fixunssfdi.c: Likewise.
30245         * soft-fp/fixunssfsi.c: Likewise.
30246         * soft-fp/fixunssfti.c: Likewise.
30247         * soft-fp/fixunstfdi.c: Likewise.
30248         * soft-fp/fixunstfsi.c: Likewise.
30249         * soft-fp/fixunstfti.c: Likewise.
30250         * soft-fp/floatdidf.c: Likewise.
30251         * soft-fp/floatdisf.c: Likewise.
30252         * soft-fp/floatditf.c: Likewise.
30253         * soft-fp/floatsidf.c: Likewise.
30254         * soft-fp/floatsisf.c: Likewise.
30255         * soft-fp/floatsitf.c: Likewise.
30256         * soft-fp/floattidf.c: Likewise.
30257         * soft-fp/floattisf.c: Likewise.
30258         * soft-fp/floattitf.c: Likewise.
30259         * soft-fp/floatundidf.c: Likewise.
30260         * soft-fp/floatundisf.c: Likewise.
30261         * soft-fp/floatunsidf.c: Likewise.
30262         * soft-fp/floatunsisf.c: Likewise.
30263         * soft-fp/floatuntidf.c: Likewise.
30264         * soft-fp/floatuntisf.c: Likewise.
30265         * soft-fp/floatuntitf.c: Likewise.
30266         * soft-fp/fmadf4.c: Likewise.
30267         * soft-fp/fmasf4.c: Likewise.
30268         * soft-fp/fmatf4.c: Likewise.
30269         * soft-fp/gedf2.c: Likewise.
30270         * soft-fp/gesf2.c: Likewise.
30271         * soft-fp/getf2.c: Likewise.
30272         * soft-fp/ledf2.c: Likewise.
30273         * soft-fp/lesf2.c: Likewise.
30274         * soft-fp/letf2.c: Likewise.
30275         * soft-fp/muldf3.c: Likewise.
30276         * soft-fp/mulsf3.c: Likewise.
30277         * soft-fp/multf3.c: Likewise.
30278         * soft-fp/negdf2.c: Likewise.
30279         * soft-fp/negsf2.c: Likewise.
30280         * soft-fp/negtf2.c: Likewise.
30281         * soft-fp/op-1.h: Likewise.
30282         * soft-fp/op-2.h: Likewise.
30283         * soft-fp/op-4.h: Likewise.
30284         * soft-fp/op-8.h: Likewise.
30285         * soft-fp/op-common.h: Likewise.
30286         * soft-fp/quad.h: Likewise.
30287         * soft-fp/single.h: Likewise.
30288         * soft-fp/soft-fp.h: Likewise.
30289         * soft-fp/sqrtdf2.c: Likewise.
30290         * soft-fp/sqrtsf2.c: Likewise.
30291         * soft-fp/sqrttf2.c: Likewise.
30292         * soft-fp/subdf3.c: Likewise.
30293         * soft-fp/subsf3.c: Likewise.
30294         * soft-fp/subtf3.c: Likewise.
30295         * soft-fp/truncdfsf2.c: Likewise.
30296         * soft-fp/trunctfdf2.c: Likewise.
30297         * soft-fp/trunctfsf2.c: Likewise.
30298         * soft-fp/trunctfxf2.c: Likewise.
30299         * soft-fp/unorddf2.c: Likewise.
30300         * soft-fp/unordsf2.c: Likewise.
30301         * soft-fp/unordtf2.c: Likewise.
30303 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30305         [BZ #15672]
30306         * misc/error.c (error_tail): Fix possible buffer overflow.
30308 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30310         [BZ #13028]
30311         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30312         address.
30314 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30316         [BZ #832]
30317         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30318         testing pipefail option.
30320 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30322         * soft-fp/double.h: Indent preprocessor directives inside #if.
30323         * soft-fp/extended.h: Likewise.
30324         * soft-fp/op-2.h: Likewise.
30325         * soft-fp/op-4.h: Likewise.
30326         * soft-fp/op-common.h: Likewise.
30327         * soft-fp/quad.h: Likewise.
30328         * soft-fp/single.h: Likewise.
30329         * soft-fp/soft-fp.h: Likewise.
30331 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30333         * iconv/iconv_prog.c: Fix typos.
30334         * stdio-common/psiginfo-data.h: Likewise.
30336 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30338         [BZ #15764]
30339         * locale/setlocale.c: Fix typo.
30341 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30343         [BZ #16036]
30344         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30345         signaling NaN arguments.
30346         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30347         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30349         [BZ #14910]
30350         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30351         unordered operands.
30352         * soft-fp/gesf2.c (__gesf2): Likewise.
30353         * soft-fp/getf2.c (__getf2): Likewise.
30354         * soft-fp/ledf2.c (__ledf2): Likewise.
30355         * soft-fp/lesf2.c (__lesf2): Likewise.
30356         * soft-fp/letf2.c (__letf2): Likewise.
30358         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30359         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30360         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30361         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30362         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30363         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30364         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30365         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30366         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30367         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30368         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30369         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30370         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30371         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30372         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30373         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30374         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30375         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30376         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30377         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30378         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30379         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30380         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30381         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30382         * soft-fp/floattidf.c (__floattidf): Likewise.
30383         * soft-fp/floattisf.c (__floattisf): Likewise.
30384         * soft-fp/floattitf.c (__floattitf): Likewise.
30385         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30386         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30387         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30388         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30389         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30390         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30391         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30392         * soft-fp/gesf2.c (__gesf2): Likewise.
30393         * soft-fp/getf2.c (__getf2): Likewise.
30394         * soft-fp/ledf2.c (__ledf2): Likewise.
30395         * soft-fp/lesf2.c (__lesf2): Likewise.
30396         * soft-fp/letf2.c (__letf2): Likewise.
30398         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30399         Undefine and redefine.
30400         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30401         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30402         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30403         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30404         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30405         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30406         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30407         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30408         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30409         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30410         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30411         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30412         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30413         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30414         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30416         [BZ #16032]
30417         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30418         without decrementing exponent if mantissa >= that for the
30419         denominator, not >.
30420         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30421         denominator, not >.  Decrement exponent in < case instead of
30422         incrementing in >= case.
30423         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30424         without decrementing exponent if mantissa >= that for the
30425         denominator, not >.
30427         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30428         computing saturated result for unsigned overflow.
30430 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30431             Jeff Law  <law@redhat.com>
30433         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30434         (atan2Mp): Add systemtap probe marker.
30435         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30436         (__ieee754_log): Add systemtap probe marker.
30437         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30438         (atanMp): Add systemtap probe marker.
30439         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30440         (tanMp): Add systemtap probe marker.
30441         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30442         (__slowexp): Add systemtap probe marker.
30443         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30444         (__slowpow): Add systemtap probe marker.
30445         * manual/probes.texi: Document probes.
30447 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30449         [BZ #15362]
30450         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30451         written.
30452         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30453         written.
30454         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30455         written to buffer but not flushed.
30456         * libio/iofwrite_u.c:  Likewise.
30457         * libio/iopadn.c:  Return bytes returned even if EOF was
30458         encountered.
30459         * libio/iowpadn.c:  Likewise.
30460         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30461         if _IO_padn does not write the whole buffer.
30462         [!COMPILE_WPRINTF] (PAD): Likewise.
30464 2013-10-10  David S. Miller  <davem@davemloft.net>
30466         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30467         directory block.
30469 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30471         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30472         instead of FSF address.
30473         * soft-fp/fixdfti.c: Likewise.
30474         * soft-fp/fixsfti.c: Likewise.
30475         * soft-fp/fixtfti.c: Likewise.
30476         * soft-fp/fixunsdfti.c: Likewise.
30477         * soft-fp/fixunssfti.c: Likewise.
30478         * soft-fp/fixunstfti.c: Likewise.
30479         * soft-fp/floattidf.c: Likewise.
30480         * soft-fp/floattisf.c: Likewise.
30481         * soft-fp/floattitf.c: Likewise.
30482         * soft-fp/floatuntidf.c: Likewise.
30483         * soft-fp/floatuntisf.c: Likewise.
30484         * soft-fp/floatuntitf.c: Likewise.
30485         * soft-fp/trunctfxf2.c: Likewise.
30487         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30488         * soft-fp/fixdfti.c: Likewise.
30489         * soft-fp/fixsfti.c: Likewise.
30490         * soft-fp/fixtfti.c: Likewise.
30491         * soft-fp/fixunsdfti.c: Likewise.
30492         * soft-fp/fixunssfti.c: Likewise.
30493         * soft-fp/fixunstfti.c: Likewise.
30494         * soft-fp/floattidf.c: Likewise.
30495         * soft-fp/floattisf.c: Likewise.
30496         * soft-fp/floattitf.c: Likewise.
30497         * soft-fp/floatuntidf.c: Likewise.
30498         * soft-fp/floatuntisf.c: Likewise.
30499         * soft-fp/floatuntitf.c: Likewise.
30500         * soft-fp/trunctfxf2.c: Likewise.
30502 2013-10-10  David S. Miller  <davem@davemloft.net>
30504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30506 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30508         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30509         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30510         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30511         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30512         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30513         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30514         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30516         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30517         for NaNs before doing comparisons on argument.
30518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30519         Likewise.
30521 2013-10-10  Will Newton  <will.newton@linaro.org>
30523         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30524         passed to _int_memalign does not overflow.
30526 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30528         * scripts/bench.pl: Add include-sources directive.
30529         * benchtests/README: Update documentation.
30531 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30533         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30534         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30535         instead of FP_INIT_ROUNDMODE.
30536         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30537         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30539         [BZ #16034]
30540         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30541         copy class of input value.
30542         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30543         not handle exceptions.
30544         * soft-fp/negsf2.c (__negsf2): Likewise.
30545         * soft-fp/negtf2.c (__negtf2): Likewise.
30546         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30548 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30550         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30551         semicolon.  From Linux kernel.
30553 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30555         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30557 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30559         [BZ #156]
30560         * manual/socket.texi: Added statement about buffer
30561         for gethostbyname2_r.
30563 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30565         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30566         Use .p2align directive instead, throughout.
30567         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30568         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30569         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30570         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30571         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30572         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30573         * sysdeps/x86_64/strchr.S: Likewise.
30574         * sysdeps/x86_64/strrchr.S: Likewise.
30576 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30578         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30580         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30582         * sysdeps/generic/math_private.h (__mpsin1): Remove
30583         declaration.
30584         (__mpcos1): Likewise.
30585         (__mpsin): New argument __range_reduce.
30586         (__mpcos): Likewise.
30587         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30588         (slow): Use __mpsin and __mpcos.
30589         (slow1): Likewise.
30590         (slow2): Likewise.
30591         (sloww): Likewise.
30592         (sloww1): Likewise.
30593         (sloww2): Likewise.
30594         (bsloww): Likewise.
30595         (bsloww1): Likewise.
30596         (bsloww2): Likewise.
30597         (cslow2): Likewise.
30598         (csloww): Likewise.
30599         (csloww1): Likewise.
30600         (csloww2): Likewise.
30601         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30602         range_reduce.  Merge in __mpsin1.
30603         (__mpcos): Likewise.
30604         (__mpsin1): Remove.
30605         (__mpcos1): Likewise.
30607 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30609         * locale/loadlocale.c (_nl_intern_locale_data): Use
30610         LOCFILE_ALIGNED_P.
30611         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30612         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30613         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30614         obstack data is appropriately aligned.
30615         (obstack_int32_grow_fast): Likewise.
30616         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30617         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30618         (add_locale_uint32_array): Likewise.
30620 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30622         * benchtests/Makefile: Remove ARGLIST and RET variables.
30623         ($(objpfx)bench-%.c): Pass only function name to the script.
30624         * benchtests/README: Update documentation.
30625         * benchtests/acos-inputs: Add new directives.
30626         * benchtests/acosh-inputs: Likewise.
30627         * benchtests/asin-inputs: Likewise.
30628         * benchtests/asinh-inputs: Likewise.
30629         * benchtests/atan-inputs: Likewise.
30630         * benchtests/atanh-inputs: Likewise.
30631         * benchtests/cos-inputs: Likewise.
30632         * benchtests/cosh-inputs: Likewise.
30633         * benchtests/exp-inputs: Likewise.
30634         * benchtests/log-inputs: Likewise.
30635         * benchtests/pow-inputs: Likewise.
30636         * benchtests/rint-inputs: Likewise.
30637         * benchtests/sin-inputs: Likewise.
30638         * benchtests/sinh-inputs: Likewise.
30639         * benchtests/tan-inputs: Likewise.
30640         * benchtests/tanh-inputs: Likewise.
30641         * scripts/bench.pl: Add support for new directives.
30643 2013-10-07  Alan Modra  <amodra@gmail.com>
30645         * README: Fix careless merge.
30647 2013-10-05  Alan Modra  <amodra@gmail.com>
30649         * NEWS: Mention powerpc64le support and bugs fixed.
30650         * README: Both big-endian and little-endian powerpc64 supported.
30652 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30654         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30655         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30656         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30657         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30659 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30661         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30662         match prototype.
30664 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30666         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30667         Move -mhard-float appending from
30668         ports/sysdeps/powerpc/powerpc32/Makefile.
30669         [$(with-fp) = yes] (ASFLAGS): Likewise.
30670         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30671         * sysdeps/powerpc/nofpu: Move directory from
30672         ports/sysdeps/powerpc/nofpu.
30673         * sysdeps/powerpc/soft-fp: Move directory from
30674         ports/sysdeps/powerpc/soft-fp.
30675         * sysdeps/powerpc/powerpc32/405: Move directory from
30676         ports/sysdeps/powerpc/powerpc32/405.
30677         * sysdeps/powerpc/powerpc32/440: Move directory from
30678         ports/sysdeps/powerpc/powerpc32/440.
30679         * sysdeps/powerpc/powerpc32/464: Move directory from
30680         ports/sysdeps/powerpc/powerpc32/464.
30681         * sysdeps/powerpc/powerpc32/476: Move directory from
30682         ports/sysdeps/powerpc/powerpc32/476.
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30684         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30688         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30690         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30692         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30693         * README: Update for powerpc-*-linux-gnu software floating point
30694         support in libc.
30696         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30697         case to powerpc/powerpc32*.
30698         * sysdeps/unix/sysv/linux/configure: Regenerated.
30700         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30701         (_FPU_MASK_OM): Define as 0x04.
30702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30704         0x00c10080.
30705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30706         0x0000003c.
30707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30710         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30711         getcontext_e500.
30712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30713         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30714         setcontext_e500.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30716         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30717         and setcontext_e500.
30719 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30721         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30723 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30725         * manual/threads.texi (Default Thread Attributes): Fix typo.
30727 2013-10-04  Will Newton  <will.newton@linaro.org>
30729         * malloc/Makefile: Add tst-memalign.
30730         * malloc/tst-memalign.c: New file.
30732         * malloc/tst-posix_memalign.c: Add comments.
30733         (do_test): Add comments and call free on all potentially
30734         allocated pointers. Add space after cast.
30736         * malloc/tst-pvalloc.c: Add comments.
30737         (do_test): Add comments and call free on all potentially
30738         allocated pointers. Remove duplicate check for NULL pointer.
30739         Add space after cast.
30741         * malloc/tst-valloc.c: Add comments.
30742         (do_test): Add comments and call free on all potentially
30743         allocated pointers. Remove duplicate check for NULL pointer.
30744         Add space after cast.
30746 2013-10-04  Alan Modra  <amodra@gmail.com>
30748         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30749         Use stdint types in rather than __attribute__((mode())).
30750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30752 2013-10-04  Alan Modra  <amodra@gmail.com>
30754         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30755         Correct handling of unaligned relocs for little-endian.
30756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30758 2013-10-04  Alan Modra  <amodra@gmail.com>
30760         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30761         * configure: Regenerate.
30762         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30763         * shlib-versions: Likewise.
30765 2013-10-04  Alan Modra  <amodra@gmail.com>
30767         * string/tester.c (test_memrchr): Increment reported test cycle.
30769 2013-10-04  Alan Modra  <amodra@gmail.com>
30771         * string/test-memcpy.c (do_one_test): When reporting errors, print
30772         string address and don't overrun end of string.
30774 2013-10-04  Alan Modra  <amodra@gmail.com>
30776         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30777         insrdi.  Make better use of reg selection to speed exit slightly.
30778         Schedule entry path a little better.  Remove useless "are we done"
30779         checks on entry to main loop.  Handle wrapping around zero address.
30780         Correct main loop count.  Handle single left-over word from main
30781         loop inline rather than by using loop_small.  Remove extra word
30782         case in loop_small caused by wrong loop count.  Add little-endian
30783         support.
30784         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30785         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30786         cache hint.
30787         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30788         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30789         support.  Avoid rlwimi.
30790         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30792 2013-10-04  Alan Modra  <amodra@gmail.com>
30794         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30795         insrdi.  Formatting.
30796         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30797         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30798         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30799         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30800         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30801         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30803 2013-10-04  Alan Modra  <amodra@gmail.com>
30805         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30806         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30807         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30808         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30809         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30810         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30811         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30812         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30813         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30814         use of regs.  Use power7 mtocrf.  Tidy function tails.
30816 2013-10-04  Alan Modra  <amodra@gmail.com>
30818         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30819         Formatting.  Consistently use rXXX register defines or rN defines.
30820         Use early exit labels that avoid restoring unused non-volatile regs.
30821         Make cr field use more consistent with rWORDn compares.  Rename
30822         regs used as shift registers for unaligned loop, using rN defines
30823         for short lifetime/multiple use regs.
30824         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30825         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30826         addi 1,1,64 to pop stack frame.  Simplify return value code.
30827         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30829 2013-10-04  Alan Modra  <amodra@gmail.com>
30831         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30832         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30833         rather than rlwimi.
30834         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30835         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30836         little-endian support.  Correct typos.
30837         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30838         rather than rlwimi.
30839         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30840         in loop and entry code to keep "and." results.
30841         (strchr): Add little-endian support.  Comment.  Move cntlzd
30842         earlier in tail.
30843         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30845 2013-10-04  Alan Modra  <amodra@gmail.com>
30847         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30848         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30849         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30850         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30852 2013-10-04  Alan Modra  <amodra@gmail.com>
30854         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30855         (rTMP): Define as r11.
30856         (strcmp): Add little-endian support.  Optimise tail.
30857         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30858         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30859         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30860         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30861         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30862         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30863         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30865 2013-10-04  Alan Modra  <amodra@gmail.com>
30867         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30868         little-endian support.  Remove unnecessary "are we done" tests.
30869         Handle "s" wrapping around zero and extremely large "size".
30870         Correct main loop count.  Handle single left-over word from main
30871         loop inline rather than by using small_loop.  Correct comments.
30872         Delete "zero" tail, use "end_max" instead.
30873         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30875 2013-10-04  Alan Modra  <amodra@gmail.com>
30877         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30878         support.  Don't branch over align.
30879         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30880         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30881         support.  Rearrange tmp reg use to suit.  Comment.
30882         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30884 2013-10-04  Alan Modra  <amodra@gmail.com>
30886         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30888 2013-10-04  Alan Modra  <amodra@gmail.com>
30890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30891         conditional form of branch and link when obtaining pc.
30892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30894 2013-10-04  Alan Modra  <amodra@gmail.com>
30896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30897         HIWORD/LOWORD.
30898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30901 2013-10-04  Alan Modra  <amodra@gmail.com>
30903         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30904         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30905         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30906         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30907         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30908         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30909         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30910         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30911         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30912         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30914 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30915             Alistair Popple <alistair@ozlabs.au.ibm.com>
30916             Alan Modra <amodra@gmail.com>
30918         [BZ #15723]
30919         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30920         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30921         _dl_hwcap access for little-endian.
30922         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30923         destroy vmx regs when saving unaligned.
30924         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30925         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30926         destroy vmx regs when saving unaligned.
30928 2013-10-04  Alan Modra  <amodra@gmail.com>
30930         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30931         Don't use a union to pack hi/low value.
30933 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30935         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30936         for little-endian.
30937         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30938         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30939         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30940         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30941         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30943 2013-10-04  Alan Modra  <amodra@gmail.com>
30945         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30946         constants to usual value for .cst8 section, and remove redundant
30947         high address load.
30948         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30949         constant for 0x1p52.  Load little-endian words of double from
30950         correct stack offsets.
30952 2013-10-04  Alan Modra  <amodra@gmail.com>
30954         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30955         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30956         words of double from correct stack offsets.
30957         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30958         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30959         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30963         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30964         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30965         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30969         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30970         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30971         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30972         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30973         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30975 2013-10-04  Alan Modra  <amodra@gmail.com>
30977         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30978         64-bit int/double union.
30979         (_FPU_SETCW): Likewise.
30980         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30981         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30983 2013-10-04  Alan Modra  <amodra@gmail.com>
30985         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30986         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30988 2013-10-04  Alan Modra  <amodra@gmail.com>
30990         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30991         use vector int constants.
30992         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30994 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30996         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30997         array with long long.
30998         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30999         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31000         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31001         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31002         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31003         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31004         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31005         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31006         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31007         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31008         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31009         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31010         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31012 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31014         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31015         (__signbit): Likewise.  Correct for little-endian.
31016         (__signbitl): Call __signbit.
31017         (lrint): Correct for little-endian.
31018         (lrintf): Call lrint.
31020 2013-10-04  Alan Modra  <amodra@gmail.com>
31022         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31023         union 32-bit int array member with 64-bit int array.
31024         (t515, tm256): Double rather than long double.
31025         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31027 2013-10-04  Alan Modra  <amodra@gmail.com>
31029         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31030         Delete.
31031         (IEEE854_LONG_DOUBLE_BIAS): Delete.
31032         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31033         version of math_ldbl.h.
31035 2013-10-04  Alan Modra  <amodra@gmail.com>
31037         [BZ #15734], [BZ #15735]
31038         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31039         all uses of ieee875 long double macros and unions.  Simplify test
31040         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
31041         ldbl_extract_mantissa value for ix,iy exponents.  Properly
31042         normalize after ldbl_extract_mantissa, and don't add hidden bit
31043         already handled.  Don't treat low word of ieee854 mantissa like
31044         low word of IBM long double and mask off bit when testing for
31045         zero.
31046         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31047         all uses of ieee875 long double macros and unions.  Simplify tests
31048         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
31049         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
31050         two1022, instead use their values.  Recognise that tests for large
31051         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
31052         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31053         Rewrite all uses of ieee875 long double macros and unions.  Simplify
31054         test for 0.0L and nan.  Correct negation.
31055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31056         ieee875 long double macros and unions.  Correct output for large
31057         magnitude x.  Correct absolute value calculation.
31058         (__erfcl): Likewise.
31059         * math/libm-test.inc: Add tests for errors discovered in IBM long
31060         double versions of fmodl, remainderl, erfl and erfcl.
31062 2013-10-04  Alan Modra  <amodra@gmail.com>
31064         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31065         all uses of ieee854 long double macros and unions.  Simplify tests
31066         for long doubles that are fully specified by the high double.
31067         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31068         Likewise.
31069         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31070         Remove dead code too.
31071         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31072         (__ieee754_ynl): Likewise.
31073         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31076         Remove dead code too.
31077         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31078         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31080         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31081         Simplify.
31082         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31083         Simplify.
31084         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31085         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31086         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31087         Comment on variable precision.
31088         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31089         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31090         Likewise.
31091         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31092         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31093         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31094         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31095         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31097 2013-10-04  Alan Modra  <amodra@gmail.com>
31099         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31100         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31101         all uses of ieee854 long double macros and unions.
31102         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31103         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31104         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31106         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31107         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31108         Likewise.
31109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31110         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31111         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31112         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31113         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31115         Simplify sign and nan test too.
31116         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31117         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31119         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31120         Likewise.
31121         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31122         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31123         Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31125         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31126         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31127         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31128         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31131 2013-10-04  Alan Modra  <amodra@gmail.com>
31133         * stdio-common/printf_size.c (__printf_size): Don't use
31134         union ieee854_long_double in fpnum union.
31135         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31136         signbit macro to retrieve sign from long double.
31137         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31138         retrieve sign from long double.
31139         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31140         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31141         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31142         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31143         * math/test-misc.c (main): Don't use union ieee854_long_double.
31145 2013-10-04  Alan Modra  <amodra@gmail.com>
31147         [BZ #15680]
31148         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31149         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31150         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31151         calculation.  Remove unnecessary test for denormal exponent.
31152         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31153         Correct handling of denormals.  Avoid undefined shift behaviour.
31154         Correct normalisation of low mantissa when low double is denormal.
31155         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31156         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31157         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31158         Correct normalisation of low mantissa.  Test for overflow of high
31159         mantissa and normalise.
31160         (ldbl_nearbyint): Use more readable constant for two52.
31161         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31162         (__mpn_construct_long_double): Fix test for overflow of high
31163         mantissa and correct normalisation.  Avoid undefined shift.
31165 2013-10-04  Alan Modra  <amodra@gmail.com>
31167         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31168         (union ibm_extended_long_double): Define as an array of ieee754_double.
31169         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31170         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31171         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31172         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31174         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31176         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31177         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31178         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31179         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31181 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31183         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31184         page size instead of calling getpagesize.
31186         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31187         (LOCFILE_ALIGN_MASK): Likewise.
31188         (LOCFILE_ALIGN_UP): Likewise.
31189         (LOCFILE_ALIGNED_P): Likewise.
31190         * locale/programs/ld-collate.c (collate_output): Use the new
31191         macros instead of __alignof__ (int32_t).
31192         * locale/weight.h (findidx): Likewise.
31194 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31196         [BZ #431]
31197         * manual/string.texi: Fix strncat and wcsncat.
31199 2013-10-03  Brooks Moses  <bmoses@google.com>
31201         [BZ #15915]
31202         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31203         * Makerules: ...here, and adjust associated comments.
31205 2013-10-02  Will Newton  <will.newton@linaro.org>
31207         * malloc/Makefile: Add tst-pvalloc.
31208         * malloc/tst-pvalloc.c: New file.
31210 2013-10-02  Will Newton  <will.newton@linaro.org>
31212         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31213         improve test coverage.
31215 2013-10-02  Will Newton  <will.newton@linaro.org>
31217         * malloc/Makefile: Add tst-posix_memalign.
31218         * malloc/tst-posix_memalign.c: New file.
31220 2013-10-01  Eric Blake  <eblake@redhat.com>
31222         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31223         Use __THROWNL rather than __THROW on static functions.
31225 2013-09-30  Petr Machata  <pmachata@redhat.com>
31227         * elf/elf.h (R_AARCH64_ABS16): New macro.
31228         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31229         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31230         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31231         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31232         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31233         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31234         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31235         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31236         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31237         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31238         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31239         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31240         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31241         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31242         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31243         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31244         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31245         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31246         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31247         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31248         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31249         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31250         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31251         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31252         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31253         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31254         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31255         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31256         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31257         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31258         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31259         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31260         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31261         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31262         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31263         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31264         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31265         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31266         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31267         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31268         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31269         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31270         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31271         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31272         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31273         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31274         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31275         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31276         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31277         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31278         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31279         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31280         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31281         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31282         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31283         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31284         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31285         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31286         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31287         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31288         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31289         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31290         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31291         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31292         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31293         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31294         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31295         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31296         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31297         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31298         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31299         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31300         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31301         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31302         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31303         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31304         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31305         (R_AARCH64_TLSDESC_LDR): Likewise.
31306         (R_AARCH64_TLSDESC_ADD): Likewise.
31307         (R_AARCH64_TLSDESC_CALL): Likewise.
31309 2013-09-30  Andreas Schwab  <schwab@suse.de>
31311         [BZ #15048]
31312         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31313         the nss database lookup.
31314         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31317 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31319         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31321 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31323         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31324         ${Bash-specific parameter/pattern/string} parameter expansion.
31325         * sysdeps/unix/make-syscalls.sh: Likewise.
31327 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31329         * sysdeps/sh/stackguard-macros.h: New file.
31331 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31335         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31336         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31337         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31338         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31340 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31342         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31343         Fix thread ID register.
31345 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31347         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31348         [POSIX || UNIX98]: Require rather than permitting all symbols from
31349         <time.h>.
31350         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31351         element of struct sched_param.
31352         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31353         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31354         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31355         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31356         constant.
31358 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31360         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31361         argument calculation.
31363 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31365         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31366         Expect macro.
31367         [POSIX] (pthread_attr_t): Do not require type.
31368         [POSIX] (pthread_cond_t): Likewise.
31369         [POSIX] (pthread_condattr_t): Likewise.
31370         [POSIX] (pthread_key_t): Likewise.
31371         [POSIX] (pthread_mutex_t): Likewise.
31372         [POSIX] (pthread_mutexattr_t): Likewise.
31373         [POSIX] (pthread_once_t): Likewise.
31374         [POSIX] (pthread_t): Likewise.
31375         [POSIX-based standards] (pthread_atfork): Expect function.
31377 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31378             Richard Sandiford  <richard@codesourcery.com>
31380         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31381         (swap_endianness_p): New extern variable.
31382         (set_big_endian): New inline function.
31383         (maybe_swap_uint32): Likewise.
31384         (maybe_swap_uint32_array): Likewise.
31385         (maybe_swap_uint32_obstack): Likewise.
31386         * locale/programs/locfile.c: Include <stdbool.h>.
31387         (swap_endianness_p): New variable.
31388         (add_locale_uint32): Call maybe_swap_uint32.
31389         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31390         (write_locale_data): Call maybe_swap_uint32_array.
31391         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31392         maybe_swap_uint32.
31393         (obstack_int32_grow_fast): Likewise.
31394         (output_weightwc): Call maybe_swap_uint32_obstack.
31395         (collate_output): Likewise.
31396         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31397         (OPT_LITTLE_ENDIAN): Likewise.
31398         (options): Add --little-endian and --big-endian options.
31399         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31400         * locale/programs/locarchive.c: Include "locfile.h".
31401         (GET): New macro.
31402         (SET): Likewise.
31403         (INC): Likewise.
31404         (create_archive): Use the new macros to access fields of
31405         structures directly mapped from or written to locale archives.
31406         (oldlocrecentcmp): Likewise.
31407         (enlarge_archive): Likewise.
31408         (insert_name): Likewise.
31409         (add_alias): Likewise.
31410         (add_locale): Likewise.
31411         (delete_locales_from_archive): Likewise.
31412         (show_archive_content): Likewise.
31413         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31414         locale data.
31416 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31418         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31419         http://www.gnu.org/doc/freemanuals.texi.
31420         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31422 2013-09-24  Will Newton  <will.newton@linaro.org>
31424         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31425         macro.
31427 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31429         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31430         unsigned char.
31432 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31434         * manual/threads.texi (POSIX Threads): Fix a typo.
31436 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31438         [BZ #14547]
31439         * string/tst-strcoll-overflow.c: New test case.
31440         * string/Makefile (xtests): Add tst-strcoll-overflow.
31441         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31442         cache if string sizes may cause integer overflow.
31444         [BZ #14547]
31445         * string/strcoll_l.c (coll_seq): New members rule, idx,
31446         save_idx and back_us.
31447         (get_next_seq_nocache): New function.
31448         (do_compare_nocache): New function.
31449         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31450         when malloc fails.
31452 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31454         [BZ #15754]
31455         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31456         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31457         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31459         [BZ #15754]
31460         * elf/Makefile (tests): Add tst-ptrguard1.
31461         (tests-static): Add tst-ptrguard1-static.
31462         (tst-ptrguard1-ARGS): Define.
31463         (tst-ptrguard1-static-ARGS): Define.
31464         * elf/tst-ptrguard1.c: New file.
31465         * elf/tst-ptrguard1-static.c: New file.
31466         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31467         * sysdeps/i386/stackguard-macros.h: Likewise.
31468         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31469         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31470         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31471         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31472         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31473         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31475 2013-09-23  Hector Marco  <hecmargi@upv.es>
31476             Ismael Ripoll  <iripoll@disca.upv.es>
31477             Carlos O'Donell  <carlos@redhat.com>
31479         [BZ #15754]
31480         * sysdeps/generic/stackguard-macros.h: Define
31481         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31482         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31483         Define __pointer_chk_guard_local.
31484         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31485         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31487 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31489         [BZ #15859]
31490         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31492 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31494         * include/string.h (__ffs): Declare as hidden.
31495         * string/ffs.c (__ffs): Define as hidden.
31496         * sysdeps/i386/ffs.c (__ffs): Likewise.
31497         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31498         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31499         * sysdeps/s390/ffs.c (__ffs): Likewise.
31500         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31502 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31504         * NEWS: Mention malloc probes.
31506         * malloc/arena.c (new_heap): New memory_heap_new probe.
31507         (grow_heap): New memory_heap_more probe.
31508         (shrink_heap): New memory_heap_less probe.
31509         (heap_trim): New memory_heap_free probe.
31510         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31511         (systrim): New memory_sbrk_less probe.
31512         * manual/probes.texi: Document them.
31514         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31515         * manual/probes.texi: Document it.
31517         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31518         (__libc_realloc): Add memory_realloc_retry probe.
31519         (__libc_memalign): Add memory_memalign_retry probe.
31520         (__libc_valloc): Add memory_valloc_retry probe.
31521         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31522         (__libc_calloc): Add memory_calloc_retry probe.
31523         * manual/probes.texi: Document them.
31525         * malloc/arena.c (get_free_list): Add probe
31526         memory_arena_reuse_free_list.
31527         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31528         and memory_arena_reuse.
31529         (arena_get2) [!PER_THREAD]: Likewise.
31530         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31531         memory_arena_reuse_realloc.
31532         * manual/probes.texi: Document them.
31534         * malloc/malloc.c (__libc_free): Add
31535         memory_mallopt_free_dyn_thresholds probe.
31536         (__libc_mallopt): Add multiple memory_mallopt probes.
31537         * manual/probes.texi: Document them.
31539         * malloc/malloc.c: Include stap-probe.h.
31540         (__libc_mallopt): Add memory_mallopt probe.
31541         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31542         * manual/probes.texi: New.
31543         * manual/Makefile (chapters): Add probes.
31544         * manual/threads.texi: Set next node.
31546 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31548         [BZ #15963, #13985]
31549         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31550         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31551         Add `Chinese' to `nan' entry name.
31553 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31555         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31556         (POLYNOMIAL): Likewise.
31557         (TAYLOR_SINCOS): Likewise.
31558         (TAYLOR_SLOW): Likewise.
31559         (__sin): Use TAYLOR_SINCOS.
31560         (__cos): Likewise.
31561         (slow): Use TAYLOR_SLOW.
31562         (sloww): Likewise.
31563         (bsloww): Likewise.
31564         (csloww): Likewise.
31566 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31568         * stdlib/strtod_l.c: Fix buffer overrun.
31570 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31572         * benchtests/Makefile (bench): Add sincos.
31573         * benchtests/bench-sincos.c: New file.
31575         * math/libm-test.inc (cos_test_data): New test inputs.
31576         (sin_test_data): Likewise.
31578         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31579         macro.
31580         (__sin): Use it.
31581         (__cos): Likewise.
31582         (slow1): Likewise.
31583         (slow2): Likewise.
31584         (sloww1): Likewise.
31585         (sloww2): Likewise.
31586         (bsloww1): Likewise.
31587         (bsloww2): Likewise.
31588         (cslow2): Likewise.
31589         (csloww1): Likewise.
31590         (csloww2): Likewise.
31592         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31593         function.
31594         (__sin): Use it.
31595         (__cos): Likewise.
31597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31598         gotos.
31599         (__cos): Likewise.
31601 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31603         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31604         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31605         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31606         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31607         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31608         * elf/cache.c (print_entry): Handle the new cache flags.
31610 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31611             Aldy Hernandez  <aldyh@redhat.com>
31613         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31614         Change condition to [_SOFT_FLOAT].
31615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31627         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31630         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31631         declaration.
31633 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31635         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31636         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31637         (__longjmp): Use LOAD_GP to load saved GPRs.
31638         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31639         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31640         (__sigsetjmp): Use SAVE_GP to save GPRs.
31642         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31643         Do not append -msoft-float.
31644         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31646 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31648         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31650 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31652         [BZ #15966]
31653         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31654         (_FPU_GETCW): Use initial "__" on variable and field names but not
31655         on macro parameter name.
31656         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31657         parentheses around reference to macro parameter.
31659 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31661         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31662         prototype.
31663         (ctype_startup): Use uint32_t in cast and sizeof for
31664         ctype->charnames.
31666 2013-09-11  Jia Liu  <proljc@gmail.com>
31668         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31669         __daddr_t_defined.
31670         [__FreeBSD__]: Likewise.
31672 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31675         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31676         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31677         (strchr): Remove __strchr_sse42 ifunc selection.
31678         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31679         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31681 2013-09-11  Will Newton  <will.newton@linaro.org>
31683         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31684         parameter to RES. Remove hardcoded 1000 value.
31685         * benchtests/bench-skeleton.c (main): Pass RES parameter
31686         to TIMING_INIT and multiply result by 1000.
31688 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31692 2013-09-11  Andreas Schwab  <schwab@suse.de>
31694         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31695         if not defined.
31696         (O_TMPFILE) [__USE_GNU]: Define.
31697         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31698         Define.
31700 2013-09-11  Will Newton  <will.newton@linaro.org>
31702         [BZ #15857]
31703         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31704         does not overflow.
31706 2013-09-11  Will Newton  <will.newton@linaro.org>
31708         [BZ #15856]
31709         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31710         does not overflow.
31712 2013-09-11  Will Newton  <will.newton@linaro.org>
31714         [BZ #15855]
31715         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31716         does not overflow.
31718 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31720         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31721         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31722         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31723         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31724         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31726 2013-09-10  Allan McRae  <allan@archlinux.org>
31728         [BZ #15748]
31729         * manual/arith.texi (Parsing of Floats): Clarify
31730         cross-reference.
31732         [BZ #15849]
31733         * manual/install.texi (Running make install): Mention
31734         --enable-pt-chown.
31735         * INSTALL: Regenerated.
31737 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31739         * csu/init-first.c (_init): Remove the !SHARED condition around
31740         FPU control word initialization.
31741         * elf/dl-support.c (_dl_fpu_control): New variable.
31742         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31743         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31744         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31745         * math/test-fpucw-static.c: New file.
31746         * math/test-fpucw-ieee.c: New file.
31747         * math/test-fpucw-ieee-static.c: New file.
31748         * math/Makefile (tests): Add `test-fpucw-ieee' and
31749         `$(tests-static)'.
31750         (tests-static): New variable.
31751         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31752         dependency to...
31753         [($(build-shared),yes)]
31754         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31755         ... this.
31756         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31757         New dependency.
31759 2013-09-09  Allan McRae  <allan@archlinux.org>
31761         [BZ #15939]
31762         * manual/string.texi (Collation Functions): Fix typo in
31763         strcoll example.
31764         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31766         [BZ #15893]
31767         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31769         [BZ #15892]
31770         * libio/memstream.c (open_memstream): Fix memory leak.
31771         * libio/wmemstream.c (open_wmemstream): Likewise.
31773         [BZ #15895]
31774         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31776 2013-09-09  Will Newton  <will.newton@linaro.org>
31778         * malloc/Makefile: Add tst-realloc to tests.
31779         * malloc/tst-realloc.c: New file.
31781 2013-09-09  Allan McRae  <allan@archlinux.org>
31783         [BZ #15844]
31784         * COPYING: Update from GNU website to fix FSF address.
31785         * COPYING.LIB: Likewise.
31787 2013-09-06  David S. Miller  <davem@davemloft.net>
31789         * po/zh_TW.po: Update Chinese (traditional) translation from
31790         translation project.
31792 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31793             Joseph Myers  <joseph@codesourcery.com>
31795         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31796         "localeinfo.h".
31797         (obstack_chunk_alloc): New macro.
31798         (obstack_chunk_free): Likewise.
31799         (record_offset): New function.
31800         (init_locale_data): Likewise.
31801         (align_locale_data): Likewise.
31802         (add_locale_empty): Likewise.
31803         (add_locale_raw_data): Likewise.
31804         (add_locale_raw_obstack): Likewise.
31805         (add_locale_string): Likewise.
31806         (add_locale_wstring): Likewise.
31807         (add_locale_uint32): Likewise.
31808         (add_locale_uint32_array): Likewise.
31809         (add_locale_char): Likewise.
31810         (start_locale_structure): Likewise.
31811         (end_locale_structure): Likewise.
31812         (start_locale_prelude): Likewise.
31813         (end_locale_prelude): Likewise.
31814         (write_locale_data): Take locale_file structure rather than an
31815         iovec.
31816         * locale/programs/locfile.h: Include "obstack.h".
31817         (struct locale_file): Change to store locale file contents instead
31818         of header.
31819         (init_locale_data): New prototype.
31820         (align_locale_data): Likewise.
31821         (add_locale_empty): Likewise.
31822         (add_locale_raw_data): Likewise.
31823         (add_locale_raw_obstack): Likewise.
31824         (add_locale_string): Likewise.
31825         (add_locale_wstring): Likewise.
31826         (add_locale_uint32): Likewise.
31827         (add_locale_uint32_array): Likewise.
31828         (add_locale_char): Likewise.
31829         (start_locale_structure): Likewise.
31830         (end_locale_structure): Likewise.
31831         (start_locale_prelude): Likewise.
31832         (end_locale_prelude): Likewise.
31833         (write_locale_data): Update prototype.
31834         * locale/programs/3level.h (struct TABLE): Remove result field.
31835         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31836         Use new locale_file interface.
31837         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31838         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31839         * locale/programs/ld-address.c (address_output): Use new
31840         locale_file interface.
31841         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31842         NO_ADD_LOCALE.
31843         (collate_finish): Don't call collseq_table_finalize.
31844         (collate_output): Use new locale_file interface.
31845         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31846         in file.
31847         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31848         (TABLE): Move defines earlier in file.
31849         (ELEMENT): Likewise.
31850         (DEFAULT): Likewise.
31851         (wctrans_table_add): Move macro and inline function earlier in
31852         file.
31853         (struct wctype_table): Move type earlier in file.
31854         (add_locale_wctype_table): New static prototype.
31855         (struct locale_ctype_t): Use logical types instead of struct iovec
31856         pointers for members.
31857         (ctype_output): Use new locale_file interface.
31858         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31859         new locale_file interface.
31860         (allocate_arrays): Update for use of new locale_file interface.
31861         * locale/programs/ld-identification.c (identification_output): Use
31862         new locale_file interface.
31863         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31864         * locale/programs/ld-messages.c (messages_output): Likewise.
31865         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31866         * locale/programs/ld-name.c (name_output): Likewise.
31867         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31868         * locale/programs/ld-paper.c (paper_output): Likewise.
31869         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31870         * locale/programs/ld-time.c (time_output): Likewise.
31872 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31874         * benchtests/Makefile: Add memrchr benchmark.
31875         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31876         benchmark as memrchr.
31877         * benchtests/bench-memrchr-ifunc.c: New file.
31878         * benchtests/bench-memrchr.c: New file.
31880 2013-09-06   Will Newton  <will.newton@linaro.org>
31882         * benchtests/Makefile (string-bench): Add memcpy.
31884 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31885             Cong Wang  <amwang@redhat.com>
31887         [BZ #15850]
31888         * sysdeps/unix/sysv/linux/bits/in.h
31889         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31890         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31891         before __USE_KERNEL_IPV6_DEFS uses.
31892         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31893         IPPROTO_BEETPH.
31894         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31895         sockaddr_in6, or ipv6_mreq.
31897 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31899         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31900         memory access for final bytes in some large inputs.
31901         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31903 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31905         * string/test-memrchr.c: New file.
31906         * string/test-memrchr-ifunc.c: New file.
31907         * string/Makefile: Add new memrchr testcase.
31909 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31911         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31912         fanotify_init returns EPERM.
31914 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31916         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31917         errors.
31918         (top level): Treat second token from macro or constant entries for
31919         allowed headers as allowed.
31920         * include/complex.h: Condition internal declarations on
31921         [!_ISOMAC].
31922         * include/fenv.h: Condition include of <stdbool.h> and internal
31923         declarations on [!_ISOMAC].
31925 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31927         [BZ #15923]
31928         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31930 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31932         * configure.in (--enable-versioning): Remove configure option.
31933         (libc_cv_asm_symver_directive): Remove configure test.
31934         (libc_cv_ld_version_script_option): Likewise.
31935         (VERSIONING): Remove variable and AC_SUBST.
31936         (DO_VERSIONING): Remove AC_DEFINE.
31937         * configure: Regenerated.
31938         * config.h.in (DO_VERSIONING): Remove macro.
31939         * Makerules [$(versioning) = yes]: Change conditionals to
31940         [$(build-shared) = yes].
31941         * config.make.in (versioning): Remove variable.
31942         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31943         [$(build-shared) = yes].
31944         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31945         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31946         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31947         [$(build-shared) = yes].
31948         * extra-lib.mk [$(versioning) = yes]: Likewise.
31949         * hurd/Makefile [$(versioning) = yes]: Likewise.
31950         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31951         [SHARED].
31952         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31953         [SHARED].
31954         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31955         [SHARED && !NO_HIDDEN].
31956         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31957         [SHARED].
31958         [SHARED && DO_VERSIONING]: Likewise..
31959         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31960         [$(build-shared) = yes].
31961         * manual/install.texi (--disable-versioning): Remove
31962         documentation.
31963         * INSTALL: Regenerated.
31964         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31965         to [SHARED].
31966         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31967         [$(build-shared) = yes].
31968         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31969         * sysdeps/i386/i686/multiarch/strstr-c.c
31970         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31971         [SHARED && !NO_HIDDEN].
31972         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31973         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31974         * sysdeps/powerpc/powerpc32/dl-machine.c
31975         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31976         * sysdeps/powerpc/powerpc32/sysdep.h
31977         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31978         to [SHARED && PIC && !NO_HIDDEN].
31979         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31980         conditional to [SHARED].
31982 2013-09-04   Will Newton  <will.newton@linaro.org>
31984         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31985         * benchtests/bench-string.h: Include bench-timing.h instead
31986         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31987         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31988         call to HP_TIMING_DIFF_INIT.
31989         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31990         instead of hp-timing.h macros.
31991         * benchtests/bench-memchr.c: Likewise.
31992         * benchtests/bench-memcmp.c: Likewise.
31993         * benchtests/bench-memcpy.c: Likewise.
31994         * benchtests/bench-memmem.c: Likewise.
31995         * benchtests/bench-memmove.c: Likewise.
31996         * benchtests/bench-memset.c: Likewise.
31997         * benchtests/bench-rawmemchr.c: Likewise.
31998         * benchtests/bench-strcasecmp.c: Likewise.
31999         * benchtests/bench-strcasestr.c: Likewise.
32000         * benchtests/bench-strcat.c: Likewise.
32001         * benchtests/bench-strchr.c: Likewise.
32002         * benchtests/bench-strcmp.c: Likewise.
32003         * benchtests/bench-strcpy.c: Likewise.
32004         * benchtests/bench-strcpy_chk.c: Likewise.
32005         * benchtests/bench-strlen.c: Likewise.
32006         * benchtests/bench-strncasecmp.c: Likewise.
32007         * benchtests/bench-strncat.c: Likewise.
32008         * benchtests/bench-strncmp.c: Likewise.
32009         * benchtests/bench-strncpy.c: Likewise.
32010         * benchtests/bench-strnlen.c: Likewise.
32011         * benchtests/bench-strpbrk.c: Likewise.
32012         * benchtests/bench-strrchr.c: Likewise.
32013         * benchtests/bench-strspn.c: Likewise.
32014         * benchtests/bench-strstr.c: Likewise.
32016 2013-09-04  Will Newton  <will.newton@linaro.org>
32018         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32020 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
32022         [BZ #15427]
32023         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32024         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32025         * math/libm-test.inc (lgamma_test_data): Add more tests.
32026         * sysdeps/i386/fpu/libm-test-ulps: Update.
32027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32029 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
32031         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32033         Add ifunc.
32034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32035         Add strcmp-sse2-unaligned
32036         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32038 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32040         * Versions.def (libc): Add GLIBC_2.19.
32042 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32044         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32045         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32047 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
32049         [BZ #14155]
32050         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32051         intermediate calculations in recurrence.
32052         (__ieee754_ynf): Likewise.
32053         * math/libm-test.inc (jn_test_data): Do not allow spurious
32054         underflow exception.  Add more tests.
32055         (yn_test_data): Add more tests.
32056         * sysdeps/i386/fpu/libm-test-ulps: Update.
32057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32059 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
32061         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32063 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32065         * csu/init-first.c: Fix then/than typos.
32066         * locale/programs/ld-collate.c: Likewise.
32067         * locale/programs/linereader.h: Likewise.
32068         * manual/charset.texi: Likewise.
32069         * manual/filesys.texi: Likewise.
32070         * manual/stdio.texi: Likewise.
32071         * manual/string.texi: Likewise.
32072         * stdlib/fmtmsg.c: Likewise.
32073         * sysdeps/i386/stpncpy.S: Likewise.
32074         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32075         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32076         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32077         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32079 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32081         * elf/dl-open.c: Fix typos.
32082         * iconvdata/gbbig5.c: Likewise.
32083         * iconvdata/iso-2022-jp.c: Likewise.
32084         * iconv/gconv_int.h: Likewise.
32085         * iconv/loop.c: Likewise.
32086         * nis/rpcsvc/nis.h: Likewise.
32087         * resolv/ns_name.c: Likewise.
32088         * stdio-common/vfscanf.c: Likewise.
32089         * streams/stropts.h: Likewise.
32090         * sunrpc/rpc_thread.c: Likewise.
32091         * sysdeps/i386/strpbrk.S: Likewise.
32092         * sysdeps/ieee754/k_standard.c: Likewise.
32093         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32094         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32095         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32096         * sysdeps/mach/hurd/profil.c: Likewise.
32097         * sysdeps/s390/dl-procinfo.h: Likewise.
32098         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32099         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32100         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32101         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32102         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32104 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32106         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32109 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32111         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32112         aix specific files.
32113         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32114         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32115         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32116         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32117         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32118         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32119         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32120         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32122 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32123             Roland McGrath  <roland@hack.frob.com>
32125         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32126         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32128 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32130         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32131         __executable_start symbol instead of _start.
32133 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32135         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32136         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32137         Move macros to...
32138         * sysdeps/gnu/ldsodefs.h: ... this new file.
32140         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32141         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32142         instead of ELFOSABI_LINUX.
32144         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32145         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32146         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32147         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32148         Likewise.
32149         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32150         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32151         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32152         Likewise.
32153         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32154         (ibm_extended_long_double): Add ieee_nan member.
32155         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32156         (do_test): New function.
32158         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32159         TEST_TRUNC.
32160         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32161         functions, renamed from truncdfsf_test, trunctfsf_test,
32162         trunctfdf_test.
32163         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32164         functions.
32165         (do_test): Run all these.
32167 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32169         * argp/argp-help.c: Fix typos.
32170         * argp/argp-parse.c: Likewise.
32171         * debug/backtracesyms.c: Likewise.
32172         * elf/elf.h: Likewise.
32173         * malloc/malloc.c: Likewise.
32174         * nis/nis_print.c: Likewise.
32175         * resolv/res_comp.c: Likewise.
32176         * stdlib/stdlib.h: Likewise.
32177         * sunrpc/clnt_tcp.c: Likewise.
32178         * sunrpc/clnt_udp.c: Likewise.
32179         * sunrpc/clnt_unix.c: Likewise.
32180         * sysdeps/unix/bsd/ptsname.c: Likewise.
32181         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32182         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32184         Likewise.
32185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32186         Likewise.
32187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32188         Likewise.
32189         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32191 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32193         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32196 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32198         [BZ #15897]
32199         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32200         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32201         ($(objpfx)bug-dl-leaf): New rule.
32202         ($(objpfx)bug-dl-leaf.so): Likewise.
32203         ($(objpfx)bug-dl-leaf.out): Likewise.
32204         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32205         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32206         * dlfcn/bug-dl-leaf.c: New test.
32207         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32208         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32209         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32210         (dlclose): Likewise.
32211         (dlmopen): Likewise.
32213 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32215         * include/netdb.h [!_ISOMAC]:
32216         Don't include <tls.h>.
32217         (h_errno, __libc_h_errno): Move declaration and macros out of
32218         [_LIBC_REENTRANT].
32220         * include/resolv.h [_RESOLV_H_]:
32221         Don't include <tls.h>.
32222         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32223         * resolv/res_libc.c: Don't include <tls.h>.
32224         (_res): Use __attribute__ ((nocommon)) in place of
32225         __attribute__ ((section (".bss"))).
32227         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32228         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32230         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32232         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32233         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32235         * resolv/res_mkquery.c: Include <sys/time.h>.
32237         * inet/ifreq.c: Moved to ...
32238         * sysdeps/unix/ifreq.c: ... here.
32239         * inet/ifreq.c: New file, true stub version.
32241         * socket/sa_len.c: New file.
32242         * socket/Makefile (aux): Add it.
32243         * sysdeps/unix/sysv/linux/Makefile
32244         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32245         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32246         and #include <socket/sa_len.c>.
32247         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32248         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32250         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32251         * bits/socket.h: ... here.
32253         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32254         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32255         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32257 2013-08-27  Andreas Schwab  <schwab@suse.de>
32259         [BZ #15736]
32260         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32261         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32262         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32263         * string/test-strcasecmp.c (test_main): Run tests in several
32264         locales.
32265         * string/test-strncasecmp.c (test_main): Likewise.
32267         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32268         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32269         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32270         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32271         (__strncasecmp_ssse3) [PIC]: Likewise.
32273 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32275         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32277         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32278         instead of explicitly declaring xdecrypt.
32279         * nis/nss_nis/nis-publickey.c: Likewise.
32281 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32283         [BZ #15890]
32284         * nscd/aicache.c: Include res_hconf.h.
32285         (addhstaiX): Initialize res_hconf.
32287 2013-08-26  Andreas Schwab  <schwab@suse.de>
32289         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32290         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32292 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32294         * nscd/aicache.c (addhstaiX): Fix indentation.
32296 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32298         * configure.ac: Quote $build_pt_chown test.
32299         * configure: Regenerated.
32301 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32303         [BZ #15532]
32304         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32305         * math/s_cexpf.c (__cexpf): Likewise.
32306         * math/s_cexpl.c (__cexpl): Likewise.
32307         * math/libm-test.inc (cexp_test_data): Correct expected return
32308         value for NaN + i0.  Add another test.
32310 2013-08-22  David S. Miller  <davem@davemloft.net>
32312         * po/ca.po: Update Catalan translation from translation project.
32313         * po/uk.po: Add Ukrainian translations from translation project.
32315 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32317         [BZ #15797]
32318         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32319         is infinite, not alongside NaN test.
32320         * math/s_fdimf.c (__fdimf): Likewise.
32321         * math/s_fdiml.c (__fdiml): Likewise.
32322         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32323         errno is unchanged.
32325 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32327         * argp/argp-help.c: Fix typos.
32328         * crypt/speeds.c: Likewise.
32329         * csu/check_fds.c: Likewise.
32330         * elf/dl-load.c: Likewise.
32331         * elf/dl-open.c: Likewise.
32332         * elf/reldep3.c: Likewise.
32333         * elf/reldep.c: Likewise.
32334         * elf/sprof.c: Likewise.
32335         * iconv/iconv_charmap.c: Likewise.
32336         * iconv/skeleton.c: Likewise.
32337         * iconv/strtab.c: Likewise.
32338         * io/lockf64.c: Likewise.
32339         * libio/libioP.h: Likewise.
32340         * resolv/gai_notify.c: Likewise.
32341         * resolv/ns_name.c: Likewise.
32342         * resolv/ns_samedomain.c: Likewise.
32343         * resolv/res_send.c: Likewise.
32344         * stdlib/random.c: Likewise.
32345         * sunrpc/rpc/xdr.h: Likewise.
32346         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32347         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32348         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32349         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32351         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32352         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32353         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32354         * sysdeps/mach/hurd/check_fds.c: Likewise.
32355         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32356         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32357         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32358         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32359         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32360         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32361         * sysdeps/pthread/aio_notify.c: Likewise.
32362         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32363         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32364         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32365         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32366         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32368 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32370         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32371         version if bit_Slow_SSE4_2 is set.
32372         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32373         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32375 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32377         [BZ #15867]
32378         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32379         trampoline stack frame information.
32380         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32381         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32382         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32383         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32384         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32385         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32386         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32387         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32388         sa_flags value.
32389         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32390         interrupting a syscall and set with option SA_SIGINFO.
32392 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32394         [BZ #15531]
32395         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32396         argument is infinite.
32397         * math/s_cprojf.c (__cprojf): Likewise.
32398         * math/s_cprojl.c (__cprojl): Likewise.
32399         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32400         * math/libm-test.inc (cproj_test_data): Add more tests.
32402         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32404         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32405         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32406         size.  Use __ffs to determine corresponding shift.
32408 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32409             Roland McGrath  <roland@hack.frob.com>
32411         * Makefile (INSTALL): Remove trailing blank lines from output of
32412         makeinfo.
32414 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32416         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32417         Align 32 bit compat elf_greg to 8 bytes.
32419 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32421         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32423 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32425         * string/strcoll_l.c (coll_seq): New structure.
32426         (get_next_seq_cached): New function.
32427         (get_next_seq): New function.
32428         (do_compare): New function.
32429         (STRCOLL): Use GNU style definition.  Simplify implementation
32430         by using get_next_seq, get_next_seq_cached and do_compare.
32432 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32434         [BZ #14699]
32435         CVE-2013-4237
32436         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32437         member.
32438         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32439         member.
32440         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32441         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32442         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32443         conditional.
32444         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32445         GETDENTS_64BIT_ALIGNED.
32446         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32447         * manual/filesys.texi (Reading/Closing Directory): Document
32448         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32449         strongly.
32450         * manual/conf.texi (Limits for Files): Add portability note to
32451         NAME_MAX, PATH_MAX.
32452         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32454 2013-08-13  Andreas Schwab  <schwab@suse.de>
32456         [BZ #15749]
32457         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32458         of fabs.
32459         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32460         LDBL_MAX_EXP >= 16384]: Add tests for it.
32462 2013-08-12  David S. Miller  <davem@davemloft.net>
32464         * version.h (RELEASE): Set to "development".
32465         (VERSION): Set to "2.18.90".
32466         * NEWS: Add 2.19 section.
32468 2013-08-03  David S. Miller  <davem@davemloft.net>
32470         * po/ko.po: Update Korean translation from translation project.
32472 2013-08-01  David S. Miller  <davem@davemloft.net>
32474         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32475         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32476         Bilka.
32478 2013-07-30  David S. Miller  <davem@davemloft.net>
32480         * po/fr.po: Update French translation from translation project.
32482 2013-07-28  David S. Miller  <davem@davemloft.net>
32484         * po/cs.po: Update Czech translation from translation project.
32486         * po/sv.po: Update Swedish translation from translation project.
32488 2013-07-27  David S. Miller  <davem@davemloft.net>
32490         * po/eo.po: Update Esperanto translation from translation project.
32492         * po/vi.po: Update Vietnamese translation from translation project.
32494         * po/de.po: Update German translation from translation project.
32496 2013-07-26  David S. Miller  <davem@davemloft.net>
32498         * po/bg.po: Update Bulgarian translation from translation project.
32500         * po/nl.po: Update Dutch translation from translation project.
32501         * po/pl.po: Update Polish translation from translation project.
32502         * po/ru.po: Update Russian translation from translation project.
32504 2013-07-24  David S. Miller  <davem@davemloft.net>
32506         * po/libc.pot: Update.
32508 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32510         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32511         variable page size.
32512         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32513         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32514         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32516 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32518         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32520 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32521             Andreas Schwab  <schwab@suse.de>
32522             Roland McGrath  <roland@hack.frob.com>
32523             Joseph Myers  <joseph@codesourcery.com>
32524             Carlos O'Donell  <carlos@redhat.com>
32526         [BZ #15755]
32527         * config.h.in: Define HAVE_PT_CHOWN.
32528         * config.make.in (build-pt-chown): New variable.
32529         * configure.in (--enable-pt_chown): New configure option.
32530         * configure: Regenerate.
32531         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32532         build-pt-chown is enabled.
32533         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32534         pt_chown to fix pty ownership.
32535         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32536         CLOSE_ALL_FDS.
32537         * manual/install.texi (Configuring and compiling): Mention
32538         --enable-pt_chown. Add @findex for grantpt.
32539         * INSTALL: Regenerate.
32541 2013-07-20  David S. Miller  <davem@davemloft.net>
32543         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32544         difference between 32-bit and 64-bit.
32546 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32548         [BZ #15711]
32549         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32550         Avoid system header dependency with -ffreestanding.
32551         ($(objpfx)bits/syscall%d): Likewise.
32553 2013-07-13  David S. Miller  <davem@davemloft.net>
32555         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32556         underflows from atanl/atan2l due to bug 15319.
32557         (casinh_test_data): Likewise.
32559 2013-07-07  David S. Miller  <davem@davemloft.net>
32561         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32563 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32565         * sysdeps/i386/fpu/libm-test-ulps: Update.
32566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32568 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32570         * configure.in (--enable-lock-elision): Fix message text.
32571         * INSTALL: Regenerate.
32572         * configure: Regenerate.
32574 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32578 2013-07-03  Andreas Jaeger  <aj@suse.de>
32580         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32581         define.
32582         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32583         (ptrace_peeksiginfo_args): Add.
32584         (__ptrace_peeksiginfo_flags): Add.
32585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32586         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32587         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32589 2013-07-03  Allan McRae  <allan@archlinux.org>
32591         * sysdeps/i386/fpu/libm-test-ulps: Update.
32593 2013-07-02  David S. Miller  <davem@davemloft.net>
32595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32597 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32601 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32603         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32606 2013-07-02  Andi Kleen <ak@linux.intel.com>
32608         * config.h.in (ENABLE_LOCK_ELISION): Add.
32609         * configure.in (--enable-lock-elision): Add option.
32610         * manual/install.texi: Document --enable lock elision.
32611         * configure: Regenerate
32612         * INSTALL: Regenerate.
32614 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32616         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32617         SSE4.2 strcasecmp for libc.a.
32618         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32620 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32622         [BZ #13304]
32623         * soft-fp/op-common.h (_FP_FMA): New macro.
32624         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32625         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32626         (_FP_MUL_MEAT_1_imm): ... here.
32627         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32628         (_FP_MUL_MEAT_1_wide): ... here.
32629         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32630         (_FP_MUL_MEAT_1_hard): ... here.
32631         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32632         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32633         (_FP_MUL_MEAT_2_wide): ... here.
32634         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32635         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32636         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32637         (_FP_MUL_MEAT_2_gmp): ... here.
32638         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32639         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32640         (_FP_MUL_MEAT_4_wide): ... here.
32641         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32642         (_FP_MUL_MEAT_4_gmp): ... here.
32643         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32644         (_FP_WFRACBITS_DW_S): Likewise.
32645         (_FP_WFRACXBITS_DW_S): Likewise.
32646         (_FP_HIGHBIT_DW_S): Likewise.
32647         (FP_FMA_S): Likewise.
32648         (_FP_FRAC_HIGH_DW_S): Likewise.
32649         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32650         (_FP_WFRACBITS_DW_D): Likewise.
32651         (_FP_WFRACXBITS_DW_D): Likewise.
32652         (_FP_HIGHBIT_DW_D): Likewise.
32653         (FP_FMA_D): Likewise.
32654         (_FP_FRAC_HIGH_DW_D): Likewise.
32655         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32656         (_FP_WFRACBITS_DW_E): Likewise.
32657         (_FP_WFRACXBITS_DW_E): Likewise.
32658         (_FP_HIGHBIT_DW_E): Likewise.
32659         (FP_FMA_E): Likewise.
32660         (_FP_FRAC_HIGH_DW_E): Likewise.
32661         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32662         (_FP_WFRACBITS_DW_Q): Likewise.
32663         (_FP_WFRACXBITS_DW_Q): Likewise.
32664         (_FP_HIGHBIT_DW_Q): Likewise.
32665         (FP_FMA_Q): Likewise.
32666         (_FP_FRAC_HIGH_DW_Q): Likewise.
32667         * soft-fp/fmasf4.c: New file.
32668         * soft-fp/fmadf4.c: Likewise.
32669         * soft-fp/fmatf4.c: Likewise.
32671 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32674         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32675         Silvermont.
32676         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32677         macro.
32678         (index_Slow_SSE4_2): Likewise.
32679         (index_Prefer_PMINUB_for_stringop): Likewise.
32680         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32681         bit_Slow_SSE4_2 is set.
32682         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32683         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32685 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32687         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32688         rtld_global._dl_hwcap2.
32689         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32690         POWER8.
32691         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32692         POWER8 feature descriptions defined in _dl_hwcap2.
32693         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32694         string handling for POWER8 feature bits.
32695         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32696         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32697         _dl_powerpc_cap_flags.
32698         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32699         * sysdeps/powerpc/rtld-global-offsets.sym
32700         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32701         _dl_hwcap2 in the rtld_global_ro structure.
32703 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32705         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32706         hardware capabilities in support of AT_HWCAP2.
32707         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32708         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32709         GLRO(dl_hwcap2).
32710         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32711         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32712         explicitly the unknown a_type display mechanism is used.
32713         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32714         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32715         struct member.
32716         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32717         to macro prototype for AT_HWCAP2 support.
32718         * sysdeps/i386/dl-procinfo.h: Likewise.
32719         * sysdeps/s390/dl-procinfo.h: Likewise.
32720         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32721         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32722         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32723         return -1 for unknown a_type display fallback.
32724         * sysdeps/sparc/dl-procinfo.h: Likewise.
32725         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32726         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32728 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32730         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32731         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32733 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32735         [BZ #12492]
32736         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32737         mprotect making __stack_prot writable.
32739 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32740             Joseph Myers  <joseph@codesourcery.com>
32742         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32743         as being properly aligned.
32745 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32747         * dlfcn/modstatic5.c: New file.
32748         * dlfcn/tststatic5.c: New file.
32749         * dlfcn/Makefile (tests): Add tststatic5.
32750         (tests-static): Likewise.
32751         (modules-names): Add modstatic5.
32752         (tststatic5-ENV): New variable.
32753         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32755         [BZ #15022]
32756         * elf/dl-support.c (_dl_main_map): New variable.
32757         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32758         (_dl_nns, _dl_load_adds): Set to 1.
32759         (_dl_initial_searchlist): Refer to _dl_main_map.
32760         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32761         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32762         call to _dl_get_origin.
32763         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32764         around call_map.
32765         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32766         * dlfcn/modstatic3.c: New file.
32767         * dlfcn/tststatic3.c: New file.
32768         * dlfcn/tststatic4.c: New file.
32769         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32770         (tests-static): Likewise.
32771         (modules-names): Add modstatic3.
32772         (tststatic3-ENV, tststatic4-ENV): New variables.
32773         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32774         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32776 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32778         * configure.in (CC): Require GCC version 4.4 or later.
32779         * configure: Regenerated.
32780         * manual/install.texi (Tools for Compilation): Update GCC version
32781         requirement.
32782         * INSTALL: Regenerated.
32784 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32786         [BZ #15674]
32787         * string/test-memcmp.c (check2): New.
32788         (main): Call check2.
32790         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32792 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32794         [BZ #15022]
32795         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32796         over to...
32797         (dl_open_worker) [!SHARED]: ... here.
32799 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32801         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32803 2013-06-25  Richard Henderson  <rth@redhat.com>
32805         * locale/programs/locarchive.c: Include <libc-internal.h>
32807 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32809         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32810         trailing whitespace removed.
32812 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32814         [BZ #10283]
32815         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32816         * locale/programs/locarchive.c: Include libc-mmap.h.
32817         (prepare_address_space): Take two new outputs (the mmap base and len).
32818         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32819         values.
32820         (create_archive): Declare new mmap base and len values for
32821         prepare_address_space, and store the result in ah.
32822         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32823         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32824         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32825         Declare new mmap base and len values for
32826         prepare_address_space, and store the result in new_ah.
32827         (open_archive): Declare new mmap base and len values for
32828         prepare_address_space, and store the result in ah.
32829         (close_archive): If ah->mmap_base is not NULL, use that and
32830         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32831         * sysdeps/generic/libc-mmap.h: New file.
32833 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32835         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32836         (ALIGN_UP): Likewise.
32837         (PTR_ALIGN_DOWN): Likewise.
32838         (PTR_ALIGN_UP): Likewise.
32840 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32842         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32843         entry mapped to PPC_PLATFORM_POWER8.
32844         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32845         POWER8.
32846         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32847         (_dl_string_platform): Add case for exporting platform position for
32848         POWER8.
32849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32850         search path to sysdeps/powerpc/powerpc32/power8 directory.
32851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32852         search path to sysdeps/powerpc/powerpc64/power8 directory.
32853         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32854         power7 directories.
32855         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32856         power7 directories.
32858 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32860         * INSTALL: Regenerate.
32862         * nscd/connections.c (nscd_init): Fix comment.
32864 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32866         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32868         [BZ #15667]
32869         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32870         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32872 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32874         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32875         DL_DST_REQ_STATIC.
32876         (DL_DST_REQ_STATIC): Remove macro.
32878 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32880         [BZ #7006]
32881         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32882         with a shift of 0 bits.
32884 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32886         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32887         $(tststatic-ENV).
32889 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32891         [BZ #15655]
32892         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32894 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32896         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32897         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32898         accepts -fno-tree-loop-distribute-patterns.
32899         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32900         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32901         recursive call.
32902         * string/memset.c (memset): Likewise.
32903         * string/test-memmove.c (simple_memmove): Disable loop transformation
32904         to library calls.
32905         * string/test-memset.c (simple_memset): Likewise.
32906         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32907         * benchtests/bench-memset.c (simple_memset): Likewise.
32908         * configure: Regenerated.
32910 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32912         * math/test-misc.c (main): Ignore fesetround failure when failures
32913         of subsequent rounding tests would be ignored.
32915         [BZ #15654]
32916         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32917         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32918         * math/fegetenv.c (__fegetenv): Return 0.
32919         * math/fegetexcept.c (fegetexcept): Return 0.
32920         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32921         FE_TONEAREST.
32922         * math/feholdexcpt.c (feholdexcept): Return 0.
32923         * math/fesetenv.c (__fesetenv): Return 0.
32924         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32925         argument FE_TONEAREST.
32926         * math/feupdateenv.c (__feupdateenv): Return 0.
32927         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32929 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32931         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32932         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32933         ($(objpfx)rtld-%.os rules): Use them.
32935 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32937         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32938         fields.
32940 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32942         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32943         length of target pattern, then descending length of dependency pattern.
32944         * configure.in (AWK): Require gawk 3.1.2 or newer.
32945         * manual/install.texi (Tools for Compilation): Say that we do.
32946         * configure: Regenerated.
32948         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32949         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32950         * scripts/sysd-rules.awk: ... this new script.
32951         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32952         than a glob-style pattern.
32954 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32956         * math/test-misc.c (main): Do not treat incorrectly rounded
32957         conversions as failure unless ROUNDING_TESTS passes.
32959 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32961         [BZ #15631]
32962         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32963         restore exception state around main square root computation, then
32964         check for inexactness explicitly.
32966         * math/libm-test.inc (fma_test_data): Add another test.
32968 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32970         * manual/threads.texi (Non-POSIX Extensions): New document
32971         node.  Document pthread_getattr_default_np and
32972         pthread_setattr_default_np.
32974         * Versions.def (libpthread): Add GLIBC_2.18.
32975         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32977         Likewise.
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32979         Likewise.
32980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32981         Likewise.
32982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32983         Likewise.
32984         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32985         Likewise.
32986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32987         Likewise.
32988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32989         Likewise.
32990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32991         Likewise.
32992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32993         Likewise.
32995 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32998         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33000 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33001             H.J. Lu  <hjl.tools@gmail.com>
33003         [BZ #15627]
33004         * sysdeps/x86_64/rtld-memset.c: Remove file.
33005         * sysdeps/x86_64/rtld-memset.S: New file.
33007 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
33009         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33010         (test_in_one_mode): Take arguments for whether the rounding mode
33011         is supported for each floating-point type.
33012         (do_test): Pass new arguments to test_in_one_mode using
33013         ROUNDING_TESTS.
33015 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33017         * posix/tst-waitid.c (do_test): Distinguish different instances of
33018         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
33019         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33020         before entering the kernel for waitpid.
33022 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33024         * NEWS: Fix note on clock function precision.  Text by Roland
33025         McGrath.
33027 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33029         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33030         it into place only when and if the sanity check passes.
33032 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
33034         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33035         output for whether conversion result is exact.  Take argument
33036         indicating whether type is IBM long double.
33037         (round_for_all): Change need_exact field to ibm_ld.
33038         * stdlib/tst-strtod-round.c (struct exactness): New type.
33039         (struct test): Change bool ld_ok field to struct exactness exact.
33040         (TEST): Update all definitions for change to field.
33041         (tests): Regenerate array contents.
33042         (test_in_one_mode): Take pointer to new field instead of old ld_ok
33043         field value.  Check for IBM long double here.
33044         (do_test): Update calls to test_in_one_mode.
33046 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33048         [BZ #12515]
33049         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33050         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33052 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33054         [BZ #15605]
33055         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33056         generated by the compiler on loop optimizations.
33057         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33058         general definitions.
33060 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
33062         * math/bug-nextafter.c: Include <math-tests.h>.
33063         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33064         the relevant type.
33065         * math/bug-nexttoward.c: Include <math-tests.h>.
33066         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33067         the relevant type.
33068         * math/test-misc.c: Include <math-tests.h>.
33069         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33070         the relevant type.
33072 2013-06-12  Andreas Jaeger  <aj@suse.de>
33074         * po/ia.po: Update Interlingua translation from translation
33075         project.
33077 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33079         * include/fenv.h: Include stdbool.h.
33080         (struct rm_ctx): New structure.
33081         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33082         Define macro.
33083         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33084         (SET_RESTORE_ROUNDF): Likewise.
33085         (SET_RESTORE_ROUNDL): Likewise.
33086         (SET_RESTORE_ROUND_NOEX): Likewise.
33087         (SET_RESTORE_ROUND_NOEXF): Likewise.
33088         (SET_RESTORE_ROUND_NOEXL): Likewise.
33089         (SET_RESTORE_ROUND_53BIT): Likewise.
33090         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33091         (libc_feresetround_noexf_ctx): Likewise.
33092         (libc_feresetround_noexl_ctx): Likewise.
33093         (libc_feholdsetround_53bit_ctx): Likewise.
33094         (libc_feresetround_53bit_ctx): Likewise.
33095         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33096         (libc_feholdexcept_setround_sse_ctx): New function.
33097         (libc_fesetenv_sse_ctx): Likewise.
33098         (libc_feupdateenv_sse_ctx): Likewise.
33099         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33100         (libc_feholdexcept_setround_387_ctx): Likewise.
33101         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33102         (libc_feholdsetround_387_prec_ctx): Likewise.
33103         (libc_feholdsetround_387_ctx): Likewise.
33104         (libc_feholdsetround_387_53bit_ctx): Likewise.
33105         (libc_feholdsetround_sse_ctx): Likewise.
33106         (libc_feresetround_sse_ctx): Likewise.
33107         (libc_feresetround_387_ctx): Likewise.
33108         (libc_feupdateenv_387_ctx): Likewise.
33109         (libc_feholdexcept_setroundf_ctx): Define macro.
33110         (libc_fesetenvf_ctx): Likewise.
33111         (libc_feupdateenvf_ctx): Likewise.
33112         (libc_feholdsetroundf_ctx): Likewise.
33113         (libc_feresetroundf_ctx): Likewise.
33114         (libc_feholdexcept_setround_ctx): Likewise.
33115         (libc_fesetenv_ctx): Likewise.
33116         (libc_feupdateenv_ctx): Likewise.
33117         (libc_feholdsetround_ctx): Likewise.
33118         (libc_feresetround_ctx): Likewise.
33119         (libc_feholdexcept_setroundl_ctx): Likewise.
33120         (libc_feupdateenvl_ctx): Likewise.
33121         (libc_feholdsetroundl_ctx): Likewise.
33122         (libc_feresetroundl_ctx): Likewise.
33123         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33124         (libc_feresetround_53bit_ctx): Likewise.
33126 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33128         * locale/iso-639.def: Convert to UTF-8.
33130 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33132         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33133         (EXCEPTION_TESTS_double): Likewise.
33134         (EXCEPTION_TESTS_long_double): Likewise.
33135         (EXCEPTION_TESTS): Likewise.
33136         * math/libm-test.inc (test_exceptions): Only test exceptions if
33137         EXCEPTION_TESTS (FLOAT).
33139 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33141         * benchtests/Makefile (string-bench): Add strcpy_chk and
33142         stpcpy_chk.
33143         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33144         * benchtests/bench-stpcpy_chk.c: New file.
33145         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33146         * benchtests/bench-strcpy_chk.c: New file.
33147         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33148         code.
33149         (do_test): Likewise.
33151 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33153         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33154         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33155         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33156         with tabs where appropriate.
33157         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33158         dl-procinfo.h.
33159         [PPC_PLATFORM_PPC440]: Likewise.
33160         [PPC_PLATFORM_PPC464]: Likewise.
33161         [PPC_PLATFORM_PPC476]: Likewise.
33162         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33163         ppc464, and ppc476 platform strings merging from ports/
33164         dl-procinfo.h.
33166 2013-06-11  Andreas Schwab  <schwab@suse.de>
33168         [BZ #14991]
33169         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33170         (from_ucs4_idx): Regenerate.
33171         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33172         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33173         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33174         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33175         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33176         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33177         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33178         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33179         from FROM_LOOP and TO_LOOP specific macros.
33180         (BODY): Handle combining characters.
33181         * iconvdata/BIG5HKSCS.irreversible: Update.
33182         * iconvdata/BIG5HKSCS.precomposed: New file.
33183         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33184         characters.
33185         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33187 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33189         * include/sys/time.h: Fix indentation and add copyright header.
33191         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33192         (do_test): Likewise.
33193         * string/test-memchr.c (do_one_test): Likewise.
33194         (do_test): Likewise.
33195         * string/test-memcmp.c (do_one_test): Likewise.
33196         (do_test): Likewise.
33197         * string/test-memcpy.c (do_one_test): Likewise.
33198         (do_test): Likewise.
33199         * string/test-memmem.c (do_one_test): Likewise.
33200         (do_test): Likewise.
33201         (do_random_tests): Likewise.
33202         * string/test-memmove.c (do_one_test): Likewise.
33203         (do_test): Likewise.
33204         * string/test-memset.c (do_one_test): Likewise.
33205         (do_test): Likewise.
33206         * string/test-rawmemchr.c (do_one_test): Likewise.
33207         (do_test): Likewise.
33208         * string/test-strcasecmp.c (do_one_test): Likewise.
33209         (do_test): Likewise.
33210         * string/test-strcasestr.c (do_one_test): Likewise.
33211         (do_test): Likewise.
33212         * string/test-strcat.c (do_one_test): Likewise.
33213         (do_test): Likewise.
33214         * string/test-strchr.c (do_one_test): Likewise.
33215         (do_test): Likewise.
33216         * string/test-strcmp.c (do_one_test): Likewise.
33217         (do_test): Likewise.
33218         * string/test-strcpy.c (do_one_test): Likewise.
33219         (do_test): Likewise.
33220         * string/test-string.h: Likewise.
33221         (test_init): Likewise.
33222         * string/test-strlen.c (do_one_test): Likewise.
33223         (do_test): Likewise.
33224         * string/test-strncasecmp.c (do_one_test): Likewise.
33225         (do_test): Likewise.
33226         * string/test-strncat.c (do_one_test): Likewise.
33227         (do_test): Likewise.
33228         * string/test-strncmp.c (do_one_test): Likewise.
33229         (do_test_limit): Likewise.
33230         (do_test): Likewise.
33231         * string/test-strncpy.c (do_one_test): Likewise.
33232         (do_test): Likewise.
33233         * string/test-strnlen.c (do_one_test): Likewise.
33234         (do_test): Likewise.
33235         * string/test-strpbrk.c (do_one_test): Likewise.
33236         (do_test): Likewise.
33237         * string/test-strrchr.c (do_one_test): Likewise.
33238         (do_test): Likewise.
33239         * string/test-strspn.c (do_one_test): Likewise.
33240         (do_test): Likewise.
33241         * string/test-strstr.c (do_one_test): Likewise.
33242         (do_test): Likewise.
33244         * benchtests/Makefile (string-bench): Add string benchmarks.
33245         * benchtests/bench-bcopy-ifunc.c: New file.
33246         * benchtests/bench-bcopy.c: New file.
33247         * benchtests/bench-bzero-ifunc.c: New file.
33248         * benchtests/bench-bzero.c: New file.
33249         * benchtests/bench-memccpy-ifunc.c: New file.
33250         * benchtests/bench-memccpy.c: New file.
33251         * benchtests/bench-memchr-ifunc.c: New file.
33252         * benchtests/bench-memchr.c: New file.
33253         * benchtests/bench-memcmp-ifunc.c: New file.
33254         * benchtests/bench-memcmp.c: New file.
33255         * benchtests/bench-memmem-ifunc.c: New file.
33256         * benchtests/bench-memmem.c: New file.
33257         * benchtests/bench-memmove-ifunc.c: New file.
33258         * benchtests/bench-memmove.c: New file.
33259         * benchtests/bench-mempcpy-ifunc.c: New file.
33260         * benchtests/bench-mempcpy.c: New file.
33261         * benchtests/bench-memset-ifunc.c: New file.
33262         * benchtests/bench-memset.c: New file.
33263         * benchtests/bench-rawmemchr-ifunc.c: New file.
33264         * benchtests/bench-rawmemchr.c: New file.
33265         * benchtests/bench-stpcpy-ifunc.c: New file.
33266         * benchtests/bench-stpcpy.c: New file.
33267         * benchtests/bench-stpncpy-ifunc.c: New file.
33268         * benchtests/bench-stpncpy.c: New file.
33269         * benchtests/bench-strcasecmp-ifunc.c: New file.
33270         * benchtests/bench-strcasecmp.c: New file.
33271         * benchtests/bench-strcasestr-ifunc.c: New file.
33272         * benchtests/bench-strcasestr.c: New file.
33273         * benchtests/bench-strcat-ifunc.c: New file.
33274         * benchtests/bench-strcat.c: New file.
33275         * benchtests/bench-strchr-ifunc.c: New file.
33276         * benchtests/bench-strchr.c: New file.
33277         * benchtests/bench-strchrnul-ifunc.c: New file.
33278         * benchtests/bench-strchrnul.c: New file.
33279         * benchtests/bench-strcmp-ifunc.c: New file.
33280         * benchtests/bench-strcmp.c: New file.
33281         * benchtests/bench-strcpy-ifunc.c: New file.
33282         * benchtests/bench-strcpy.c: New file.
33283         * benchtests/bench-strcspn-ifunc.c: New file.
33284         * benchtests/bench-strcspn.c: New file.
33285         * benchtests/bench-strlen-ifunc.c: New file.
33286         * benchtests/bench-strlen.c: New file.
33287         * benchtests/bench-strncasecmp-ifunc.c: New file.
33288         * benchtests/bench-strncasecmp.c: New file.
33289         * benchtests/bench-strncat-ifunc.c: New file.
33290         * benchtests/bench-strncat.c: New file.
33291         * benchtests/bench-strncmp-ifunc.c: New file.
33292         * benchtests/bench-strncmp.c: New file.
33293         * benchtests/bench-strncpy-ifunc.c: New file.
33294         * benchtests/bench-strncpy.c: New file.
33295         * benchtests/bench-strnlen-ifunc.c: New file.
33296         * benchtests/bench-strnlen.c: New file.
33297         * benchtests/bench-strpbrk-ifunc.c: New file.
33298         * benchtests/bench-strpbrk.c: New file.
33299         * benchtests/bench-strrchr-ifunc.c: New file.
33300         * benchtests/bench-strrchr.c: New file.
33301         * benchtests/bench-strspn-ifunc.c: New file.
33302         * benchtests/bench-strspn.c: New file.
33303         * benchtests/bench-strstr-ifunc.c: New file.
33304         * benchtests/bench-strstr.c: New file.
33306         * benchtests/Makefile: Disable parallel execution of targets.
33307         (string-bench): Add memcpy.
33308         (benchset): New variable to store a list of benchmark sets.
33309         (bench-func): Renamed from bench.
33310         (bench-set): New target.
33311         (bench): Depend on bench-func and bench-set.
33312         * benchtests/README: Add section on benchmark sets.
33313         * benchtests/bench-memcpy-ifunc.c: New file.
33314         * benchtests/bench-memcpy.c: New file.
33315         * benchtests/bench-string.h: New file.
33317 2013-06-11  Andreas Schwab  <schwab@suse.de>
33319         [BZ #15577]
33320         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33321         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33322         values in the triple.
33323         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33324         terminator in the group key.
33326 2013-06-11  Andreas Jaeger  <aj@suse.de>
33328         * po/zh_TW.po: Update Chinese (traditional) translation from
33329         translation project.
33331 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33333         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33334         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33335         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33336         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33337         (clock_getcpuclockid): Likewise.
33338         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33339         Add weak_alias and libc_hidden_def.
33340         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33341         * rt/clock_gettime.c (clock_gettime): Rename to
33342         __clock_gettime.  Add weak_alias and libc_hidden_def.
33343         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33344         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33345         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33346         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33347         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33348         Likewise.
33349         * rt/clock_settime.c (clock_settime): Rename to
33350         __clock_settime.  Add weak_alias and libc_hidden_def.
33351         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33353 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33355         * mach/err_boot.sub: Remove trailing whitespace.
33356         * mach/err_ipc.sub: Likewise.
33357         * mach/err_mach.sub: Likewise.
33359         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33360         (ROUNDING_TESTS_double): Likewise.
33361         (ROUNDING_TESTS_long_double): Likewise.
33362         (ROUNDING_TESTS): Likewise.
33363         * math/libm-test.inc: Include <math-tests.h>.
33364         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33365         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33366         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33367         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33369 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33371         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33372         of assigning.
33374 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33376         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33377         otherwise empty TRANS lines.
33378         * sysdeps/gnu/errlist.c: Regenerated.
33380         * catgets/gencat.c (error_print): Use (void) in function
33381         definition.
33382         * crypt/crypt_util.c (__init_des): Likewise.
33383         * crypt/speeds.c (Stop): Likewise.
33384         (main): Likewise.
33385         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33386         * inet/ruserpass.c (token): Likewise.
33387         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33388         * intl/localealias.c (extend_alias_table): Likewise.
33389         * intl/plural-exp.c (init_germanic_plural): Likewise.
33390         * libio/fcloseall.c (__fcloseall): Likewise.
33391         * libio/genops.c (_IO_flush_all): Likewise.
33392         (_IO_flush_all_linebuffered): Likewise.
33393         (_IO_cleanup): Likewise.
33394         (_IO_iter_begin): Likewise.
33395         (_IO_iter_end): Likewise.
33396         (_IO_list_lock): Likewise.
33397         (_IO_list_unlock): Likewise.
33398         (_IO_list_resetlock): Likewise.
33399         * libio/getchar.c (getchar): Likewise.
33400         * libio/getchar_u.c (getchar_unlocked): Likewise.
33401         * libio/getwchar.c (getwchar): Likewise.
33402         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33403         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33404         * login/getpt.c (__getpt): Likewise.
33405         * login/tst-utmp.c (main): Likewise.
33406         * malloc/hooks.c (__malloc_check_init): Likewise.
33407         * malloc/malloc.c (__malloc_stats): Likewise.
33408         * malloc/mtrace.c (tr_break): Likewise.
33409         (mtrace): Likewise.
33410         (muntrace): Likewise.
33411         * misc/fstab.c (endfsent): Likewise.
33412         * misc/getclktck.c (__getclktck): Likewise.
33413         * misc/getdtsz.c (__getdtablesize): Likewise.
33414         * misc/gethostid.c (gethostid): Likewise.
33415         * misc/getpagesize.c (__getpagesize): Likewise.
33416         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33417         (__get_nprocs): Likewise.
33418         (__get_phys_pages): Likewise.
33419         (__get_avphys_pages): Likewise.
33420         * misc/getttyent.c (getttyent): Likewise.
33421         (setttyent): Likewise.
33422         (endttyent): Likewise.
33423         * misc/getusershell.c (getusershell): Likewise.
33424         (endusershell): Likewise.
33425         (setusershell): Likewise.
33426         (initshells): Likewise.
33427         * misc/hsearch.c (__hdestroy): Likewise.
33428         * misc/sync.c (sync): Likewise.
33429         * misc/syslog.c (closelog_internal): Likewise.
33430         (closelog): Likewise.
33431         * misc/ttyslot.c (ttyslot): Likewise.
33432         * misc/vhangup.c (vhangup): Likewise.
33433         * posix/fork.c (__fork): Likewise.
33434         * posix/getegid.c (__getegid): Likewise.
33435         * posix/geteuid.c (__geteuid): Likewise.
33436         * posix/getgid.c (__getgid): Likewise.
33437         * posix/getpid.c (__getpid): Likewise.
33438         * posix/getppid.c (__getppid): Likewise.
33439         * posix/getuid.c (__getuid): Likewise.
33440         * posix/pause.c (pause): Likewise.
33441         * posix/setpgrp.c (setpgrp): Likewise.
33442         * posix/setsid.c (__setsid): Likewise.
33443         * posix/test-vfork.c (noop): Likewise.
33444         * resolv/gethnamaddr.c (_endhtent): Likewise.
33445         (_gethtent): Likewise.
33446         (ht_endhostent): Likewise.
33447         (gethostent): Likewise.
33448         (dns_service): Likewise.
33449         * stdlib/drand48.c (drand48): Likewise.
33450         * stdlib/lrand48.c (lrand48): Likewise.
33451         * stdlib/mrand48.c (mrand48): Likewise.
33452         * stdlib/rand.c (rand): Likewise.
33453         * stdlib/random.c (__random): Likewise.
33454         * stdlib/setenv.c (clearenv): Likewise.
33455         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33456         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33457         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33458         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33459         (__get_nprocs): Likewise.
33460         (__get_phys_pages): Likewise.
33461         (__get_avphys_pages): Likewise.
33462         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33463         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33464         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33465         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33466         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33467         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33468         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33469         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33470         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33471         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33472         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33473         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33474         * sysdeps/posix/clock.c (clock): Likewise.
33475         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33476         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33477         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33478         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33479         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33480         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33481         (__get_nprocs_conf): Likewise.
33482         (__get_phys_pages): Likewise.
33483         (__get_avphys_pages): Likewise.
33484         * time/clock.c (clock): Likewise.
33485         * time/tzset.c (__tzname_max): Likewise.
33487 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33489         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33490         (__bswap_32): Do not use "register".
33491         * crypt/crypt.c (_ufc_doit_r): Likewise.
33492         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33493         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33494         * gmon/gmon.c (__monstartup): Likewise.
33495         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33496         * hurd/hurdmalloc.c (more_memory): Likewise.
33497         (malloc): Likewise.
33498         (free): Likewise.
33499         (realloc): Likewise.
33500         (malloc_fork_prepare): Likewise.
33501         (malloc_fork_parent): Likewise.
33502         (malloc_fork_child): Likewise.
33503         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33504         (_svcauth_des): Likewise.
33505         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33506         * inet/inet_net.c (inet_network): Likewise.
33507         * inet/inet_netof.c (inet_netof): Likewise.
33508         * inet/rcmd.c (__validuser2_sa): Likewise.
33509         * io/fts.c (fts_open): Likewise.
33510         (fts_load): Likewise.
33511         (fts_close): Likewise.
33512         (fts_read): Likewise.
33513         (fts_children): Likewise.
33514         (fts_build): Likewise.
33515         (fts_stat): Likewise.
33516         (fts_sort): Likewise.
33517         (fts_alloc): Likewise.
33518         (fts_lfree): Likewise.
33519         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33520         (_IO_file_xsgetn): Likewise.
33521         (_IO_file_xsgetn_mmap): Likewise.
33522         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33523         (_IO_cookie_write): Likewise.
33524         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33525         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33526         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33527         * malloc/obstack.c (_obstack_begin): Likewise.
33528         (_obstack_begin_1): Likewise.
33529         (_obstack_newchunk): Likewise.
33530         (_obstack_allocated_p): Likewise.
33531         (obstack_free): Likewise.
33532         (_obstack_memory_used): Likewise.
33533         * misc/getttyent.c (getttynam): Likewise.
33534         (getttyent): Likewise.
33535         (skip): Likewise.
33536         (value): Likewise.
33537         * misc/getusershell.c (initshells): Likewise.
33538         * misc/syslog.c (__vsyslog_chk): Likewise.
33539         * misc/ttyslot.c (ttyslot): Likewise.
33540         * nis/nis_hash.c (__nis_hash): Likewise.
33541         * posix/fnmatch_loop.c (FCT): Likewise.
33542         * posix/getconf.c (print_all): Likewise.
33543         (main): Likewise.
33544         * posix/getopt.c (exchange): Likewise.
33545         * posix/glob.c (globfree): Likewise.
33546         (prefix_array): Likewise.
33547         (__glob_pattern_type): Likewise.
33548         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33549         (NS_GET32): Likewise.
33550         (NS_PUT16): Likewise.
33551         (NS_PUT32): Likewise.
33552         * resolv/gethnamaddr.c (getanswer): Likewise.
33553         (gethostbyname2): Likewise.
33554         (gethostbyaddr): Likewise.
33555         (_gethtent): Likewise.
33556         (_gethtbyname2): Likewise.
33557         (_gethtbyaddr): Likewise.
33558         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33559         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33560         * resolv/res_init.c (__res_vinit): Likewise.
33561         (net_mask): Likewise.
33562         * resolv/res_mkquery.c (outchar): Likewise.
33563         (PRINT): Likewise.
33564         * stdio-common/printf_fp.c (outchar): Likewise.
33565         (PRINT): Likewise.
33566         * stdio-common/printf_fphex.c (outchar): Likewise.
33567         (PRINT): Likewise.
33568         * stdio-common/printf_size.c (outchar): Likewise.
33569         (PRINT): Likewise.
33570         * stdio-common/test_rdwr.c (main): Likewise.
33571         * stdio-common/tfformat.c (matches): Likewise.
33572         * stdio-common/vfprintf.c (outchar): Likewise.
33573         (printf_unknown): Likewise.
33574         (buffered_vfprintf): Likewise.
33575         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33576         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33577         (ReadFile): Likewise.
33578         * stdlib/qsort.c (SWAP): Likewise.
33579         (_quicksort): Likewise.
33580         * stdlib/setenv.c (__add_to_environ): Likewise.
33581         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33582         * stdlib/strtol_l.c (__strtol_l): Likewise.
33583         * stdlib/tst-strtod.c (main): Likewise.
33584         * stdlib/tst-strtol.c (main): Likewise.
33585         * stdlib/tst-strtoll.c (main): Likewise.
33586         * string/bits/string2.h (__strcmp_cc): Likewise.
33587         (__strcmp_cg): Likewise.
33588         (__strcspn_c1): Likewise.
33589         (__strcspn_c2): Likewise.
33590         (__strcspn_c3): Likewise.
33591         (__strspn_c1): Likewise.
33592         (__strspn_c2): Likewise.
33593         (__strspn_c3): Likewise.
33594         (__strsep_1c): Likewise.
33595         (__strsep_2c): Likewise.
33596         (__strsep_3c): Likewise.
33597         * string/memccpy.c (__memccpy): Likewise.
33598         * string/stpcpy.c (__stpcpy): Likewise.
33599         * string/strcmp.c (strcmp): Likewise.
33600         * string/strrchr.c (strrchr): Likewise.
33601         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33602         Likewise.
33603         * sysdeps/mach/hurd/getcwd.c
33604         (_hurd_canonicalize_directory_name_internal): Likewise.
33605         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33606         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33607         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33608         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33609         Likewise, in both definitions.
33610         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33611         definitions.
33612         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33613         64] (__bswap_64): Likewise.
33614         * time/test_time.c (main): Likewise.
33615         * time/tzfile.c (__tzfile_read): Likewise.
33616         (__tzfile_compute): Likewise.
33617         * time/tzset.c (__tzset_parse_tz): Likewise.
33618         (tzset_internal): Likewise.
33619         (compute_change): Likewise.
33620         * wcsmbs/wcscat.c (__wcscat): Likewise.
33621         * wcsmbs/wcschr.c (wcschr): Likewise.
33622         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33623         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33624         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33625         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33626         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33627         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33628         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33629         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33630         * wcsmbs/wmemset.c (wmemset): Likewise.
33632 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33634         * scripts/config.guess: Update to version 2013-05-16.
33635         * scripts/config.sub: Update to version 2013-04-24.
33636         * scripts/install-sh: Update to version 2011-11-20.07.
33637         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33638         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33640 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33642         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33643         * elf/sln.c: Likewise.
33644         * hurd/hurd/ioctl.h: Likewise.
33645         * hurd/hurdmalloc.c: Likewise.
33646         * hurd/xattr.c: Likewise.
33647         * include/shlib-compat.h: Likewise.
33648         * inet/ruserpass.c: Likewise.
33649         * libio/iofgets_u.c: Likewise.
33650         * libio/iofgetws_u.c: Likewise.
33651         * locale/programs/ld-identification.c: Likewise.
33652         * locale/programs/ld-time.c: Likewise.
33653         * mach/msg-destroy.c: Likewise.
33654         * nss/nss_files/files-netgrp.c: Likewise.
33655         * resolv/res_data.c: Likewise.
33656         * soft-fp/op-1.h: Likewise.
33657         * soft-fp/op-2.h: Likewise.
33658         * soft-fp/op-4.h: Likewise.
33659         * soft-fp/op-common.h: Likewise.
33660         * stdio-common/printf_fphex.c: Likewise.
33661         * stdlib/strtod_l.c: Likewise.
33662         * sunrpc/rpc/clnt.h: Likewise.
33663         * sysdeps/generic/framestate.c: Likewise.
33664         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33665         * sysdeps/i386/bsd-setjmp.S: Likewise.
33666         * sysdeps/i386/__longjmp.S: Likewise.
33667         * sysdeps/i386/setjmp.S: Likewise.
33668         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33669         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33670         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33671         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33672         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33673         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33674         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33675         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33676         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33678         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33679         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33680         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33681         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33682         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33683         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33684         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33685         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33686         * sysdeps/ieee754/support.c: Likewise.
33687         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33688         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33689         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33690         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33691         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33692         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33693         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33694         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33695         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33696         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33697         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33698         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33699         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33700         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33701         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33702         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33703         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33706 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33708         * posix/transbug.c: Remove executable mode.
33710 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33712         * crypt/speeds.c: Remove trailing whitespace.
33713         * dlfcn/default.c: Likewise.
33714         * elf/ifuncdep2.c: Likewise.
33715         * elf/ifuncmain1.c: Likewise.
33716         * elf/ifuncmain1vis.c: Likewise.
33717         * elf/testobj.h: Likewise.
33718         * elf/tst-stackguard1.c: Likewise.
33719         * gmon/sys/gmon.h: Likewise.
33720         * hurd/hurdmsg.c: Likewise.
33721         * hurd/new-fd.c: Likewise.
33722         * hurd/ports-get.c: Likewise.
33723         * iconvdata/ibm1008_420.c: Likewise.
33724         * inet/tst-getni1.c: Likewise.
33725         * inet/tst-getni2.c: Likewise.
33726         * libio/ioungetc.c: Likewise.
33727         * libio/wfiledoalloc.c: Likewise.
33728         * manual/libm-err-tab.pl: Likewise.
33729         * math/w_dremf.c: Likewise.
33730         * misc/ftruncate.c: Likewise.
33731         * posix/bug-glob2.c: Likewise.
33732         * posix/tst-pcre.c: Likewise.
33733         * posix/wait4.c: Likewise.
33734         * resolv/README: Likewise.
33735         * resolv/res_debug.h: Likewise.
33736         * resolv/tst-inet_ntop.c: Likewise.
33737         * setjmp/bug269-setjmp.c: Likewise.
33738         * soft-fp/extended.h: Likewise.
33739         * soft-fp/op-1.h: Likewise.
33740         * soft-fp/op-2.h: Likewise.
33741         * soft-fp/op-4.h: Likewise.
33742         * soft-fp/op-8.h: Likewise.
33743         * soft-fp/testit.c: Likewise.
33744         * stdio-common/bug16.c: Likewise.
33745         * stdlib/random.c: Likewise.
33746         * sunrpc/rpcsvc/rquota.x: Likewise.
33747         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33748         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33750         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33751         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33752         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33753         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33754         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33755         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33756         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33757         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33758         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33759         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33760         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33762         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33763         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33764         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33765         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33766         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33767         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33768         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33769         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33770         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33771         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33772         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33773         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33776         * sysdeps/ieee754/s_lib_version.c: Likewise.
33777         * sysdeps/mach/hurd/check_fds.c: Likewise.
33778         * sysdeps/mach/hurd/getsockname.c: Likewise.
33779         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33780         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33781         * sysdeps/powerpc/bits/link.h: Likewise.
33782         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33783         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33784         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33785         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33786         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33787         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33788         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33789         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33790         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33791         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33792         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33793         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33794         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33795         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33796         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33797         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33798         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33801         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33802         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33803         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33805         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33806         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33807         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33808         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33809         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33810         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33814         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33815         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33816         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33817         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33818         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33819         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33820         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33821         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33822         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33823         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33824         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33825         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33826         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33827         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33828         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33829         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33830         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33831         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33834         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33835         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33836         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33837         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33838         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33839         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33840         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33841         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33842         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33843         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33844         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33845         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33846         * sysdeps/powerpc/sysdep.h: Likewise.
33847         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33848         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33849         * sysdeps/sh/dl-trampoline.S: Likewise.
33850         * sysdeps/sh/memset.S: Likewise.
33851         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33852         * sysdeps/sh/strlen.S: Likewise.
33853         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33854         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33855         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33856         * sysdeps/sparc/sparc32/rem.S: Likewise.
33857         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33858         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33859         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33860         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33861         * sysdeps/sparc/sparc32/urem.S: Likewise.
33862         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33863         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33864         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33865         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33867         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33868         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33869         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33870         * sysdeps/unix/bsd/times.c: Likewise.
33871         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33872         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33876         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33877         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33878         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33879         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33880         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33881         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33882         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33883         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33884         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33885         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33886         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33887         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33888         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33889         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33890         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33891         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33892         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33893         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33894         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33895         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33896         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33897         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33898         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33899         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33900         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33901         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33902         * sysdeps/x86_64/strcspn.S: Likewise.
33904 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33906         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33907         generated file.  Regenerate properly from gen-translit.pl.
33908         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33909         locale/C-translit.h.
33911 2013-06-05  Andreas Schwab  <schwab@suse.de>
33913         [BZ #15100]
33914         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33915         week as 6 instead of -1.
33916         * time/tst-strptime.c (day_tests): Add test case.
33918 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33920         * sysdeps/generic/math_private.h
33921         (libc_feholdexcept_setround_53bit): Replace with
33922         libc_feholdsetround_53bit.
33923         (libc_feupdateenv_53bit): Replace with
33924         libc_feresetround_53bit.
33925         (SET_RESTORE_ROUND_53BIT): Adjust.
33927 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33929         * string/test-strchrnul.c: Add copyright header.
33931         * posix/tst-getaddrinfo4.c: Increase test timeout.
33933 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33935         [BZ #15536]
33936         * math/libm-test.inc (MAX_EXP): Remove
33937         (MIN_EXP): Define.
33938         (ulp): Use MIN_EXP - MANT_DIG.
33939         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33941 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33943         * po/be.po: Revert last change.
33944         * po/zh_CN.po: Likewise.
33945         * po/header.pot: Likewise.
33947 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33949         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33950         link-libc-deps to empty as target-specific variable.
33951         * Makerules (link-libc-args): New variable.
33952         (libc-for-link): Likewise.
33953         (link-libc-deps): Likewise.
33954         (lib%.so): Depend on $(link-libc-deps).  Link with
33955         $(link-libc-args).
33956         (build-module): Link with $(link-libc-args).
33957         (build-module-asneeded): Likewise.
33958         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33959         list of objects.
33960         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33961         target-specific variable.
33962         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33963         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33964         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33965         libc.
33966         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33967         libc and ld.so.
33968         ($(objpfx)libpcprofile.so): Likewise.
33969         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33970         libc_nonshared.a.
33971         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33972         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33973         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33974         $(link-libc-deps).
33975         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33976         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33977         * login/Makefile ($(objpfx)libutil.so): Likewise.
33978         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33979         * math/Makefile ($(objpfx)libm.so): Likewise.
33980         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33981         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33982         variable instead of depending directly on libc.
33983         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33984         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33985         $(link-libc-deps).
33986         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33987         libc.
33988         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33989         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33990         ($(objpfx)libanl.so): Likewise.
33991         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33992         ld.so.
33993         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33994         $(link-libc-deps).
33995         * sysdeps/i386/fpu/Makefile: Remove file.
33996         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33997         ($(objpfx)libm.so): Remove dependency on ld.so.
33999 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
34001         [BZ # 15553]
34002         * nis/yp_xdr.c (XDRMAXNAME): Define.
34003         (XDRMAXRECORD): Define.
34004         (xdr_domainname): Use XDRMAXNAME.
34005         (xdr_mapname): Likewise.
34006         (xdr_peername): Likewise.
34007         (xdr_keydat): Use XDRMAXRECORD.
34008         (xdr_valdat): Likewise.
34010 2013-05-30  Jeff Law  <law@redhat.com>
34012         [BZ #14256]
34013         * manual/errno.texi (ESTALE): Update to account for more than
34014         just NFS file systems.
34015         * sysdeps/gnu/errlist.c: Regenerated.
34017 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34019         [BZ #15465]
34020         * elf/Makefile (tests): Add tst-null-argv.
34021         (modules-names):  Add tst-null-argv-lib.
34022         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34023         (tst-null-argv-ENV): Set environment for tst-null-argv.
34024         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34025         (RTLD_PROGNAME): New macro.
34026         * elf/tst-null-argv.c: New test case.
34027         * elf/tst-null-argv-lib.c: Library for test case.
34028         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34029         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34030         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34031         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34032         * elf/dl-init.c (call_init): Likewise.
34033         (_dl_init): Likewise.
34034         * elf/dl-load.c (print_search_path): Likewise.
34035         (_dl_map_object): Likewise.
34036         * elf/dl-lookup.c (do_lookup_x): Likewise.
34037         (add_dependency): Likewise.
34038         (_dl_lookup_symbol_x): Likewise.
34039         (_dl_debug_bindings): Likewise.
34040         * elf/dl-open.c (_dl_show_scope): Likewise.
34041         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34042         * elf/dl-version.c (match_symbol): Likewise.
34043         (_dl_check_map_versions): Likewise.
34044         * elf/rtld.c (dl_main): Likewise.
34045         (print_unresolved): Use RTLD_PROGNAME.
34046         (print_missing_version): Likewise.
34047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34048         (elf_machine_rela): Likewise.
34049         * sysdeps/powerpc/powerpc32/dl-machine.c
34050         (__process_machine_rela): Likewise.
34051         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34052         Likewise.
34053         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34054         Likewise.
34055         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34056         Likewise.
34057         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34058         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34059         Likewise.
34060         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34061         Likewise.
34062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34064 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
34066         * po/be.po: Add descriptive title.
34067         * po/zh_CN.po: Likewise.
34068         * po/header.pot: Likewise.
34070 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
34072         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34073         error message.
34074         (enlarge_archive): Likewise.
34076 2013-05-28  Ben North  <ben@redfrontdoor.org>
34078         * manual/arith.texi (frexp): It is the magnitude of the return
34079         value which lies in [0.5, 1), not the return value itself.
34081 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34085 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34087         * stdio-common/bug26.c (main): Correct fscanf template.
34089         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34090         declare _dl_skip_args.
34092         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34093         Don't declare.
34095         * manual/platform.texi: Add missing @end deftypefun.
34097 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34099         [BZ #15529]
34100         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34101         bit of mantissa of 2^16382.
34102         * math/libm-test.inc (hypot_test_data): Add more tests.
34104         * math/libm-test.inc: Add drem and pow10 to list of tested
34105         functions.
34106         (pow10_test): New function.
34107         (drem_test): Likewise.
34108         (drem_test_tonearest): Likewise.
34109         (drem_test_towardzero): Likewise.
34110         (drem_test_downward): Likewise.
34111         (drem_test_upward): Likewise.
34112         (main): Call the new functions.
34114         * math/libm-test.inc (finite_test_data): Remove.
34115         (finite_test): Run tests from isfinite_test_data.
34116         (gamma_test_data): Remove.
34117         (gamma_test): Run tests from lgamma_test_data.
34118         * sysdeps/i386/fpu/libm-test-ulps: Update.
34119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34121 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34123         * manual/platform.texi: Add PowerPC PPR function set documentation.
34124         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34125         implementation.
34127 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34129         * math/libm-test.inc (MAX_EXP): Define.
34130         (ULPDIFF): Define.
34131         (ulp): New function.
34132         (check_float_internal): Use ULPDIFF.
34133         (cpow_test): Disable failing test.
34134         (check_ulp): Test ulp() implemetnation.
34135         (main): Call check_ulp before starting tests.
34137 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34139         * math/gen-libm-test.pl (generate_testfile): Do not handle
34140         START_DATA and END_DATA.
34141         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34142         END_DATA.
34143         (acos_tonearest_test_data): Likewise.
34144         (acos_towardzero_test_data): Likewise.
34145         (acos_downward_test_data): Likewise.
34146         (acos_upward_test_data): Likewise.
34147         (acosh_test_data): Likewise.
34148         (asin_test_data): Likewise.
34149         (asin_tonearest_test_data): Likewise.
34150         (asin_towardzero_test_data): Likewise.
34151         (asin_downward_test_data): Likewise.
34152         (asin_upward_test_data): Likewise.
34153         (asinh_test_data): Likewise.
34154         (atan_test_data): Likewise.
34155         (atanh_test_data): Likewise.
34156         (atan2_test_data): Likewise.
34157         (cabs_test_data): Likewise.
34158         (cacos_test_data): Likewise.
34159         (cacosh_test_data): Likewise.
34160         (carg_test_data): Likewise.
34161         (casin_test_data): Likewise.
34162         (casinh_test_data): Likewise.
34163         (catan_test_data): Likewise.
34164         (catanh_test_data): Likewise.
34165         (cbrt_test_data): Likewise.
34166         (ccos_test_data): Likewise.
34167         (ccosh_test_data): Likewise.
34168         (ceil_test_data): Likewise.
34169         (cexp_test_data): Likewise.
34170         (cimag_test_data): Likewise.
34171         (clog_test_data): Likewise.
34172         (clog10_test_data): Likewise.
34173         (conj_test_data): Likewise.
34174         (copysign_test_data): Likewise.
34175         (cos_test_data): Likewise.
34176         (cos_tonearest_test_data): Likewise.
34177         (cos_towardzero_test_data): Likewise.
34178         (cos_downward_test_data): Likewise.
34179         (cos_upward_test_data): Likewise.
34180         (cosh_test_data): Likewise.
34181         (cosh_tonearest_test_data): Likewise.
34182         (cosh_towardzero_test_data): Likewise.
34183         (cosh_downward_test_data): Likewise.
34184         (cosh_upward_test_data): Likewise.
34185         (cpow_test_data): Likewise.
34186         (cproj_test_data): Likewise.
34187         (creal_test_data): Likewise.
34188         (csin_test_data): Likewise.
34189         (csinh_test_data): Likewise.
34190         (csqrt_test_data): Likewise.
34191         (ctan_test_data): Likewise.
34192         (ctan_tonearest_test_data): Likewise.
34193         (ctan_towardzero_test_data): Likewise.
34194         (ctan_downward_test_data): Likewise.
34195         (ctan_upward_test_data): Likewise.
34196         (ctanh_test_data): Likewise.
34197         (ctanh_tonearest_test_data): Likewise.
34198         (ctanh_towardzero_test_data): Likewise.
34199         (ctanh_downward_test_data): Likewise.
34200         (ctanh_upward_test_data): Likewise.
34201         (erf_test_data): Likewise.
34202         (erfc_test_data): Likewise.
34203         (exp_test_data): Likewise.
34204         (exp_tonearest_test_data): Likewise.
34205         (exp_towardzero_test_data): Likewise.
34206         (exp_downward_test_data): Likewise.
34207         (exp_upward_test_data): Likewise.
34208         (exp10_test_data): Likewise.
34209         (exp2_test_data): Likewise.
34210         (expm1_test_data): Likewise.
34211         (fabs_test_data): Likewise.
34212         (fdim_test_data): Likewise.
34213         (finite_test_data): Likewise.
34214         (floor_test_data): Likewise.
34215         (fma_test_data): Likewise.
34216         (fma_towardzero_test_data): Likewise.
34217         (fma_downward_test_data): Likewise.
34218         (fma_upward_test_data): Likewise.
34219         (fmax_test_data): Likewise.
34220         (fmin_test_data): Likewise.
34221         (fmod_test_data): Likewise.
34222         (fpclassify_test_data): Likewise.
34223         (frexp_test_data): Likewise.
34224         (gamma_test_data): Likewise.
34225         (hypot_test_data): Likewise.
34226         (ilogb_test_data): Likewise.
34227         (isfinite_test_data): Likewise.
34228         (isgreater_test_data): Likewise.
34229         (isgreaterequal_test_data): Likewise.
34230         (isinf_test_data): Likewise.
34231         (isless_test_data): Likewise.
34232         (islessequal_test_data): Likewise.
34233         (islessgreater_test_data): Likewise.
34234         (isnan_test_data): Likewise.
34235         (isnormal_test_data): Likewise.
34236         (issignaling_test_data): Likewise.
34237         (isunordered_test_data): Likewise.
34238         (j0_test_data): Likewise.
34239         (j1_test_data): Likewise.
34240         (jn_test_data): Likewise.
34241         (ldexp_test_data): Likewise.
34242         (lgamma_test_data): Likewise.
34243         (lrint_test_data): Likewise.
34244         (lrint_tonearest_test_data): Likewise.
34245         (lrint_towardzero_test_data): Likewise.
34246         (lrint_downward_test_data): Likewise.
34247         (lrint_upward_test_data): Likewise.
34248         (llrint_test_data): Likewise.
34249         (llrint_tonearest_test_data): Likewise.
34250         (llrint_towardzero_test_data): Likewise.
34251         (llrint_downward_test_data): Likewise.
34252         (llrint_upward_test_data): Likewise.
34253         (log_test_data): Likewise.
34254         (log10_test_data): Likewise.
34255         (log1p_test_data): Likewise.
34256         (log2_test_data): Likewise.
34257         (logb_test_data): Likewise.
34258         (logb_downward_test_data): Likewise.
34259         (lround_test_data): Likewise.
34260         (llround_test_data): Likewise.
34261         (modf_test_data): Likewise.
34262         (nearbyint_test_data): Likewise.
34263         (nextafter_test_data): Likewise.
34264         (nexttoward_test_data): Likewise.
34265         (pow_test_data): Likewise.
34266         (pow_tonearest_test_data): Likewise.
34267         (pow_towardzero_test_data): Likewise.
34268         (pow_downward_test_data): Likewise.
34269         (pow_upward_test_data): Likewise.
34270         (remainder_test_data): Likewise.
34271         (remainder_tonearest_test_data): Likewise.
34272         (remainder_towardzero_test_data): Likewise.
34273         (remainder_downward_test_data): Likewise.
34274         (remainder_upward_test_data): Likewise.
34275         (remquo_test_data): Likewise.
34276         (rint_test_data): Likewise.
34277         (rint_tonearest_test_data): Likewise.
34278         (rint_towardzero_test_data): Likewise.
34279         (rint_downward_test_data): Likewise.
34280         (rint_upward_test_data): Likewise.
34281         (round_test_data): Likewise.
34282         (scalb_test_data): Likewise.
34283         (scalbn_test_data): Likewise.
34284         (scalbln_test_data): Likewise.
34285         (signbit_test_data): Likewise.
34286         (sin_test_data): Likewise.
34287         (sin_tonearest_test_data): Likewise.
34288         (sin_towardzero_test_data): Likewise.
34289         (sin_downward_test_data): Likewise.
34290         (sin_upward_test_data): Likewise.
34291         (sincos_test_data): Likewise.
34292         (sinh_test_data): Likewise.
34293         (sinh_tonearest_test_data): Likewise.
34294         (sinh_towardzero_test_data): Likewise.
34295         (sinh_downward_test_data): Likewise.
34296         (sinh_upward_test_data): Likewise.
34297         (sqrt_test_data): Likewise.
34298         (tan_test_data): Likewise.
34299         (tan_tonearest_test_data): Likewise.
34300         (tan_towardzero_test_data): Likewise.
34301         (tan_downward_test_data): Likewise.
34302         (tan_upward_test_data): Likewise.
34303         (tanh_test_data): Likewise.
34304         (tgamma_test_data): Likewise.
34305         (trunc_test_data): Likewise.
34306         (y0_test_data): Likewise.
34307         (y1_test_data): Likewise.
34308         (yn_test_data): Likewise.
34309         (significand_test_data): Likewise.
34311         * math/gen-libm-test.pl (@functions): Remove variable.
34312         (generate_testfile): Don't handle START and END lines.
34313         * math/libm-test.inc (START): New macro.
34314         (END): Likewise.
34315         (END_COMPLEX): Likewise.
34316         (acos_test): Use END macro without arguments.
34317         (acos_test_tonearest): Likewise.
34318         (acos_test_towardzero): Likewise.
34319         (acos_test_downward): Likewise.
34320         (acos_test_upward): Likewise.
34321         (acosh_test): Likewise.
34322         (asin_test): Likewise.
34323         (asin_test_tonearest): Likewise.
34324         (asin_test_towardzero): Likewise.
34325         (asin_test_downward): Likewise.
34326         (asin_test_upward): Likewise.
34327         (asinh_test): Likewise.
34328         (atan_test): Likewise.
34329         (atanh_test): Likewise.
34330         (atan2_test): Likewise.
34331         (cabs_test): Likewise.
34332         (cacos_test): Use END_COMPLEX macro without arguments.
34333         (cacosh_test): Likewise.
34334         (carg_test): Use END macro without arguments.
34335         (casin_test): Use END_COMPLEX macro without arguments.
34336         (casinh_test): Likewise.
34337         (catan_test): Likewise.
34338         (catanh_test): Likewise.
34339         (cbrt_test): Use END macro without arguments.
34340         (ccos_test): Use END_COMPLEX macro without arguments.
34341         (ccosh_test): Likewise.
34342         (ceil_test): Use END macro without arguments.
34343         (cexp_test): Use END_COMPLEX macro without arguments.
34344         (cimag_test): Use END macro without arguments.
34345         (clog_test): Use END_COMPLEX macro without arguments.
34346         (clog10_test): Likewise.
34347         (conj_test): Likewise.
34348         (copysign_test): Use END macro without arguments.
34349         (cos_test): Likewise.
34350         (cos_test_tonearest): Likewise.
34351         (cos_test_towardzero): Likewise.
34352         (cos_test_downward): Likewise.
34353         (cos_test_upward): Likewise.
34354         (cosh_test): Likewise.
34355         (cosh_test_tonearest): Likewise.
34356         (cosh_test_towardzero): Likewise.
34357         (cosh_test_downward): Likewise.
34358         (cosh_test_upward): Likewise.
34359         (cpow_test): Use END_COMPLEX macro without arguments.
34360         (cproj_test): Likewise.
34361         (creal_test): Use END macro without arguments.
34362         (csin_test): Use END_COMPLEX macro without arguments.
34363         (csinh_test): Likewise.
34364         (csqrt_test): Likewise.
34365         (ctan_test): Likewise.
34366         (ctan_test_tonearest): Likewise.
34367         (ctan_test_towardzero): Likewise.
34368         (ctan_test_downward): Likewise.
34369         (ctan_test_upward): Likewise.
34370         (ctanh_test): Likewise.
34371         (ctanh_test_tonearest): Likewise.
34372         (ctanh_test_towardzero): Likewise.
34373         (ctanh_test_downward): Likewise.
34374         (ctanh_test_upward): Likewise.
34375         (erf_test): Use END macro without arguments.
34376         (erfc_test): Likewise.
34377         (exp_test): Likewise.
34378         (exp_test_tonearest): Likewise.
34379         (exp_test_towardzero): Likewise.
34380         (exp_test_downward): Likewise.
34381         (exp_test_upward): Likewise.
34382         (exp10_test): Likewise.
34383         (exp2_test): Likewise.
34384         (expm1_test): Likewise.
34385         (fabs_test): Likewise.
34386         (fdim_test): Likewise.
34387         (finite_test): Likewise.
34388         (floor_test): Likewise.
34389         (fma_test): Likewise.
34390         (fma_test_towardzero): Likewise.
34391         (fma_test_downward): Likewise.
34392         (fma_test_upward): Likewise.
34393         (fmax_test): Likewise.
34394         (fmin_test): Likewise.
34395         (fmod_test): Likewise.
34396         (fpclassify_test): Likewise.
34397         (frexp_test): Likewise.
34398         (gamma_test): Likewise.
34399         (hypot_test): Likewise.
34400         (ilogb_test): Likewise.
34401         (isfinite_test): Likewise.
34402         (isgreater_test): Likewise.
34403         (isgreaterequal_test): Likewise.
34404         (isinf_test): Likewise.
34405         (isless_test): Likewise.
34406         (islessequal_test): Likewise.
34407         (islessgreater_test): Likewise.
34408         (isnan_test): Likewise.
34409         (isnormal_test): Likewise.
34410         (issignaling_test): Likewise.
34411         (isunordered_test): Likewise.
34412         (j0_test): Likewise.
34413         (j1_test): Likewise.
34414         (jn_test): Likewise.
34415         (ldexp_test): Likewise.
34416         (lgamma_test): Likewise.
34417         (lrint_test): Likewise.
34418         (lrint_test_tonearest): Likewise.
34419         (lrint_test_towardzero): Likewise.
34420         (lrint_test_downward): Likewise.
34421         (lrint_test_upward): Likewise.
34422         (llrint_test): Likewise.
34423         (llrint_test_tonearest): Likewise.
34424         (llrint_test_towardzero): Likewise.
34425         (llrint_test_downward): Likewise.
34426         (llrint_test_upward): Likewise.
34427         (log_test): Likewise.
34428         (log10_test): Likewise.
34429         (log1p_test): Likewise.
34430         (log2_test): Likewise.
34431         (logb_test): Likewise.
34432         (logb_test_downward): Likewise.
34433         (lround_test): Likewise.
34434         (llround_test): Likewise.
34435         (modf_test): Likewise.
34436         (nearbyint_test): Likewise.
34437         (nextafter_test): Likewise.
34438         (nexttoward_test): Likewise.
34439         (pow_test): Likewise.
34440         (pow_test_tonearest): Likewise.
34441         (pow_test_towardzero): Likewise.
34442         (pow_test_downward): Likewise.
34443         (pow_test_upward): Likewise.
34444         (remainder_test): Likewise.
34445         (remainder_test_tonearest): Likewise.
34446         (remainder_test_towardzero): Likewise.
34447         (remainder_test_downward): Likewise.
34448         (remainder_test_upward): Likewise.
34449         (remquo_test): Likewise.
34450         (rint_test): Likewise.
34451         (rint_test_tonearest): Likewise.
34452         (rint_test_towardzero): Likewise.
34453         (rint_test_downward): Likewise.
34454         (rint_test_upward): Likewise.
34455         (round_test): Likewise.
34456         (scalb_test): Likewise.
34457         (scalbn_test): Likewise.
34458         (scalbln_test): Likewise.
34459         (signbit_test): Likewise.
34460         (sin_test): Likewise.
34461         (sin_test_tonearest): Likewise.
34462         (sin_test_towardzero): Likewise.
34463         (sin_test_downward): Likewise.
34464         (sin_test_upward): Likewise.
34465         (sincos_test): Likewise.
34466         (sinh_test): Likewise.
34467         (sinh_test_tonearest): Likewise.
34468         (sinh_test_towardzero): Likewise.
34469         (sinh_test_downward): Likewise.
34470         (sinh_test_upward): Likewise.
34471         (sqrt_test): Likewise.
34472         (tan_test): Likewise.
34473         (tan_test_tonearest): Likewise.
34474         (tan_test_towardzero): Likewise.
34475         (tan_test_downward): Likewise.
34476         (tan_test_upward): Likewise.
34477         (tanh_test): Likewise.
34478         (tgamma_test): Likewise.
34479         (trunc_test): Likewise.
34480         (y0_test): Likewise.
34481         (y1_test): Likewise.
34482         (yn_test): Likewise.
34483         (significand_test): Likewise.
34485 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34487         [BZ #15381]
34488         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34490 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34492         [BZ #14894]
34493         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34494         __ppc_mdoio and __ppc_mdoom.
34495         * manual/platform.texi: Document new functions __ppc_yield,
34496         __ppc_mdoio and __ppc_mdoom.
34498 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34500         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34501         (main): Mention "tls" pseudo-hwcap is legacy.
34502         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34504 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34506         * math/gen-libm-test.pl (parse_args): Output only string of
34507         arguments as text for test name, not full call or descriptions of
34508         tests for extra outputs.
34509         (generate_testfile): Do not pass function name to parse_args.
34510         Generate this_func variable from START.
34511         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34512         field to arg_str.
34513         (struct test_ff_f_data): Likewise.
34514         (test_ff_f_data_nexttoward): Likewise.
34515         (struct test_fi_f_data): Likewise.
34516         (struct test_fl_f_data): Likewise.
34517         (struct test_if_f_data): Likewise.
34518         (struct test_fff_f_data): Likewise.
34519         (struct test_c_f_data): Likewise.
34520         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34521         (struct test_fF_f1_data): Likewise.
34522         (struct test_ffI_f1_data): Likewise.
34523         (struct test_c_c_data): Rename test_name field to arg_str.
34524         (struct test_cc_c_data): Likewise.
34525         (struct test_f_i_data): Likewise.
34526         (struct test_ff_i_data): Likewise.
34527         (struct test_f_l_data): Likewise.
34528         (struct test_f_L_data): Likewise.
34529         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34530         and extra2_name.
34531         (COMMON_TEST_SETUP): New macro.
34532         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34533         (COMMON_TEST_CLEANUP): Likewise.
34534         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34535         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34536         macros.
34537         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34538         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34539         macros.
34540         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34541         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34542         cleanup macros.
34543         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34544         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34545         macros.
34546         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34547         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34548         macros.
34549         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34550         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34551         cleanup macros.
34552         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34553         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34554         cleanup macros.
34555         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34556         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34557         cleanup macros.
34558         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34559         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34560         macros.
34561         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34562         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34563         macros.
34564         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34565         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34566         macros.
34567         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34568         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34569         cleanup macros.
34570         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34571         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34572         cleanup macros.
34573         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34574         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34575         macros.
34576         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34577         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34578         cleanup macros.
34579         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34580         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34581         macros.
34582         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34583         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34584         macros.
34585         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34586         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34587         cleanup macros.
34588         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34590 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34592         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34593         to _sifields.sigfault.
34594         (si_addr_lsb): Define new macro.
34595         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34596         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34597         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34599 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34601         [BZ #15441]
34602         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34603         returns -1.
34604         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34605         null return -1.
34606         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34607         loading the domain.
34609 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34611         * math/gen-libm-test.pl (parse_args): Do not include expected
34612         result in test name.
34613         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34615         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34616         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34617         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34620 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34622         * benchtests/Makefile: Sort function entries.
34624         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34625         tanh, asinh, acosh, atanh.
34626         * benchtests/acos-inputs: New file.
34627         * benchtests/acosh-inputs: New file.
34628         * benchtests/asin-inputs: New file.
34629         * benchtests/asinh-inputs: New file.
34630         * benchtests/atanh-inputs: New file.
34631         * benchtests/cosh-inputs: New file.
34632         * benchtests/log-inputs: New file.
34633         * benchtests/sinh-inputs: New file.
34634         * benchtests/tanh-inputs: New file.
34636 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34638         [BZ #15339]
34639         * posix/tst-getaddrinfo4.c: New test.
34640         * posix/Makefile (tests): Add it.
34642 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34644         [BZ #15339]
34645         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34646         when no services were used.
34647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34648         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34650 2013-05-21  Andreas Schwab  <schwab@suse.de>
34652         [BZ #15014]
34653         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34654         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34655         successful.
34656         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34657         redundant variable declarations and reallocation of buffer when
34658         parsing as IPv6 address.  Always set NSS status when called from
34659         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34660         buffer too small.  Correct computation of needed size.
34661         * nss/Makefile (tests): Add test-digits-dots.
34662         * nss/test-digits-dots.c: New test.
34664 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34666         * benchtests/Makefile: Remove instructions for adding
34667         benchmark tests.
34668         * benchtests/README: New file to explain how to execute and
34669         enhance the benchmark tests.
34671 2013-05-21  Andreas Schwab  <schwab@suse.de>
34673         [BZ #15493]
34674         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34675         * setjmp/tst-sigsetjmp.c: New test.
34677 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34679         * sysdeps/x86_64/memset.S (memset): New implementation.
34680         (__bzero): Likewise.
34681         (__memset_tail): New function.
34683 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34685         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34686         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34687         __memcpy_sse2_unaligned ifunc selection.
34688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34689         Add memcpy-sse2-unaligned.S.
34690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34691         Add: __memcpy_sse2_unaligned.
34693 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34695         [BZ #15490]
34696         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34697         math_force_eval before restoring floating-point envrionment.
34698         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34699         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34700         Likewise.
34701         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34702         <math_private.h>.
34703         (__nearbyintl): Use math_force_eval before restoring
34704         floating-point environment.
34705         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34707         * math/gen-libm-test.pl (special_functions): Remove.
34708         (parse_args): Don't handle TEST_extra.  Handle functions with no
34709         return value.
34710         * math/libm-test.inc (struct test_sincos_data): Replace with
34711         struct test_fFF_11_data.
34712         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34713         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34714         (sincos_test_data): Change element type to struct
34715         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34716         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34717         RUN_TEST_LOOP_sincos.
34718         * math/README.libm-test: Don't mention special handling of
34719         individual functions.
34720         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34721         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34722         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34723         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34724         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34727         * math/gen-libm-test.pl (get_variable): Remove function.
34728         (parse_args): Don't show pointer parameters to call in test
34729         names.  Use "extra output N" in test names for extra outputs
34730         rather than naming variables.
34732 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34734         [BZ #15488]
34735         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34736         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34737         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34738         double tests.
34739         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34740         disable.
34741         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34742         check_long_double.
34744         * math/gen-libm-test.pl (@tests): Remove variable.
34745         ($count): Likewise.
34746         (new_test): Remove function.
34747         (show_exceptions): New function.
34748         (special_functions): Use show_exceptions instead of new_test.
34749         (parse_args): Likewise.
34750         (generate_testfile): Pass only function name in generated call to
34751         print_max_error or print_complex_max_error.
34752         (get_ulps): Do not handle complex tests specially.
34753         (output_test): Rename to ...
34754         (get_all_ulps_for_test): ... this.  Return a string rather than
34755         printing to a file.  Require ulps to be present.
34756         (output_ulps): Generate arrays rather than #defines.
34757         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34758         (struct ulp_data): New type.
34759         (BUILD_COMPLEX_ULP): Remove macro.
34760         (compare_ulp_data): New function.
34761         (find_ulps): Likewise.
34762         (find_test_ulps): Likewise.
34763         (find_function_ulps): Likewise.
34764         (find_complex_function_ulps): Likewise.
34765         (print_max_error): Determine allowed ulps using
34766         find_function_ulps.
34767         (print_complex_max_error): Determine allowed ulps using
34768         find_complex_function_ulps.
34769         (check_float_internal): Determine max ulps using find_test_ulps.
34770         (check_float): Do not take max_ulp parameter.  Update call to
34771         check_float_internal.
34772         (check_complex): Likewise.
34773         (check_int): Do not take max_ulp parameter.
34774         (check_long): Likewise.
34775         (check_bool): Likewise.
34776         (check_longlong): Likewise.
34777         (struct test_f_f_data): Remove max_ulp field.
34778         (struct test_ff_f_data): Likewise.
34779         (struct test_ff_f_data_nexttoward): Likewise.
34780         (struct test_fi_f_data): Likewise.
34781         (struct test_fl_f_data): Likewise.
34782         (struct test_if_f_data): Likewise.
34783         (struct test_fff_f_data): Likewise.
34784         (struct test_c_f_data): Likewise.
34785         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34786         (struct test_fF_f1_data): Likewise.
34787         (struct test_ffI_f1_data): Likewise.
34788         (struct test_c_c_data): Remove max_ulp field.
34789         (struct test_cc_c_data): Likewise.
34790         (struct test_f_i_data): Likewise.
34791         (struct test_ff_i_data): Likewise.
34792         (struct test_f_l_data): Likewise.
34793         (struct test_f_L_data): Likewise.
34794         (struct test_sincos_data): Likewise.
34795         (RUN_TEST_f_f): Do not handle ulps.
34796         (RUN_TEST_LOOP_f_f): Likewise.
34797         (RUN_TEST_2_f): Likewise.
34798         (RUN_TEST_LOOP_2_f): Likewise.
34799         (RUN_TEST_fff_f): Likewise.
34800         (RUN_TEST_LOOP_fff_f): Likewise.
34801         (RUN_TEST_c_f): Likewise.
34802         (RUN_TEST_LOOP_c_f): Likewise.
34803         (RUN_TEST_f_f1): Likewise.
34804         (RUN_TEST_LOOP_f_f1): Likewise.
34805         (RUN_TEST_fF_f1): Likewise.
34806         (RUN_TEST_LOOP_fF_f1): Likewise.
34807         (RUN_TEST_fI_f1): Likewise.
34808         (RUN_TEST_LOOP_fI_f1): Likewise.
34809         (RUN_TEST_ffI_f1): Likewise.
34810         (RUN_TEST_LOOP_ffI_f1): Likewise.
34811         (RUN_TEST_c_c): Likewise.
34812         (RUN_TEST_LOOP_c_c): Likewise.
34813         (RUN_TEST_cc_c): Likewise.
34814         (RUN_TEST_LOOP_cc_c): Likewise.
34815         (RUN_TEST_f_i): Likewise.
34816         (RUN_TEST_LOOP_f_i): Likewise.
34817         (RUN_TEST_f_i_tg): Likewise.
34818         (RUN_TEST_LOOP_f_i_tg): Likewise.
34819         (RUN_TEST_ff_i_tg): Likewise.
34820         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34821         (RUN_TEST_f_b): Likewise.
34822         (RUN_TEST_LOOP_f_b): Likewise.
34823         (RUN_TEST_f_b_tg): Likewise.
34824         (RUN_TEST_LOOP_f_b_tg): Likewise.
34825         (RUN_TEST_f_l): Likewise.
34826         (RUN_TEST_LOOP_f_l): Likewise.
34827         (RUN_TEST_f_L): Likewise.
34828         (RUN_TEST_LOOP_f_L): Likewise.
34829         (RUN_TEST_sincos): Likewise.
34830         (RUN_TEST_LOOP_sincos): Likewise.
34832 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34834         [BZ #15480]
34835         [BZ #15485]
34836         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34837         main case of finite arguments, set rounding mode to FE_TONEAREST
34838         and discard exceptions.
34839         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34840         exceptions.
34841         (remainder_tonearest_test_data): New variable.
34842         (remainder_test_tonearest): New function.
34843         (remainder_towardzero_test_data): New variable.
34844         (remainder_test_towardzero): New function.
34845         (remainder_downward_test_data): New variable.
34846         (remainder_test_downward): New function.
34847         (remainder_upward_test_data): New variable.
34848         (remainder_test_upward): New function.
34849         (main): Call the new test functions.
34851         * math/libm-test.inc (struct test_f_f1_data): Remove field
34852         extra_init.
34853         (struct test_fF_f1_data): Likewise.
34854         (struct test_ffI_f1_data): Likewise.
34855         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34856         based on value of EXTRA_EXPECTED.
34857         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34858         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34859         EXTRA_VAR based on value of EXTRA_EXPECTED.
34860         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34861         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34862         EXTRA_VAR based on value of EXTRA_EXPECTED.
34863         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34864         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34865         EXTRA_VAR based on value of EXTRA_EXPECTED.
34866         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34867         * math/gen-libm-test.pl (parse_args): Don't output initializers
34868         for extra output values.
34870         * math/libm-test.inc (check_int): Expect result to be exactly
34871         equal to expected value and do not handle ulps.
34872         (check_long): Likewise.
34873         (check_longlong): Likewise.
34875         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34876         exceptions.
34877         (cimag_test_data): Likewise.
34878         (conj_test_data): Likewise.
34879         (copysign_test_data): Likewise.
34880         (cproj_test_data): Likewise.
34881         (creal_test_data): Likewise.
34882         (fabs_test_data): Likewise.
34883         (fdim_test_data): Likewise.
34884         (finite_test_data): Likewise.
34885         (floor_test_data): Likewise.
34886         (fmax_test_data): Likewise.
34887         (fmin_test_data): Likewise.
34888         (fmod_test_data): Likewise.
34889         (fpclassify_test_data): Likewise.
34890         (frexp_test_data): Likewise.
34891         (ilogb_test_data): Likewise.
34892         (isfinite_test_data): Likewise.
34893         (isgreater_test_data): Likewise.
34894         (isgreaterequal_test_data): Likewise.
34895         (isinf_test_data): Likewise.
34896         (isless_test_data): Likewise.
34897         (islessequal_test_data): Likewise.
34898         (islessgreater_test_data): Likewise.
34899         (isnan_test_data): Likewise.
34900         (isnormal_test_data): Likewise.
34901         (issignaling_test_data): Likewise.
34902         (isunordered_test_data): Likewise.
34903         (ldexp_test_data): Likewise.
34904         (lrint_test_data): Likewise.
34905         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34906         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34907         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34908         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34909         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34910         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34911         test input.
34912         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34913         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34914         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34915         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34916         that test input.
34917         (lrint_downward_test_data): Test for "inexact" exceptions.
34918         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34919         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34920         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34921         test input.
34922         (lrint_upward_test_data): Test for "inexact" exceptions.
34923         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34924         test input.
34925         (llrint_test_data): Test for "inexact" exceptions.
34926         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34927         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34928         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34929         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34930         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34931         (llrint_downward_test_data): Test for "inexact" exceptions.
34932         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34933         (llrint_upward_test_data): Test for "inexact" exceptions.
34934         (logb_test_data): Likewise.
34935         (logb_downward_test_data): Likewise.
34936         (nextafter_test_data): Likewise.
34937         (nexttoward_test_data): Likewise.
34938         (remainder_test_data): Likewise.
34939         (remquo_test_data): Likewise.
34940         (scalbn_test_data): Likewise.
34941         (scalbln_test_data): Likewise.
34942         (signbit_test_data): Likewise.
34943         (sqrt_test_data): Likewise.
34944         (significand_test_data): Likewise.
34946 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34948         [BZ #15424]
34949         * benchtests/bench-modf.c (struct args): Mark arg0 as
34950         volatile.
34951         * scripts/bench.pl: Mark members of struct args as volatile.
34953 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34955         [BZ # 15497]
34956         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34957         negative infinity on POWER6 or lower.
34958         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34960 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34962         [BZ #15442]
34963         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34964         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34965         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34966         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34967         (_FP_SETQNAN): New macro.
34968         (_FP_SETQNAN_SEMIRAW): Likewise.
34969         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34970         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34971         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34972         (FP_EXTEND): Use _FP_FRAC_SNANP.
34973         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34974         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34975         into account.
34976         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34977         New macro.
34978         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34979         Likewise.
34981 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34983         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34984         with DIVIDE_BY_ZERO_EXCEPTION.
34985         (gamma_test_data): Likewise.
34986         (lgamma_test_data): Likewise.
34987         (log_test_data): Likewise.
34988         (log10_test_data): Likewise.
34989         (log2_test_data): Likewise.
34990         (tgamma_test_data): Likewise.
34992         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34993         (acos_test_tonearest): Likewise.
34994         (acos_test_towardzero): Likewise.
34995         (acos_test_downward): Likewise.
34996         (acos_test_upward): Likewise.
34997         (acosh_test): Likewise.
34998         (asin_test): Likewise.
34999         (asin_test_tonearest): Likewise.
35000         (asin_test_towardzero): Likewise.
35001         (asin_test_downward): Likewise.
35002         (asin_test_upward): Likewise.
35003         (asinh_test): Likewise.
35004         (atan_test): Likewise.
35005         (atanh_test): Likewise.
35006         (atan2_test): Likewise.
35007         (cabs_test): Likewise.
35008         (cacos_test): Likewise.
35009         (cacosh_test): Likewise.
35010         (casin_test): Likewise.
35011         (casinh_test): Likewise.
35012         (catan_test): Likewise.
35013         (catanh_test): Likewise.
35014         (cbrt_test): Likewise.
35015         (ccos_test): Likewise.
35016         (ccosh_test): Likewise.
35017         (cexp_test): Likewise.
35018         (clog_test): Likewise.
35019         (clog10_test): Likewise.
35020         (cos_test): Likewise.
35021         (cos_test_tonearest): Likewise.
35022         (cos_test_towardzero): Likewise.
35023         (cos_test_downward): Likewise.
35024         (cos_test_upward): Likewise.
35025         (cosh_test): Likewise.
35026         (cosh_test_tonearest): Likewise.
35027         (cosh_test_towardzero): Likewise.
35028         (cosh_test_downward): Likewise.
35029         (cosh_test_upward): Likewise.
35030         (cpow_test): Likewise.
35031         (csin_test): Likewise.
35032         (csinh_test): Likewise.
35033         (csqrt_test): Likewise.
35034         (ctan_test): Likewise.
35035         (ctan_test_tonearest): Likewise.
35036         (ctan_test_towardzero): Likewise.
35037         (ctan_test_downward): Likewise.
35038         (ctan_test_upward): Likewise.
35039         (ctanh_test): Likewise.
35040         (ctanh_test_tonearest): Likewise.
35041         (ctanh_test_towardzero): Likewise.
35042         (ctanh_test_downward): Likewise.
35043         (ctanh_test_upward): Likewise.
35044         (erf_test): Likewise.
35045         (erfc_test): Likewise.
35046         (exp_test): Likewise.
35047         (exp_test_tonearest): Likewise.
35048         (exp_test_towardzero): Likewise.
35049         (exp_test_downward): Likewise.
35050         (exp_test_upward): Likewise.
35051         (exp10_test): Likewise.
35052         (exp2_test): Likewise.
35053         (expm1_test): Likewise.
35054         (fmod_test): Likewise.
35055         (gamma_test): Likewise.
35056         (hypot_test): Likewise.
35057         (j0_test): Likewise.
35058         (j1_test): Likewise.
35059         (jn_test): Likewise.
35060         (lgamma_test): Likewise.
35061         (log_test): Likewise.
35062         (log10_test): Likewise.
35063         (log1p_test): Likewise.
35064         (log2_test): Likewise.
35065         (logb_test_downward): Likewise.
35066         (pow_test): Likewise.
35067         (pow_test_tonearest): Likewise.
35068         (pow_test_towardzero): Likewise.
35069         (pow_test_downward): Likewise.
35070         (pow_test_upward): Likewise.
35071         (remainder_test): Likewise.
35072         (remquo_test): Likewise.
35073         (sin_test): Likewise.
35074         (sin_test_tonearest): Likewise.
35075         (sin_test_towardzero): Likewise.
35076         (sin_test_downward): Likewise.
35077         (sin_test_upward): Likewise.
35078         (sincos_test): Likewise.
35079         (sinh_test): Likewise.
35080         (sinh_test_tonearest): Likewise.
35081         (sinh_test_towardzero): Likewise.
35082         (sinh_test_downward): Likewise.
35083         (sinh_test_upward): Likewise.
35084         (sqrt_test): Likewise.
35085         (tan_test): Likewise.
35086         (tan_test_tonearest): Likewise.
35087         (tan_test_towardzero): Likewise.
35088         (tan_test_downward): Likewise.
35089         (tan_test_upward): Likewise.
35090         (tanh_test): Likewise.
35091         (tgamma_test): Likewise.
35092         (y0_test): Likewise.
35093         (y1_test): Likewise.
35094         (yn_test): Likewise.
35096         * math/gen-libm-test.pl (adjust_arg): Remove function.
35097         (special_function): Remove argument $in_func.  Only handle
35098         generating output for tables of tests, not inside functions.
35099         (parse_args): Likewise.
35100         (generate_testfile): Remove variable $in_func.  Update call to
35101         parse_args.
35102         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35103         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35104         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35105         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35106         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35107         (MAX_VALUE_INIT): Rename macro to max_value.
35108         (MIN_VALUE_INIT): Rename macro to min_value.
35109         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35110         (plus_zero): Remove variable.
35111         (minus_zero): Likewise.
35112         (plus_infty): Likewise.
35113         (minus_infty): Likewise.
35114         (qnan_value): Likewise.
35115         (max_value): Likewise.
35116         (min_value): Likewise.
35117         (min_subnorm_value): Likewise.
35119 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35121         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35122         uint64_t or uint32_t usage.
35123         * crypt/sha256-block.c: Likewise.
35124         * crypt/sha256-crypt.c: Likewise.
35125         * crypt/sha256.c: Likewise.
35126         * crypt/sha512-block.c: Likewise.
35127         * crypt/sha512-crypt.c: Likewise.
35128         * crypt/sha512.c: Likewise.
35129         * debug/backtrace-tst.c: Likewise.
35130         * debug/pcprofiledump.c: Likewise.
35131         * elf/cache.c: Likewise.
35132         * elf/dl-cache.c: Likewise.
35133         * elf/dl-misc.c: Likewise.
35134         * elf/dl-profile.c: Likewise.
35135         * elf/dl-support.c: Likewise.
35136         * elf/ldconfig.c: Likewise.
35137         * elf/sprof.c: Likewise.
35138         * iconv/dummy-repertoire.c: Likewise.
35139         * iconv/iconv_charmap.c: Likewise.
35140         * iconv/skeleton.c: Likewise.
35141         * iconvdata/8bit-generic.c: Likewise.
35142         * iconvdata/cp737.h: Likewise.
35143         * iconvdata/cp775.h: Likewise.
35144         * iconvdata/ibm1008.h: Likewise.
35145         * iconvdata/ibm1025.h: Likewise.
35146         * iconvdata/ibm1046.h: Likewise.
35147         * iconvdata/ibm1097.h: Likewise.
35148         * iconvdata/ibm1112.h: Likewise.
35149         * iconvdata/ibm1122.h: Likewise.
35150         * iconvdata/ibm1123.h: Likewise.
35151         * iconvdata/ibm1124.h: Likewise.
35152         * iconvdata/ibm1129.h: Likewise.
35153         * iconvdata/ibm1130.h: Likewise.
35154         * iconvdata/ibm1132.h: Likewise.
35155         * iconvdata/ibm1133.h: Likewise.
35156         * iconvdata/ibm1137.h: Likewise.
35157         * iconvdata/ibm1140.h: Likewise.
35158         * iconvdata/ibm1141.h: Likewise.
35159         * iconvdata/ibm1142.h: Likewise.
35160         * iconvdata/ibm1143.h: Likewise.
35161         * iconvdata/ibm1144.h: Likewise.
35162         * iconvdata/ibm1145.h: Likewise.
35163         * iconvdata/ibm1146.h: Likewise.
35164         * iconvdata/ibm1147.h: Likewise.
35165         * iconvdata/ibm1148.h: Likewise.
35166         * iconvdata/ibm1149.h: Likewise.
35167         * iconvdata/ibm1153.h: Likewise.
35168         * iconvdata/ibm1154.h: Likewise.
35169         * iconvdata/ibm1155.h: Likewise.
35170         * iconvdata/ibm1156.h: Likewise.
35171         * iconvdata/ibm1157.h: Likewise.
35172         * iconvdata/ibm1158.h: Likewise.
35173         * iconvdata/ibm1160.h: Likewise.
35174         * iconvdata/ibm1161.h: Likewise.
35175         * iconvdata/ibm1162.h: Likewise.
35176         * iconvdata/ibm1163.h: Likewise.
35177         * iconvdata/ibm1164.h: Likewise.
35178         * iconvdata/ibm1166.h: Likewise.
35179         * iconvdata/ibm1167.h: Likewise.
35180         * iconvdata/ibm12712.h: Likewise.
35181         * iconvdata/ibm1390.h: Likewise.
35182         * iconvdata/ibm1399.h: Likewise.
35183         * iconvdata/ibm16804.h: Likewise.
35184         * iconvdata/ibm4517.h: Likewise.
35185         * iconvdata/ibm4899.h: Likewise.
35186         * iconvdata/ibm4909.h: Likewise.
35187         * iconvdata/ibm4971.h: Likewise.
35188         * iconvdata/ibm5347.h: Likewise.
35189         * iconvdata/ibm803.h: Likewise.
35190         * iconvdata/ibm856.h: Likewise.
35191         * iconvdata/ibm901.h: Likewise.
35192         * iconvdata/ibm902.h: Likewise.
35193         * iconvdata/ibm9030.h: Likewise.
35194         * iconvdata/ibm9066.h: Likewise.
35195         * iconvdata/ibm921.h: Likewise.
35196         * iconvdata/ibm922.h: Likewise.
35197         * iconvdata/ibm9448.h: Likewise.
35198         * iconvdata/isiri-3342.h: Likewise.
35199         * iconvdata/jis0201.h: Likewise.
35200         * include/link.h: Likewise.
35201         * include/netdb.h: Likewise.
35202         * inet/check_native.c: Likewise.
35203         * inet/check_pf.c: Likewise.
35204         * inet/getipv4sourcefilter.c: Likewise.
35205         * inet/getnameinfo.c: Likewise.
35206         * inet/getsourcefilter.c: Likewise.
35207         * inet/htonl.c: Likewise.
35208         * inet/setipv4sourcefilter.c: Likewise.
35209         * inet/setsourcefilter.c: Likewise.
35210         * inet/test-inet6_opt.c: Likewise.
35211         * inet/tst-network.c: Likewise.
35212         * locale/C-collate.c: Likewise.
35213         * locale/C-ctype.c: Likewise.
35214         * locale/C-time.c: Likewise.
35215         * locale/C-translit.h: Likewise.
35216         * locale/loadarchive.c: Likewise.
35217         * locale/programs/3level.h: Likewise.
35218         * locale/programs/charmap.c: Likewise.
35219         * locale/programs/charmap.h: Likewise.
35220         * locale/programs/ld-address.c: Likewise.
35221         * locale/programs/ld-collate.c: Likewise.
35222         * locale/programs/ld-ctype.c: Likewise.
35223         * locale/programs/ld-identification.c: Likewise.
35224         * locale/programs/ld-measurement.c: Likewise.
35225         * locale/programs/ld-messages.c: Likewise.
35226         * locale/programs/ld-monetary.c: Likewise.
35227         * locale/programs/ld-name.c: Likewise.
35228         * locale/programs/ld-numeric.c: Likewise.
35229         * locale/programs/ld-paper.c: Likewise.
35230         * locale/programs/ld-telephone.c: Likewise.
35231         * locale/programs/ld-time.c: Likewise.
35232         * locale/programs/linereader.c: Likewise.
35233         * locale/programs/locale.c: Likewise.
35234         * locale/programs/locarchive.c: Likewise.
35235         * locale/programs/locfile.h: Likewise.
35236         * locale/programs/repertoire.c: Likewise.
35237         * locale/programs/simple-hash.c: Likewise.
35238         * locale/programs/simple-hash.h: Likewise.
35239         * malloc/memusage.c: Likewise.
35240         * malloc/memusagestat.c: Likewise.
35241         * nis/nis_defaults.c: Likewise.
35242         * nis/nis_hash.c: Likewise.
35243         * nis/nis_print.c: Likewise.
35244         * nis/nis_xdr.c: Likewise.
35245         * nscd/connections.c: Likewise.
35246         * nscd/hstcache.c: Likewise.
35247         * nscd/nscd_gethst_r.c: Likewise.
35248         * nscd/nscd_getserv_r.c: Likewise.
35249         * nscd/nscd_helper.c: Likewise.
35250         * nscd/servicescache.c: Likewise.
35251         * nss/makedb.c: Likewise.
35252         * nss/nss_db/db-XXX.c: Likewise.
35253         * nss/nss_db/db-initgroups.c: Likewise.
35254         * nss/nss_db/db-netgrp.c: Likewise.
35255         * nss/nss_files/files-network.c: Likewise.
35256         * nss/nss_files/files-parse.c: Likewise.
35257         * posix/bug-regex5.c: Likewise.
35258         * posix/fnmatch_loop.c: Likewise.
35259         * posix/regcomp.c: Likewise.
35260         * posix/regexec.c: Likewise.
35261         * posix/tst-rfc3484-2.c: Likewise.
35262         * posix/tst-rfc3484-3.c: Likewise.
35263         * posix/tst-rfc3484.c: Likewise.
35264         * resolv/nss_dns/dns-canon.c: Likewise.
35265         * resolv/nss_dns/dns-network.c: Likewise.
35266         * resolv/res_init.c: Likewise.
35267         * resolv/res_mkquery.c: Likewise.
35268         * resolv/tst-aton.c: Likewise.
35269         * stdlib/cxa_atexit.c: Likewise.
35270         * stdlib/cxa_finalize.c: Likewise.
35271         * stdlib/gen-fpioconst.c: Likewise.
35272         * stdlib/strtol_l.c: Likewise.
35273         * string/tst-endian.c: Likewise.
35274         * sunrpc/auth_des.c: Likewise.
35275         * sunrpc/clnt_udp.c: Likewise.
35276         * sunrpc/rtime.c: Likewise.
35277         * sunrpc/svcauth_des.c: Likewise.
35278         * sunrpc/xdr.c: Likewise.
35279         * sunrpc/xdr_intXX_t.c: Likewise.
35280         * sunrpc/xdr_rec.c: Likewise.
35281         * sysdeps/generic/ldconfig.h: Likewise.
35282         * sysdeps/generic/ldsodefs.h: Likewise.
35283         * sysdeps/generic/memusage.h: Likewise.
35284         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35285         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35286         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35287         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35288         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35289         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35290         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35291         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35292         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35294         * sysdeps/posix/getaddrinfo.c: Likewise.
35295         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35296         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35297         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35298         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35299         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35300         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35301         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35302         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35303         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35304         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35305         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35306         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35307         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35308         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35309         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35310         * sysdeps/x86_64/dl-tls.h: Likewise.
35311         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35312         * time/alt_digit.c: Likewise.
35313         * time/era.c: Likewise.
35314         * wcsmbs/tst-c16c32-1.c: Likewise.
35316 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35318         * math/libm-test.inc (struct test_sincos_data): New type.
35319         (RUN_TEST_LOOP_sincos): New macro.
35320         (sincos_test_data): New variable.
35321         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35323 2013-05-16  Richard Henderson  <rth@redhat.com>
35325         * math/atest-exp2.c (LIMB64): New macro.
35326         (CONSTSZ): New macro.
35327         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35328         (hexdig): Move ...
35329         (print_mpn_fp): ... to function scope.
35330         (read_mpn_hex): Remove.
35331         (get_log2): Remove.
35332         (exp2_mpn): Use mp_log2.
35333         (main): Use mp_exp1.
35335 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35337         * math/libm-test.inc: Remove comment about not testing "inexact"
35338         exceptions.
35339         (INEXACT_EXCEPTION): New macro.
35340         (NO_INEXACT_EXCEPTION): Likewise.
35341         (INVALID_EXCEPTION_OK): Update value.
35342         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35343         (OVERFLOW_EXCEPTION_OK): Likewise.
35344         (UNDERFLOW_EXCEPTION_OK): Likewise.
35345         (IGNORE_ZERO_INF_SIGN): Likewise.
35346         (ERRNO_UNCHANGED): Likewise.
35347         (ERRNO_EDOM): Likewise.
35348         (ERRNO_ERANGE): Likewise.
35349         (test_exceptions): Handle testing "inexact" exceptions.
35350         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35351         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35352         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35353         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35354         INEXACT_EXCEPTION.
35355         (rint_towardzero_test_data): Likewise.
35356         (rint_downward_test_data): Likewise.
35357         (rint_upward_test_data): Likewise.
35359         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35360         with OVERFLOW_EXCEPTION.
35361         (exp10_test_data): Likewise.
35362         (exp2_test_data): Likewise.
35363         (expm1_test_data): Likewise.
35364         (lgamma_test_data): Likewise.
35365         (pow_test_data): Likewise.
35366         (tgamma_test_data): Likewise.
35367         (yn_test_data): Remove duplicate test of overflow.
35369         * math/libm-test.inc (struct test_cc_c_data): New type.
35370         (RUN_TEST_LOOP_cc_c): New macro.
35371         (cpow_test_data): New variable.
35372         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35374         * math/libm-test.inc (struct test_f_L_data): New type.
35375         (RUN_TEST_LOOP_f_L): New macro.
35376         (llrint_test_data): New variable.
35377         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35378         (llrint_tonearest_test_data): New variable.
35379         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35380         (llrint_towardzero_test_data): New variable.
35381         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35382         (llrint_downward_test_data): New variable.
35383         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35384         (llrint_upward_test_data): New variable.
35385         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35386         (llround_test_data): New variable.
35387         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35389 2013-05-13  Peter Collingbourne  <pcc@google.com>
35391         * math/atest-exp2.c (get_log2): Remove const attribute.
35393 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35395         * math/libm-test.inc (struct test_f_l_data): New type.
35396         (RUN_TEST_LOOP_f_l): New macro.
35397         (lrint_test_data): New variable.
35398         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35399         (lrint_tonearest_test_data): New variable.
35400         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35401         (lrint_towardzero_test_data): New variable.
35402         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35403         (lrint_downward_test_data): New variable.
35404         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35405         (lrint_upward_test_data): New variable.
35406         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35407         (lround_test_data): New variable.
35408         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35410 2013-05-15  Peter Collingbourne  <pcc@google.com>
35412         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35413         (EXTRACT_WORDS64) Use where appropriate.
35414         (INSERT_WORDS64) Likewise.
35416         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35417         constraints with x constraints.
35418         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35420         * malloc/obstack.c (_obstack_compat): Add initializer.
35422 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35424         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35425         si_trapno and add si_addr_lsb to _sifields.sigfault.
35426         (si_trapno): Remove macro.
35427         (si_addr_lsb): Define new macro.
35428         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35430 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35432         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35433         instead of TEST_f_l.
35434         (llrint_test_tonearest): Likewise.
35435         (llrint_test_towardzero): Likewise.
35436         (llrint_test_downward): Likewise.
35437         (llrint_test_upward): Likewise.
35438         (llround_test): Likewise.
35440         * math/libm-test.inc (struct test_f_i_data): Add comment.
35441         (RUN_TEST_LOOP_f_b): New macro.
35442         (RUN_TEST_LOOP_f_b_tg): Likewise.
35443         (finite_test_data): New variable.
35444         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35445         (isfinite_test_data): New variable.
35446         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35447         (isinf_test_data): New variable.
35448         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35449         (isnan_test_data): New variable.
35450         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35451         (isnormal_test_data): New variable.
35452         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35453         (issignaling_test_data): New variable.
35454         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35455         (signbit_test_data): New variable.
35456         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35458         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35459         with INVALID_EXCEPTION.
35460         (acosh_test_data): Likewise.
35461         (asin_test_data): Likewise.
35462         (atanh_test_data): Likewise.
35463         (fmod_test_data): Likewise.
35464         (log_test_data): Likewise.
35465         (log10_test_data): Likewise.
35466         (log2_test_data): Likewise.
35467         (pow_test_data): Likewise.
35468         (sqrt_test_data): Likewise.
35469         (y0_test_data): Likewise.
35470         (y1_test_data): Likewise.
35471         (yn_test_data): Likewise.
35473         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35474         function contents.
35476         * math/libm-test.inc (struct test_ff_i_data): New type.
35477         (RUN_TEST_LOOP_ff_i_tg): New macro.
35478         (isgreater_test_data): New variable.
35479         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35480         (isgreaterequal_test_data): New variable.
35481         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35482         (isless_test_data): New variable.
35483         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35484         (islessequal_test_data): New variable.
35485         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35486         (islessgreater_test_data): New variable.
35487         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35488         (isunordered_test_data): New variable.
35489         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35491 2013-05-14  David S. Miller  <davem@davemloft.net>
35493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35495 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35497         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35499         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35500         extra_test to int.
35501         (struct test_f_i_data): Change type of max_ulp to int.
35503         * math/libm-test.inc (test_ffI_f1_data): New type.
35504         (RUN_TEST_LOOP_ffI_f1): New macro.
35505         (remquo_test_data): New variable.
35506         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35508         * setjmp/tst-setjmp-fp.c: New file.
35509         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35510         (link-libm): New variable.
35511         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35513         * math/libm-test.inc (struct test_f_i_data): New type.
35514         (RUN_TEST_LOOP_f_i): New macro.
35515         (RUN_TEST_LOOP_f_i_tg): Likewise.
35516         (fpclassify_test_data): New variable.
35517         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35518         (ilogb_test_data): New variable.
35519         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35521         * math/libm-test.inc (scalbln_test): Correct function name in END
35522         call.
35524         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35525         (RUN_TEST_LOOP_fI_f1): New macro.
35526         (frexp_test_data): New variable.
35527         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35529         * math/libm-test.inc (struct test_fF_f1_data): New type.
35530         (RUN_TEST_LOOP_fF_f1): New macro.
35531         (modf_test_data): New variable.
35532         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35534         * math/libm-test.inc (struct test_f_f1_data): New type.
35535         (RUN_TEST_LOOP_f_f1): New macro.
35536         (gamma_test_data): New variable.
35537         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35538         (lgamma_test_data): New variable.
35539         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35541 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35543         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35544         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35545         (main): Comment "tls" pseudo-hwcap.
35547 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35549         * math/libm-test.inc (struct test_fl_f_data): New type.
35550         (RUN_TEST_LOOP_fl_f): New variable.
35551         (scalbln_test_data): New variable.
35552         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35554         * math/libm-test.inc (struct test_fi_f_data): New type.
35555         (RUN_TEST_LOOP_fi_f): New macro.
35556         (ldexp_test_data): New variable.
35557         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35558         (scalbn_test_data): New variable.
35559         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35561         * math/libm-test.inc (struct test_c_f_data): New type.
35562         (RUN_TEST_LOOP_c_f): New macro.
35563         (cabs_test_data): New variable.
35564         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35565         (carg_test_data): New variable.
35566         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35567         (cimag_test_data): New variable.
35568         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35569         (creal_test_data): New variable.
35570         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35572         * math/libm-test.inc (struct test_if_f_data): New type.
35573         (RUN_TEST_LOOP_if_f): New macro.
35574         (jn_test_data): New variable.
35575         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35576         (yn_test_data): New variable.
35577         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35579         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35581 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35583         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35584         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35586 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35588         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35589         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35590         (bench-deps): Add bench-timing.h.
35591         * benchtests-bench-skeleton.c: Include bench-timing.h.
35592         (main): Use TIMING_* macros instead of clock_gettime.
35593         * benchtests/bench-timing.h: New file.
35595         [BZ #14582]
35596         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35597         Renamed from _LIB_VERSION.
35598         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35600 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35602         * math/libm-test.inc (struct test_fff_f_data): New type.
35603         (RUN_TEST_LOOP_fff_f): New macro.
35604         (fma_test_data): New variable.
35605         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35606         (fma_towardzero_test_data): New variable.
35607         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35608         (fma_downward_test_data): New variable.
35609         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35610         (fma_upward_test_data): New variable.
35611         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35613         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35614         (struct test_c_c_data): New type.
35615         (RUN_TEST_LOOP_c_c): New macro.
35616         (cacos_test_data): New variable.
35617         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35618         (cacosh_test_data): New variable.
35619         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35620         (casin_test_data): New variable.
35621         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35622         (casinh_test_data): New variable.
35623         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35624         (catan_test_data): New variable.
35625         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35626         (catanh_test_data): New variable.
35627         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35628         (ccos_test_data): New variable.
35629         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35630         (ccosh_test_data): New variable.
35631         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35632         (cexp_test_data): New variable.
35633         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35634         (clog_test_data): New variable.
35635         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35636         (clog10_test_data): New variable.
35637         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35638         (conj_test_data): New variable.
35639         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35640         (cproj_test_data): New variable.
35641         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35642         (csin_test_data): New variable.
35643         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35644         (csinh_test_data): New variable.
35645         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35646         (csqrt_test_data): New variable.
35647         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35648         (ctan_test_data): New variable.
35649         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35650         (ctan_tonearest_test_data): New variable.
35651         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35652         (ctan_towardzero_test_data): New variable.
35653         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35654         (ctan_downward_test_data): New variable.
35655         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35656         (ctan_upward_test_data): New variable.
35657         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35658         (ctanh_test_data): New variable.
35659         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35660         (ctanh_tonearest_test_data): New variable.
35661         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35662         (ctanh_towardzero_test_data): New variable.
35663         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35664         (ctanh_downward_test_data): New variable.
35665         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35666         (ctanh_upward_test_data): New variable.
35667         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35668         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35669         of BUILD_COMPLEX.
35671         * math/libm-test.inc (struct test_ff_f_data): New type.
35672         (struct test_ff_f_data_nexttoward): Likewise.
35673         (RUN_TEST_LOOP_2_f): New macro.
35674         (RUN_TEST_LOOP_ff_f): Likewise.
35675         (atan2_test_data): New variable.
35676         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35677         (copysign_test_data): New variable.
35678         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35679         (fdim_test_data): New variable.
35680         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35681         (fmax_test_data): New variable.
35682         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35683         (fmin_test_data): New variable.
35684         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35685         (fmod_test_data): New variable.
35686         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35687         (hypot_test_data): New variable.
35688         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35689         (nextafter_test_data): New variable.
35690         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35691         (nexttoward_test_data): New variable.
35692         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35693         (pow_test_data): New variable.
35694         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35695         (pow_tonearest_test_data): New variable.
35696         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35697         (pow_towardzero_test_data): New variable.
35698         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35699         (pow_downward_test_data): New variable.
35700         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35701         (pow_upward_test_data): New variable.
35702         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35703         (remainder_test_data): New variable.
35704         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35705         (scalb_test_data): New variable.
35706         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35707         * sysdeps/i386/fpu/libm-test-ulps: Update.
35709 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35711         * math/libm-test.inc (fma_test): Use max_value instead of local
35712         variable fltmax.
35713         (nextafter_test): Likewise.
35715         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35716         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35717         (acos_downward_test_data): New variable.
35718         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35719         (acos_upward_test_data): New variable.
35720         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35721         (acosh_test_data): New variable.
35722         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35723         (asin_test_data): New variable.
35724         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35725         (asin_tonearest_test_data): New variable.
35726         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35727         (asin_towardzero_test_data): New variable.
35728         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35729         (asin_downward_test_data): New variable.
35730         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35731         (asin_upward_test_data): New variable.
35732         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35733         (asinh_test_data): New variable.
35734         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35735         (atan_test_data): New variable.
35736         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35737         (atanh_test_data): New variable.
35738         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35739         (cbrt_test_data): New variable.
35740         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35741         (ceil_test_data): New variable.
35742         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35743         (cos_test_data): New variable.
35744         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35745         (cos_tonearest_test_data): New variable.
35746         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35747         (cos_towardzero_test_data): New variable.
35748         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35749         (cos_downward_test_data): New variable.
35750         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35751         (cos_upward_test_data): New variable.
35752         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35753         (cosh_test_data): New variable.
35754         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35755         (cosh_tonearest_test_data): New variable.
35756         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35757         (cosh_towardzero_test_data): New variable.
35758         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35759         (cosh_downward_test_data): New variable.
35760         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35761         (cosh_upward_test_data): New variable.
35762         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35763         (erf_test_data): New variable.
35764         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35765         (erfc_test_data): New variable.
35766         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35767         (exp_test_data): New variable.
35768         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35769         (exp_tonearest_test_data): New variable.
35770         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35771         (exp_towardzero_test_data): New variable.
35772         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35773         (exp_downward_test_data): New variable.
35774         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35775         (exp_upward_test_data): New variable.
35776         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35777         (exp10_test_data): New variable.
35778         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35779         (exp2_test_data): New variable.
35780         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35781         (expm1_test_data): New variable.
35782         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35783         (fabs_test_data): New variable.
35784         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35785         (floor_test_data): New variable.
35786         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35787         (j0_test_data): New variable.
35788         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35789         (j1_test_data): New variable.
35790         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35791         (log_test_data): New variable.
35792         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35793         (log10_test_data): New variable.
35794         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35795         (log1p_test_data): New variable.
35796         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35797         (log2_test_data): New variable.
35798         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35799         (logb_test_data): New variable.
35800         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35801         (logb_downward_test_data): New variable.
35802         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35803         (nearbyint_test_data): New variable.
35804         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35805         (rint_test_data): New variable.
35806         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35807         (rint_tonearest_test_data): New variable.
35808         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35809         (rint_towardzero_test_data): New variable.
35810         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35811         (rint_downward_test_data): New variable.
35812         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35813         (rint_upward_test_data): New variable.
35814         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35815         (round_test_data): New variable.
35816         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35817         (sin_test_data): New variable.
35818         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35819         (sin_tonearest_test_data): New variable.
35820         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35821         (sin_towardzero_test_data): New variable.
35822         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35823         (sin_downward_test_data): New variable.
35824         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35825         (sin_upward_test_data): New variable.
35826         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35827         (sinh_test_data): New variable.
35828         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35829         (sinh_tonearest_test_data): New variable.
35830         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35831         (sinh_towardzero_test_data): New variable.
35832         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35833         (sinh_downward_test_data): New variable.
35834         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35835         (sinh_upward_test_data): New variable.
35836         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35837         (sqrt_test_data): New variable.
35838         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35839         (tan_test_data): New variable.
35840         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35841         (tan_tonearest_test_data): New variable.
35842         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35843         (tan_towardzero_test_data): New variable.
35844         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35845         (tan_downward_test_data): New variable.
35846         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35847         (tan_upward_test_data): New variable.
35848         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35849         (tanh_test_data): New variable.
35850         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35851         (tgamma_test_data): New variable.
35852         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35853         (trunc_test_data): New variable.
35854         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35855         (y0_test_data): New variable.
35856         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35857         (y1_test_data): New variable.
35858         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35859         (significand_test_data): New variable.
35860         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35862 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35864         [BZ #12387]
35865         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35867 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35869         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35871 2013-05-10  Andreas Jaeger  <aj@suse.de>
35873         [BZ #15448]
35874         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35875         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35877 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35879         * math/gen-libm-test.pl (adjust_arg): New function.
35880         (special_functions): Handle generating output in both functions
35881         and arrays.
35882         (parse_args): Likewise.
35883         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35884         $in_func argument to parse_args.
35885         * math/libm-test.inc (struct test_f_f_data): New type.
35886         (IF_ROUND_INIT_): New macro.
35887         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35888         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35889         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35890         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35891         (ROUND_RESTORE_): Likewise.
35892         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35893         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35894         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35895         (ROUND_RESTORE_FE_UPWARD): Likewise.
35896         (RUN_TEST_LOOP_f_f): New macro.
35897         (acos_test_data): New variable.
35898         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35899         (acos_tonearest_test_data): New variable.
35900         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35902 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35904         * benchtests/bench-skeleton.c (startup): Fix coding style.
35906 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35908         [BZ #6809]
35909         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35910         negative infinity argument.
35911         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35912         negative infinity argument.
35913         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35914         negative infinity argument.
35915         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35916         domain errors.
35918 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35920         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35921         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35922         * iconv/iconv_prog.c (main): Likewise.
35923         * locale/programs/charmap-dir.c (charmap_readdir)
35924         (fopen_uncompressed): Likewise.
35925         * locale/programs/locfile.c (siblings_uncached)
35926         (write_locale_data): Use lstat64 instead of lstat.
35927         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35928         stat.
35930 2013-05-10  Andreas Jaeger  <aj@suse.de>
35932         [BZ #15395]
35933         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35934         localization.
35935         Include <locale.h>.
35937 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35939         * elf/dl-close.c (_dl_close_worker): Add comments.
35941 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35943         [BZ #15359]
35944         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35945         high part of pi/2.
35946         (__ieee754_rem_pio2l): Update comments.
35948         [BZ #15429]
35949         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35950         high part of pi/2.
35951         (__ieee754_rem_pio2l): Update comments.
35953         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35954         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35956         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35957         M_PI_4l.
35959         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35960         (M_PI_34_LOG10El): Likewise.
35961         (M_PI2_LOG10El): Likewise.
35962         (M_PI4_LOG10El): Likewise.
35963         (M_PI_LOG10El): Likewise.
35965 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35969 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35971         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35972         (MINUS_ZERO_INIT): Likewise.
35973         (PLUS_INFTY_INIT): Likewise.
35974         (MINUS_INFTY_INIT): Likewise.
35975         (QNAN_VALUE_INIT): Likewise.
35976         (MAX_VALUE_INIT): Likewise.
35977         (MIN_VALUE_INIT): Likewise.
35978         (MIN_SUBNORM_VALUE_INIT): Likewise.
35979         (plus_zero): Initialize with PLUS_ZERO_INIT.
35980         (minus_zero): Initialize with MINUS_ZERO_INIT.
35981         (plus_infty): Initialize with PLUS_INFTY_INIT.
35982         (minus_infty): Initialize with MINUS_INFTY_INIT.
35983         (qnan_value): Initialize with QNAN_VALUE_INIT.
35984         (max_value): Initialize with MAX_VALUE_INIT.
35985         (min_value): Initialize with MIN_VALUE_INIT.
35986         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35988         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35989         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35990         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35991         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35993         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35994         (RUN_TEST_2_f): Likewise.
35995         (RUN_TEST_ff_f): Likewise.
35996         (RUN_TEST_fi_f): Likewise.
35997         (RUN_TEST_fl_f): Likewise.
35998         (RUN_TEST_fff_f): Likewise.
35999         (RUN_TEST_c_f): Likewise.
36000         (RUN_TEST_f_f1): Likewise.
36001         (RUN_TEST_fF_f1): Likewise.
36002         (RUN_TEST_fI_f1): Likewise.
36003         (RUN_TEST_ffI_f1): Likewise.
36004         (RUN_TEST_c_c): Likewise.
36005         (RUN_TEST_cc_c): Likewise.
36006         (RUN_TEST_f_i): Likewise.
36007         (RUN_TEST_f_i_tg): Likewise.
36008         (RUN_TEST_ff_i_tg): Likewise.
36009         (RUN_TEST_f_b): Likewise.
36010         (RUN_TEST_f_b_tg): Likewise.
36011         (RUN_TEST_f_l): Likewise.
36012         (RUN_TEST_f_L): Likewise.
36013         (RUN_TEST_sincos): Likewise.
36014         * math/gen-libm-test.pl (new_test): Take new argument to indicate
36015         whether to show exceptions.  Do not include ");\n" in return
36016         value.
36017         (special_functions): Output call to RUN_TEST_sincos instead of
36018         check_float calls.  Update calls to new_test.
36019         (parse_args): Output call to single RUN_TEST_* macro instead of
36020         check_* calls and other assignments.  Update calls to new_test.
36022         [BZ #2546]
36023         [BZ #2560]
36024         [BZ #5159]
36025         [BZ #15426]
36026         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36027         input to result for tgamma overflow.
36028         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36029         (gamma_coeff): New variable.
36030         (NCOEFF): New macro.
36031         (gamma_positive): New function.
36032         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36033         underflow here.  Use gamma_positive instead of exp (lgamma) for
36034         other arguments.
36035         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36036         (gamma_coeff): New variable.
36037         (NCOEFF): New macro.
36038         (gammaf_positive): New function.
36039         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36040         underflow here.  Use gamma_positive instead of exp (lgamma) for
36041         other arguments.
36042         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36043         (gamma_coeff): New variable.
36044         (NCOEFF): New macro.
36045         (gammal_positive): New function.
36046         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36047         underflow here.  Use gamma_positive instead of exp (lgamma) for
36048         other arguments.
36049         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36050         (gamma_coeff): New variable.
36051         (NCOEFF): New macro.
36052         (gammal_positive): New function.
36053         (__ieee754_gammal_r): Handle positive infinity, overflow and
36054         underflow here.  Handle NaN the same as positive infinity.  Remove
36055         check x < 0xffffffff for negative integers.  Use gamma_positive
36056         instead of exp (lgamma) for other arguments.
36057         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36058         (gamma_coeff): New variable.
36059         (NCOEFF): New macro.
36060         (gammal_positive): New function.
36061         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36062         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36063         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36064         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36065         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36066         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36067         * sysdeps/generic/math_private.h (__gamma_productf): New
36068         prototype.
36069         (__gamma_product): Likewise.
36070         (__gamma_productl): Likewise.
36071         * math/Makefile (libm-calls): Add gamma_product.
36072         * math/libm-test.inc (tgamma_test): Add more tests.
36073         * sysdeps/i386/fpu/libm-test-ulps: Update.
36074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36076 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36078         * benchtests/bench-skeleton.c (main): Preheat CPU.
36080 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36082         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36084 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36086         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36087         and _dl_skip_args_internal.
36089 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36091         * manual/message.texi (Message Translation): Talk about users.
36092         Message to key mapping impacts design.
36094 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36096         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36098         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36100         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36101         * sysdeps/wordsize-64/glob64.c: ... here.
36103         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36104         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36105         New macros.
36107         * debug/getlogin_r_chk.c: Moved to ...
36108         * login/getlogin_r_chk.c: ... here.
36109         * debug/Makefile (routines): Move getlogin_r_chk to ...
36110         * login/Makefile (routines): ... here.
36111         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36112         * login/Versions (libc: GLIBC_2.4): ... here.
36114         * io/poll.c (__poll): Renamed from poll.
36115         Add libc_hidden_def.
36116         (poll): Define as weak alias.
36118         * debug/ptsname_r_chk.c: Moved to ...
36119         * login/ptsname_r_chk.c: ... here.
36120         * debug/Makefile (routines): Move ptsname_r_chk to ...
36121         * login/Makefile (routines): ... here.
36122         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36123         * login/Versions (libc: GLIBC_2.4): ... here.
36125         * posix/getlogin.c: Moved to ...
36126         * login/getlogin.c: ... here.
36127         * posix/getlogin_r.c: Moved to ...
36128         * login/getlogin_r.c: ... here.
36129         * posix/getlogin_r.c: Moved to ...
36130         * login/getlogin_r.c: ... here.
36131         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36132         * login/Makefile (routines): ... here.
36133         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36134         * login/Versions (libc: GLIBC_2.0): ... here.
36136         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36137         (setrlimit): Define as weak alias.
36139         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36140         Call __ names for open, ftruncate, and close.
36141         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36142         (truncate): Define as weak alias.
36144 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36146         * math/gen-libm-test.pl (parse_args): Initialize x before each
36147         test of frexp, modf and remquo.
36149         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36150         test signgam value.
36152 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36154         [BZ #15418]
36155         [BZ #15419]
36156         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36157         internal tests.
36158         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36160 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36162         * elf/dl-writev.h: New file.
36163         * elf/dl-misc.c: Include it.
36164         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36165         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36167 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36169         * math/libm-test.inc (noXFails): Remove variable.
36170         (noXPasses): Likewise.
36171         (BUILD_COMPLEX_INT): Remove macro.
36172         (print_screen): Remove xfail argument.
36173         (print_screen_max_error): Likewise.
36174         (update_stats): Likewise.
36175         (print_max_error): Likewise.  Update calls to other affected
36176         functions.
36177         (print_complex_max_error): Likewise.
36178         (test_single_exception): Update calls to print_screen.
36179         (test_single_errno): Likewise.
36180         (check_float_internal): Remove xfail argument.  Update calls to
36181         other affected functions.
36182         (check_float): Likewise.
36183         (check_complex): Likewise.
36184         (check_int): Likewise.
36185         (check_long): Likewise.
36186         (check_bool): Likewise.
36187         (check_longlong): Likewise.
36188         (main): Don't print noXFails and noXPasses.
36189         * math/gen-libm-test.pl (top level): Don't mention expected
36190         failure handling in comment.
36191         (new_test): Don't handle expected failures.
36192         (parse_args): Don't mention expected failure handling in comment.
36193         (generate_testfile): Don't handle expected failures.
36194         (parse_ulps): Likewise.
36195         (print_ulps_file): Likewise.
36196         (get_failure): Remove function.
36197         (output_test): Don't handle expected failures.
36198         * make/README.libm-test: Don't mention expected failure handling.
36200         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36201         (minus_zero): Likewise.
36202         (plus_infty): Likewise.
36203         (minus_infty): Likewise.
36204         (qnan_value): Likewise.
36205         (max_value): Likewise.
36206         (min_value): Likewise.
36207         (min_subnorm_value): Likewise.
36208         (initialize): Do not initialize those variables dynamically.
36210 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36212         * io/open.c (__open_2): Moved to ...
36213         * io/open_2.c: ... this new file.
36214         * io/open64.c (__open64_2): Moved to ...
36215         * io/open64_2.c: ... this new file.
36216         * io/openat.c (__openat_2): Moved to ...
36217         * io/openat_2.c: ... this new file.
36218         * io/openat64.c (__openat64_2): Moved to ...
36219         * io/openat64_2.c: ... this new file.
36220         * io/Makefile (routines): Add them.
36221         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36222         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36223         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36224         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36225         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36226         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36227         (__openat64): Add hidden_ver.
36228         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36229         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36231         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36232         Separately conditionalize setting of GLRO(dl_sysinfo) so
36233         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36234         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36236 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36238         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36240         definition.
36241         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36242         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36243         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36244         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36245         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36247 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36249         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36250         test signgam value.
36252         * math/libm-test.inc (hypot_test): Do not use
36253         IGNORE_ZERO_INF_SIGN.
36255 2013-05-03  Andreas Jaeger  <aj@suse.de>
36257         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36258         Linux 3.9.
36259         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36260         (PF_MAX): Adjust for VSOCK change.
36262 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36266 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36268         [BZ #15264]
36269         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36270         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36271         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36273 2013-05-02  David S. Miller  <davem@davemloft.net>
36275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36277 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36279         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36281 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36283         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36285 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36287         [BZ #14952]
36288         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36289         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36290         Use __attribute__ ((__gnu_inline__)).
36291         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36292         Don't use __attribute__ ((__gnu_inline__)).
36294 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36296         [BZ #15423]
36297         * math/s_catan.c (__catan): Handle small real or imaginary part of
36298         input specially to avoid spurious underflow.
36299         * math/s_catanf.c (__catanf): Likewise.
36300         * math/s_catanh.c (__catanh): Likewise.
36301         * math/s_catanhf.c (__catanhf): Likewise.
36302         * math/s_catanhl.c (__catanhl): Likewise.
36303         * math/s_catanl.c (__catanl): Likewise.
36304         * math/libm-test.inc (catan_test): Add more tests.
36305         (catanh_test): Likewise.
36306         * sysdeps/i386/fpu/libm-test-ulps: Update.
36307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36309 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36313 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36315         [BZ #15416]
36316         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36317         accurately for denominator in atan2.
36318         * math/s_catanf.c (__catanf): Likewise.
36319         * math/s_catanh.c (__catanh): Likewise.
36320         * math/s_catanhf.c (__catanhf): Likewise.
36321         * math/s_catanhl.c (__catanhl): Likewise.
36322         * math/s_catanl.c (__catanl): Likewise.
36323         * math/libm-test.inc (catan_test): Add more tests.
36324         (catanh_test): Likewise.
36325         * sysdeps/i386/fpu/libm-test-ulps: Update.
36326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36328 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36330         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36332         * benchtests/Makefile (bench): Remove slow benchmarks.
36333         * benchtests/atan-inputs: Add slow benchmark inputs.
36334         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36335         (BENCH_FUNC): Accept variant offset.
36336         (VARIANT): Define.
36337         * benchtests/bench-skeleton.c (main): Run benchmark for each
36338         variant.
36339         * benchtests/cos-inputs: Add slow benchmark inputs.
36340         * benchtests/exp-inputs: Likewise.
36341         * benchtests/pow-inputs: Likewise.
36342         * benchtests/sin-inputs: Likewise.
36343         * benchtests/slowatan-inputs: Remove.
36344         * benchtests/slowatan.c: Remove.
36345         * benchtests/slowcos-inputs: Remove.
36346         * benchtests/slowcos.c: Remove.
36347         * benchtests/slowexp-inputs: Remove.
36348         * benchtests/slowexp.c: Remove.
36349         * benchtests/slowpow-inputs: Remove.
36350         * benchtests/slowpow.c: Remove.
36351         * benchtests/slowsin-inputs: Remove.
36352         * benchtests/slowsin.c: Remove.
36353         * benchtests/slowtan-inputs: Remove.
36354         * benchtests/slowtan.c: Remove.
36355         * benchtests/tan-inputs: Add slow benchmark inputs.
36356         * scripts/bench.pl: Parse comments and directives.
36358         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36359         in CPPFLAGS.
36360         ($(objpfx)bench-%.c): Remove *-ITER.
36361         * benchtests/bench-modf.c: Remove definition of ITER.
36362         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36363         (main): Loop for DURATION seconds instead of fixed number of
36364         iterations.
36365         * scripts/bench.pl: Don't expect iterations in parameters.
36367 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36369         * io/fchdir.c (__fchdir): Renamed from fchdir.
36370         (fchdir): Define as weak alias.
36372 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36374         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36375         (ERRNO_EDOM): Likewise.
36376         (ERRNO_ERANGE): Likewise.
36377         (noErrnoTests): New variable.
36378         (init_max_error): Set errno to 0.
36379         (test_single_errno): New function.
36380         (test_errno): Likewise.
36381         (check_float_internal): Call test_errno.  Set errno to 0.
36382         (check_complex): Refer to errno tests in comment.
36383         (check_int): Call test_errno.  Set errno to 0.
36384         (check_long): Likewise.
36385         (check_bool): Likewise.
36386         (check_longlong): Likewise.
36387         (cos_test): Use ERRNO_* flags for errno tests instead of
36388         check_int.
36389         (expm1_test): Likewise.
36390         (fmod_test): Likewise.
36391         (ilogb_test): Likewise.
36392         (lgamma_test): Likewise.
36393         (pow_test): Likewise.
36394         (remainder_test): Likewise.
36395         (sin_test): Likewise.
36396         (tan_test): Likewise.
36397         (yn_test): Likewise.
36398         (initialize): Set errno to 0.
36399         (main): Print number of errno tests.
36400         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36402 2013-04-29  Andreas Jaeger  <aj@suse.de>
36404         [BZ #15084]
36405         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36406         and RES_USEVC.
36408         [BZ #15085]
36409         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36410         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36411         unimplemented.
36413         [BZ #15380]
36414         * stdlib/random.c (__initstate): Return NULL if
36415         __initstate fails.
36417         [BZ #15086]
36418         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36419         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36420         RES_SNGLKUPREOP.
36422 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36426 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36428         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36429         of individual tests.
36430         (casin_test): Likewise.
36431         (casinh_test): Likewise.
36433 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36435         [BZ #15409]
36436         * math/s_catan.c (__catan): Handle arguments with large real or
36437         imaginary part separately without squaring.
36438         * math/s_catanf.c (__catanf): Likewise.
36439         * math/s_catanh.c (__catanh): Likewise.
36440         * math/s_catanhf.c (__catanhf): Likewise.
36441         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36442         and redefine.
36443         (__catanhl): Handle arguments with large real or imaginary part
36444         separately without squaring.
36445         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36446         and redefine.
36447         (__catanl): Handle arguments with large real or imaginary part
36448         separately without squaring.
36449         * math/libm-test.inc (catan_test): Add more tests.
36450         (catanh_test): Likewise.
36451         * sysdeps/i386/fpu/libm-test-ulps: Update.
36452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36454 2013-04-27  Andreas Jaeger  <aj@suse.de>
36456         [BZ #15007]
36457         * stdlib/stdlib.h: Update guards for qecvt.
36458         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36459         <stdlib.h>.
36461 2013-04-27  Allan McRae  <allan@archlinux.org>
36463         * sysdeps/i386/fpu/libm-test-ulps: Update.
36465 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36467         [BZ #15406]
36468         * math/s_catan.c: Include <float.h>.
36469         (__catan): Ensure underflow exception occurs for underflowed
36470         result.
36471         * math/s_catanf.c: Include <float.h>.
36472         (__catanf): Ensure underflow exception occurs for underflowed
36473         result.
36474         * math/s_catanh.c: Include <float.h>.
36475         (__catanh): Ensure underflow exception occurs for underflowed
36476         result.
36477         * math/s_catanhf.c: Include <float.h>.
36478         (__catanhf): Ensure underflow exception occurs for underflowed
36479         result.
36480         * math/s_catanhl.c: Include <float.h>.
36481         (__catanhl): Ensure underflow exception occurs for underflowed
36482         result.
36483         * math/s_catanl.c: Include <float.h>.
36484         (__catanl): Ensure underflow exception occurs for underflowed
36485         result.
36486         * math/libm-test.inc (catan_test): Add more tests.
36487         (catanh_test): Likewise.
36489         [BZ #15405]
36490         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36491         underflowed result.
36492         * math/s_ccoshf.c (__ccoshf): Likewise.
36493         * math/s_ccoshl.c (__ccoshl): Likewise.
36494         * math/s_csin.c (__csin): Likewise.
36495         * math/s_csinf.c (__csinf): Likewise.
36496         * math/s_csinh.c (__csinh): Likewise.
36497         * math/s_csinhf.c (__csinhf): Likewise.
36498         * math/s_csinhl.c (__csinhl): Likewise.
36499         * math/s_csinl.c (__csinl): Likewise.
36500         * math/libm-test.inc (ccos_test): Add more tests.
36501         (ccosh_test): Likewise.
36502         (csin_test): Likewise.
36503         (csinh_test): Likewise.
36505 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36507         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36508         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36509         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36510         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36511         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36512         powerpc/power5+/fpu folders.
36513         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36516 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36520 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36522         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36523         additions to variable.
36524         [$(config-machine) = x86_64] (modules-names): Likewise.
36525         ($(objpfx)tst-audit3): Remove dependency.
36526         ($(objpfx)tst-audit3.out): Likewise.
36527         ($(objpfx)tst-audit4): Likewise.
36528         ($(objpfx)tst-audit4.out): Likewise.
36529         ($(objpfx)tst-audit5): Likewise.
36530         ($(objpfx)tst-audit5.out): Likewise.
36531         ($(objpfx)tst-audit6): Likewise.
36532         ($(objpfx)tst-audit6.out): Likewise.
36533         ($(objpfx)tst-audit7): Likewise.
36534         ($(objpfx)tst-audit7.out): Likewise.
36535         (tst-audit3-ENV): Remove variable.
36536         (tst-audit4-ENV): Likewise.
36537         (tst-audit5-ENV): Likewise.
36538         (tst-audit6-ENV): Likewise.
36539         (tst-audit7-ENV): Likewise.
36540         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36541         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36542         addition to variable.
36543         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36544         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36547         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36548         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36549         tst-audit3, tst-audit4 and tst-audit5.
36550         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36551         tst-audit6 and tst-audit7.
36552         [$(subdir) = elf] (modules-names): Add audit modules for those
36553         tests.
36554         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36555         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36556         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36557         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36558         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36559         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36560         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36561         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36562         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36563         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36564         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36565         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36566         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36567         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36568         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36569         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36570         Likewise.
36571         [$(subdir) = elf && $(config-cflags-avx) = yes]
36572         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36573         [$(subdir) = elf && $(config-cflags-avx) = yes]
36574         (CFLAGS-tst-auditmod4a.c): Likewise.
36575         [$(subdir) = elf && $(config-cflags-avx) = yes]
36576         (CFLAGS-tst-auditmod4b.c): Likewise.
36577         [$(subdir) = elf && $(config-cflags-avx) = yes]
36578         (CFLAGS-tst-auditmod6b.c): Likewise.
36579         [$(subdir) = elf && $(config-cflags-avx) = yes]
36580         (CFLAGS-tst-auditmod6c.c): Likewise.
36581         [$(subdir) = elf && $(config-cflags-avx) = yes]
36582         (CFLAGS-tst-auditmod7b.c): Likewise.
36583         * elf/tst-audit3.c: Move to ...
36584         * sysdeps/x86_64/tst-audit3.c: ... here.
36585         * elf/tst-audit4.c: Move to ...
36586         * sysdeps/x86_64/tst-audit4.c: ... here.
36587         * elf/tst-audit5.c: Move to ...
36588         * sysdeps/x86_64/tst-audit5.c: ... here.
36589         * elf/tst-audit6.c: Move to ...
36590         * sysdeps/x86_64/tst-audit6.c: ... here.
36591         * elf/tst-audit7.c: Move to ...
36592         * sysdeps/x86_64/tst-audit7.c: ... here.
36593         * elf/tst-auditmod3a.c: Move to ...
36594         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36595         * elf/tst-auditmod3b.c: Move to ...
36596         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36597         * elf/tst-auditmod4a.c: Move to ...
36598         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36599         * elf/tst-auditmod4b.c: Move to ...
36600         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36601         * elf/tst-auditmod5a.c: Move to ...
36602         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36603         * elf/tst-auditmod5b.c: Move to ...
36604         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36605         * elf/tst-auditmod6a.c: Move to ...
36606         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36607         * elf/tst-auditmod6b.c: Move to ...
36608         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36609         * elf/tst-auditmod6c.c: Move to ...
36610         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36611         * elf/tst-auditmod7a.c: Move to ...
36612         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36613         * elf/tst-auditmod7b.c: Move to ...
36614         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36616 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36618         [BZ #15366]
36619         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36620         define unconditionally.
36621         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36622         define unconditionally.
36623         (INT8_C, INT16_C, etc.): Likewise.
36625 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36627         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36628         __ehdr_start with hidden visibility.
36630         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36632 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36634         * math/libm-test.inc (cos_test): Use accurate hex constants.
36635         (sincost_test): Likewise.
36637 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36639         * math/libm-test.inc (catan_test): Add more tests.
36640         (catanh_test): Likewise.
36642         * math/s_catanf.c (__catanf): Use suffixed floating-point
36643         constants.
36644         * math/s_catanhf.c (__catanhf): Likewise.
36645         * math/s_catanhl.c (__catanhl): Likewise.
36646         * math/s_catanl.c (__catanl): Likewise.
36648         [BZ #15394]
36649         * math/s_catan.c (__catan): Calculate imaginary part of result
36650         with log1p not log unless computing log of number close to 0.
36651         * math/s_catanf.c (__catanf): Likewise.
36652         * math/s_catanl.c (__catanl): Likewise.
36653         * math/s_catanh.c (__catanh): Calculate real part of result with
36654         log1p not log unless computing log of number close to 0.
36655         * math/s_catanhf.c (__catanhf): Likewise.
36656         * math/s_catanhl.c (__catanhl): Likewise.
36657         * math/libm-test.inc (catan_test): Add more tests.
36658         (catanh_test): Likewise.
36659         * sysdeps/i386/fpu/libm-test-ulps: Update.
36660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36662 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36664         * benchtests/Makefile: Mention files in which fast and slow
36665         paths of math functions are implemented.
36667 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36669         * sysdeps/posix/timespec_get.c: New file.
36671 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36673         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36674         POWER.
36675         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36676         for POWER.
36677         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36678         powerpc/power5/fpu folders.
36679         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36680         * benchtests/Makefile: Add modf testcase.
36681         * benchtests/bench-modf.c: New file: Benchmark test for mo
36683 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36685         [BZ #14888]
36686         * time/Makefile (tests): Add tst-strptime-whitespace.
36687         * time/strptime_l.c (get_number): Use ISSPACE.
36688         (__strptime_internal): Likewise.
36689         * time/tst-strptime-whitespace.c: New test case.
36691 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36693         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36694         member.
36695         (_nss_files_init): Set it here.
36697 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36699         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36700         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36701         unsigned.
36703 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36705         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36707 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36709         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36710         size just once.
36712 2013-04-21  David S. Miller  <davem@davemloft.net>
36714         * po/ru.po: Update Russion translation from translation project.
36716 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36718         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36719         and setfsgid.
36721 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36723         * configure.in: Remove i386 configure warning. Remove i386 case.
36724         * configure: Regenerate.
36725         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36726         Add example to error message.
36727         * sysdeps/i386/configure: Regenerate.
36729 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36731         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36732         slowtan.
36733         * benchtests/cos-inputs: New file.
36734         * benchtests/slowcos-inputs: New file.
36735         * benchtests/slowcos.c: New file.
36736         * benchtests/slowtan-inputs: New file.
36737         * benchtests/slowtan.c: New file.
36738         * benchtests/tan-inputs: New file.
36740 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36742         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36743         considered kosher.
36745 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36747         * benchtests/Makefile: Include cppflags-iterator.mk to add
36748         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36750         * Makefile.in (bench-clean): New target.
36751         * benchtests/Makefile (bench-clean): Likewise.
36753 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36755         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36757 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36759         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36761 2013-04-15  Andreas Schwab  <schwab@suse.de>
36763         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36765         * nscd/pwdcache.c (cache_addpw): Likewise.
36766         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36767         more than recsize.
36769 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36771         * benchtests/Makefile (bench): Write all output to
36772         bench-out.tmp together.
36774 2013-04-15  Andreas Schwab  <schwab@suse.de>
36776         * nscd/nscd.c (main): Don't fork again after closing files.
36778 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36780         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36782         * benchtests/Rules (bench-deps): Collect dependencies into a
36783         single variable.  Add Makefile to dependencies.
36784         ($(objpfx)bench-%.c): Depend on bench-deps.
36786 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36787             Xavier Roche  <roche+kml2@exalead.com>
36789         [BZ #15361]
36790         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36791         just that it's a file descriptor.
36792         * manual/llio.texi (Synchronizing AIO Operations): Update description
36793         for EBADF error from aio_fsync.
36795 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36797         * Rules (bench): Move target definition...
36798         * benchtests/Makefile: ... here.
36800 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36802         * math/libm-test.inc (cos_test): Fix PI/2 test.
36803         (sincos_test): Likewise.
36804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36805         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36807 2013-04-11  Andreas Schwab  <schwab@suse.de>
36809         [BZ #13988]
36810         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36811         accept exponent character only when digits were seen.
36812         * stdio-common/Makefile (tests): Add bug26.
36813         * stdio-common/bug26.c: New file.
36815         [BZ #14293]
36816         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36817         non-freeable.
36819 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36821         * Makeconfig (rtld-prefix): Define built linker prefix.
36822         * Rules (run-bench): Use it.
36823         * math/Makefile (run-regen-ulps): Likewise.
36825         * Rules (bench): Remove eval.
36827 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36828             Roland McGrath  <roland@hack.frob.com>
36829             Ondrej Bilka  <neleai@seznam.cz>
36831         [BZ #15346]
36832         * time/getdate.c: Include ctype.h and alloca.h.
36833         (__getdate_r): Trim leading and trailing spaces of input.
36834         * time/tst-getdate.c (tests): Add tests with leading and
36835         trailing spaces.
36837 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36839         [BZ #14280]
36840         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36841         when computing value.
36843 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36845         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36846         Use testrun.sh to run libm tests.
36848         [BZ #15309]
36849         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36851 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36853         [BZ #15264]
36854         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36856 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36858         * Makefile.in (regen-ulps): New target.
36859         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36860         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36861         [ifneq (no,$(PERL)] (regen-ulps): New target.
36862         [ifeq (no,$(PERL)] (regen-ulps): New target.
36863         * math/libm-test.inc (ulps_file_name): Define.
36864         (output_dir): New variable.
36865         (options): Add "output-dir" option.
36866         (parse_opt): Handle 'o' case.
36867         (main): If output_dir is non-NULL use it as a prefix
36868         otherwise use "".
36869         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36871 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36873         [BZ #10060, #10062]
36874         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36875         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36876         fail configure if __sync_val_compare_and_swap is not inlined.
36877         * sysdeps/i386/configure: Regenerate.
36878         * configure.in: Build for i686 when configured for i386.
36879         * configure: Regenerate.
36880         * README: Remove i386 reference.
36882 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36884         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36885         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36887 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36889         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36890         (lmsnanval): New variables.
36891         (F): Add conversion tests.
36892         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36893         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36895         * stdio-common/tstdiomisc.c (F): Properly collect individual
36896         tests' results.
36898         [BZ #14686, #15336]
36899         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36900         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36901         Instead, use input NaN values or generate a qNaN by arithmetic
36902         operation.  Also fix bugs to comply with the standard.
36903         * math/libm-test.inc (remainder_test): Add more tests.
36905         [BZ #15335, #15342]
36906         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36907         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36908         input NaN values or generate a qNaN by arithmetic operation.
36910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36911         unreachable code.
36913         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36914         definitions.
36916 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36918         [BZ #14478]
36919         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36920         underflowed result.
36921         * math/s_cexpf.c (__cexpf): Likewise.
36922         * math/s_cexpl.c (__cexpl): Likewise.
36923         * math/libm-test.inc (cexp_test): Add more tests.
36925 2013-04-03  Andreas Schwab  <schwab@suse.de>
36927         [BZ #15330]
36928         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36929         order arrays from heap if bigger than alloca cutoff.
36931 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36933         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36934         (SNAN_TESTS_double): Refer to GCC PR56831.
36935         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36936         GCC PR56828.
36938 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36940         * Rules (bench): Move bench.out after the run is complete.
36942         * Rules (bench): Echo currently running benchmark.
36944         * benchtests/Makefile (bench): Add atan and slowatan.
36945         * benchtests/atan-inputs: New file.
36946         * benchtests/slowatan-inputs: New file.
36947         * benchtests/slowatan.c: New file.
36949         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36950         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36951         its value.
36953         [BZ #15305]
36954         * sysdeps/unix/sysv/linux/kernel-features.h
36955         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36956         __ASSUME_XFS_RESTRICTED_CHOWN.
36957         * sysdeps/unix/sysv/linux/pathconf.c
36958         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36959         Save and restore errno.
36961 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36963         [BZ #15327]
36964         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36965         arguments using __kernel_casinh.
36966         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36967         arguments using __kernel_casinhf.
36968         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36969         arguments using __kernel_casinhl.
36970         * math/libm-test.inc (cacosh_test): Add more tests.
36971         * sysdeps/i386/fpu/libm-test-ulps: Update.
36972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36976         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36979         * bench/Makefile (bench): Add sin and slowsin.
36980         * benchtests/sin-inputs: New file.
36981         * benchtests/slowsin-inputs: New file.
36982         * benchtests/slowsin.c: New file.
36984         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36985         (bench): Add slowexp and slowpow.
36986         (exp-ITER): Increase iterations.
36987         (pow-ITER): Likewise.
36988         * benchtests/exp-inputs: Change input.
36989         * benchtests/pow-inputs: Likewise.
36990         * benchtests/slowexp-inputs: New file.
36991         * benchtests/slowexp.c: New file.
36992         * benchtests/slowpow-inputs: New file.
36993         * benchtests/slowpow.c: New file.
36995 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36997         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36998         instructions.
36999         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37000         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37001         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37002         * benchtests/Makefile: Add rint benchtest.
37003         * benchtests/rint-inputs: Input for rint benchtest.
37005 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37007         * Versions.def (libm): Add GLIBC_2.18.
37008         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37009         hidden libm prototypes.
37010         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37011         * math/Makefile (libm-calls): Add s_issignaling.
37012         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37013         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
37014         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37015         declaration.
37016         * math/math.h [__USE_GNU] (issignaling): New macro.
37017         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37018         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37019         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37020         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37021         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37022         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37023         * manual/arith.texi (issignaling): New section.
37024         * manual/libm-err-tab.pl (@all_functions): Update comment.
37025         * math/gen-libm-test.pl (parse_args): Apply special handling for
37026         issignaling.
37027         * math/libm-test.inc (print_float, issignaling_test): New
37028         functions.
37029         (check_float_internal): Add issignaling checks.
37030         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37031         default definition.
37032         * sysdeps/powerpc/math-tests.h: New file.
37033         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37034         tests.
37035         * math/test-snan.c (TEST_FUNC): Likewise.
37037 2013-03-30  David S. Miller  <davem@davemloft.net>
37039         * po/de.po: Update from translation team.
37041 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
37043         [BZ #10357]
37044         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37045         imaginary part less than 1.0 and real part less than 0.5
37046         specially.
37047         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37048         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37049         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37050         (cacos_test): Add more tests.
37051         (casin_test): Likewise.
37052         (casinh_test): Likewise.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37056 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37058         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37059         ONE with its value.
37061         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37062         (__pow_mp): Replace ONE and MONE with their values.
37063         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37064         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37065         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37066         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37067         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37068         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37070         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37072         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37073         (__pow_mp): Replace ZERO and MZERO with their values.
37074         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37075         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37078         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37079         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37080         (__sqr): Likewise.
37082         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37084         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37086 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37088         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37089         Declare with __attribute__ ((weak)).
37090         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37091         Call __call_tls_dtors only if it's not NULL.
37093 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37095         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37096         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37097         magic __ehdr_start linker symbol if it's defined.
37098         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37099         them up here if it was already done.
37101         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37102         (_dl_aux_init): Use const in cast when setting it.
37103         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37104         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37105         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37107         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37108         Declare them here.
37109         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37110         * csu/libc-tls.c: Nor here.
37111         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37113         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37114         (__libc_message): Never call vsyslog.
37116 2013-03-28  Alan Modra  <amodra@gmail.com>
37118         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37119         Define as empty.
37120         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37121         Likewise.
37123 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37125         [BZ #15214]
37126         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37127         underflow.
37128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37130 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37132         [BZ #15304]
37133         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37134         Don't add gid passed as argument.
37136         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37138 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37140         [BZ #15307]
37141         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37142         imaginary part between 1.0 and 1.5 and real part less than 0.5
37143         specially.
37144         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37145         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37146         * math/libm-test.inc (cacos_test): Add more tests.
37147         (casin_test): Likewise.
37148         (casinh_test): Likewise.
37149         * sysdeps/i386/fpu/libm-test-ulps: Update.
37150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37152 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37154         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37155         constants.
37156         (norm): Likewise.
37157         (denorm): Likewise.
37158         (__dbl_mp): Likewise.
37159         (add_magnitudes): Likewise.
37160         (sub_magnitudes): Likewise.
37161         (__add): Likewise.
37162         (__sub): Likewise.
37163         (__mul): Likewise.
37164         (__sqr): Likewise.
37165         (__inv): Likewise.
37166         (__dvd): Likewise.
37168         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37169         commented code.
37170         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37171         (__dubcos): Likewise.
37172         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37173         (__ieee754_acos): Likewise.
37174         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37175         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37176         (__exp1): Likewise.
37177         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37179         (log1): Likewise.
37180         (my_log2): Likewise.
37181         (checkint): Likewise.
37182         * sysdeps/ieee754/dbl-64/e_remainder.c
37183         (__ieee754_remainder): Likewise.
37184         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37186         (bsloww): Likewise.
37187         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37189         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37190         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37191         MANTISSA_STORE_T to store computations on mantissa.  Use
37192         macros for rounding and division.
37193         (denorm): Likewise.
37194         (__dbl_mp): Likewise.
37195         (add_magnitudes): Likewise.
37196         (sub_magnitudes): Likewise.
37197         (__mul): Likewise.
37198         (__sqr): Likewise.
37199         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37200         powers of two in terms of TWOPOW macro.
37201         (mp_no): Make type of mantissa as MANTISSA_T.
37202         [!RADIXI]: Define RADIXI.
37203         [!TWO52]: Define TWO52.
37204         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37206 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37208         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37209         llroundl symbol when building for PPC32.
37211 2013-03-24  Mark H Weaver  <mhw@netris.org>
37213         * manual/arith.texi (Normalization Functions): Fix prototypes for
37214         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37216 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37218         [BZ #13889]
37219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37220         high value to check if expl overflow.
37221         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37222         to check for underflow and overflow.
37223         * math/libm-test.inc: Add exp test.
37225 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37227         [BZ #11120]
37228         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37229         with NOT_IN_libc.
37231 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37233         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37234         symbol.
37236 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37238         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37239         wrap blocks consisting of several statements.
37241         * sysdeps/generic/math-tests.h: New file.
37242         * sysdeps/i386/fpu/math-tests.h: Likewise.
37243         * math/test-snan.c: Include it.
37244         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37246 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37248         [BZ #15285]
37249         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37250         (__ieee754_j0l): Do not improve calculations using cos of twice
37251         input for inputs above LDBL_MAX / 2.0L.
37252         (__ieee754_y0l): Likewise.
37253         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37254         (__ieee754_j1l): Do not improve calculations using cos of twice
37255         input for inputs above LDBL_MAX / 2.0L.
37256         (__ieee754_y1l): Likewise.
37257         * math/libm-test.inc (j0_test): Add another test.
37258         (j1_test): Likewise.
37259         (y0_test): Likewise.
37260         (y1_test): Likewise.
37261         * sysdeps/i386/fpu/libm-test-ulps: Update.
37263 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37265         * Rules ($(objpfx)bench-%.c): Include code from a C source
37266         file.
37268 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37270         [BZ #15287]
37271         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37272         imaginary part 1.0 and real part less than 0.5 specially.
37273         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37274         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37275         * math/libm-test.inc (cacos_test): Add more tests.
37276         (casin_test): Likewise.
37277         (casinh_test): Likewise.
37278         * sysdeps/i386/fpu/libm-test-ulps: Update.
37279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37281 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37283         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37284         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37286 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37288         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37289         * config.make.in (config-cflags-sse4): Remove variable.
37290         (config-cflags-avx): Likewise.
37291         (config-cflags-sse2avx): Likewise.
37292         (config-cflags-novzeroupper): Likewise.
37293         (config-asflags-i686): Likewise.
37294         (have-mfma4): Likewise.
37295         (have-as-vis3): Likewise.
37296         (MIG): Likewise.
37297         * configure.in (MIG): Do not AC_SUBST.
37298         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37299         (libc_cv_cc_sse4): Do not AC_SUBST.
37300         (libc_cv_cc_avx): Likewise.
37301         (libc_cv_cc_sse2avx): Likewise.
37302         (libc_cv_cc_novzeroupper): Likewise.
37303         (libc_cv_cc_fma4): Likewise.
37304         (libc_cv_as_i686): Likewise.
37305         (libc_cv_sparc_as_vis3): Likewise.
37306         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37307         LIBC_CONFIG_VAR.
37308         (config-asflags-i686): Likewise.
37309         (config-cflags-avx): Likewise.
37310         (config-cflags-sse2avx): Likewise.
37311         (have-mfma4): Likewise.
37312         (config-cflags-novzeroupper): Likewise.
37313         * sysdeps/mach/configure.in (MIG): Likewise.
37314         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37315         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37316         LIBC_CONFIG_VAR.
37317         (config-cflags-avx): Likewise.
37318         (config-cflags-sse2avx): Likewise.
37319         (have-mfma4): Likewise.
37320         (config-cflags-novzeroupper): Likewise.
37321         * configure: Regenerated.
37322         * sysdeps/i386/configure: Likewise.
37323         * sysdeps/mach/configure: Likewise.
37324         * sysdeps/sparc/configure: Likewise.
37325         * sysdeps/x86_64/configure: Likewise.
37327 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37329         [BZ #14812]
37330         * locale/programs/localedef.c (options): Put N_ translation marker
37331         on argument names, not just descriptions.
37333 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37335         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37337 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37339         [BZ #14176]
37340         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37342 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37344         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37345         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37346         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37347         [!BEFORE_ABORT] (before_abort): New function.
37348         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37349         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37350         (writev_for_fatal): New function.
37351         (WRITEV_FOR_FATAL): New macro; call that.
37352         (backtrace_and_maps): New function.
37353         (BEFORE_ABORT): New macro; call that.
37354         (struct str_list): Type removed.
37355         (__libc_message, __libc_fatal): Functions removed.
37356         Include <sysdeps/posix/libc_fatal.c> instead.
37358 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37360         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37361         constants.
37362         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37363         double constants.
37365 2013-03-19  Andreas Schwab  <schwab@suse.de>
37367         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37368         * sysdeps/gnu/configure: Regenerate.
37370         * configure.in: Substitute libc_cv_rtlddir.
37371         * configure: Regenerate.
37372         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37373         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37374         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37375         * elf/Makefile (install-others, CFLAGS-interp.c)
37376         (ldso_install, common-ldd-rewrite): Likewise.
37377         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37378         $(inst_slibdir)/$(rtld-installed-name).
37379         * scripts/rellns-sh: Add -p option.
37380         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37381         for source.
37383 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37385         * manual/nptl.texi: Renamed to ...
37386         * manual/threads.texi: ... this.
37387         * manual/Makefile (chapters): Update.
37389 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37391         [BZ #14812]
37392         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37393         on argument names, not just descriptions.
37394         * malloc/memusagestat.c (options): Likewise.
37395         * nss/getent.c (options): Likewise.
37397 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37399         [BZ #14812]
37400         * iconv/iconv_prog.c (options): Put N_ translation marker
37401         on argument names, not just descriptions.
37402         * iconv/iconvconfig.c (options): Likewise.
37404 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37406         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37407         implementation which is faster on all x86_64 architectures.
37408         Tested on AMD, Intel Nehalem, SNB, IVB.
37409         * sysdeps/x86_64/strnlen.S: Likewise.
37411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37412         Remove all multiarch strlen and strnlen versions.
37413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37414         Remove strlen and strnlen related parts.
37416         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37417         Inline strlen part.
37418         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37420         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37421         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37422         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37423         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37424         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37425         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37427 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37429         * manual/memory.texi (Malloc Tunable Parameters):
37430         Sort parameters alphabetically. Add comments for missing entries.
37432 2013-03-17  David S. Miller  <davem@davemloft.net>
37434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37436 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37438         [BZ #15283]
37439         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37440         for arguments at most half maximum finite value.
37441         * math/libm-test.inc (j0_test): Add more tests.
37442         (j1_test): Likewise.
37443         (y0_test): Likewise.
37444         (y1_test): Likewise.
37445         * sysdeps/i386/fpu/libm-test-ulps: Update.
37446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37448         [BZ #14155]
37449         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37450         1 / x and functions P and Q for arguments above 0x1p256L.
37451         (__ieee754_y0l): Likewise.
37452         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37453         (__ieee754_y1l): Likewise.
37454         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37455         (j1_test): Likewise.
37456         (y0_test): Likewise.
37457         (y1_test): Likewise.
37459 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37461         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37462         variable.
37464 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37466         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37467         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37468         zero since it's initialized to EXEC_PAGESIZE.
37470         * sysdeps/unix/sysv/linux/ldsodefs.h
37471         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37472         * sysdeps/generic/ldsodefs.h: ... here.
37474 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37476         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37478         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37479         math/test-snan.c.
37480         * math/test-snan.c: Renamed from
37481         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37482         * math/Makefile (tests): Add test-snan.
37483         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37484         test-powerpc-snan.
37486         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37487         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37488         functions.
37489         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37490         __builtin_nan family of functions.
37491         * math/libm-test.inc (initialize): Initialize qnan_value with
37492         __builtin_nan family of functions.
37493         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37494         Remove variables.
37495         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37496         Remove functions.
37497         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37498         storage class.  Initialize qNaN_var and sNaN_var with
37499         __builtin_nan and __builtin_nans families of functions,
37500         respectively.
37502         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37503         (sqrt_test): Remove duplicate test with qNaN input.
37504         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37505         (round_test, signbit_test, significand_test): Note missing +/-Inf
37506         as well as qNaN tests.
37508         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37509         qNaN_var.  Fix a few strings, too.
37510         * math/libm-test.inc (nan_value): Rename to qnan_value.
37511         * math/gen-libm-test.pl (%beautify): Adjust to that.
37512         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37513         * math/test-misc.c (main): Likewise.
37514         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37515         to __qnan_bytes, and __qnan_union, respectively.
37516         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37517         Likewise.
37518         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37519         and lqnanval, respectively.
37520         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37521         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37522         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37523         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37525         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37526         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37527         doubles.
37529         * math/test-misc.c (main): Fix copy'n'pastos.
37530         * misc/tst-efgcvt.c (special): Likewise.
37532         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37533         Remove declarations.
37535 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37537         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37538         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37539         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37540         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37542 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37544         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37545         macro to return vdso values correctly in IFUNC implementations.
37546         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37547         Optimization by using IFUNC.
37549 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37550             Richard Henderson  <rth@redhat.com>
37551             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37553         * Makefile.in (bench): New target.
37554         * NEWS: Mention the benchmark framework.
37555         * Rules (bench): Likewise.
37556         (binaries-bench): Generate binaries for functions to
37557         benchmark.
37558         * benchtests/Makefile: New makefile for benchmark tests.
37559         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37560         programs.
37561         * benchtests/exp-inputs: New input file for EXP function.
37562         * benchtests/pow-inputs: New input file for POW function.
37563         * scripts/bench.pl: New script to generate source files for
37564         benchmark programs.
37566 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37568         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37569         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37570         computations on mantissa.  Use macros for rounding and
37571         division.
37572         (denorm): Likewise.
37573         (__dbl_mp): Likewise.
37574         (add_magnitudes): Likewise.
37575         (sub_magnitudes): Likewise.
37576         (__mul): Likewise.
37577         (__sqr): Likewise.
37578         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37579         powers of two in terms of TWOPOW macro.
37580         (mp_no): Make type of mantissa as MANTISSA_T.
37581         [!RADIXI]: Define RADIXI.
37582         [!TWO52]: Define TWO52.
37583         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37585         * manual/nptl.texi (cindex): Modify threads to pthreads.
37587 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37589         * sysdeps/x86_64/preconfigure: Regenerated.
37591 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37593         [BZ #14155]
37594         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37595         0x1p28 and above.
37596         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37597         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37598         0x1p28 and above.
37599         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37600         * math/libm-test.inc (j0_test): Do not allow one spurious
37601         underflow exception.
37602         (y1_test): Likewise.
37604 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37606         * manual/Makefile (chapters): Add nptl.
37607         * manual/debug.texi (Debugging Support): Add link to Threads
37608         chapter.
37609         * manual/nptl.texi: New file.
37611         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37613 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37615         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37616         for non-NULL pointer before the memory validity test. Pointed
37617         out by Holger Brunck <holger.brunck@keymile.com>.
37619 2013-03-13  Andreas Schwab  <schwab@suse.de>
37621         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37622         instead of .os.
37624 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37626         * timezone/zic.c: Update from tzcode 2013b.
37628 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37630         * manual/install.texi (Configuring and compiling):
37631         Mention i686 and i586.
37632         * INSTALL: Regenerate.
37634 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37636         * sysdeps/init_array/elf-init.c: New file.
37637         * csu/elf-init.c
37638         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37639         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37641         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37642         __gmon_start__ as global, but as static with a .preinit_array pointer.
37643         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37644         * sysdeps/init_array/crti.S: New file, empty except for comments.
37645         * sysdeps/init_array/crtn.S: Likewise.
37647 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37649         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37650         definining bcopy.
37651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37652         Remove Prefer_SSE_for_memop.
37653         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37654         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37655         HAS_PREFER_SSE_FOR_MEMOP.
37656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37657         memset-x86-64.
37658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37659         Remove bzero, memset ifunc support.
37660         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37661         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37662         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37663         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37665 2013-03-11  Andreas Schwab  <schwab@suse.de>
37667         [BZ #15234]
37668         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37669         by SHLIB_COMPAT.
37670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37671         (GLIBC_2.16): Remove pthread_atfork.
37673 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37675         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37676         (ptestcases.h): Likewise.
37678 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37680         * Makeconfig ($(common-objpfx)config.status): Depend on
37681         sysdeps/*/preconfigure{,.in} too.
37683 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37685         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37686         (__free_hook): Use void * instead of __malloc_ptr_t.
37687         (__malloc_hook): Likewise.
37688         (__realloc_hook): Likewise.
37689         (__memalign_hook): Likewise.
37690         (__after_morecore_hook): Likewise.
37691         * malloc/arena.c (save_malloc_hook): Likewise.
37692         (save_free_hook): Likewise.
37693         * malloc/hooks.c (malloc_hook_ini): Likewise.
37694         (realloc_hook_ini): Likewise.
37695         (memalign_hook_ini): Likewise.
37696         * malloc/malloc.c (malloc_hook_ini): Likewise.
37697         (realloc_hook_ini): Likewise.
37698         (memalign_hook_ini): Likewise.
37699         (__free_hook): Likewise.
37700         (__malloc_hook): Likewise.
37701         (__realloc_hook): Likewise.
37702         (__memalign_hook): Likewise.
37703         (__libc_malloc): Likewise.
37704         (__libc_free): Likewise.
37705         (__libc_realloc): Likewise.
37706         (__libc_memalign): Likewise.
37707         (__libc_valloc): Likewise.
37708         (__libc_pvalloc): Likewise.
37709         (__libc_calloc): Likewise.
37710         (__posix_memalign): Likewise.
37711         * malloc/morecore.c (__sbrk): Likewise.
37712         (__default_morecore): Likewise.
37714         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37716         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37717         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37718         __malloc_ptrdiff_t.
37720         * malloc/malloc.h (__malloc_size_t): Remove macro.
37721         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37722         __malloc_size_t.
37723         (old_memalign_hook): Likewise.
37724         (old_realloc_hook): Likewise.
37725         (struct hdr): Likewise.
37726         (flood): Likewise.
37727         (mallochook): Likewise.
37728         (memalignhook): Likewise.
37729         (reallochook): Likewise.
37730         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37731         (tr_old_realloc_hook): Likewise.
37732         (tr_old_memalign_hook): Likewise.
37733         (tr_mallochook): Likewise.
37734         (tr_reallochook): Likewise.
37735         (tr_memalignhook): Likewise.
37737 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37739         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37740         default_ldbl_pack and using as default implementation.
37741         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37742         implementation.
37743         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37744         redundant definition.
37745         (ldbl_insert_mantissa): Likewise.
37746         (ldbl_canonicalize): Likewise.
37747         (ldbl_nearbyint): Likewise.
37748         (ldbl_pack): Rename to ldbl_pack_ppc.
37749         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37750         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37751         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37753 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37755         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37756         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37757         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37758         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37760         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37761         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37762         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37764 2013-03-07  Andreas Jaeger  <aj@suse.de>
37766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37767         bits/mman-linux.h.
37769 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37771         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37772         Include mpa.h and declare __MPEXP.
37773         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37774         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37775         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37776         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37777         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37778         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37779         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37781         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37782         (__slowpow): Use long double EXPL and LOGL functions to
37783         compute POW.
37784         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37785         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37786         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37787         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37788         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37789         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37792         intermediate variable to calculate exponent.
37793         (__sqr): Likewise.
37794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37795         Likewise.
37796         (__sqr): Likewise.
37798         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37799         [!NO__SQR]: Define __sqr.
37800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37801         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37802         sysdeps/ieee754/dbl-64/mpa.c.
37803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37805         [BZ #12723]
37806         * posix/Makefile (tests): Add tst-pathconf.
37807         * posix/tst-pathconf.c: New test case.
37808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37809         _PC_PIPE_BUF.
37810         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37812 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37814         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37816 2013-03-06  Andreas Jaeger  <aj@suse.de>
37818         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37819         definition via __MAP_ANONYMOUS.
37821         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37822         it's not part of Linux headers.
37824         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37825         (MAP_HUGE_MASK): Define.
37827         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37828         Define.
37829         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37830         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37831         Define.
37832         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37833         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37834         Define.
37835         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37836         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37837         Define.
37838         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37840         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37841         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37842         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37843         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37844         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37845         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37847         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37848         Handle f2fs.
37850         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37851         Handle f2fs and efivarfs.
37853         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37854         f2fs.
37856         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37857         (EFIVARFS_MAGIC): Add.
37858         (F2FS_LINK_MAX): Add.
37860 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37862         * stdio-common/vfprintf.c: Replace __builtin_expect with
37863         __glibc_unlikely.
37865 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37867         [BZ #13550]
37868         * sysdeps/generic/bp-sym.h: Remove file.
37869         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37870         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37871         <bp-sym.h> and <bp-asm.h>.
37872         (__longjmp): Don't use BP_SYM.
37873         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37874         and <bp-asm.h>.
37875         (memcpy): Don't use BP_SYM.
37876         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37877         <bp-sym.h> and <bp-asm.h>.
37878         (memcpy): Don't use BP_SYM.
37879         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37880         <bp-asm.h>.
37881         (memcpy): Don't use BP_SYM.
37882         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37883         <bp-asm.h>.
37884         (memset): Don't use BP_SYM.
37885         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37886         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37887         (__bzero): Don't use BP_SYM.
37888         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37889         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37890         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37891         <bp-sym.h> and <bp-asm.h>.
37892         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37893         pointers.
37894         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37895         <bp-sym.h> and <bp-asm.h>.
37896         (memcpy): Don't use BP_SYM.
37897         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37898         <bp-sym.h> and <bp-asm.h>.
37899         (memset): Don't use BP_SYM.
37900         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37901         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37902         (__bzero): Don't use BP_SYM.
37903         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37904         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37905         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37906         <bp-sym.h> and <bp-asm.h>.
37907         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37908         pointers.
37909         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37910         <bp-sym.h> and <bp-asm.h>.
37911         (memcpy): Don't use BP_SYM.
37912         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37913         <bp-sym.h> and <bp-asm.h>.
37914         (memset): Don't use BP_SYM.
37915         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37916         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37917         (__bzero): Don't use BP_SYM.
37918         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37919         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37920         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37921         <bp-sym.h> and <bp-asm.h>.
37922         (__memchr): Don't use BP_SYM.
37923         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37924         <bp-sym.h> and <bp-asm.h>.
37925         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37926         pointers.
37927         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37928         <bp-sym.h> and <bp-asm.h>.
37929         (memcpy): Don't use BP_SYM.
37930         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37931         <bp-sym.h> and <bp-asm.h>.
37932         (__mempcpy): Don't use BP_SYM.
37933         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37934         <bp-sym.h> and <bp-asm.h>.
37935         (__memrchr): Don't use BP_SYM.
37936         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37937         <bp-sym.h> and <bp-asm.h>.
37938         (memset): Don't use BP_SYM.
37939         (__bzero): Likewise.
37940         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37941         <bp-sym.h> and <bp-asm.h>.
37942         (__rawmemchr): Don't use BP_SYM.
37943         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37944         <bp-sym.h> and <bp-asm.h>.
37945         (__STRCMP): Don't use BP_SYM.
37946         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37947         <bp-sym.h> and <bp-asm.h>.
37948         (strchr): Don't use BP_SYM.
37949         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37950         <bp-sym.h> and <bp-asm.h>.
37951         (__strchrnul): Don't use BP_SYM.
37952         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37953         <bp-sym.h> and <bp-asm.h>.
37954         (strlen): Don't use BP_SYM.
37955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37956         <bp-sym.h> and <bp-asm.h>.
37957         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37958         pointers.
37959         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37960         <bp-sym.h> and <bp-asm.h>.
37961         (__strnlen): Don't use BP_SYM.
37962         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37963         <bp-sym.h> and <bp-asm.h>.
37964         (__GI__setjmp): Don't use BP_SYM.
37965         (_setjmp): Likewise.
37966         (__sigsetjmp): Likewise.
37967         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37968         (L(start_addresses)): Don't use BP_SYM.
37969         (_start): Likewise.
37970         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37971         <bp-asm.h>.
37972         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37973         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37974         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37975         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37976         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37977         <bp-asm.h>.
37978         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37979         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37980         about bounded pointers.
37981         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37982         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37983         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37984         <bp-asm.h>.
37985         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37986         about bounded pointers.  Remove GKM FIXME comments.
37987         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37988         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37989         <bp-asm.h>.
37990         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37991         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37992         Remove GKM FIXME comments.
37993         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37994         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37995         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37996         <bp-asm.h>.
37997         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37998         about bounded pointers.  Remove GKM FIXME comment.
37999         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38000         and <bp-asm.h>.
38001         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38002         pointers.
38003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38004         <bp-sym.h> and <bp-asm.h>.
38005         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38007         <bp-sym.h> and <bp-asm.h>.
38008         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38009         comment.
38011 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38013         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38014         call free(NULL).
38016 2013-03-05  David S. Miller  <davem@davemloft.net>
38018         * po/es.po: Update from translation team.
38020 2013-03-05  Andreas Jaeger  <aj@suse.de>
38022         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38023         <bits/mman-linux.h>.
38024         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38025         is fine.
38026         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38027         <bits/mman-linux.h> to end of file.
38028         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38029         is fine.
38030         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38031         <bits/mman-linux.h> to end of file.
38032         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38033         is fine.
38034         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38035         <bits/mman-linux.h> to end of file.
38037         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38038         (MCL_CURRENT, MCL_FUTURE): Define here.
38040 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38042         [BZ #15232]
38043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38044         attribute_hidden.
38045         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38047 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38049         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38050         fourth parameter needed for rt_sigprocmask syscall.
38051         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38052         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38053         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38054         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38055         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38056         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38058 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
38060         [BZ #13550]
38061         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38062         comment about bounded pointers.
38063         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38064         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38066 2013-03-04  Andreas Jaeger  <aj@suse.de>
38068         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38069         common definitions.
38071         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38072         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38073         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38074         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38075         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38076         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38078 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38080         [BZ #15055]
38081         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38082         __ieee754_sqrl instead of __sqrl.
38084 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38086         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38087         * sysdeps/powerpc/fpu_control.h: ... here.
38088         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38089         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38090         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38091         * sysdeps/powerpc/bits/mathinline.h: ... here.
38093 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38095         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38096         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38097         to just [NEED_DL_SYSINFO_DSO].
38098         * elf/dl-support.c: Likewise.
38099         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38100         * elf/rtld.c (dl_main): Likewise.
38101         * elf/setup-vdso.h (setup_vdso): Likewise.
38102         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38103         * sysdeps/unix/sysv/linux/dl-sysdep.c
38104         (_dl_discover_osversion): Likewise.
38106 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38108         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38109         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38111 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38113         * NEWS: Mention libm performance improvements and non-x86 PI
38114         futex support.
38116         * csu/libc-start.c (__pthread_initialize_minimal): Change
38117         function arguments.
38118         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38120 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38122         [BZ #13550]
38123         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38124         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38125         <bp-sym.h> and <bp-asm.h>.
38126         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38127         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38128         and <bp-asm.h>.
38129         (memcpy): Don't use BP_SYM.
38130         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38131         <bp-asm.h>.
38132         (__mpn_add_n): Don't use BP_SYM.
38133         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38134         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38135         and <bp-asm.h>.
38136         (__mpn_addmul_1): Don't use BP_SYM.
38137         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38138         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38139         <bp-sym.h>.
38140         (_setjmp): Don't use BP_SYM.
38141         (__novmx_setjmp): Likewise.
38142         (__GI__setjmp): Likewise.
38143         (__vmx_setjmp): Likewise.
38144         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38145         <bp-sym.h>.
38146         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38147         (__bzero): Don't use BP_SYM.
38148         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38149         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38150         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38151         <bp-sym.h> and <bp-asm.h>.
38152         (memcpy): Don't use BP_SYM.
38153         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38154         <bp-sym.h> and <bp-asm.h>.
38155         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38156         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38157         <bp-sym.h> and <bp-asm.h>.
38158         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38159         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38160         <bp-asm.h>.
38161         (__mpn_lshift): Don't use BP_SYM.
38162         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38163         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38164         <bp-asm.h>.
38165         (memset): Don't use BP_SYM.
38166         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38167         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38168         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38169         <bp-asm.h>.
38170         (__mpn_mul_1): Don't use BP_SYM.
38171         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38172         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38173         <bp-sym.h> and <bp-asm.h>.
38174         (memcmp): Don't use BP_SYM.
38175         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38176         <bp-sym.h> and <bp-asm.h>.
38177         (memcpy): Don't use BP_SYM.
38178         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38179         <bp-sym.h> and <bp-asm.h>.
38180         (memset): Don't use BP_SYM.
38181         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38182         <bp-sym.h> and <bp-asm.h>.
38183         (strncmp): Don't use BP_SYM.
38184         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38185         <bp-sym.h> and <bp-asm.h>.
38186         (memcpy): Don't use BP_SYM.
38187         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38188         <bp-sym.h> and <bp-asm.h>.
38189         (memset): Don't use BP_SYM.
38190         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38191         <bp-sym.h> and <bp-asm.h>.
38192         (__memchr): Don't use BP_SYM.
38193         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38194         <bp-sym.h> and <bp-asm.h>.
38195         (memcmp): Don't use BP_SYM.
38196         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38197         <bp-sym.h> and <bp-asm.h>.
38198         (memcpy): Don't use BP_SYM.
38199         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38200         <bp-sym.h> and <bp-asm.h>.
38201         (__mempcpy): Don't use BP_SYM.
38202         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38203         <bp-sym.h> and <bp-asm.h>.
38204         (__memrchr): Don't use BP_SYM.
38205         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38206         <bp-sym.h> and <bp-asm.h>.
38207         (memset): Don't use BP_SYM.
38208         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38209         <bp-sym.h> and <bp-asm.h>.
38210         (__rawmemchr): Don't use BP_SYM.
38211         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38212         <bp-sym.h> and <bp-asm.h>.
38213         (__STRCMP): Don't use BP_SYM.
38214         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38215         <bp-sym.h> and <bp-asm.h>.
38216         (strchr): Don't use BP_SYM.
38217         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38218         <bp-sym.h> and <bp-asm.h>.
38219         (__strchrnul): Don't use BP_SYM.
38220         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38221         <bp-sym.h> and <bp-asm.h>.
38222         (strlen): Don't use BP_SYM.
38223         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38224         <bp-sym.h> and <bp-asm.h>.
38225         (strncmp): Don't use BP_SYM.
38226         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38227         <bp-sym.h> and <bp-asm.h>.
38228         (__strnlen): Don't use BP_SYM.
38229         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38230         <bp-asm.h>.
38231         (__mpn_rshift): Don't use BP_SYM.
38232         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38233         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38234         <bp-sym.h> and <bp-asm.h>.
38235         (__sigsetjmp): Don't use BP_SYM.
38236         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38237         (L(start_addresses)): Don't use BP_SYM.
38238         (_start): Likewise.
38239         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38240         <bp-asm.h>.
38241         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38242         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38243         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38244         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38245         <bp-asm.h>.
38246         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38247         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38248         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38249         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38250         <bp-asm.h>.
38251         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38252         comments.
38253         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38254         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38255         <bp-asm.h>.
38256         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38257         FIXME comments.
38258         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38259         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38260         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38261         <bp-asm.h>.
38262         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38263         comment.
38264         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38265         and <bp-asm.h>.
38266         (strncmp): Don't use BP_SYM,
38267         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38268         <bp-asm.h>.
38269         (__mpn_sub_n): Don't use BP_SYM.
38270         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38271         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38272         and <bp-asm.h>.
38273         (__mpn_submul_1): Don't use BP_SYM.
38274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38276         <bp-sym.h> and <bp-asm.h>.
38277         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38279         <bp-sym.h> and <bp-asm.h>.
38280         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38281         comment.
38283 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38286         Use ZK to minimize writes to Z.
38287         (sub_magnitudes): Simplify code a bit.
38288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38289         Use ZK to minimize writes to Z.
38290         (sub_magnitudes): Simplify code a bit.
38292 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38294         * csu/gmon-start.c: Add special exception to license text.
38296 2013-02-27  Richard Henderson  <rth@redhat.com>
38298         * scripts/config.guess: Update from config.git.
38299         * scripts/config.sub: Likewise.
38301 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38303         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38305         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38307         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38309         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38311         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38313 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38315         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38316         [$(build-shared = yes].
38318 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38320         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38321         (__mul): Reduce iterations for calculating mantissa.
38323         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38324         MPTWO.
38325         (__mpranred): Likewise.
38327         [BZ #15160]
38328         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38329         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38331 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38333         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38334         Define __attribute__.
38336 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38338         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38339         unused.
38340         * posix/regex_internal.h (__attribute): Remove.
38341         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38342         (re_string_context_at): Likewise.
38343         (bitset_not): Use __attribute__ and mark function as possibly
38344         unused.
38345         (bitset_merge): Likewise.
38346         (bitset_mask): Likewise.
38347         (re_string_char_size_at): Likewise.
38348         (re_string_wchar_at): Likewise.
38349         (re_string_elem_size_at): Likewise.
38351 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38353         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38354         code.
38355         (cc32): Likewise.
38357         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38358         (__acr): Likewise.
38359         (__cpy): Likewise.
38360         (norm): Likewise.
38361         (denorm): Likewise.
38362         (__dbl_mp): Likewise.
38363         (add_magnitudes): Likewise.
38364         (sub_magnitudes): Likewise.
38365         (__mul): Likewise.
38366         (__inv): Likewise.
38368         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38369         style.
38371         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38372         style.
38374         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38375         code.
38377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38378         up changes with default code.
38379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38380         Likewise.
38382 2013-02-24  Allan McRae  <allan@archlinux.org>
38384         * manual/socket.texi (The Internet Namespace): Order menu items
38385         to match that in the file.
38387         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38388         node listing of the info page menu.
38390 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38392         [BZ #13550]
38393         * sysdeps/i386/bp-asm.h: Remove file.
38394         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38395         (PARMS): Do not use macros from bp-asm.h.
38396         (S1): Likewise.
38397         (S2): Likewise.
38398         (SIZE): Likewise.
38399         (__mpn_add_n): Do not use BP_SYM
38400         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38401         "bp-asm.h".
38402         (PARMS): Do not use macros from bp-asm.h.
38403         (S1): Likewise.
38404         (SIZE): Likewise.
38405         (__mpn_addmul_1): Do not use BP_SYM
38406         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38407         "bp-asm.h".
38408         (PARMS): Do not use macros from bp-asm.h.
38409         (SIGMSK): Likewise.
38410         (_setjmp): Likewise.  Do not use BP_SYM.
38411         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38412         "bp-asm.h".
38413         (PARMS): Do not use macros from bp-asm.h.
38414         (SIGMSK): Likewise.
38415         (setjmp): Likewise.  Do not use BP_SYM.
38416         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38417         "bp-asm.h".
38418         (PARMS): Do not use macros from bp-asm.h.
38419         (__frexp): Do not use BP_SYM.
38420         (frexp): Likewise.
38421         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38422         "bp-asm.h".
38423         (PARMS): Do not use macros from bp-asm.h.
38424         (__frexpf): Do not use BP_SYM.
38425         (frexpf): Likewise.
38426         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38427         "bp-asm.h".
38428         (PARMS): Do not use macros from bp-asm.h.
38429         (__frexpl): Do not use BP_SYM.
38430         (frexpl): Likewise.
38431         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38432         "bp-asm.h".
38433         (PARMS): Do not use macros from bp-asm.h.
38434         (__remquo): Do not use BP_SYM.
38435         (remquo): Likewise.
38436         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38437         "bp-asm.h".
38438         (PARMS): Do not use macros from bp-asm.h.
38439         (__remquof): Do not use BP_SYM.
38440         (remquof): Likewise.
38441         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38442         "bp-asm.h".
38443         (PARMS): Do not use macros from bp-asm.h.
38444         (__remquol): Do not use BP_SYM.
38445         (remquol): Likewise.
38446         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38447         "bp-asm.h".
38448         (PARMS): Do not use macros from bp-asm.h.
38449         (DEST): Likewise.
38450         (SRC): Likewise.
38451         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38452         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38453         "bp-asm.h".
38454         (PARMS): Do not use macros from bp-asm.h.
38455         (strlen): Do not use BP_SYM.
38456         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38457         "bp-asm.h".
38458         (PARMS): Do not use macros from bp-asm.h.
38459         (S1): Likewise.
38460         (S2): Likewise.
38461         (SIZE): Likewise.
38462         (__mpn_add_n): Do not use BP_SYM.
38463         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38464         "bp-asm.h".
38465         (PARMS): Do not use macros from bp-asm.h.
38466         (S1): Likewise.
38467         (SIZE): Likewise.
38468         (__mpn_addmul_1): Do not use BP_SYM.
38469         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38470         weak_alias.
38471         (bzero): Likewise.
38472         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38473         "bp-asm.h".
38474         (PARMS): Do not use macros from bp-asm.h.
38475         (S): Likewise.
38476         (SIZE): Likewise.
38477         (__mpn_lshift): Do not use BP_SYM.
38478         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38479         "bp-asm.h".
38480         (PARMS): Do not use macros from bp-asm.h.
38481         (DEST): Likewise.
38482         (SRC): Likewise.
38483         (LEN): Likewise.
38484         (memcpy): Likewise.  Do not use BP_SYM.
38485         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38486         libc_hidden_def and weak_alias.
38487         (mempcpy): Do not use BP_SYM in weak_alias.
38488         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38489         "bp-asm.h".
38490         (PARMS): Do not use macros from bp-asm.h.
38491         (DEST): Likewise.
38492         (LEN): Likewise.
38493         [!BZERO_P] (CHR): Likewise.
38494         (memset): Likewise.  Do not use BP_SYM.
38495         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38496         "bp-asm.h".
38497         (PARMS): Do not use macros from bp-asm.h.
38498         (S1): Likewise.
38499         (SIZE): Likewise.
38500         (__mpn_mul_1): Do not use BP_SYM.
38501         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38502         "bp-asm.h".
38503         (PARMS): Do not use macros from bp-asm.h.
38504         (S): Likewise.
38505         (SIZE): Likewise.
38506         (__mpn_rshift): Do not use BP_SYM.
38507         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38508         "bp-asm.h".
38509         (PARMS): Do not use macros from bp-asm.h.
38510         (STR): Likewise.
38511         (CHR): Likewise.
38512         (strchr): Likewise.  Do not use BP_SYM.
38513         (index): Do not use BP_SYM in weak_alias.
38514         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38515         "bp-asm.h".
38516         (PARMS): Do not use macros from bp-asm.h.
38517         (DEST): Likewise.
38518         (SRC): Likewise.
38519         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38520         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38521         "bp-asm.h".
38522         (PARMS): Do not use macros from bp-asm.h.
38523         (strlen): Do not use BP_SYM.
38524         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38525         "bp-asm.h".
38526         (PARMS): Do not use macros from bp-asm.h.
38527         (S1): Likewise.
38528         (S2): Likewise.
38529         (SIZE): Likewise.
38530         (__mpn_sub_n): Do not use BP_SYM.
38531         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38532         "bp-asm.h".
38533         (PARMS): Do not use macros from bp-asm.h.
38534         (S1): Likewise.
38535         (SIZE): Likewise.
38536         (__mpn_submul_1): Do not use BP_SYM.
38537         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38538         "bp-asm.h".
38539         (PARMS): Do not use macros from bp-asm.h.
38540         (S1): Likewise.
38541         (S2): Likewise.
38542         (SIZE): Likewise.
38543         (__mpn_add_n): Do not use BP_SYM.
38544         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38545         weak_alias.
38546         (bzero): Likewise.
38547         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38548         "bp-asm.h".
38549         (PARMS): Do not use macros from bp-asm.h.
38550         (BLK2): Likewise.
38551         (LEN): Likewise.
38552         (memcmp): Do not use BP_SYM.
38553         (bcmp): Do not use BP_SYM in weak_alias.
38554         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38555         "bp-asm.h".
38556         (PARMS): Do not use macros from bp-asm.h.
38557         (DEST): Likewise.
38558         (SRC): Likewise.
38559         (LEN): Likewise.
38560         (memcpy): Likewise.  Do not use BP_SYM.
38561         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38562         "bp-asm.h".
38563         (PARMS): Do not use macros from bp-asm.h.
38564         (DEST): Likewise.
38565         (SRC): Likewise.
38566         (LEN): Likewise.
38567         (memmove): Likewise.  Do not use BP_SYM.
38568         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38569         "bp-asm.h".
38570         (PARMS): Do not use macros from bp-asm.h.
38571         (DEST): Likewise.
38572         (SRC): Likewise.
38573         (LEN): Likewise.
38574         (__mempcpy): Likewise.  Do not use BP_SYM.
38575         (mempcpy): Do not use BP_SYM in weak_alias.
38576         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38577         "bp-asm.h".
38578         (PARMS): Do not use macros from bp-asm.h.
38579         (DEST): Likewise.
38580         (LEN): Likewise.
38581         [!BZERO_P] (CHR): Likewise.
38582         (memset): Likewise.  Do not use BP_SYM.
38583         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38584         "bp-asm.h".
38585         (PARMS): Do not use macros from bp-asm.h.
38586         (STR2): Likewise.
38587         (strcmp): Do not use BP_SYM.
38588         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38589         "bp-asm.h".
38590         (PARMS): Do not use macros from bp-asm.h.
38591         (STR): Likewise.
38592         (DELIM): Likewise.
38593         [USE_AS_STRTOK_R] (SAVE): Likewise.
38594         (FUNCTION): Likewise.  Do not use BP_SYM.
38595         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38596         aliases.
38597         (strtok_r): Likewise.
38598         (__GI___strtok_r): Likewise.
38599         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38600         (PARMS): Do not use macros from bp-asm.h.
38601         (S): Likewise.
38602         (SIZE): Likewise.
38603         (__mpn_lshift): Do not use BP_SYM.
38604         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38605         (PARMS): Do not use macros from bp-asm.h.
38606         (STR): Likewise.
38607         (CHR): Likewise.
38608         (__memchr): Do not use BP_SYM.
38609         (memchr): Do not use BP_SYM in weak_alias.
38610         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38611         (PARMS): Do not use macros from bp-asm.h.
38612         (BLK2): Likewise.
38613         (LEN): Likewise.
38614         (memcmp): Do not use BP_SYM.
38615         (bcmp): Do not use BP_SYM in weak_alias.
38616         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38617         (PARMS): Do not use macros from bp-asm.h.
38618         (S1): Likewise.
38619         (SIZE): Likewise.
38620         (__mpn_mul_1): Do not use BP_SYM.
38621         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38622         "bp-asm.h".
38623         (PARMS): Do not use macros from bp-asm.h.
38624         (STR): Likewise.
38625         (CHR): Likewise.
38626         (__rawmemchr): Do not use BP_SYM.
38627         (rawmemchr): Do not use BP_SYM in weak_alias.
38628         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38629         (PARMS): Do not use macros from bp-asm.h.
38630         (S): Likewise.
38631         (SIZE): Likewise.
38632         (__mpn_rshift): Do not use BP_SYM.
38633         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38634         (PARMS): Do not use macros from bp-asm.h.
38635         (SIGMSK): Likewise.
38636         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38637         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38638         (_start): Do not use BP_SYM.
38639         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38640         (PARMS): Do not use macros from bp-asm.h.
38641         (DEST): Likewise.
38642         (SRC): Likewise.
38643         (__stpcpy): Likewise.  Do not use BP_SYM.
38644         (stpcpy): Do not use BP_SYM in weak_alias.
38645         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38646         "bp-asm.h".
38647         (PARMS): Do not use macros from bp-asm.h.
38648         (DEST): Likewise.
38649         (SRC): Likewise.
38650         (LEN): Likewise.
38651         (__stpncpy): Likewise.  Do not use BP_SYM.
38652         (stpncpy): Do not use BP_SYM in weak_alias.
38653         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38654         (PARMS): Do not use macros from bp-asm.h.
38655         (STR): Likewise.
38656         (CHR): Likewise.
38657         (strchr): Likewise.  Do not use BP_SYM.
38658         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38659         "bp-asm.h".
38660         (PARMS): Do not use macros from bp-asm.h.
38661         (STR): Likewise.
38662         (CHR): Likewise.
38663         (__strchrnul): Likewise.  Do not use BP_SYM.
38664         (strchrnul): Do not use BP_SYM in weak_alias.
38665         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38666         "bp-asm.h".
38667         (PARMS): Do not use macros from bp-asm.h.
38668         (STOP): Likewise.
38669         (strcspn): Do not use BP_SYM.
38670         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38671         "bp-asm.h".
38672         (PARMS): Do not use macros from bp-asm.h.
38673         (STR): Likewise.
38674         (STOP): Likewise.
38675         (strpbrk): Likewise.  Do not use BP_SYM.
38676         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38677         "bp-asm.h".
38678         (PARMS): Do not use macros from bp-asm.h.
38679         (STR): Likewise.
38680         (CHR): Likewise.
38681         (strrchr): Likewise.  Do not use BP_SYM.
38682         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38683         (PARMS): Do not use macros from bp-asm.h.
38684         (SKIP): Likewise.
38685         (strspn): Do not use BP_SYM.
38686         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38687         (PARMS): Do not use macros from bp-asm.h.
38688         (STR): Likewise.
38689         (DELIM): Likewise.
38690         (SAVE): Likewise.
38691         (FUNCTION): Likewise.  Do not use BP_SYM.
38692         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38693         aliases.
38694         (strtok_r): Likewise.
38695         (__GI___strtok_r): Likewise.
38696         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38697         (PARMS): Do not use macros from bp-asm.h.
38698         (S1): Likewise.
38699         (S2): Likewise.
38700         (SIZE): Likewise.
38701         (__mpn_sub_n): Do not use BP_SYM.
38702         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38703         "bp-asm.h".
38704         (PARMS): Do not use macros from bp-asm.h.
38705         (S1): Likewise.
38706         (SIZE): Likewise.
38707         (__mpn_submul_1): Do not use BP_SYM.
38708         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38709         <bp-sym.h>.
38710         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38711         and <bp-asm.h>.
38712         (PARMS): Do not use macros from bp-asm.h.
38713         (FLAGS): Likewise.
38714         (PTID): Likewise.
38715         (TLS): Likewise.
38716         (CTID): Likewise.
38717         (__clone): Do not use BP_SYM.
38718         (clone): Do not use BP_SYM in weak_alias.
38719         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38720         and <bp-asm.h>.
38721         (PARMS): Do not use macros from bp-asm.h.
38722         (LEN): Likewise.
38723         (__mmap64): Do not use BP_SYM.
38724         (mmap64): Do not use BP_SYM in weak_alias.
38725         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38726         <bp-sym.h> and <bp-asm.h>.
38727         (PARMS): Do not use macros from bp-asm.h.
38728         (__posix_fadvise64_l64): Do not use BP_SYM.
38729         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38730         (PARMS): Do not use macros from bp-asm.h.
38731         (NSOPS): Likewise.
38732         (semtimedop): Do not use BP_SYM.
38733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38734         and <bp-asm.h>.
38736 2013-02-21  Allan McRae  <allan@archlinux.org>
38738         * manual/message.texi (Charset conversion in gettext):
38739         Move @end statement to beginning of line.
38741 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38743         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38744         static.
38745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38746         Likewise.
38748         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38749         (denorm): Likewise.
38750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38753 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38755         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38756         tail-call to the resolved function if pltexit isn't needed.
38758 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38761         or Y being zero as being unlikely.
38762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38763         Likewise.
38765 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38767         * manual/nss.texi (System Databases and Name Service Switch):
38768         Remove frobnicate @pxref.
38770 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38772         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38773         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38775 2013-02-20  Petr Machata  <pmachata@redhat.com>
38777         * elf/elf.h (R_ARM_TARGET1): New macro.
38778         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38779         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38780         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38781         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38782         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38783         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38784         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38785         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38786         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38787         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38788         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38789         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38790         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38791         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38792         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38793         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38794         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38795         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38796         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38797         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38798         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38799         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38800         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38801         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38802         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38803         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38804         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38805         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38806         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38807         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38808         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38809         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38810         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38811         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38812         (R_ARM_THM_GOT_BREL12): Likewise.
38813         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38814         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38815         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38816         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38817         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38818         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38819         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38820         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38821         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38823 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38825         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38826         __attribute_used__ to __attribute__ ((unused)).
38828 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38830         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38831         powerpc mpa.c.
38832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38833         comment formatting.
38834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38836 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38838         [BZ #13550]
38839         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38840         Remove macro.
38841         (ENTER): Remove both macro definitions.
38842         (LEAVE): Likewise.
38843         (CHECK_BOUNDS_LOW): Likewise.
38844         (CHECK_BOUNDS_HIGH): Likewise.
38845         (CHECK_BOUNDS_BOTH): Likewise.
38846         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38847         (RETURN_BOUNDED_POINTER): Likewise.
38848         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38849         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38850         (POP_ERRNO_LOCATION_RETURN): Likewise.
38851         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38852         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38853         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38854         macros.
38855         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38856         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38857         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38858         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38859         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38860         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38861         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38862         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38863         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38864         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38865         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38866         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38867         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38868         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38869         removed macros.
38870         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38871         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38872         macros.
38873         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38874         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38875         * sysdeps/i386/i586/memset.S (memset): Likewise.
38876         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38877         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38878         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38879         macros.
38880         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38881         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38882         Change uses of L(2) to L(out).
38883         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38884         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38885         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38886         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38887         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38888         removed macros.
38889         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38890         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38891         macros.
38892         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38893         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38894         (RETURN): Do not use macro LEAVE.
38895         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38896         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38897         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38898         * sysdeps/i386/i686/memset.S (memset): Likewise.
38899         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38900         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38901         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38902         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38903         Likewise.
38904         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38905         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38906         L(1_2) and L(1_3) into L(1).
38907         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38908         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38909         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38910         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38911         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38912         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38913         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38914         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38915         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38916         macros.
38917         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38918         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38919         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38920         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38921         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38922         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38923         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38924         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38925         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38926         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38927         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38928         * sysdeps/i386/strspn.S (strspn): Likewise.
38929         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38930         conditional code.
38931         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38932         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38933         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38934         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38935         L(1_3) into L(1_1).
38936         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38937         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38938         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38939         macros.
38940         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38942 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38944         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38945         macro.
38947 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38949         * math/atest-exp.c (exp_mpn): Remove ROUND.
38950         * math/atest-exp2.c (exp_mpn): Likewise.
38951         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38953         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38954         * stdlib/tst-tls-atexit-lib.c: Likewise.
38955         * stdlib/tst-tls-atexit.c: Likewise.
38957 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38959         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38960         and __attribute_alloc_size__.
38962 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38964         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38965         __attribute_alloc_size__.
38966         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38967         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38969 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38971         * include/programs/xmalloc.h: New file.
38972         * catgets/gencat.c: Include it.
38973         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38974         * elf/pldd.c: Likewise.
38975         * iconv/iconv_charmap.c: Likewise.
38976         * iconv/iconvconfig.c: Likewise.
38977         * iconv/strtab.c: Likewise.
38978         * locale/programs/locale.c: Likewise.
38979         * locale/programs/localedef.h: Likewise.
38980         * locale/programs/simple-hash.c: Likewise.
38981         * nscd/nscd.h: Likewise.
38982         * nss/makedb.c: Likewise.
38983         * sysdeps/generic/ldconfig.h: Likewise.
38985 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38987         * Versions.def: Add GLIBC_2.18.
38988         * include/link.h (struct link_map): New member l_tls_dtor_count.
38989         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38990         (__call_tls_dtors): Likewise.
38991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38992         __cxa_thread_atexit_impl.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38994         Likewise.
38995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38996         Likewise.
38997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38998         Likewise.
38999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39000         Likewise.
39001         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39003         Likewise.
39004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39005         Likewise.
39006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39008         Likewise.
39009         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39010         (tests): Add test case tst-tls-atexit.
39011         (modules-names): Add shared library for tst-tls-atexit.
39012         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39013         (GLIBC_PRIVATE): Add __call_tls_dtors.
39014         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39015         for libstdc++.
39016         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39017         * stdlib/tst-tls-atexit.c: New test case.
39018         * stdlib/tst-tls-atexit-lib.c: New test case.
39020         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39022         * elf/Versions (ld): Add _dl_find_dso_for_object.
39023         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39024         * elf/dl-open.c (_dl_find_dso_for_object): New function.
39025         (dl_open_worker): Use _dl_find_dso_for_object.
39026         * elf/dl-sym.c (do_sym): Likewise.
39027         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39029 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39031         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39032         Syntactic changes only.
39033         (_dl_runtime_profile): Do a tail-call to the resolved function.
39035 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
39037         [BZ #13550]
39038         * sysdeps/x86_64/bp-asm.h: Remove file.
39039         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39040         <bp-sym.h> and <bp-asm.h>.
39041         (__clone): Do not use BP_SYM.
39042         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39043         <bp-sym.h> and <bp-asm.h>.
39044         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39045         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39046         "bp-asm.h".
39047         (_setjmp): Do not use BP_SYM.
39048         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39049         "bp-asm.h".
39050         (setjmp): Do not use BP_SYM.
39051         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39052         libc_hidden_def.
39053         (mempcpy): Do not use BP_SYM in weak_alias.
39054         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39055         "bp-asm.h".
39056         (strchr): Do not use BP_SYM.
39057         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39058         "bp-asm.h".
39059         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39060         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39061         (_start): Do not use BP_SYM.
39062         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39063         "bp-asm.h".
39064         (strcat): Do not use BP_SYM.
39065         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39066         "bp-asm.h".
39067         (STRCMP): Do not use BP_SYM.
39068         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39069         "bp-asm.h".
39070         (STRCPY): Do not use BP_SYM.
39071         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39072         "bp-asm.h".
39073         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39074         "bp-asm.h".
39075         (FUNCTION): Do not use BP_SYM.
39076         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39077         weak_alias.
39078         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39080 2013-02-17  Andreas Jaeger  <aj@suse.de>
39082         * time/Versions: Sort entries.
39083         * string/Versions: Likewise.
39084         * resolv/Versions: Likewise.
39085         * posix/Versions: Likewise.
39086         * iconv/Versions: Likewise.
39087         * elf/Versions: Likewise.
39088         * wcsmbs/Versions: Likewise.
39090 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39092         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39093         loop termination condition.
39095         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39096         variable to calculate EZ.
39097         (__sqr): Likewise.
39099         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39100         the lower precision input.
39102 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39104         [BZ #13550]
39105         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39106         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39107         (run-via-rtld-prefix): Do not handle %-bp tests.
39108         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39109         (all-object-suffixes): Remove .ob.
39110         (bppfx): Remove variable.
39111         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39112         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39113         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39114         [$(build-bounded) = yes] (libtype.ob): Likewise.
39115         * Makerules (elide-routines.ob): Remove variable.
39116         (do-tests-clean): Do not handle *-bp.out.
39117         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39118         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39119         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39120         (tests): Do not include $(tests-bp.out).
39121         (xtests): Do not include $(xtests-bp.out).
39122         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39123         [$(build-bounded) = yes] ($(addprefix
39124         $(objpfx),$(binaries-bounded))): Remove rule.
39125         ($(objpfx)%-bp.out): Remove rule.
39126         * config.make.in (build-bounded): Remove variable.
39127         * crypt/Makefile [$(build-bounded) = yes]
39128         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39129         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39130         append to variable.
39131         [$(build-bounded) = yes] (install-lib): Likewise.
39132         [$(build-bounded) = yes] (generated): Likewise.
39133         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39134         Remove rule.
39135         * intl/Makefile [$(build-bounded) = yes]
39136         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39137         * math/Makefile [$(build-bounded) = yes]
39138         ($(tests:%=$(objpfx)%-bp): Likewise.
39139         * misc/Makefile [$(build-bounded) = yes]
39140         ($(objpfx)tst-tsearch-bp): Likewise.
39141         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39142         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39143         Remove dependency.
39144         * string/Makefile (o-objects.ob): Remove variable.
39145         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39146         (CFLAGS-.ob): Remove variable.
39147         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39148         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39149         both definitions of variable.
39150         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39151         (ASFLAGS-.ob): Remove variable.
39153 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39155         [BZ #13550]
39156         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39157         Remove __BOUNDED_POINTERS__ from condition.
39158         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39159         * string/bits/string2.h [!__NO_STRING_INLINES &&
39160         !__BOUNDED_POINTERS__]: Likewise.
39161         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39162         Likewise.
39163         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39164         Remove conditional code.
39165         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39166         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39167         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39168         condition.
39170         [BZ #13550]
39171         * csu/libc-start.c: Do not include <bp-sym.h>.
39172         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39173         * elf/dl-open.c: Do not include <bp-sym.h>.
39174         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39175         * math/fegetenv.c: Do not include <bp-sym.h>.
39176         (fegetenv): Do not use BP_SYM in versioned symbols.
39177         * nptl/sysdeps/pthread/bits/libc-lockP.h
39178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39179         <bp-sym.h>.
39180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39181         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39183         (__pthread_mutex_destroy): Likewise.
39184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39185         (__pthread_mutex_lock): Likewise.
39186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39187         (__pthread_mutex_trylock): Likewise.
39188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39189         (__pthread_mutex_unlock): Likewise.
39190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39191         (__pthread_mutexattr_init): Likewise.
39192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39193         (__pthread_mutexattr_destroy): Likewise.
39194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39195         (__pthread_mutexattr_settype): Likewise.
39196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39197         (__pthread_rwlock_init): Likewise.
39198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39199         (__pthread_rwlock_destroy): Likewise.
39200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39201         (__pthread_rwlock_rdlock): Likewise.
39202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39203         (__pthread_rwlock_tryrdlock): Likewise.
39204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39205         (__pthread_rwlock_wrlock): Likewise.
39206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39207         (__pthread_rwlock_trywrlock): Likewise.
39208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39209         (__pthread_rwlock_unlock): Likewise.
39210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39211         (__pthread_key_create): Likewise.
39212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39213         (__pthread_setspecific): Likewise.
39214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39215         (__pthread_getspecific): Likewise.
39216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39217         Likewise.
39218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39219         (_pthread_cleanup_push_defer): Likewise.
39220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39221         (_pthread_cleanup_pop_restore): Likewise.
39222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39223         (pthread_setcancelstate): Likewise.
39224         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39225         <bp-sym.h>.
39226         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39227         (memchr): Do not use BP_SYM in weak_alias.
39228         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39229         (fegetenv): Do not use BP_SYM in versioned symbols.
39230         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39231         (fesetenv): Do not use BP_SYM in versioned symbols.
39232         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39233         (feupdateenv): Do not use BP_SYM in versioned symbols.
39234         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39235         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39236         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39237         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39238         (open64): Do not use BP_SYM in weak_alias.
39239         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39240         (fegetenv): Do not use BP_SYM in versioned symbols.
39241         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39242         (fesetenv): Do not use BP_SYM in versioned symbols.
39243         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39244         (feupdateenv): Do not use BP_SYM in versioned symbols.
39245         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39246         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39247         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39248         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39249         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39250         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39251         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39252         <bp-sym.h>.
39253         (__libc_start_main): Do not use BP_SYM.
39255 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39258         redundant return line.
39259         (norm): Likewise.
39260         (denorm): Likewise.
39261         (dbl_mp): Likewise.
39262         (sub_magnitudes): Likewise.
39263         (__add): Likewise.
39264         (__sub): Likewise.
39265         (__mul): Likewise.
39266         (__inv): Likewise.
39267         (__dvd): Likewise.
39268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39269         (norm): Likewise.
39270         (denorm): Likewise.
39271         (dbl_mp): Likewise.
39272         (sub_magnitudes): Likewise.
39273         (__add): Likewise.
39274         (__sub): Likewise.
39275         (__mul): Likewise.
39276         (__inv): Likewise.
39277         (__dvd): Likewise.
39279         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39280         instead of __mul.
39281         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39282         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39283         (cc32): Likewise.
39285         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39286         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39287         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39288         of __mul for squares.
39289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39290         function
39291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39292         Likewise.
39293         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39294         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39296 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39298         [BZ #13550]
39299         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39300         code.
39301         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39302         prototype or function definition.  Rename ubp_* variables and
39303         parameters.  Remove argv definitions conditional on
39304         [__BOUNDED_POINTERS__].
39305         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39306         * elf/dl-runtime.c (_dl_fixup): Likewise.
39307         * include/set-hooks.h (RUN_HOOK): Likewise.
39308         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39309         definition.
39310         * string/strcpy.c (strcpy): Do not use __unbounded.
39311         * sysdeps/generic/frame.h (struct layout): Likewise.
39312         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39313         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39314         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39315         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39316         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39317         (__backtrace): Likewise.
39318         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39319         use __ptrvalue.
39320         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39321         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39322         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39323         Likewise.
39324         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39325         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39326         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39327         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39328         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39329         Do not use __unbounded.
39330         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39331         Rename __unboundedrlimits parameter to rlimits in prototype.
39332         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39333         Do not use __unbounded.
39334         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39335         not use __ptrvalue.
39336         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39337         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39338         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39339         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39340         __ptrvalue or __unbounded.
39341         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39342         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39343         use __unbounded.
39344         (__new_msgctl): Do not use __ptrvalue.
39345         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39346         __unbounded.
39347         (__libc_msgrcv): Do not use __ptrvalue.
39348         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39349         startup_info): Do not use __unbounded.
39350         (__libc_start_main): Likewise.  Rename ubp_* variables and
39351         parameters.  Remove argv definitions conditional on
39352         [__BOUNDED_POINTERS__].
39353         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39354         __ptrvalue.
39355         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39356         use __unbounded.
39357         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39358         or __ptrvalue.
39359         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39360         use __unbounded.
39361         (__new_shmctl): Do not use __ptrvalue.
39362         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39363         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39364         Likewise.
39365         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39367         (__libc_sigaction): Likewise.
39368         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39369         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39370         Likewise.
39371         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39373 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39375         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39377         * string/mempcpy.c: Implement by calling memcpy.
39379 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39384         evaluation.
39386         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39387         values in the mantissa.
39389         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39390         minimize writes to Z.
39391         (sub_magnitudes): Simplify code a bit.
39393 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39395         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39396         from the message.  The linker prefixes all warnings with that already.
39398 2013-02-12  Andreas Schwab  <schwab@suse.de>
39400         [BZ #15078]
39401         * posix/regexec.c (extend_buffers): Add parameter min_len.
39402         (check_matching): Pass minimum needed length.
39403         (clean_state_log_if_needed): Likewise.
39404         (get_subexp): Likewise.
39405         * posix/Makefile (tests): Add bug-regex34.
39406         (bug-regex34-ENV): Define.
39407         * posix/bug-regex34.c: New file.
39409         [BZ #11561]
39410         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39411         elements compare against the byte sequence of it, not its name.
39412         * posix/Makefile (tests): Add bug-regex35.
39413         (bug-regex35-ENV): Define.
39414         * posix/bug-regex35.c: New file.
39416 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39418         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39419         comment.
39420         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39421         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39422         (CHECK_EOL): Add undef.
39424 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39426         * bits/stdlib-bsearch.h: New file.
39427         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39428         * stdlib/stdlib.h: Likewise.
39430 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39432         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39433         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39434         declaration.
39435         * manual/search.texi (Array Search Function): Add missing const in
39436         lfind prototype.
39437         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39438         declaration to use rlim_t.
39439         (Basic Scheduling Functions): Remove erroneous const from
39440         sched_getparam prototype.  Remove erroneous * from
39441         sched_get_priority_max and sched_get_priority_min prototypes.
39442         (Resource Usage): Fix summary @comment on vtimes to refer to
39443         sys/vtimes.h rather than vtimes.h.
39444         Add missing *s in vtimes prototype.
39445         (Limits on Resources): Fix ulimit prototype to return long int.
39446         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39447         prototypes to use long int rather than double.
39448         (BSD Random): Fix initstate and setstate to use char *, not void *.
39449         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39450         prototype to make second argument 'struct aiocb64 *const[]'.
39451         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39452         (Status of AIO Operations): Remove erroneous const in aio_return and
39453         aio_return64 prototypes.
39454         (Synchronizing I/O): Fix sync prototype to return void.
39455         * manual/startup.texi (Suboptions): Remove an erroneous const in
39456         getsubopt prototype.
39457         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39458         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39459         use size_t rather than int.
39460         (Scanning All Users): Likewise for getpwent_r.
39461         (Setting Groups): Add missing const to setgroups prototype.
39462         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39463         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39464         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39465         'const void *' rather than 'const char *'.
39466         (Host Address Functions): Likewise for inet_ntop.
39467         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39468         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39469         ssize_t for return value.
39470         (Sending Data): Likewise for send, sendto, sendmsg.
39471         (Socket Option Functions): Add a missing const in setsockopt prototype.
39472         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39473         use wchar_t for the argument.
39474         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39475         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39476         take no arguments.
39477         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39478         double/float/long double for second argument.
39479         Fix return types of significand, significandf, significandl.
39480         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39481         argument in fchmod prototype.
39482         (File Owner): Use uid_t and gid_t in fchown prototype.
39483         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39484         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39485         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39486         use 'const struct dirent **' as argument types to CMP function pointer
39487         argument.
39488         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39489         (File Times): Fix summary magic @comment for struct utimbuf and utime
39490         to refer to utime.h, not time.h.
39491         * manual/string.texi (Argz Functions): Add missing const in
39492         argz_extract and argz_next prototypes.
39493         (Finding Tokens in a String): Likewise for basename.
39494         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39495         (Copying and Concatenation): Fix typo in wmemmove prototype.
39496         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39497         (Signal Stack): Remove erroneous const in sigstack prototype.
39498         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39499         prototype.
39500         (Simple Calendar Time): Likewise for stime.
39501         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39502         prototype.
39503         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39504         say sys/sysctl.h instead.
39505         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39506         and vsyslog prototypes.
39508 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39510         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39511         Remove.
39513 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39515         * misc/sys/mman.h: Fix typo in mremap comment.
39517 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39519         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39520         the '\0' terminator.
39522 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39524         [BZ #13550]
39525         * debug/segfault.c: Don't include <bp-checks.h>.
39526         * sysdeps/generic/bp-checks.h: Remove file.
39527         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39528         (__GETDENTS): Don't use CHECK_N.
39529         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39530         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39531         (__getgroups): Don't use CHECK_N.
39532         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39533         (setgroups): Don't use CHECK_N.
39534         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39535         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39536         (__libc_msgrcv): Don't use CHECK_N.
39537         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39538         (__libc_msgsnd): Don't use CHECK_N.
39539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39540         <bp-checks.h>.
39541         (__libc_pread): Don't use CHECK_N.
39542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39543         include <bp-checks.h>.
39544         (__libc_pread64): Don't use CHECK_N.
39545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39546         include <bp-checks.h>.
39547         (__libc_pwrite): Don't use CHECK_N.
39548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39549         include <bp-checks.h>.
39550         (__libc_pwrite64): Don't use CHECK_N.
39551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39552         <bp-checks.h>.
39553         (__libc_pread): Don't use CHECK_N.
39554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39555         include <bp-checks.h>.
39556         (__libc_pread64): Don't use CHECK_N.
39557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39558         include <bp-checks.h>.
39559         (__libc_pwrite): Don't use CHECK_N.
39560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39561         include <bp-checks.h>.
39562         (__libc_pwrite64): Don't use CHECK_N.
39563         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39564         (do_pread): Don't use CHECK_N.
39565         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39566         (do_pread64): Don't use CHECK_N.
39567         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39568         (do_pwrite): Don't use CHECK_N.
39569         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39570         (do_pwrite64): Don't use CHECK_N.
39571         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39572         (__libc_readv): Don't use CHECK_N.
39573         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39574         (semop): Don't use CHECK_N.
39575         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39576         <bp-checks.h>.
39577         (semtimedop): Don't use CHECK_N.
39578         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39579         (__libc_pread): Don't use CHECK_N.
39580         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39581         <bp-checks.h>.
39582         (__libc_pread64): Don't use CHECK_N.
39583         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39584         <bp-checks.h>.
39585         (__libc_pwrite): Don't use CHECK_N.
39586         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39587         <bp-checks.h>.
39588         (__libc_pwrite64): Don't use CHECK_N.
39589         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39590         <bp-checks.h>.
39591         (__libc_msgrcv): Don't use CHECK_N.
39592         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39593         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39594         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39595         (__libc_writev): Don't use CHECK_N.
39597 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39599         * string/strcpy.c: Removed unused variable.
39601         * Makeconfig (+sysdep-includes): Define with := rather than =.
39602         Use an existing include/ subdir of each sysdeps dir before it.
39604 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39606         * nscd/connection.c (register_traced_file): Comment function.
39607         [HAVE_INOTIFY] (union __inev): Define.
39608         [HAVE_INOTIFY] (inotify_check_files): New function.
39609         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39610         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39611         clear_db_cache.
39612         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39614 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39616         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39617         loaded if not already and that a failure is permanent.
39619 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39621         [BZ #15006]
39622         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39623         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39625 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39627         [BZ #13550]
39628         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39629         (CHECK_1_NULL_OK): Likewise.
39630         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39631         (__fxstat): Do not use CHECK_1.
39632         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39633         <bp-checks.h>.
39634         (___fxstat64): Do not use CHECK_1.
39635         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39636         <bp-checks.h>.
39637         (__fxstatat): Do not use CHECK_1.
39638         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39639         <bp-checks.h>.
39640         (__fxstatat64): Do not use CHECK_1.
39641         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39642         <bp-checks.h>.
39643         (__fxstat): Do not use CHECK_1.
39644         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39645         <bp-checks.h>.
39646         (__fxstatat): Do not use CHECK_1.
39647         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39648         <bp-checks.h>.
39649         (__getresgid): Do not use CHECK_1.
39650         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39651         <bp-checks.h>.
39652         (__getresuid): Do not use CHECK_1.
39653         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39654         <bp-checks.h>.
39655         (__lxstat): Do not use CHECK_1.
39656         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39657         <bp-checks.h>.
39658         (__old_msgctl): Do not use CHECK_1.
39659         (__new_msgctl): Likewise.
39660         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39661         <bp-checks.h>.
39662         (__new_setrlimit): Do not use CHECK_1.
39663         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39664         <bp-checks.h>.
39665         (__old_shmctl): Do not use CHECK_1.
39666         (__new_shmctl): Likewise.
39667         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39668         <bp-checks.h>.
39669         (__xstat): Do not use CHECK_1.
39670         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39671         (__lxstat): Do not use CHECK_1.
39672         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39673         <bp-checks.h>.
39674         (___lxstat64): Do not use CHECK_1.
39675         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39676         (__old_msgctl): Do not use CHECK_1.
39677         (__new_msgctl): Likewise.
39678         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39679         <bp-checks.h>.
39680         (__gettimeofday): Do not use CHECK_1.
39681         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39682         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39683         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39684         <bp-checks.h>.
39685         (__gettimeofday): Do not use CHECK_1.
39686         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39687         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39688         (__new_shmctl): Do not use CHECK_1.
39689         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39690         <bp-checks.h>.
39691         (do_sigtimedwait): Do not use CHECK_1.
39692         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39693         <bp-checks.h>.
39694         (do_sigwaitinfo): Do not use CHECK_1.
39695         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39696         <bp-checks.h>.
39697         (msgctl): Do not use CHECK_1.
39698         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39699         <bp-checks.h>.
39700         (shmctl): Do not use CHECK_1.
39701         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39702         (ustat): Do not use CHECK_1.
39703         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39704         <bp-checks.h>.
39705         (__fxstat): Do not use CHECK_1.
39706         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39707         <bp-checks.h>.
39708         (__fxstatat): Do not use CHECK_1.
39709         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39710         <bp-checks.h>.
39711         (__lxstat): Do not use CHECK_1.
39712         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39713         <bp-checks.h>.
39714         (__xstat): Do not use CHECK_1.
39715         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39716         (__xstat): Do not use CHECK_1.
39717         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39718         (___xstat64): Do not use CHECK_1.
39720         [BZ #13550]
39721         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39722         definitions.
39723         (CHECK_BOUNDS_HIGH): Likewise.
39724         * string/strcpy.c: Do not include <bp-checks.h>.
39725         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39727 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39729         * nscd/nscd-client.h (__nscd_drop_map_ref):
39730         Add __attribute__ ((unused)).
39731         * nis/nss-nisplus.h (niserr2nss): Likewise.
39733         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39734         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39736         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39737         Remove inline keyword.
39738         * include/rounding-mode.h (round_away): Likewise.
39739         * libio/wfileops.c (adjust_wide_data): Likewise.
39740         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39741         (__m128i_strloadu_tolower): Likewise.
39742         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39743         (__m128i_strloadu_tolower): Likewise.
39744         * time/mktime.c (ydhms_diff): Likewise.
39745         * locale/elem-hash.h (elem_hash): Likewise.
39746         * locale/setlocale.c (setdata): Likewise.
39747         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39748         (re_string_wchar_at): Likewise.
39749         (bitset_not, bitset_merge, bitset_mask): Likewise.
39750         [!(__GNUC__ > 3)] (inline): Remove macro.
39751         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39752         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39753         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39754         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39755         * string/memcmp.c (memcmp_bytes): Likewise.
39756         * locale/programs/locarchive.c (compute_hashval): Likewise.
39757         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39758         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39759         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39760         * nss/getent.c (print_rpc, print_protocols): Likewise.
39761         (print_passwd, print_group, print_aliases): Likewise.
39762         * nis/nss-nisplus.h (niserr2nss): Likewise.
39763         * nscd/connections.c (restart_p): Likewise.
39764         Change return type to bool.
39766 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39768         * Makeconfig (all-Depend-files): Add existing
39769         $(sorted-subdirs:=/Depend) files.
39770         (all-subdirs): Remove nss.
39771         * sysdeps/unix/inet/Subdirs: Add it here instead.
39772         * hesiod/Depend: New file.
39774         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39775         instead of calling alloca.
39777         * io/lseek.c (__lseek): Rename to __libc_lseek.
39778         Define __lseek as an alias.
39780         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39782 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39784         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39785         else clause and remove check for non-standard endianness.
39787 2013-02-04  David S. Miller  <davem@davemloft.net>
39789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39791 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39793         [BZ #13550]
39794         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39795         (__ubp_memchr): Remove prototype.
39796         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39797         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39798         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39799         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39800         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39801         Remove alias.
39802         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39803         (__ubp_memchr): Likewise.
39804         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39805         (__ubp_memchr): Likewise.
39806         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39807         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39808         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39809         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39810         CHECK_STRING.
39811         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39812         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39813         (__getcwd): Do not use CHECK_STRING.
39814         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39815         <bp-checks.h>.
39816         (__real_chown): Do not use CHECK_STRING.
39817         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39818         <bp-checks.h>.
39819         (fchownat): Do not use CHECK_STRING.
39820         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39821         CHECK_STRING.
39822         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39823         <bp-checks.h>.
39824         (__lchown): Do not use CHECK_STRING.
39825         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39826         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39827         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39828         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39830         include <bp-checks.h>.
39831         (truncate64): Do not use CHECK_STRING.
39832         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39833         <bp-checks.h>.
39834         (__real_chown): Do not use CHECK_STRING.
39835         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39836         <bp-checks.h>.
39837         (__lchown): Do not use CHECK_STRING.
39838         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39839         <bp-checks.h>.
39840         (__chown): Do not use CHECK_STRING.
39841         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39842         <bp-checks.h>.
39843         (truncate64): Do not use CHECK_STRING.
39844         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39845         Likewise.
39846         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39847         (__xmknod): Do not use CHECK_STRING.
39848         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39849         <bp-checks.h>.
39850         (__xmknodat): Do not use CHECK_STRING.
39851         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39852         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39854 2013-02-04  Andreas Schwab  <schwab@suse.de>
39856         [BZ #14142]
39857         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39858         * include/netdb.h: Likewise for h_errno.
39859         * elf/tst-stackguard1.c: Include <tls.h>.
39861 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39863         * elf/link.h (struct link_map): Extend the l_addr comment.
39864         * include/link.h (struct link_map): Likewise.
39866 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39868         [BZ #13550]
39869         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39870         (BOUNDED_1): Remove macro.
39871         * debug/backtrace.c: Don't include <bp-checks.h>.
39872         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39873         (__backtrace): Likewise.
39874         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39875         <bp-checks.h>.
39876         (__backtrace): Don't use BOUNDED_1.
39877         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39878         <bp-checks.h>.
39879         (__backtrace): Don't use BOUNDED_1.
39880         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39881         (__backtrace): Don't use BOUNDED_1.
39882         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39883         (shmat): Don't use BOUNDED_N.
39885 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39887         [BZ #13550]
39888         * sysdeps/generic/bp-start.h: Remove file.
39889         * csu/libc-start.c: Don't include <bp-start.h>.
39890         (LIBC_START_MAIN): Set up __environ directly instead of using
39891         INIT_ARGV_and_ENVIRON.
39892         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39893         <bp-start.h>.
39895         [BZ #13550]
39896         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39897         definitions.
39898         (CHECK_FCNTL): Likewise.
39899         (CHECK_N_PAGES): Likewise.
39901         [BZ #13550]
39902         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39903         definitions.
39904         (CHECK_SIGSET_NULL_OK): Likewise.
39905         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39906         <bp-checks.h>.
39907         (sigpending): Don't use CHECK_SIGSET.
39908         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39909         <bp-checks.h>.
39910         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39911         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39912         <bp-checks.h>.
39913         (do_sigsuspend): Don't use CHECK_SIGSET.
39914         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39915         use CHECK_SIGSET.
39916         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39917         (do_sigwait): Don't use CHECK_SIGSET.
39918         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39919         use CHECK_SIGSET.
39920         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39921         include <bp-checks.h>.
39922         (sigpending): Don't use CHECK_SIGSET.
39923         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39924         include <bp-checks.h>.
39925         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39926         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39927         <bp-checks.h>.
39928         (sigpending): Don't use CHECK_SIGSET.
39929         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39930         <bp-checks.h>.
39931         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39933         [BZ #13550]
39934         * sysdeps/generic/bp-semctl.h: Remove file.
39935         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39936         <bp-checks.h> and <bp-semctl.h>.
39937         (__old_semctl): Don't use CHECK_SEMCTL.
39938         (__new_semctl): Likewise.
39939         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39940         and <bp-semctl.h>.
39941         (__old_semctl): Don't use CHECK_SEMCTL.
39942         (__new_semctl): Likewise.
39943         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39944         <bp-checks.h> and <bp-semctl.h>.
39945         (__old_semctl): Don't use CHECK_SEMCTL.
39946         (__new_semctl): Likewise.
39947         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39948         <bp-checks.h> and <bp-semctl.h>.
39949         (semctl): Don't use CHECK_SEMCTL.
39951         [BZ #13550]
39952         * Makerules (elide-bp-thunks): Remove variable.
39953         (elide-routines.oS): Don't use $(elide-bp-thunks).
39954         (elide-routines.os): Likewise.
39955         (elide-routines.o): Likewise.
39956         (elide-routines.op): Likewise.
39957         (elide-routines.og): Likewise.
39958         (objects): Don't use $(bp-thunks).
39959         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39960         include.
39961         (common-generated): Do not add s-proto-bp.d.
39962         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39963         (int): Likewise.
39964         (typ): Likewise.
39965         Do not generate makefile rules for bounded-pointer thunks.
39966         * sysdeps/generic/bp-thunks.h: Remove file.
39967         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39968         * sysdeps/unix/s-proto-bp.S: Likewise.
39970         [BZ #15062]
39971         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39972         parts of result separately when argument is not close to line from
39973         -i to i and one part of argument is small.
39974         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39975         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39976         * math/libm-test.inc (cacos_test): Add more tests.
39977         (casin_test): Likewise.
39978         (casinh_test): Likewise.
39979         * sysdeps/i386/fpu/libm-test-ulps: Update.
39980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39982 2013-01-31  David S. Miller  <davem@davemloft.net>
39984         * po/de.po: Update from translation team.
39986 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39988         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39990 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39992         * configure.in (_AC_PROG_CC_C89): New definition.
39993         * configure: Regenerate.
39995         * configure.in (AC_PROG_CPP): New definition.
39996         * configure: Regenerate.
39998 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40000         * debug/tst-backtrace.h: New file.
40001         * debug/tst-backtrace2.c: Include tst-backtrace.h.
40002         (ret): Remove variable.
40003         (x): Likewise.
40004         (FAIL): Remove macro.
40005         (NO_INLINE): Likewise.
40006         (fn1): Use match function instead of strstr.
40007         * debug/tst-backtrace3.c: Include tst-backtrace.h.
40008         (ret): Remove variable.
40009         (x): Likewise.
40010         (FAIL): Remove macro.
40011         (NO_INLINE): Likewise.
40012         (fn): Use match function instead of strstr.
40013         * debug/tst-backtrace4.c: Include tst-backtrace.h.
40014         (ret): Remove variable.
40015         (x): Likewise.
40016         (FAIL): Remove macro.
40017         (NO_INLINE): Likewise.
40018         (handle_signal): Use match function instead of strstr.
40019         * debug/tst-backtrace5.c: Include tst-backtrace.h.
40020         (ret): Remove variable.
40021         (x): Likewise.
40022         (FAIL): Remove macro.
40023         (NO_INLINE): Likewise.
40024         (handle_signal): Use match function instead of strstr.
40026 2013-01-23  Roland McGrath  <roland@hack.frob.com>
40028         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40030 2013-01-23  David S. Miller  <davem@davemloft.net>
40032         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40033         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40034         argument of CAS if possible.
40035         * sysdeps/sparc/sparc64/bits/atomic.h
40036         (__arch_compare_and_exchange_val_32_acq): Likewise.
40037         (__arch_compare_and_exchange_val_64_acq): Likewise.
40039 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
40041         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40042         * sysdeps/posix/ulimit.c: ... this.
40043         Include <limits.h>.
40044         * sysdeps/unix/bsd/ulimit.c: Remove file.
40046 2013-01-23  Adam Conrad  <adconrad@0c3.net>
40048         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40049         (LDFLAGS-tst-array5): Likewise.
40051 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40053         [BZ #15036]
40054         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40055         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40056         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40057         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40059 2013-01-21  David S. Miller  <davem@davemloft.net>
40061         * sysdeps/sparc/backtrace.c: New file.
40062         * sysdeps/sparc/sparc32/backtrace.h: New file.
40063         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40064         * sysdeps/sparc/sparc64/backtrace.h: New file.
40065         * sysdeps/sparc/sparc64/backtrace.c: Delete.
40066         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40067         -funwind-tables.
40069 2013-01-21  Andreas Schwab  <schwab@suse.de>
40071         [BZ #15020]
40072         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40073         closed its stdout.
40075 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40078         "mpa2.h".
40079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40081 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40082             Mark Mitchell  <mark@codesourcery.com>
40083             Tom de Vries  <tom@codesourcery.com>
40084             Paul Pluzhnikov  <ppluzhnikov@google.com>
40086         * debug/tst-backtrace2.c: New file.
40087         * debug/tst-backtrace3.c: Likewise.
40088         * debug/tst-backtrace4.c: Likewise.
40089         * debug/tst-backtrace5.c: Likewise.
40090         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40091         (CFLAGS-tst-backtrace3.c): Likewise.
40092         (CFLAGS-tst-backtrace4.c): Likewise.
40093         (CFLAGS-tst-backtrace5.c): Likewise.
40094         (LDFLAGS-tst-backtrace2): Likewise.
40095         (LDFLAGS-tst-backtrace3): Likewise.
40096         (LDFLAGS-tst-backtrace4): Likewise.
40097         (LDFLAGS-tst-backtrace5): Likewise.
40098         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40099         tst-backtrace4 and tst-backtrace5.
40101 2013-01-18  Anton Blanchard  <anton@samba.org>
40102             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40104         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40105         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40106         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40107         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40109         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40110         "+r" and remove output regs list as redundant.  Add explicit inline
40111         asm to specify register of return val to work around compiler codegen
40112         bug.  Remove (int) cast on return value.  Add return type parameter to
40113         use in macro so that this macro does not truncate return value for
40114         64-bit values.
40115         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40116         pass to INTERNAL_VSYSCALL_NCS.
40117         (INLINE_VSYSCALL): Add 'long int' as return type to
40118         INTERNAL_VSYSCALL_NCS macro invocation.
40119         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40120         INTERNAL_VSYSCALL_NCS macro invocation.
40121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40123 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40125         [BZ #14496]
40126         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40127         Fix application of SIMD FP exception mask.
40129         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40130         mp_no from a power of two.
40131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40132         __mpexp_twomm1.  Use __pow_mp.
40134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40135         multiplication.
40137 2013-01-17  David S. Miller  <davem@davemloft.net>
40139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40141 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40143         [BZ #15023]
40144         * include/complex.h: Condition contents on [!_COMPLEX_H].
40145         (__kernel_casinhf): New prototype.
40146         (__kernel_casinh): Likewise.
40147         (__kernel_casinhl): Likewise.
40148         * math/Makefile (libm_calls): Add k_casinh.
40149         * math/k_casinh.c: New file.
40150         * math/k_casinhf.c: Likewise.
40151         * math/k_casinhl.c: Likewise.
40152         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40153         finite nonzero arguments.
40154         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40155         finite nonzero arguments.
40156         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40157         finite nonzero arguments.
40158         * math/s_casinh.c: Do not include <float.h>.
40159         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40160         * math/s_casinhf.c: Do not include <float.h>.
40161         (__casinhf): Move code for finite nonzero arguments to
40162         k_casinhf.c.
40163         * math/s_casinhl.c: Do not include <float.h>.
40164         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40165         redefine.
40166         (__casinhl): Move code for finite nonzero arguments to
40167         k_casinhl.c.
40168         * math/libm-test.inc (cacos_test): Add more tests.
40169         * sysdeps/i386/fpu/libm-test-ulps: Update.
40170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40172 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40174         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40175         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40176         [!HAVE_MREMAP]: Remove [defined linux] case.
40177         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40179 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40181         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40183 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40185         * elf/elf.h (R_386_SIZE32): New relocation.
40186         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40187         R_386_SIZE32.
40188         (elf_machine_rela): Likewise.
40189         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40190         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40192 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40194         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40195         (FP_FAST_FMA): Do not define.
40196         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40197         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40198         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40199         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40200         !_SOFT_FLOAT]: Likewise.
40201         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40202         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40203         value.
40204         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40205         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40206         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40207         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40208         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40209         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40210         file.
40212 2013-01-16  Andreas Schwab  <schwab@suse.de>
40214         [BZ #14327]
40215         * include/stdlib.h (__mktemp): Add declaration.
40216         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40217         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40219 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40221         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40222         definitions.
40223         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40224         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40225         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40226         definitions here.
40227         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40228         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40229         definitions.
40230         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40231         and ONE.
40232         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40233         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40234         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40235         definitions.
40236         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40237         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40238         definitions.
40239         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40241         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40243 2013-01-15  David S. Miller  <davem@davemloft.net>
40245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40246         trunc{,f} to libm-sysdep_routes.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40249         file.
40250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40252         file.
40253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40254         file.
40255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40258         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40259         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40260         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40261         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40262         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40265         nearbyint{,f} to libm-sysdep_routes.
40266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40268         New file.
40269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40270         file.
40271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40272         New file.
40273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40274         file.
40275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40277         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40278         file.
40279         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40280         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40281         file.
40282         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40283         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40284         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40286         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40287         libc_feholdexcept and libc_fesetenv.
40289 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40291         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40293 2013-01-14  David S. Miller  <davem@davemloft.net>
40295         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40296         (SPARC_ASM_VIS2_IFUNC): Likewise.
40297         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40299         use of 'siam' instruction.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40301         Likewise.
40302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40303         Likewise.
40304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40305         Likewise.
40306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40311         file.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40313         file.
40314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40315         file.
40316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40317         file.
40318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40323         new VIS2 routines.
40324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40327         Likewise.
40328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40333         routines to libm-sysdep_routines.
40334         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40337         fdim/fdimf to libm-sysdep_routines.
40338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40339         file.
40340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40342         file.
40343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40346         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40347         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40348         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40349         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40351 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40353         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40354         to optimize copies.
40356         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40361         local variable MPTWO.
40362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40363         Likewise.
40365 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40367         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40368         GLOB_NOESCAPE.
40370 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40372         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40374 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40376         * manual/pattern.texi (glob_t): Document gl_flags.
40377         (glob64_t): Likewise.
40379 2013-01-11  David S. Miller  <davem@davemloft.net>
40381         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40382         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40383         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40384         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40385         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40386         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40387         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40388         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40389         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40390         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40391         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40392         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40393         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40395         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40396         sparc V9 rather than using V8 code.
40397         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40398         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40400         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40401         Move to...
40402         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40403         Here.
40405 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40407         [BZ #14941]
40408         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40409         not in the main loop.
40410         * configure: Regenerated.
40412 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40414         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40415         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40416         to just #else.
40417         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40418         [!__GLIBC_HAVE_LONG_LONG] case.
40419         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40420         condition to just #else.
40421         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40422         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40423         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40424         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40425         unconditional.
40426         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40427         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40428         #elif condition to just #else.
40429         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40430         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40431         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40432         #elif condition to just #else.
40434 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40436         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40437         (EF_MIPS_ARCH_64): Fix value.
40438         (EF_MIPS_ARCH_32R2): New.
40439         (EF_MIPS_ARCH_64R2): New.
40441 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40443         * Makeconfig (+link-pie-before-libc): New.
40444         (+link-pie-after-libc): Likewise.
40445         (+link-pie-tests): Likewise.
40446         (+link-pie): Rewritten.
40447         (link-before-libc): Remove $(config-LDFLAGS).
40448         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40449         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40450         (config-LDFLAGS): Renamed to ...
40451         (rtld-LDFLAGS): This.
40452         (rtld-tests-LDFLAGS): New macro.
40453         (link-libc-rpath-link): Likewise.
40454         (link-libc-tests-rpath-link): Likewise.
40455         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40456         (link-libc): Prepand $(link-libc-rpath-link).
40457         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40458         (test-program-prefix): New macro.
40459         (test-via-rtld-prefix): Likewise.
40460         (test-program-cmd): Likewise.
40461         (host-test-program-cmd): Likewise.
40462         * Makefile ($(common-objpfx)testrun.sh): Replace
40463         $(run-program-prefix) with $(test-program-prefix).
40464         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40465         $(rtld-LDFLAGS).
40466         ($(common-objpfx)shlib.lds): Likewise.
40467         (build-module-helper): Likewise.
40468         ($(common-objpfx)format.lds): Likewise.
40469         * Rules (binaries-pie-tests): New.
40470         (binaries-pie-notests): Likewise.
40471         (binaries-pie): Rewritten.
40472         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40473         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40474         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40475         (make-test-out): Replace $(host-built-program-cmd) with
40476         $(host-test-program-cmd).
40477         * config.make.in (build-hardcoded-path-in-tests): New variable.
40478         * configure.in (--enable-hardcoded-path-in-tests): New configure
40479         option.
40480         (hardcoded_path_in_tests): New AC_SUBST.
40481         * configure: Regenerated.
40482         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40483         $(built-program-cmd) with $(test-program-cmd).
40484         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40485         (test_program_cmd): This.
40486         * elf/Makefile ($(objpfx)order.out): Run test with
40487         $(test-program-prefix).
40488         ($(objpfx)order2.out): Likewise.
40489         ($(objpfx)tst-initorder.out): Likewise.
40490         ($(objpfx)tst-initorder2.out): Likewise.
40491         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40492         $(test-program-cmd).
40493         ($(objpfx)tst-array1-static.out): Likewise.
40494         ($(objpfx)tst-array2.out): Likewise.
40495         ($(objpfx)tst-array3.out): Likewise.
40496         ($(objpfx)tst-array4.out): Likewise.
40497         ($(objpfx)tst-array5.out): Likewise.
40498         ($(objpfx)tst-array5-static.out): Likewise.
40499         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40500         $(test-program-cmd).
40501         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40502         $(run-program-prefix) with $(test-program-prefix).
40503         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40504         (test_program_prefix): This.
40505         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40506         $(run-program-prefix) with $(test-program-prefix).
40507         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40508         (test_program_prefix): This.
40509         * iconvdata/tst-tables.sh: Likewise.
40510         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40511         $(run-program-prefix) with $(test-program-prefix).
40512         ($(objpfx)tst-translit.out): Likewise.
40513         ($(objpfx)tst-gettext2.out): Likewise.
40514         ($(objpfx)tst-gettext4.out): Likewise.
40515         ($(objpfx)tst-gettext6.out): Likewise.
40516         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40517         (test_program_prefix): This.
40518         * intl/tst-gettext2.sh: Likewise.
40519         * intl/tst-gettext4.sh  Likewise.
40520         * intl/tst-gettext6.sh: Likewise.
40521         * intl/tst-translit.sh: Likewise.
40522         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40523         with $(test-program-cmd).
40524         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40525         $(run-program-prefix) with $(test-program-prefix).
40526         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40527         (test_program_prefix): This.
40528         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40529         $(run-program-prefix) with $(test-program-prefix).
40530         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40531         (test_program_prefix): This.
40532         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40533         * posix/Makefile ($(objpfx)globtest.out): Replace
40534         $(run-via-rtld-prefix) and $(test-wrapper) with
40535         $(test-program-prefix) and $(test-via-rtld-prefix).
40536         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40537         $(test-program-prefix).
40538         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40539         $(host-test-program-cmd).
40540         (tst-spawn-ARGS): Likewise.
40541         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40542         $(test-program-prefix).
40543         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40544         (test_via_rtld_prefix): This.
40545         (test_wrapper): Renamed to ...
40546         (test_program_prefix): This.
40547         (run_program_prefix): Replaced by test_program_prefix.
40548         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40549         (test_program_prefix): This.
40550         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40551         with $(host-test-program-cmd).
40552         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40553         $(run-program-prefix) with $(test-program-prefix).
40554         ($(objpfx)tst-printf.out): Likewise.
40555         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40556         $(test-program-cmd).
40557         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40558         (test_program_prefix): This.
40559         * stdio-common/tst-unbputc.sh: Likewise.
40560         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40561         $(run-program-prefix) with $(test-program-prefix).
40562         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40563         (test_program_prefix): This.
40564         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40565         $(built-program-cmd) with $(test-program-cmd).
40567 2013-01-11  Andreas Jaeger  <aj@suse.de>
40569         [BZ #15003]
40570         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40571         value. Sync with Linux 3.7.
40573 2013-01-10  David S. Miller  <davem@davemloft.net>
40575         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40576         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40577         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40579 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40581         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40582         never set.
40583         * configure: Regenerated.
40585 2013-01-10  David S. Miller  <davem@davemloft.net>
40587         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40588         sparc V9 rather than using V8 code.
40589         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40590         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40592 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40594         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40595         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40596         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40597         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40598         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40599         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40600         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40601         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40602         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40603         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40604         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40605         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40606         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40607         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40608         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40609         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40610         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40611         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40612         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40613         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40614         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40615         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40616         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40617         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40618         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40619         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40620         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40622 2013-01-10  David S. Miller  <davem@davemloft.net>
40624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40626 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40628         * posix/Makefile (tests-static): New variable.
40629         (tests): Add $(tests-static).
40630         (tst-exec-static-ARGS): New variable.
40631         (tst-spawn-static-ARGS): Likewise.
40632         * posix/tst-exec-static.c: New file.
40633         * posix/tst-spawn-static.c: Likewise.
40634         * posix/tst-exec.c: Support run directly.
40635         * posix/tst-spawn.c: Likewise.
40637 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40639         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40640         long.
40641         * math/bits/mathcalls.h (llrint): Likewise.
40642         (llround): Likewise.
40643         * stdlib/stdlib.h (struct drand48_data): Likewise.
40644         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40645         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40646         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40647         Likewise.
40648         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40649         Likewise.
40650         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40651         (elf_greg_t): Likewise.
40652         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40653         (__jmp_buf): Likewise.
40654         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40655         definitions.
40656         (llrint): Likewise, for all definitions.
40657         (llrintl): Likewise.
40659         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40660         Remove [__GNUC__] condition.
40661         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40662         condition to just [__USE_ISOC99].
40663         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40665 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40667         [BZ #14200]
40668         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40669         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40670         defined.
40671         (_POSIX_V6_ILP32_OFF32): Likewise.
40672         (_XBS5_ILP32_OFF32): Likewise.
40673         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40674         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40676 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40678         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40680         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40681         doubles __mpexp_twomm1.  Adjust usage.
40682         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40683         Remove.
40685 2013-01-10  Andreas Schwab  <schwab@suse.de>
40687         [BZ #14964]
40688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40689         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40691 2013-01-09  David S. Miller  <davem@davemloft.net>
40693         [BZ #15003]
40694         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40695         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40696         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40697         (TCP_FASTOPEN): Define.
40698         (tcp_repair_opt): New structure.
40699         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40700         enum values.
40701         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40702         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40703         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40704         (tcp_cookie_transactions): New structure.
40706 2013-01-09  Anton Blanchard  <anton@samba.org>
40708         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40709         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40710         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40711         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40713 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40715         * include/features.h (__USE_ANSI): Remove.
40717 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40719         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40721         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40723 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40725         * sysdeps/s390/fpu/libm-test-ulps: Update.
40727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40729         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40730         (__acr): Likewise.
40731         (__cpy): Likewise.
40732         (norm): Likewise.
40733         (denorm): Likewise.
40734         (__mp_dbl): Likewise.
40735         (__dbl_mp): Likewise.
40736         (add_magnitudes): Likewise.
40737         (sub_magnitudes): Likewise.
40738         (__add): Likewise.
40739         (__sub): Likewise.
40740         (__mul): Likewise.
40741         (__inv): Likewise.
40742         (__dvd): Likewise.
40743         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40744         (__acr): Likewise.
40745         (__cpy): Likewise.
40746         (norm): Likewise.
40747         (denorm): Likewise.
40748         (__mp_dbl): Likewise.
40749         (__dbl_mp): Likewise.
40750         (add_magnitudes): Likewise.
40751         (sub_magnitudes): Likewise.
40752         (__add): Likewise.
40753         (__sub): Likewise.
40754         (__mul): Likewise.
40755         (__inv): Likewise.
40756         (__dvd): Likewise.
40757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40758         (__acr): Likewise.
40759         (__cpy): Likewise.
40760         (norm): Likewise.
40761         (denorm): Likewise.
40762         (__mp_dbl): Likewise.
40763         (__dbl_mp): Likewise.
40764         (add_magnitudes): Likewise.
40765         (sub_magnitudes): Likewise.
40766         (__add): Likewise.
40767         (__sub): Likewise.
40768         (__mul): Likewise.
40769         (__inv): Likewise.
40770         (__dvd): Likewise.
40772 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40774         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40775         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40776         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40777         2 && __USE_EXTERN_INLINES]: Likewise.
40779 2013-01-08  Andreas Jaeger  <aj@suse.de>
40781         [BZ# 14985]
40782         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40783         Remove.
40784         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40785         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40787 2013-01-07  Anton Blanchard  <anton@samba.org>
40789         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40790         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40791         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40792         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40793         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40794         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40795         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40796         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40798         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40799         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40800         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40802         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40803         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40806         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40807         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40808         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40809         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40810         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40811         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40812         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40813         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40814         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40815         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40816         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40817         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40818         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40819         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40821         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40822         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40823         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40824         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40826         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40828         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40829         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40831         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40833 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40835         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40836         (__MALLOC_PMT): Likewise.
40837         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40838         [__GNUC__], only on [_LIBC].
40839         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40840         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40841         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40842         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40843         forward declaration.
40844         (realloc_hook_ini): Likewise.
40845         (memalign_hook_ini): Likewise.
40846         (__libc_memalign): Do not use __MALLOC_PMT in variable
40847         declaration.
40848         (__libc_valloc): Likewise.
40849         (__libc_pvalloc): Likewise.
40850         (__libc_calloc): Likewise.
40851         (__posix_memalign): Likewise.
40853         [BZ #14996]
40854         * math/s_casinh.c: Include <float.h>.
40855         (__casinh): Do not do computation with squaring and square root
40856         for large arguments.
40857         * math/s_casinhf.c: Include <float.h>.
40858         (__casinhf): Do not do computation with squaring and square root
40859         for large arguments.
40860         * math/s_casinhl.c: Include <float.h>.
40861         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40862         (__casinhl): Do not do computation with squaring and square root
40863         for large arguments.
40864         * math/libm-test.inc (casin_test): Add more tests.
40865         (casinh_test): Likewise.
40866         * sysdeps/i386/fpu/libm-test-ulps: Update.
40867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40869 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40871         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40872         (__x86_64_raw_data_cache_size): Likewise.
40873         (__x86_64_data_cache_size_half): Likewise.
40874         (__x86_64_raw_data_cache_size_half): Likewise.
40875         (__x86_64_shared_cache_size): Likewise.
40876         (__x86_64_raw_shared_cache_size): Likewise.
40877         (__x86_64_shared_cache_size_half): Likewise.
40878         (__x86_64_raw_shared_cache_size_half): Likewise.
40879         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40880         to ...
40881         (__x86_data_cache_size): This.
40882         (__x86_64_raw_data_cache_size): Renamed to ...
40883         (__x86_raw_data_cache_size): This.
40884         (__x86_64_data_cache_size_half): Renamed to ...
40885         (__x86_data_cache_size_half): This.
40886         (__x86_64_raw_data_cache_size_half): Renamed to ...
40887         (__x86_raw_data_cache_size_half): This.
40888         (__x86_64_shared_cache_size): Renamed to ...
40889         (__x86_shared_cache_size): This.
40890         (__x86_64_raw_shared_cache_size): Renamed to ...
40891         (__x86_raw_shared_cache_size): This.
40892         (__x86_64_shared_cache_size_half): Renamed to ...
40893         (__x86_shared_cache_size_half): This.
40894         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40895         (__x86_raw_shared_cache_size_half): This.
40896         * sysdeps/x86_64/memcpy.S: Updated.
40897         * sysdeps/x86_64/memset.S: Likewise.
40898         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40899         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40900         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40902 2013-01-04  David S. Miller  <davem@davemloft.net>
40904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40906 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40908         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40909         1 to avoid redefinition warning.
40910         (__USE_GNU): Don't define.
40911         (init_signaling_nan): Protoize.
40913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40915 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40917         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40919         (__cpymn): Likewise.
40920         (norm): Remove commented code.
40921         (denorm): Likewise.
40922         (__mp_dbl): Likewise.
40923         (__inv): Likewise.
40924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40925         (__cpymn): Likewise.
40926         (norm): Remove commented code.
40927         (denorm): Likewise.
40928         (__mp_dbl): Likewise.
40929         (__inv): Likewise.
40931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40932         mp_no value for 1.0 and 2.0.
40933         (norm): Use RADIXI instead of radixi.d.
40934         (denorm): Likewise.
40935         (__mul): Use 0.0 instead of zero.d.
40936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40937         mp_no value for 1.0 and 2.0.
40938         (norm): Use RADIXI instead of radixi.d.
40939         (denorm): Likewise.
40940         (__mul): Use 0.0 instead of zero.d.
40942 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40944         [BZ #14994]
40945         * math/s_casinh.c (__casinh): Reduce finite argument to first
40946         quadrant then set signs of results at the end.
40947         * math/s_casinhf.c (__casinhf): Likewise.
40948         * math/s_casinhl.c (__casinhl): Likewise.
40949         * math/libm-test.inc (casin_test): Add more tests.
40950         (casinh_test): Likewise.
40951         * sysdeps/i386/fpu/libm-test-ulps: Update.
40952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40954 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40956         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40958         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40960         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40961         declarations.
40962         (denorm): Likewise.
40963         (__mp_dbl): Likewise.
40964         (__inv): Likewise.
40966         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40967         and adjust the header comment.
40969         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40970         variable name from declaration.
40972 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40975         Initialize COMMON_CPUID_INDEX_7 element.
40976         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40977         (CPUID_RTM): Likewise.
40978         (HAS_RTM): Likewise.
40979         (COMMON_CPUID_INDEX_7): New enum.
40981 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40983         [BZ #14981]
40984         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40985         size is zero, record memory as freed.
40987 2013-01-03  Andreas Jaeger  <aj@suse.de>
40989         * po/ia.po: Add new Interlingua translation.
40991 2012-01-03  Allan McRae  <allan@archlinux.org>
40993         * locale/programs/localedef.c: Fix description of '--posix' flag.
40995 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40997         * NEWS: Update dates in second copyright notice.
40998         * README: Update copyright dates in example.
40999         * manual/libc.texinfo: Update copyright dates.
41000         * scripts/test-installation.pl: Update copyright date in --version
41001         output.
41003         * hurd/ctty-input.c: Fix copyright notice formatting.
41004         * hurd/ctty-output.c: Likewise.
41005         * hurd/dtable.c: Likewise.
41006         * hurd/hurd-raise.c: Likewise.
41007         * hurd/hurdprio.c: Likewise.
41008         * hurd/msgportdemux.c: Likewise.
41009         * misc/sys/file.h: Likewise.
41010         * misc/sys/ioctl.h: Likewise.
41011         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41012         * sysdeps/mach/hurd/chdir.c: Likewise.
41013         * sysdeps/mach/hurd/fchdir.c: Likewise.
41014         * sysdeps/mach/hurd/rename.c: Likewise.
41015         * sysdeps/mach/hurd/rmdir.c: Likewise.
41016         * sysdeps/mach/hurd/seekdir.c: Likewise.
41017         * sysdeps/mach/hurd/setsid.c: Likewise.
41018         * sysdeps/posix/wait3.c: Likewise.
41020         * All files with FSF copyright notices: Update copyright dates
41021         using scripts/update-copyrights.
41022         * intl/plural.c: Regenerated.
41023         * locale/programs/charmap-kw.h: Likewise.
41024         * locale/programs/locfile-kw.h: Likewise.
41026 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41028         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41029         four values.
41031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41032         calculation loop and add branch prediction.
41034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41035         check access beyond bounds of m1np.
41037         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41038         MPTWO.
41039         (__inv): Remove local variable MPTWO to use the global
41040         constant.
41041         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41042         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41043         variable MPTWO.
41044         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41045         MP3HALFS static const.
41047 2013-01-01  David S. Miller  <davem@davemloft.net>
41049         * po/ca.po: Update from translation team.
41051 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
41053         * scripts/update-copyrights: New file.
41054         * Makeconfig: Reformat copyright notice.
41055         * ctype/ctype.h: Likewise.
41056         * debug/swprintf_chk.c: Likewise.
41057         * elf/dl-cache.c: Likewise.
41058         * elf/dl-debug.c: Likewise.
41059         * elf/dl-object.c: Likewise.
41060         * grp/initgroups.c: Likewise.
41061         * hurd/Makefile: Likewise.
41062         * hurd/hurd/signal.h: Likewise.
41063         * hurd/hurdfault.c: Likewise.
41064         * hurd/hurdioctl.c: Likewise.
41065         * hurd/hurdlookup.c: Likewise.
41066         * hurd/intr-msg.c: Likewise.
41067         * iconv/gconv_open.c: Likewise.
41068         * libio/swprintf.c: Likewise.
41069         * locale/lc-ctype.c: Likewise.
41070         * locale/nl_langinfo.c: Likewise.
41071         * mach/Machrules: Likewise.
41072         * mach/Makefile: Likewise.
41073         * malloc/obstack.h: Likewise.
41074         * manual/Makefile: Likewise.
41075         * manual/tsort.awk: Likewise.
41076         * misc/bits/stab.def: Likewise.
41077         * nis/nis_print_group_entry.c: Likewise.
41078         * nis/nis_table.c: Likewise.
41079         * nis/nss_compat/compat-pwd.c: Likewise.
41080         * nis/nss_compat/compat-spwd.c: Likewise.
41081         * po/Makefile: Likewise.
41082         * posix/fnmatch.c: Likewise.
41083         * posix/regex.h: Likewise.
41084         * resolv/Makefile: Likewise.
41085         * resolv/nss_dns/dns-network.c: Likewise.
41086         * resolv/res_hconf.c: Likewise.
41087         * scripts/gen-sorted.awk: Likewise.
41088         * soft-fp/soft-fp.h: Likewise.
41089         * stdio-common/printf.h: Likewise.
41090         * stdlib/monetary.h: Likewise.
41091         * stdlib/random.c: Likewise.
41092         * stdlib/random_r.c: Likewise.
41093         * sysdeps/generic/Makefile: Likewise.
41094         * sysdeps/gnu/Makefile: Likewise.
41095         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41119         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41122         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41123         * sysdeps/mach/hurd/errnos.awk: Likewise.
41124         * sysdeps/mach/hurd/fork.c: Likewise.
41125         * sysdeps/mach/hurd/getcwd.c: Likewise.
41126         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41127         * sysdeps/mach/hurd/mmap.c: Likewise.
41128         * sysdeps/mach/hurd/utimes.c: Likewise.
41129         * sysdeps/mach/hurd/xmknod.c: Likewise.
41130         * sysdeps/posix/profil.c: Likewise.
41131         * sysdeps/posix/readdir_r.c: Likewise.
41132         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41133         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41134         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41135         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41137         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41138         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41139         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41141         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41142         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41143         * sysdeps/pthread/lio_listio.c: Likewise.
41144         * sysdeps/sparc/dl-procinfo.h: Likewise.
41145         * sysdeps/unix/i386/sysdep.S: Likewise.
41146         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41147         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41148         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41149         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41151         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41152         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41153         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41154         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41155         * sysdeps/wordsize-32/divdi3.c: Likewise.
41156         * time/sys/time.h: Likewise.
41157         * wcsmbs/Makefile: Likewise.
41159 2013-01-01  David S. Miller  <davem@davemloft.net>
41161         * po/fr.po: Update from translation team.
41163         * catgets/gencat.c: Update copyright year.
41164         * csu/version.c: Likewise.
41165         * debug/catchsegv.sh: Likewise.
41166         * debug/pcprofiledump.c: Likewise.
41167         * debug/xtrace.sh: Likewise.
41168         * elf/ldconfig.c: Likewise.
41169         * elf/ldd.bash.in: Likewise.
41170         * elf/pldd.c: Likewise.
41171         * elf/sotruss.ksh: Likewise.
41172         * elf/sprof.c: Likewise.
41173         * iconv/iconv_prog.c: Likewise.
41174         * iconv/iconvconfig.c: Likewise.
41175         * locale/programs/locale.c: Likewise.
41176         * locale/programs/localedef.c: Likewise.
41177         * login/programs/pt_chown.c: Likewise.
41178         * malloc/memusage.sh: Likewise.
41179         * malloc/memusagestat.c: Likewise.
41180         * malloc/mtrace.pl: Likewise.
41181         * nscd/nscd.c: Likewise.
41182         * nss/getent.c: Likewise.
41183         * nss/makedb.c: Likewise.
41184         * posix/getconf.c: Likewise.
41186 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41188         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41189         numbers.
41191 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41193         * math/bits/mathcalls.h (modf): Use __nonnull.
41195 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41197         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41198         (split): Use macro CN instead of the bare value.
41199         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41200         could be used.
41201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41202         instead of the bare value.
41203         (power1): Likewise.
41205 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41208         __ATAN_TWOM.
41209         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41211         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41212         their values.
41213         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41214         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41215         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41216         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41218 2012-12-28  Andreas Jaeger  <aj@suse.de>
41220         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41221         values are from Linux 3.7.
41223         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41224         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41226 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41228         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41229         TRUE case.
41231         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41232         (norm): Likewise.
41233         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41234         variables with preprocessor constants.
41235         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41236         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41237         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41239 2012-12-27  Bruno Haible  <bruno@clisp.org>
41241         [BZ #14317]
41242         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41243         only if needed.
41245 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41248         and use variable directly.
41249         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41251         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41252         MPONE.
41253         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41255         variable MPONE.
41256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41258         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41259         include directive.  Remove local variable MPONE.
41260         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41261         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41262         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41264 2012-12-25  David S. Miller  <davem@davemloft.net>
41266         * version.h (RELEASE): Set to "development".
41267         (VERSION): Set to "2.17.90".
41268         * NEWS: Add 2.18 section.
41270 2012-12-21  David S. Miller  <davem@davemloft.net>
41272         * po/hr.po: Update from translation team.
41274 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41276         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41278 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41280         * NEWS:  Mention new memcpy for MIPS.
41282 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41284         * manual/contrib.texi (Contributors): Spelling correction.
41286 2012-12-15  David S. Miller  <davem@davemloft.net>
41288         * po/ru.po: Update from translation team.
41290 2012-12-13  David S. Miller  <davem@davemloft.net>
41292         * NEWS: Mention IFUNC testsuite enhancements.
41294         * po/pl.po: Update from translation team.
41295         * po/bg.po: Likewise.
41297         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41298         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41300 2012-12-11  David S. Miller  <davem@davemloft.net>
41302         * po/sv.po: Update from translation team.
41304         * po/vi.po: Update from translation team.
41306         * po/cs.po: Update from translation team.
41308         * po/de.po: Update from translation team.
41309         * po/eo.po: Likewise.
41310         * po/nl.po: Likewise.
41312 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41314         [BZ #14246]
41315         * manual/argp.texi (Argp Helper Functions): Move node to follow
41316         Argp Parsing State.
41318         [BZ #14872]
41319         * manual/conf.texi (Limits on File System Capacity): Mention if
41320         terminating null is included in the max size.
41322 2012-12-10  Andreas Jaeger  <aj@suse.de>
41324         * po/cs.po: Update from translation team.
41326 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41328         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41329         void pointer and cast to uintptr_t.
41330         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41331         path.
41332         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41333         * sysdeps/s390/s390-64/memset.S: Likewise.
41335 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41337         [BZ #14833]
41338         * menual/message.texi (Message Translation): Fix typos.
41339         (Helper programs for gettext): Likewise.
41341 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41343         [BZ #14898]
41344         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41345         Change to -1.
41347 2012-12-07  David S. Miller  <davem@davemloft.net>
41349         * po/libc.pot: Update.
41351 2012-12-07  Richard Henderson  <rth@redhat.com>
41353         [BZ #10114]
41354         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41355         normal/normal case to before the switch.
41356         (_FP_DIV): Likewise.
41358 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41359             Mike Frysinger  <vapier@gentoo.org>
41361         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41362         check for __NR_fadvise64_64.
41364 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41366         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41367         0, not just to plain "0" as a statement.
41368         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41369         with cw.
41371 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41373         * NEWS: Use sourceware.org in Bugzilla URL.
41375 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41378         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41380         * stdio-common/tst-put-error.c (do_test): Add newline to the
41381         padded test to ensure flush.
41383 2012-12-05  Jeff Law  <law@redhat.com>
41385         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41387 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41389         * README: Don't refer to ports add-on as distributed separately.
41390         Mention AArch64 in list of systems supported in the ports add-on.
41392         * LICENSES: Add more non-FSF copyright and license notices.
41394         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41395         ((unused)).
41397         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41399         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41400         10000 as width of padded output.
41402 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41404         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41406         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41407         variable LX with __attribute__ ((unused)).
41408         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41409         Likewise.
41410         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41412         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41413         with __attribute__ ((unused)).
41415 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41417         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41419 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41421         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41422         (CFLAGS-nldbl-acos.c): New variable.
41423         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41424         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41425         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41426         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41427         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41428         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41429         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41430         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41431         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41432         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41433         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41434         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41435         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41436         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41437         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41438         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41439         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41440         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41441         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41442         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41443         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41444         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41445         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41446         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41447         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41448         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41449         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41450         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41451         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41452         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41453         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41454         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41455         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41456         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41457         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41458         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41459         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41460         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41461         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41462         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41463         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41464         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41465         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41466         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41467         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41468         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41469         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41470         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41471         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41472         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41473         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41474         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41475         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41476         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41477         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41478         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41479         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41480         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41481         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41482         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41483         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41484         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41485         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41486         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41487         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41488         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41489         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41490         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41491         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41492         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41493         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41494         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41495         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41496         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41497         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41498         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41499         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41500         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41501         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41502         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41503         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41504         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41505         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41506         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41507         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41508         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41509         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41510         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41511         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41512         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41513         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41514         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41515         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41516         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41517         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41518         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41519         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41522         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41524         [BZ #14914]
41525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41526         whole low double instead of just low 47 bits when splitting values
41527         into two parts.
41529 2012-12-03  Allan McRae  <allan@archlinux.org>
41531         * manual/stdio.texi (Predefined Printf Handlers): Remove
41532         @hsep and @vsep usage.
41534 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41536         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41537         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41539 2012-12-03  Jeff Law  <law@redhat.com>
41541         * time/sys/time.h (settimeofday): Do not mark TV argument
41542         as __nonnull.
41544 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41546         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41547         when currently writing and seek to current position when not.
41548         * libio/Makefile (tests): Remove bug-fclose1.
41549         * libio/bug-fclose1.c: Delete.
41551 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41553         * manual/arith.texi (feenableexcept): Fix typo.
41554         (fedisableexcept): Likewise.
41556 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41558         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41559         second, differently-typed declaration, rather than a cast.
41561 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41563         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41564         * include/rpc/svc.h: ... here.
41566 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41568         [BZ #13013]
41569         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41570         depending n and resplen2 to catch cases where answer
41571         equals answerp2.
41573 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41575         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41576         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41578 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41580         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41582 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41584         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41586 2012-11-28  Jeff Law  <law@redhat.com>
41588         [BZ #13761]
41589         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41590         dataset_temporary.  Track alloca usage into alloca_used.
41591         If dataset is large allocate and release it via malloc/free.
41593 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41595         [BZ #14197]
41596         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41598 2012-11-28  David S. Miller  <davem@davemloft.net>
41600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41602 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41604         [BZ #14803]
41605         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41606         of pi/2 rounded to nearest to 64 bits.
41607         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41608         nearest to 64 bits.
41609         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41610         bits.
41612 2012-11-28  Jeff Law <law@redhat.com>
41613             Martin Osvald <mosvald@redhat.com>
41615         [BZ #14889]
41616         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41617         * sunrpc/svc.c: Include time.h.
41618         (__svc_accept_failed): New function.
41619         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41620         any reason other than EINTR, call __svc_accept_failed.
41621         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41622         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41624 2012-11-28  Andreas Schwab  <schwab@suse.de>
41626         * scripts/abilist.awk: Also handle indirect functions in .opd
41627         section.
41629 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41631         [BZ #13881]
41632         * sysdeps/x86/fpu/powl_helper.c: New file.
41633         * sysdeps/x86/fpu/Makefile: Likewise.
41634         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41635         (p3): New object.
41636         (__ieee754_powl): Use __powl_helper for finite arguments except
41637         integer exponents below 8.
41638         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41639         (p3): New object.
41640         (__ieee754_powl): Use __powl_helper for finite arguments except
41641         integer exponents below 8.
41642         * math/libm-test.inc (pow_test): Add more tests and enable some
41643         previously disabled tests.
41644         * sysdeps/i386/fpu/libm-test-ulps: Update.
41645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41647 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41648             Carlos O'Donell  <carlos_odonell@mentor.com>
41650         * nss/makedb.c (is_prime): Assert that input is odd and greater
41651         than 4.  Note that fact in a comment too.
41652         (next_prime): Add 4 to input.
41654 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41656         [BZ #11741]
41657         * libio/Makefile (tests): Add test case tst-fwrite-error.
41658         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41659         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41660         * libio/tst-fwrite-error.c: New test case.
41662 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41664         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41665         before casting to void *.
41666         * include/libc-internal.h (__pointer_type): New macro.
41667         (__integer_if_pointer_type_sub): Likewise.
41668         (__integer_if_pointer_type): Likewise.
41669         (cast_to_integer): Likewise.
41670         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41671         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41672         before casting to atomic64_t.
41673         (atomic_exchange_acq): Likewise.
41674         (__arch_exchange_and_add_body): Likewise.
41675         (__arch_add_body): Likewise.
41676         (atomic_add_negative): Likewise.
41677         (atomic_add_zero): Likewise.
41679 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41681         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41682         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41683         (add_fdes): Likewise.
41684         (linear_search_fdes): Likewise.
41685         (binary_search_unencoded_fdes): Likewise.
41687 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41689         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41691 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41693         * configure.in: Autodetect C++ header directories.
41694         * configure: Regenerated.
41696 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41698         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41700 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41704 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41706         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41707         LDBL_MANT_DIG == 106]: Disable some tests.
41708         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41709         Likewise.
41710         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41711         Likewise.
41713         [BZ #14871]
41714         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41715         input for small inputs.  Return +/- pi/2 for large inputs.
41716         * math/libm-test.inc (atan_test): Add more tests.
41718         * sysdeps/generic/unwind-dw2-fde-glibc.c
41719         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41720         __attribute__ ((unused)).
41722         [BZ #14645]
41723         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41724         x * y if x and y are nonzero and z is zero.
41726         [BZ #14811]
41727         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41728         nonzero exponents with absolute value below 0x1p-117 to +/-
41729         0x1p-117.
41731         [BZ #14869]
41732         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41733         up arguments below 2**-450, not just those below 2**-500.
41734         * math/libm-test.inc (hypot_test): Add another test.
41736         [BZ #14868]
41737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41738         Return a+b for ratio over 2**120, not 2**60.
41739         * math/libm-test.inc (hypot_test): Add another test.
41741         * math/libm-test.inc (clog_test): Use
41742         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41743         (clog10_test): Likewise.
41745         [BZ #6778]
41746         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41748 2012-11-22  Andreas Schwab  <schwab@suse.de>
41750         * sysdeps/i386/fpu/libm-test-ulps: Update.
41752 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41754         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41755         printf output with newline.
41757 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41759         [BZ #14865]
41760         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41761         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41762         -z nodlopen, -z initfirst and -z execstack support.
41763         * configure: Regenerated.
41765         * elf/elf.h (DF_1_NODIRECT): New macro.
41766         (DF_1_IGNMULDEF): Likewise.
41767         (DF_1_NOKSYMS): Likewise.
41768         (DF_1_NOHDR): Likewise.
41769         (DF_1_EDITED): Likewise.
41770         (DF_1_NORELOC): Likewise.
41771         (DF_1_SYMINTPOSE): Likewise.
41772         (DF_1_GLOBAUDIT): Likewise.
41773         (DF_1_SINGLETON): Likewise.
41774         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41775         DT_1_SUPPORTED_MASK bits.
41776         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41778 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41780         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41782 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41784         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41785         macro.
41787         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41788         (sendmmsg): Move declarations...
41789         * socket/sys/socket.h: ... here.
41790         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41791         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41792         include it from...
41793         * socket/recvmmsg.c: ... this new file.
41794         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41795         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41796         definition of __sendmmsg hidden.
41797         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41798         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41799         Move ENOSYS stub into and include it from...
41800         * socket/sendmmsg.c: ... this new file.
41801         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41802         (sysdep_routines): Move recvmmsg and sendmmsg...
41803         * socket/Makefile (routines): ... here.
41804         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41805         (GLIBC_PRIVATE): Add __sendmmsg.
41806         * include/sys/socket.h (__sendmmsg): Add declarations.
41807         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41808         sendmmsg.
41810 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41812         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41813         variable I1 with __attribute__ ((unused)).
41814         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41816 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41818         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41819         DUMMY variables with __attribute__ ((unused)).
41821         * bits/byteswap.h: Include <bits/types.h>.
41822         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41824 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41826         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41827         string_t.  Do not manually set errno.
41828         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41829         length with __strnlen.  Make sure to both set errno and return it on
41830         failure.
41832 2012-11-19  David S. Miller  <davem@davemloft.net>
41834         With help from Joseph Myers.
41835         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41836         very large arguments properly.
41837         * math/libm-test.inc (atan_test): New tests.
41838         (atan2_test): New tests.
41839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41842 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41844         [BZ #14856]
41845         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41846         Define to 3.
41848         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41849         [POSIX] (EADDRNOTAVAIL): Likewise.
41850         [POSIX] (EAFNOSUPPORT): Likewise.
41851         [POSIX] (EALREADY): Likewise.
41852         [POSIX] (ECONNABORTED): Likewise.
41853         [POSIX] (ECONNREFUSED): Likewise.
41854         [POSIX] (ECONNRESET): Likewise.
41855         [POSIX] (EDESTADDRREQ): Likewise.
41856         [POSIX] (EDQUOT): Likewise.
41857         [POSIX] (EHOSTUNREACH): Likewise.
41858         [POSIX] (EIDRM): Likewise.
41859         [POSIX] (EISCONN): Likewise.
41860         [POSIX] (ELOOP): Likewise.
41861         [POSIX] (EMULTIHOP): Likewise.
41862         [POSIX] (ENETDOWN): Likewise.
41863         [POSIX] (ENETUNREACH): Likewise.
41864         [POSIX] (ENOBUFS): Likewise.
41865         [POSIX] (ENODATA): Likewise.
41866         [POSIX] (ENOLINK): Likewise.
41867         [POSIX] (ENOMSG): Likewise.
41868         [POSIX] (ENOPROTOOPT): Likewise.
41869         [POSIX] (ENOSR): Likewise.
41870         [POSIX] (ENOSTR): Likewise.
41871         [POSIX] (ENOTCONN): Likewise.
41872         [POSIX] (ENOTSOCK): Likewise.
41873         [POSIX] (EOPNOTSUPP): Likewise.
41874         [POSIX] (EOVERFLOW): Likewise.
41875         [POSIX] (EPROTO): Likewise.
41876         [POSIX] (EPROTONOSUPPORT): Likewise.
41877         [POSIX] (EPROTOTYPE): Likewise.
41878         [POSIX] (ESTALE): Likewise.
41879         [POSIX] (ETIME): Likewise.
41880         [POSIX] (ETXTBSY): Likewise.
41881         [POSIX] (EWOULDBLOCK): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41883         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41884         [POSIX] (SEEK_CUR): Likewise.
41885         [POSIX] (SEEK_END): Likewise.
41886         [POSIX || UNIX98] (mode_t): Do not require.
41887         [POSIX] (off_t): Likewise.
41888         [POSIX] (pid_t): Likewise.
41889         [POSIX] (sys/stat.h): Do not allow header.
41890         [POSIX] (unistd.h): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41892         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41893         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41894         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41895         require.
41896         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41897         sigevent): Specify elements.
41898         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41899         entry.
41900         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41901         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41903         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41904         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41905         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41906         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41907         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41908         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41909         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41910         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41911         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41912         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41913         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41914         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41915         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41916         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41917         Likewise.
41918         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41919         Likewise.
41920         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41921         Likewise.
41922         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41923         Likewise.
41924         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41925         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41926         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41927         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41928         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41929         Specify lower bound on value.
41930         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41931         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41932         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41933         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41934         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41935         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41936         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41937         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41938         value.
41939         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41940         as optional.
41941         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41942         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41943         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41944         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41945         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41946         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41947         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41948         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41949         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41950         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41951         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41952         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41953         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41954         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41955         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41956         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41957         entry.
41958         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41959         optional.
41960         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41961         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41962         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41963         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41964         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41965         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41966         Likewise.
41967         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41968         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41969         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41970         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41971         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41972         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41973         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41974         as optional.
41975         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41976         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41977         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41978         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41979         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41980         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41981         specify as optional.
41982         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41983         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41984         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41985         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41986         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41987         [XPG3] (NL_LANGMAX): Likewise.
41988         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41989         [POSIX || XPG3] (NL_NMAX): Likewise.
41990         [POSIX || XPG3] (NL_SETMAX): Likewise.
41991         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41992         [XPG3] (NZERO): Likewise.
41993         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41994         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41995         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41996         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41997         (REG_ERANGE): Expect.
41998         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41999         optional-constant.
42000         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42001         Use (void) in prototype.
42002         [POSIX] (*_t): Allow.
42003         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42004         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42005         (WRDE_BADVAL): Expect.
42007         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42008         expect.
42009         [XPG3 || XPG4] (O_RSYNC): Likewise.
42010         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42011         Likewise.
42012         [XPG3 || XPG4] (pthread_sigmask): Likewise.
42013         [XPG3 || XPG4] (sigqueue): Likewise.
42014         [XPG3 || XPG4] (sigtimedwait): Likewise.
42015         [XPG3 || XPG4] (sigwaitinfo): Likewise.
42016         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42017         [XPG3 || XPG4] (vsnprintf): Likewise.
42018         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42019         Likewise.
42020         [XPG3 || XPG4] (blksize_t): Likewise.
42021         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42022         Likewise.
42023         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42024         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42025         [XPG3 || XPG4] (struct itimerspec): Likewise.
42026         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42027         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42028         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42029         [XPG3 || XPG4] (clockid_t): Likewise.
42030         [XPG3 || XPG4] (timer_t): Likewise.
42031         [XPG3 || XPG4] (clock_getres): Likewise.
42032         [XPG3 || XPG4] (clock_gettime): Likewise.
42033         [XPG3 || XPG4] (clock_settime): Likewise.
42034         [XPG3 || XPG4] (nanosleep): Likewise.
42035         [XPG3 || XPG4] (timer_create): Likewise.
42036         [XPG3 || XPG4] (timer_delete): Likewise.
42037         [XPG3 || XPG4] (timer_gettime): Likewise.
42038         [XPG3 || XPG4] (timer_getoverrun): Likewise.
42039         [XPG3 || XPG4] (timer_settime): Likewise.
42040         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42041         [XPG3 || XPG4] (getlogin_r): Likewise.
42042         [XPG3 || XPG4] (pread): Likewise.
42043         [XPG3 || XPG4] (pthread_atfork): Likewise.
42044         [XPG3 || XPG4] (pwrite): Likewise.
42046         [BZ #14835]
42047         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42048         <bits/siginfo.h>.
42050 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42052         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42053         finalizing MALLSTREAM.
42055         * sysdeps/mach/hurd/syncfs.c: New file.
42057 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42059         [BZ #14719]
42060         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42061         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42063         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42064         (_nss_dns_gethostbyname4_r): Likewise.
42065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42066         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42068 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
42070         [BZ #13763]
42071         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42073 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42075         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42076         * elf/cache.c (print_entry): Print ",AArch64" for
42077         FLAG_AARCH64_LIB64
42079         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42080         * elf/cache.c (print_entry): Print ",hard-float" for
42081         FLAG_ARM_LIBHF.
42083 2012-11-18  David S. Miller  <davem@davemloft.net>
42085         With help from Joseph Myers.
42086         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42087         cutoff to 2**-13.
42088         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42089         cutoff to 2**-25.
42090         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42091         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42092         small.
42093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42094         * math/libm-test.inc (y0_test): New tests.
42095         (y1_test): New tests.
42096         * sysdeps/i386/fpu/libm-test-ulps: Update.
42097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42100 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42102         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42103         64-bit targets.
42104         * configure: Regenerated.
42106 2012-11-17  David S. Miller  <davem@davemloft.net>
42108         [BZ #14811]
42109         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42110         nonzero exponents with absolute value below 0x1p-128 to +/-
42111         0x1p-128.
42113 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42115         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42117         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42119         * posix/getconf-speclist.c: New file.
42120         * posix/posix-envs.def: Likewise.
42121         * posix/confstr.c (START_ENV_GROUP): New macro.
42122         (END_ENV_GROUP): Likewise.
42123         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42124         (KNOWN_PRESENT_ENV_STRING): Likewise.
42125         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42126         (UNKNOWN_ENVIRONMENT): Likewise.
42127         (confstr): Include posix-envs.def instead of handling
42128         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42129         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42130         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42131         (END_ENV_GROUP): Likewise.
42132         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42133         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42134         (UNKNOWN_ENVIRONMENT): Likewise.
42135         (__sysconf): Include posix-envs.def instead of handling associated
42136         cases directly here.
42137         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42138         preprocessing getconf-speclist.c rather than running getconf or
42139         generating empty file.
42141 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42143         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42145 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42147         [BZ #14672]
42148         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42150 2012-11-16  David S. Miller  <davem@davemloft.net>
42152         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42153         smaller than LDBL_EPSILON/2.0L, just return xm1.
42155 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42157         * elf/tst-array1.c (init): Set constructor priority to 1000.
42158         (fini): Set destructor priority to 1000.
42159         * elf/tst-array2dep.c: Likewise.
42161 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42163         [BZ #11741]
42164         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42165         (_IO_new_file_xsputn): Also return EOF if none of the input
42166         data was written when overflow failed.
42167         * libio/iopadn.c (_IO_padn): Likewise.
42168         * libio/iowpadn.c (_IO_wpadn): Likewise.
42169         * stdio-common/tst-put-error.c: Add copyright notice.
42170         (do_test): Add case for printing padded string.
42171         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42172         _IO_padn returned error.
42173         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42174         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42175         return EOF.
42177 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42179         * libio/libioP.h: Add comment note that the references to C++
42180         bits are now obsolete.
42182 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42184         * math/libm-test.inc (check_complex): Use asprintf.
42186 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42188         * debug/pcprofiledump.c (print_version): Update copyright year.
42189         * malloc/memusagestat.c (print_version): Likewise.
42191 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42193         [BZ #14831]
42194         * elf/Makefile (tests): Add tst-audit8.
42195         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42196         ($(objpfx)tst-audit8.out): New target.
42197         (tst-audit8-ENV): New variable.
42198         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42199         audit if l_reloc_result is NULL.
42200         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42201         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42202         * elf/tst-audit8.c: New file.
42204 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42206         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42207         * misc/Makefile (CFLAGS-select.c): Define.
42208         * posix/Makefile (CFLAGS-pause.c): Define.
42210 2012-11-13  David S. Miller  <davem@davemloft.net>
42212         * crypt/Makefile: Move test targets after toplevel Rules
42213         inclusion.  Grab any necessary sysdep routines when linking.
42214         * crypt/md5.c (md5_process_block): Remove define, we will always
42215         name it __md5_process_block.
42216         (md5_finish_ctx): Update md5_process_block call.
42217         (md5_stream): Likewise.
42218         (md5_process_bytes): Likewise.
42219         (md5_process_block): Rename to __md5_process_block and move to ...
42220         * crypt/md5-block.c: ... here.
42221         * crypt/sha256.c (sha256_process_block): Move to ...
42222         * crypt/sha256-block.c: ... here.
42223         * crypt/sha512.c (sha512_process_block): Move to ...
42224         * crypt/sha512-block.c: ... here.
42225         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42226         path.
42227         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42228         * sysdeps/sparc/sparc64/multiarch/Makefile
42229         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42230         crypt subdir.
42231         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42232         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42233         multiarch changes.
42234         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42235         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42236         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42237         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42238         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42239         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42240         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42241         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42242         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42243         file.
42244         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42245         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42246         file.
42247         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42249 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42251         * timezone/tzselect.ksh: Update from tzcode git revision
42252         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42253         * timezone/zdump.c: Likewise.
42254         * timezone/zic.c: Likewise.
42255         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42256         in TZVERSION setting, not $(PKGVERSION).
42257         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42258         REPORT_BUGS_TO settings.
42260         [BZ #14838]
42261         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42262         macro.
42264 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42266         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42267         detection to immediately after _FP_ROUND().
42268         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42269         bits are 0.
42271 2012-11-11  David S. Miller  <davem@davemloft.net>
42273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42274         inttypes.h
42275         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42276         __close rather than their public counterparts.
42278 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42280         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42281         file.
42282         [UNIX98] (sem_timedwait): Do not expect.
42283         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42284         [XPG4 || UNIX98] (sockatmark): Do not expect.
42285         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42286         (clock_getcpuclockid): Do not expect.
42287         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42288         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42289         Do not expect.
42290         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42291         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42292         [UNIX98] (vwscanf): Likewise.
42293         [UNIX98] (vswscanf): Likewise.
42295 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42297         * timezone/version.h: Remove file.
42298         * timezone/README: Do not refer to version.h.
42299         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42300         $(objpfx)version.h.
42301         ($(objpfx)zdump.o): Likewise.
42302         ($(objpfx)version.h): New target.
42304         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42305         2012i.
42306         * timezone/README: Don't mention modification to tzselect.ksh.
42307         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42308         work on unmodified tzselect.ksh.  Substitute version numbers in
42309         tzselect.ksh.
42311         * Makefile (format-me): Remove.
42312         (INSTALL): Adjust indentation.  Use commands directly instead of
42313         using $(format-me).
42315         * aclocal.m4 (ACX_PKGVERSION): New macro.
42316         (ACX_BUGURL): Likewise.
42317         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42318         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42319         (REPORT_BUGS_TO): Likewise.
42320         * configure: Regenerated.
42321         * config.h.in (PKGVERSION): New macro.
42322         (REPORT_BUGS_TO): Likewise.
42323         * config.make.in (PKGVERSION): New variable.
42324         (PKGVERSION_TEXI): Likewise.
42325         (REPORT_BUGS_TO): Likewise.
42326         (REPORT_BUGS_TEXI): Likewise.
42327         * Makefile (format-me): Use -I$(common-objpfx)manual.
42328         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42329         ($(common-objpfx)manual/%): New target.
42330         (manual/%): Remove target.
42331         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42332         (print_version): Use PKGVERSION.
42333         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42334         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42335         and REPORT_BUGS_TO.
42336         ($(objpfx)xtrace): Likewise.
42337         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42338         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42339         (print_version): Use PKGVERSION.
42340         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42341         (do_version): Use PKGVERSION.
42342         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42343         REPORT_BUGS_TO.
42344         (common-ldd-rewrite): Likewise.
42345         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42346         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42347         (print_version): Use PKGVERSION.
42348         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42349         * elf/pldd.c (argp_program_bug_address): Remove variable.
42350         (more_help): New function.
42351         (argp): Use more_help.
42352         (print_version): Use PKGVERSION.
42353         * elf/sln.c (main): Use PKGVERSION.
42354         (usage): Use REPORT_BUGS_TO.
42355         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42356         (top level): Use PKGVERSION.
42357         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42358         (print_version): Use PKGVERSION.
42359         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42360         (print_version): Use PKGVERSION.
42361         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42362         (print_version): Use PKGVERSION.
42363         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42364         (print_version): Use PKGVERSION.
42365         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42366         (print_version): Use PKGVERSION.
42367         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42368         (print_version): Use PKGVERSION.
42369         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42370         and BUGURL.
42371         ($(objpfx)memusage): Likewise.
42372         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42373         (do_version): Use PKGVERSION.
42374         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42375         (print_version): Use PKGVERSION.
42376         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42377         ($PKGVERSION): New variable.
42378         ($REPORT_BUGS_TO): Likewise.
42379         (usage): Use $REPORT_BUGS_TO.
42380         (top level): Use $PKGVERSION.
42381         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42382         ($(objpfx)pkgvers.texi): New rule.
42383         ($(objpfx)stamp-pkgvers): Likewise.
42384         * manual/install.texi: Include pkgvers.texi.
42385         (--with-pkgversion): Document new configure option.
42386         (--with-bugurl): Likewise.
42387         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42388         than necessarily for this particular distribution.  Use
42389         REPORT_BUGS_TO for where to report bugs.
42390         * INSTALL: Regenerated.
42391         * manual/libc.texinfo: Include pkgvers.texi.
42392         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42393         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42394         (print_version): Use PKGVERSION.
42395         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42396         (print_version): Use PKGVERSION.
42397         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42398         (print_version): Use PKGVERSION.
42399         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42400         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42401         macro.
42402         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42403         (print_version): Use PKGVERSION.
42404         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42405         (print_version): Use PKGVERSION.
42406         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42407         and PKGVERSION.
42409         * timezone/checktab.awk: Update from tzcode 2012i.
42410         * timezone/ialloc.c: Likewise.
42411         * timezone/private.h: Likewise.
42412         * timezone/scheck.c: Likewise.
42413         * timezone/tzfile.h: Likewise.
42414         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42415         (TZVERSION): Hardcode tzcode version number.
42416         * timezone/zdump.c: Update from tzcode 2012i.
42417         * timezone/zic.c: Likewise.
42418         * timezone/version.h: New file.
42419         * timezone/README: Describe version.h.  Update upstream location.
42421         [BZ #14824]
42422         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42423         (mktemp): Enable declaration.
42424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42428         Likewise.
42429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42430         Likewise.
42431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42432         Likewise.
42433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42434         Likewise.
42435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42436         Likewise.
42437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42438         Likewise.
42440         [BZ #14821]
42441         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42442         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42443         for copies of such integer values.
42444         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42445         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42447 2012-11-09  Andreas Jaeger  <aj@suse.de>
42449         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42450         definitions and declarations that are provided by
42451         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42453 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42455         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42456         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42457         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42458         definition.
42460 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42462         * elf/elf.h: Update comment before AArch64 relocations.
42464 2012-11-07  David S. Miller  <davem@davemloft.net>
42466         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42467         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42468         (__start_context): Declare.
42469         (__makecontext_ret): Delete.
42470         (__makecontext): Hook up __start_context instead of
42471         __makecontext_ret.
42472         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42473         (sysdep_routines): Add __start_context when in stdlib.
42475 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42477         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42478         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42479         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42480         hardcoded "nm".
42481         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42482         (READELF): New variable.  Use it instead of hardcoded "readelf".
42484 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42486         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42487         * sysdeps/x86/Makefile: Here.
42488         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42489         * sysdeps/x86/tst-xmmymm.sh: This.
42491 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42493         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42494         expectations.
42495         [UNIX98] (pthread_barrier_t): Do not expect.
42496         [UNIX98] (pthread_barrierattr_t): Likewise.
42497         [UNIX98] (pthread_spinlock_t): Likewise.
42498         [UNIX98] (pthread_barrier_destroy): Likewise.
42499         [UNIX98] (pthread_barrier_init): Likewise.
42500         [UNIX98] (pthread_barrier_wait): Likewise.
42501         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42502         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42503         [UNIX98] (pthread_barrierattr_init): Likewise.
42504         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42505         [UNIX98] (pthread_getcpuclockid): Likewise.
42506         [UNIX98] (pthread_mutex_timedlock): Likewise.
42507         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42508         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42509         [UNIX98] (pthread_sigmask): Likewise.
42510         [UNIX98] (pthread_spin_destroy): Likewise.
42511         [UNIX98] (pthread_spin_init): Likewise.
42512         [UNIX98] (pthread_spin_lock): Likewise.
42513         [UNIX98] (pthread_spin_trylock): Likewise.
42514         [UNIX98] (pthread_spin_unlock): Likewise.
42515         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42516         Do not expect.
42517         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42518         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42519         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42520         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42521         [XPG3 || XPG4] (pthread_key_t): Likewise.
42522         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42523         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42524         [XPG3 || XPG4] (pthread_once_t): Likewise.
42525         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42526         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42527         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42528         [XPG3 || XPG4] (pthread_t): Likewise.
42530         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42531         not expect.
42532         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42534         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42535         Change function return type to int.
42537         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42538         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42539         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42540         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42541         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42542         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42543         [!POSIX] (posix_madvise): Likewise.
42544         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42545         && !UNIX98].
42546         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42547         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42548         (mode_t): Likewise.
42549         (posix_mem_offset): Likewise.
42550         (posix_typed_mem_get_info): Likewise.
42551         (posix_typed_mem_open): Likewise.
42553         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42554         Change condition to [XOPEN2K8].
42556         * conform/conformtest.pl: Preprocess allow-header data with -x c
42557         instead of from stdin.
42558         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42559         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42560         [C99-based standards] (cerfc): Likewise.
42561         [C99-based standards] (cexp2): Likewise.
42562         [C99-based standards] (cexpm1): Likewise.
42563         [C99-based standards] (clog10): Likewise.
42564         [C99-based standards] (clog1p): Likewise.
42565         [C99-based standards] (clog2): Likewise.
42566         [C99-based standards] (clgamma): Likewise.
42567         [C99-based standards] (ctgamma): Likewise.
42568         [C99-based standards] (cerff): Likewise.
42569         [C99-based standards] (cerfcf): Likewise.
42570         [C99-based standards] (cexp2f): Likewise.
42571         [C99-based standards] (cexpm1f): Likewise.
42572         [C99-based standards] (clog10f): Likewise.
42573         [C99-based standards] (clog1pf): Likewise.
42574         [C99-based standards] (clog2f): Likewise.
42575         [C99-based standards] (clgammaf): Likewise.
42576         [C99-based standards] (ctgammaf): Likewise.
42577         [C99-based standards] (cerfl): Likewise.
42578         [C99-based standards] (cerfcl): Likewise.
42579         [C99-based standards] (cexp2l): Likewise.
42580         [C99-based standards] (cexpm1l): Likewise.
42581         [C99-based standards] (clog10l): Likewise.
42582         [C99-based standards] (clog1pl): Likewise.
42583         [C99-based standards] (clog2l): Likewise.
42584         [C99-based standards] (clgammal): Likewise.
42585         [C99-based standards] (ctgammal): Likewise.
42586         * conform/data/inttypes.h-data [C99-based standards]: Include
42587         stdint.h-data.  Remove all expectations for stdint.h contents.
42588         [C99-based standards] (PRI*): Do not allow.
42589         [C99-based standards] (SCN*): Likewise.
42590         [C99-based standards] (*_t): Likewise.
42591         [C99-based-standards] (PRId8): Expect macro.
42592         [C99-based-standards] (PRIi8): Likewise.
42593         [C99-based-standards] (PRIo8): Likewise.
42594         [C99-based-standards] (PRIu8): Likewise.
42595         [C99-based-standards] (PRIx8): Likewise.
42596         [C99-based-standards] (PRIX8): Likewise.
42597         [C99-based-standards] (SCNd8): Likewise.
42598         [C99-based-standards] (SCNi8): Likewise.
42599         [C99-based-standards] (SCNo8): Likewise.
42600         [C99-based-standards] (SCNu8): Likewise.
42601         [C99-based-standards] (SCNx8): Likewise.
42602         [C99-based-standards] (PRIdLEAST8): Likewise.
42603         [C99-based-standards] (PRIiLEAST8): Likewise.
42604         [C99-based-standards] (PRIoLEAST8): Likewise.
42605         [C99-based-standards] (PRIuLEAST8): Likewise.
42606         [C99-based-standards] (PRIxLEAST8): Likewise.
42607         [C99-based-standards] (PRIXLEAST8): Likewise.
42608         [C99-based-standards] (SCNdLEAST8): Likewise.
42609         [C99-based-standards] (SCNiLEAST8): Likewise.
42610         [C99-based-standards] (SCNoLEAST8): Likewise.
42611         [C99-based-standards] (SCNuLEAST8): Likewise.
42612         [C99-based-standards] (SCNxLEAST8): Likewise.
42613         [C99-based-standards] (PRIdFAST8): Likewise.
42614         [C99-based-standards] (PRIiFAST8): Likewise.
42615         [C99-based-standards] (PRIoFAST8): Likewise.
42616         [C99-based-standards] (PRIuFAST8): Likewise.
42617         [C99-based-standards] (PRIxFAST8): Likewise.
42618         [C99-based-standards] (PRIXFAST8): Likewise.
42619         [C99-based-standards] (SCNdFAST8): Likewise.
42620         [C99-based-standards] (SCNiFAST8): Likewise.
42621         [C99-based-standards] (SCNoFAST8): Likewise.
42622         [C99-based-standards] (SCNuFAST8): Likewise.
42623         [C99-based-standards] (SCNxFAST8): Likewise.
42624         [C99-based-standards] (PRId16): Likewise.
42625         [C99-based-standards] (PRIi16): Likewise.
42626         [C99-based-standards] (PRIo16): Likewise.
42627         [C99-based-standards] (PRIu16): Likewise.
42628         [C99-based-standards] (PRIx16): Likewise.
42629         [C99-based-standards] (PRIX16): Likewise.
42630         [C99-based-standards] (SCNd16): Likewise.
42631         [C99-based-standards] (SCNi16): Likewise.
42632         [C99-based-standards] (SCNo16): Likewise.
42633         [C99-based-standards] (SCNu16): Likewise.
42634         [C99-based-standards] (SCNx16): Likewise.
42635         [C99-based-standards] (PRIdLEAST16): Likewise.
42636         [C99-based-standards] (PRIiLEAST16): Likewise.
42637         [C99-based-standards] (PRIoLEAST16): Likewise.
42638         [C99-based-standards] (PRIuLEAST16): Likewise.
42639         [C99-based-standards] (PRIxLEAST16): Likewise.
42640         [C99-based-standards] (PRIXLEAST16): Likewise.
42641         [C99-based-standards] (SCNdLEAST16): Likewise.
42642         [C99-based-standards] (SCNiLEAST16): Likewise.
42643         [C99-based-standards] (SCNoLEAST16): Likewise.
42644         [C99-based-standards] (SCNuLEAST16): Likewise.
42645         [C99-based-standards] (SCNxLEAST16): Likewise.
42646         [C99-based-standards] (PRIdFAST16): Likewise.
42647         [C99-based-standards] (PRIiFAST16): Likewise.
42648         [C99-based-standards] (PRIoFAST16): Likewise.
42649         [C99-based-standards] (PRIuFAST16): Likewise.
42650         [C99-based-standards] (PRIxFAST16): Likewise.
42651         [C99-based-standards] (PRIXFAST16): Likewise.
42652         [C99-based-standards] (SCNdFAST16): Likewise.
42653         [C99-based-standards] (SCNiFAST16): Likewise.
42654         [C99-based-standards] (SCNoFAST16): Likewise.
42655         [C99-based-standards] (SCNuFAST16): Likewise.
42656         [C99-based-standards] (SCNxFAST16): Likewise.
42657         [C99-based-standards] (PRId32): Likewise.
42658         [C99-based-standards] (PRIi32): Likewise.
42659         [C99-based-standards] (PRIo32): Likewise.
42660         [C99-based-standards] (PRIu32): Likewise.
42661         [C99-based-standards] (PRIx32): Likewise.
42662         [C99-based-standards] (PRIX32): Likewise.
42663         [C99-based-standards] (SCNd32): Likewise.
42664         [C99-based-standards] (SCNi32): Likewise.
42665         [C99-based-standards] (SCNo32): Likewise.
42666         [C99-based-standards] (SCNu32): Likewise.
42667         [C99-based-standards] (SCNx32): Likewise.
42668         [C99-based-standards] (PRIdLEAST32): Likewise.
42669         [C99-based-standards] (PRIiLEAST32): Likewise.
42670         [C99-based-standards] (PRIoLEAST32): Likewise.
42671         [C99-based-standards] (PRIuLEAST32): Likewise.
42672         [C99-based-standards] (PRIxLEAST32): Likewise.
42673         [C99-based-standards] (PRIXLEAST32): Likewise.
42674         [C99-based-standards] (SCNdLEAST32): Likewise.
42675         [C99-based-standards] (SCNiLEAST32): Likewise.
42676         [C99-based-standards] (SCNoLEAST32): Likewise.
42677         [C99-based-standards] (SCNuLEAST32): Likewise.
42678         [C99-based-standards] (SCNxLEAST32): Likewise.
42679         [C99-based-standards] (PRIdFAST32): Likewise.
42680         [C99-based-standards] (PRIiFAST32): Likewise.
42681         [C99-based-standards] (PRIoFAST32): Likewise.
42682         [C99-based-standards] (PRIuFAST32): Likewise.
42683         [C99-based-standards] (PRIxFAST32): Likewise.
42684         [C99-based-standards] (PRIXFAST32): Likewise.
42685         [C99-based-standards] (SCNdFAST32): Likewise.
42686         [C99-based-standards] (SCNiFAST32): Likewise.
42687         [C99-based-standards] (SCNoFAST32): Likewise.
42688         [C99-based-standards] (SCNuFAST32): Likewise.
42689         [C99-based-standards] (SCNxFAST32): Likewise.
42690         [C99-based-standards] (PRId64): Likewise.
42691         [C99-based-standards] (PRIi64): Likewise.
42692         [C99-based-standards] (PRIo64): Likewise.
42693         [C99-based-standards] (PRIu64): Likewise.
42694         [C99-based-standards] (PRIx64): Likewise.
42695         [C99-based-standards] (PRIX64): Likewise.
42696         [C99-based-standards] (SCNd64): Likewise.
42697         [C99-based-standards] (SCNi64): Likewise.
42698         [C99-based-standards] (SCNo64): Likewise.
42699         [C99-based-standards] (SCNu64): Likewise.
42700         [C99-based-standards] (SCNx64): Likewise.
42701         [C99-based-standards] (PRIdLEAST64): Likewise.
42702         [C99-based-standards] (PRIiLEAST64): Likewise.
42703         [C99-based-standards] (PRIoLEAST64): Likewise.
42704         [C99-based-standards] (PRIuLEAST64): Likewise.
42705         [C99-based-standards] (PRIxLEAST64): Likewise.
42706         [C99-based-standards] (PRIXLEAST64): Likewise.
42707         [C99-based-standards] (SCNdLEAST64): Likewise.
42708         [C99-based-standards] (SCNiLEAST64): Likewise.
42709         [C99-based-standards] (SCNoLEAST64): Likewise.
42710         [C99-based-standards] (SCNuLEAST64): Likewise.
42711         [C99-based-standards] (SCNxLEAST64): Likewise.
42712         [C99-based-standards] (PRIdFAST64): Likewise.
42713         [C99-based-standards] (PRIiFAST64): Likewise.
42714         [C99-based-standards] (PRIoFAST64): Likewise.
42715         [C99-based-standards] (PRIuFAST64): Likewise.
42716         [C99-based-standards] (PRIxFAST64): Likewise.
42717         [C99-based-standards] (PRIXFAST64): Likewise.
42718         [C99-based-standards] (SCNdFAST64): Likewise.
42719         [C99-based-standards] (SCNiFAST64): Likewise.
42720         [C99-based-standards] (SCNoFAST64): Likewise.
42721         [C99-based-standards] (SCNuFAST64): Likewise.
42722         [C99-based-standards] (SCNxFAST64): Likewise.
42723         [C99-based-standards] (PRIdMAX): Likewise.
42724         [C99-based-standards] (PRIiMAX): Likewise.
42725         [C99-based-standards] (PRIoMAX): Likewise.
42726         [C99-based-standards] (PRIuMAX): Likewise.
42727         [C99-based-standards] (PRIxMAX): Likewise.
42728         [C99-based-standards] (PRIXMAX): Likewise.
42729         [C99-based-standards] (SCNdMAX): Likewise.
42730         [C99-based-standards] (SCNiMAX): Likewise.
42731         [C99-based-standards] (SCNoMAX): Likewise.
42732         [C99-based-standards] (SCNuMAX): Likewise.
42733         [C99-based-standards] (SCNxMAX): Likewise.
42734         [C99-based-standards] (PRIdPTR): Likewise.
42735         [C99-based-standards] (PRIiPTR): Likewise.
42736         [C99-based-standards] (PRIoPTR): Likewise.
42737         [C99-based-standards] (PRIuPTR): Likewise.
42738         [C99-based-standards] (PRIxPTR): Likewise.
42739         [C99-based-standards] (PRIXPTR): Likewise.
42740         [C99-based-standards] (SCNdPTR): Likewise.
42741         [C99-based-standards] (SCNiPTR): Likewise.
42742         [C99-based-standards] (SCNoPTR): Likewise.
42743         [C99-based-standards] (SCNuPTR): Likewise.
42744         [C99-based-standards] (SCNxPTR): Likewise.
42745         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42746         allow.
42747         * conform/data/stdint.h-data: Update comments to clarify
42748         requirements.
42749         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42750         type.
42751         [C99-based standards] (INT8_MAX): Likewise.
42752         [C99-based standards] (INT16_MIN): Likewise.
42753         [C99-based standards] (INT16_MAX): Likewise.
42754         [C99-based standards] (INT32_MIN): Likewise.
42755         [C99-based standards] (INT32_MAX): Likewise.
42756         [C99-based standards] (INT64_MIN): Likewise.
42757         [C99-based standards] (INT64_MAX): Likewise.
42758         [C99-based standards] (UINT8_MAX): Likewise.
42759         [C99-based standards] (UINT16_MAX): Likewise.
42760         [C99-based standards] (UINT32_MAX): Likewise.
42761         [C99-based standards] (UINT64_MAX): Likewise.
42762         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42763         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42764         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42765         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42766         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42767         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42768         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42769         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42770         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42771         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42772         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42773         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42774         [C99-based standards] (INT_FAST8_MIN): Likewise.
42775         [C99-based standards] (INT_FAST8_MAX): Likewise.
42776         [C99-based standards] (INT_FAST16_MIN): Likewise.
42777         [C99-based standards] (INT_FAST16_MAX): Likewise.
42778         [C99-based standards] (INT_FAST32_MIN): Likewise.
42779         [C99-based standards] (INT_FAST32_MAX): Likewise.
42780         [C99-based standards] (INT_FAST64_MIN): Likewise.
42781         [C99-based standards] (INT_FAST64_MAX): Likewise.
42782         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42783         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42784         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42785         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42786         [C99-based standards] (INTPTR_MIN): Likewise.
42787         [C99-based standards] (INTPTR_MAX): Likewise.
42788         [C99-based standards] (UINTPTR_MAX): Likewise.
42789         [C99-based standards] (INTMAX_MIN): Likewise.
42790         [C99-based standards] (INTMAX_MAX): Likewise.
42791         [C99-based standards] (UINTMAX_MAX): Likewise.
42792         [C99-based standards] (PTRDIFF_MIN): Likewise.
42793         [C99-based standards] (PTRDIFF_MAX): Likewise.
42794         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42795         [C99-based standards] (SIZE_MAX): Likewise.
42796         [C99-based standards] (WCHAR_MAX): Likewise.
42797         [C99-based standards] (WINT_MAX): Likewise.
42798         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42799         constraint on value.
42800         [C99-based standards] (WCHAR_MIN): Likewise.
42801         [C99-based standards] (WINT_MIN): Likewise.
42802         [C99-based standards] (*_t): Allow.
42803         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42804         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42805         Include math.h-data and complex.h-data.  Remove all expectations
42806         of math.h and complex.h contents.
42807         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42808         at end of line.
42809         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42810         (struct tm): Expect tag.
42811         [C99-based-standards] (wcstof): Expect function.
42812         [C99-based-standards] (wcstold): Likewise.
42813         [C99-based-standards] (wcstoll): Likewise.
42814         [C99-based-standards] (wcstoull): Likewise.
42815         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42816         macro-int-constant.  Specify type.
42817         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42818         constraint on value.
42819         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42820         Specify type.
42821         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42822         Specify value.
42823         [ISO C standards]: Do not allow headers.
42824         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42825         wcs[abcdefghijklmnopqrstuvwxyz]*.
42826         [ISO C standards] (*_t): Do not allow.
42827         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42828         Expect function.
42829         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42830         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42831         Specify type.
42832         [ISO C standards]: Do not allow headers.
42833         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42834         is[abcdefghijklmnopqrstuvwxyz]*.
42835         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42836         to[abcdefghijklmnopqrstuvwxyz]*.
42837         [ISO C standards] (*_t): Do not allow.
42838         * conform/data/stdalign.h-data: New file.
42839         * conform/data/stdbool.h-data: Likewise.
42840         * conform/data/stdnoreturn.h-data: Likewise.
42842 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42844         [BZ #14815]
42845         * manual/filesys.texi (Directory Entries): Typo fix.
42846         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42848 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42850         * elf/elf.h (EM_AARCH64): New macro.
42851         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42852         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42853         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42854         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42855         (R_AARCH64_TLSDESC): Likewise.
42856         (NT_ARM_TLS): Likewise.
42857         (NT_ARM_HW_BREAK): Likewise.
42858         (NT_ARM_HW_WATCH): Likewise.
42860 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42862         [BZ #14811]
42863         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42864         (__ieee754_powl): Saturate nonzero exponents with absolute value
42865         below 0x1p-79 to +/- 0x1p-79.
42866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42867         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42868         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42869         nonzero exponents with absolute value below 0x1p-32 to +/-
42870         0x1p-32.
42871         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42872         (__ieee754_powl): Saturate nonzero exponents with absolute value
42873         below 0x1p-79 to +/- 0x1p-79.
42874         * math/libm-test.inc (pow_test): Add more tests.
42876 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42878         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42879         _dl_s390_cap_flags with kernel. Increase string length.
42880         (_dl_s390_platforms): Add z196 and zEC12.
42882 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42884         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42885         Change XOPEN21K to XOPEN2K.
42887 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42889         * string/memmove.c: Use memcpy when possible.
42891 2012-11-06  Andreas Jaeger  <aj@suse.de>
42893         * po/eo.po: Update from translation team.
42895 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42897         [BZ #14793]
42898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42899         exponent and small x and y exponents, scale x or y up.  Increase
42900         by 2 the exponent used in scaling up.
42901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42903         * math/libm-test.inc (fma_test): Add more tests.
42904         (fma_test_towardzero): Likewise.
42905         (fma_test_downward): Likewise.
42906         (fma_test_upward): Likewise.
42908 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42910         [BZ #14805]
42911         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42912         fenv_t *.
42914         [BZ #14801]
42915         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42916         namespace for names of struct fields.
42917         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42918         fenv_t fields.
42919         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42920         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42922 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42924         [BZ #3665]
42925         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42927 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42929         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42930         PTR_DEMANGLE.
42932         [BZ #5246]
42933         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42934         PTR_DEMANGLE.
42936 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42938         [BZ #14797]
42939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42940         definitely overflow as x * y not x * y + z.
42941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42943         * math/libm-test.inc (fma_test): Add more tests.
42944         (fma_test_towardzero): Likewise.
42945         (fma_test_downward): Likewise.
42946         (fma_test_upward): Likewise.
42948 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42950         [BZ #157]
42952         * include/stub-tag.h: Remove file.
42953         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42954         '#include' of it.
42955         * manual/maint.texi (Porting): Don't reference it.
42956         * Makerules ($(objpfx)stubs): Likewise.
42957         * dirent/closedir.c: Don't include <stub-tag.h>.
42958         * dirent/dirfd.c: Likewise.
42959         * dirent/fdopendir.c: Likewise.
42960         * dirent/getdents.c: Likewise.
42961         * dirent/getdents64.c: Likewise.
42962         * dirent/opendir.c: Likewise.
42963         * dirent/readdir.c: Likewise.
42964         * dirent/readdir64.c: Likewise.
42965         * dirent/readdir64_r.c: Likewise.
42966         * dirent/readdir_r.c: Likewise.
42967         * dirent/rewinddir.c: Likewise.
42968         * dirent/seekdir.c: Likewise.
42969         * dirent/telldir.c: Likewise.
42970         * gmon/profil.c: Likewise.
42971         * grp/setgroups.c: Likewise.
42972         * inet/if_index.c: Likewise.
42973         * io/access.c: Likewise.
42974         * io/chdir.c: Likewise.
42975         * io/chmod.c: Likewise.
42976         * io/chown.c: Likewise.
42977         * io/close.c: Likewise.
42978         * io/dup.c: Likewise.
42979         * io/dup2.c: Likewise.
42980         * io/dup3.c: Likewise.
42981         * io/euidaccess.c: Likewise.
42982         * io/faccessat.c: Likewise.
42983         * io/fchdir.c: Likewise.
42984         * io/fchmod.c: Likewise.
42985         * io/fchmodat.c: Likewise.
42986         * io/fchown.c: Likewise.
42987         * io/fchownat.c: Likewise.
42988         * io/fcntl.c: Likewise.
42989         * io/flock.c: Likewise.
42990         * io/fstatfs.c: Likewise.
42991         * io/fstatfs64.c: Likewise.
42992         * io/fstatvfs.c: Likewise.
42993         * io/fstatvfs64.c: Likewise.
42994         * io/futimens.c: Likewise.
42995         * io/fxstat.c: Likewise.
42996         * io/fxstat64.c: Likewise.
42997         * io/fxstatat.c: Likewise.
42998         * io/fxstatat64.c: Likewise.
42999         * io/getcwd.c: Likewise.
43000         * io/isatty.c: Likewise.
43001         * io/lchmod.c: Likewise.
43002         * io/lchown.c: Likewise.
43003         * io/link.c: Likewise.
43004         * io/linkat.c: Likewise.
43005         * io/lseek.c: Likewise.
43006         * io/lseek64.c: Likewise.
43007         * io/lxstat64.c: Likewise.
43008         * io/mkdir.c: Likewise.
43009         * io/mkdirat.c: Likewise.
43010         * io/mkfifo.c: Likewise.
43011         * io/mkfifoat.c: Likewise.
43012         * io/open.c: Likewise.
43013         * io/open64.c: Likewise.
43014         * io/openat.c: Likewise.
43015         * io/openat64.c: Likewise.
43016         * io/pipe.c: Likewise.
43017         * io/pipe2.c: Likewise.
43018         * io/poll.c: Likewise.
43019         * io/posix_fadvise.c: Likewise.
43020         * io/posix_fadvise64.c: Likewise.
43021         * io/posix_fallocate.c: Likewise.
43022         * io/posix_fallocate64.c: Likewise.
43023         * io/read.c: Likewise.
43024         * io/readlink.c: Likewise.
43025         * io/readlinkat.c: Likewise.
43026         * io/rmdir.c: Likewise.
43027         * io/sendfile.c: Likewise.
43028         * io/sendfile64.c: Likewise.
43029         * io/statfs.c: Likewise.
43030         * io/statfs64.c: Likewise.
43031         * io/statvfs.c: Likewise.
43032         * io/statvfs64.c: Likewise.
43033         * io/symlink.c: Likewise.
43034         * io/symlinkat.c: Likewise.
43035         * io/ttyname.c: Likewise.
43036         * io/ttyname_r.c: Likewise.
43037         * io/umask.c: Likewise.
43038         * io/unlink.c: Likewise.
43039         * io/unlinkat.c: Likewise.
43040         * io/utime.c: Likewise.
43041         * io/utimensat.c: Likewise.
43042         * io/write.c: Likewise.
43043         * io/xmknod.c: Likewise.
43044         * io/xmknodat.c: Likewise.
43045         * io/xstat.c: Likewise.
43046         * io/xstat64.c: Likewise.
43047         * login/getpt.c: Likewise.
43048         * login/grantpt.c: Likewise.
43049         * login/unlockpt.c: Likewise.
43050         * math/e_acoshl.c: Likewise.
43051         * math/e_acosl.c: Likewise.
43052         * math/e_asinl.c: Likewise.
43053         * math/e_atan2l.c: Likewise.
43054         * math/e_atanhl.c: Likewise.
43055         * math/e_coshl.c: Likewise.
43056         * math/e_expl.c: Likewise.
43057         * math/e_fmodl.c: Likewise.
43058         * math/e_gammal_r.c: Likewise.
43059         * math/e_hypotl.c: Likewise.
43060         * math/e_j0l.c: Likewise.
43061         * math/e_j1l.c: Likewise.
43062         * math/e_jnl.c: Likewise.
43063         * math/e_lgammal_r.c: Likewise.
43064         * math/e_log10l.c: Likewise.
43065         * math/e_log2l.c: Likewise.
43066         * math/e_logl.c: Likewise.
43067         * math/e_powl.c: Likewise.
43068         * math/e_rem_pio2l.c: Likewise.
43069         * math/e_sinhl.c: Likewise.
43070         * math/e_sqrtl.c: Likewise.
43071         * math/fclrexcpt.c: Likewise.
43072         * math/fedisblxcpt.c: Likewise.
43073         * math/feenablxcpt.c: Likewise.
43074         * math/fegetenv.c: Likewise.
43075         * math/fegetexcept.c: Likewise.
43076         * math/fegetround.c: Likewise.
43077         * math/feholdexcpt.c: Likewise.
43078         * math/fesetenv.c: Likewise.
43079         * math/fesetround.c: Likewise.
43080         * math/feupdateenv.c: Likewise.
43081         * math/fgetexcptflg.c: Likewise.
43082         * math/fraiseexcpt.c: Likewise.
43083         * math/fsetexcptflg.c: Likewise.
43084         * math/ftestexcept.c: Likewise.
43085         * math/k_cosl.c: Likewise.
43086         * math/k_rem_pio2l.c: Likewise.
43087         * math/k_sinl.c: Likewise.
43088         * math/k_tanl.c: Likewise.
43089         * math/s_asinhl.c: Likewise.
43090         * math/s_atanl.c: Likewise.
43091         * math/s_cbrtl.c: Likewise.
43092         * math/s_erfl.c: Likewise.
43093         * math/s_expm1l.c: Likewise.
43094         * math/s_log1pl.c: Likewise.
43095         * math/s_tanhl.c: Likewise.
43096         * misc/acct.c: Likewise.
43097         * misc/brk.c: Likewise.
43098         * misc/chflags.c: Likewise.
43099         * misc/chroot.c: Likewise.
43100         * misc/fchflags.c: Likewise.
43101         * misc/fgetxattr.c: Likewise.
43102         * misc/flistxattr.c: Likewise.
43103         * misc/fremovexattr.c: Likewise.
43104         * misc/fsetxattr.c: Likewise.
43105         * misc/fsync.c: Likewise.
43106         * misc/ftruncate.c: Likewise.
43107         * misc/futimes.c: Likewise.
43108         * misc/futimesat.c: Likewise.
43109         * misc/getdomain.c: Likewise.
43110         * misc/getdtsz.c: Likewise.
43111         * misc/gethostid.c: Likewise.
43112         * misc/gethostname.c: Likewise.
43113         * misc/getloadavg.c: Likewise.
43114         * misc/getpagesize.c: Likewise.
43115         * misc/getsysstats.c: Likewise.
43116         * misc/getxattr.c: Likewise.
43117         * misc/gtty.c: Likewise.
43118         * misc/ioctl.c: Likewise.
43119         * misc/lgetxattr.c: Likewise.
43120         * misc/listxattr.c: Likewise.
43121         * misc/llistxattr.c: Likewise.
43122         * misc/lremovexattr.c: Likewise.
43123         * misc/lsetxattr.c: Likewise.
43124         * misc/lutimes.c: Likewise.
43125         * misc/madvise.c: Likewise.
43126         * misc/mincore.c: Likewise.
43127         * misc/mlock.c: Likewise.
43128         * misc/mlockall.c: Likewise.
43129         * misc/mmap.c: Likewise.
43130         * misc/mprotect.c: Likewise.
43131         * misc/msync.c: Likewise.
43132         * misc/munlock.c: Likewise.
43133         * misc/munlockall.c: Likewise.
43134         * misc/munmap.c: Likewise.
43135         * misc/preadv.c: Likewise.
43136         * misc/preadv64.c: Likewise.
43137         * misc/ptrace.c: Likewise.
43138         * misc/pwritev.c: Likewise.
43139         * misc/pwritev64.c: Likewise.
43140         * misc/readv.c: Likewise.
43141         * misc/reboot.c: Likewise.
43142         * misc/remap_file_pages.c: Likewise.
43143         * misc/removexattr.c: Likewise.
43144         * misc/revoke.c: Likewise.
43145         * misc/select.c: Likewise.
43146         * misc/setdomain.c: Likewise.
43147         * misc/setegid.c: Likewise.
43148         * misc/seteuid.c: Likewise.
43149         * misc/sethostid.c: Likewise.
43150         * misc/sethostname.c: Likewise.
43151         * misc/setregid.c: Likewise.
43152         * misc/setreuid.c: Likewise.
43153         * misc/setxattr.c: Likewise.
43154         * misc/sstk.c: Likewise.
43155         * misc/stty.c: Likewise.
43156         * misc/swapoff.c: Likewise.
43157         * misc/swapon.c: Likewise.
43158         * misc/sync.c: Likewise.
43159         * misc/syncfs.c: Likewise.
43160         * misc/syscall.c: Likewise.
43161         * misc/truncate.c: Likewise.
43162         * misc/ualarm.c: Likewise.
43163         * misc/usleep.c: Likewise.
43164         * misc/ustat.c: Likewise.
43165         * misc/utimes.c: Likewise.
43166         * misc/vhangup.c: Likewise.
43167         * misc/writev.c: Likewise.
43168         * posix/_exit.c: Likewise.
43169         * posix/alarm.c: Likewise.
43170         * posix/execve.c: Likewise.
43171         * posix/fexecve.c: Likewise.
43172         * posix/fork.c: Likewise.
43173         * posix/fpathconf.c: Likewise.
43174         * posix/getaddrinfo.c: Likewise.
43175         * posix/getegid.c: Likewise.
43176         * posix/geteuid.c: Likewise.
43177         * posix/getgid.c: Likewise.
43178         * posix/getgroups.c: Likewise.
43179         * posix/getlogin.c: Likewise.
43180         * posix/getlogin_r.c: Likewise.
43181         * posix/getpgid.c: Likewise.
43182         * posix/getpid.c: Likewise.
43183         * posix/getppid.c: Likewise.
43184         * posix/getresgid.c: Likewise.
43185         * posix/getresuid.c: Likewise.
43186         * posix/getsid.c: Likewise.
43187         * posix/getuid.c: Likewise.
43188         * posix/glob64.c: Likewise.
43189         * posix/nanosleep.c: Likewise.
43190         * posix/pathconf.c: Likewise.
43191         * posix/pause.c: Likewise.
43192         * posix/posix_madvise.c: Likewise.
43193         * posix/pread.c: Likewise.
43194         * posix/pread64.c: Likewise.
43195         * posix/pwrite.c: Likewise.
43196         * posix/pwrite64.c: Likewise.
43197         * posix/sched_getaffinity.c: Likewise.
43198         * posix/sched_getp.c: Likewise.
43199         * posix/sched_gets.c: Likewise.
43200         * posix/sched_primax.c: Likewise.
43201         * posix/sched_primin.c: Likewise.
43202         * posix/sched_rr_gi.c: Likewise.
43203         * posix/sched_setaffinity.c: Likewise.
43204         * posix/sched_setp.c: Likewise.
43205         * posix/sched_sets.c: Likewise.
43206         * posix/sched_yield.c: Likewise.
43207         * posix/setgid.c: Likewise.
43208         * posix/setlogin.c: Likewise.
43209         * posix/setpgid.c: Likewise.
43210         * posix/setresgid.c: Likewise.
43211         * posix/setresuid.c: Likewise.
43212         * posix/setsid.c: Likewise.
43213         * posix/setuid.c: Likewise.
43214         * posix/sleep.c: Likewise.
43215         * posix/spawni.c: Likewise.
43216         * posix/sysconf.c: Likewise.
43217         * posix/times.c: Likewise.
43218         * posix/wait.c: Likewise.
43219         * posix/wait3.c: Likewise.
43220         * posix/wait4.c: Likewise.
43221         * posix/waitpid.c: Likewise.
43222         * resolv/gai_sigqueue.c: Likewise.
43223         * resource/getpriority.c: Likewise.
43224         * resource/getrlimit.c: Likewise.
43225         * resource/getrusage.c: Likewise.
43226         * resource/nice.c: Likewise.
43227         * resource/setpriority.c: Likewise.
43228         * resource/setrlimit.c: Likewise.
43229         * resource/ulimit.c: Likewise.
43230         * rt/aio_cancel.c: Likewise.
43231         * rt/aio_fsync.c: Likewise.
43232         * rt/aio_read.c: Likewise.
43233         * rt/aio_sigqueue.c: Likewise.
43234         * rt/aio_suspend.c: Likewise.
43235         * rt/aio_write.c: Likewise.
43236         * rt/clock_getres.c: Likewise.
43237         * rt/clock_gettime.c: Likewise.
43238         * rt/clock_nanosleep.c: Likewise.
43239         * rt/clock_settime.c: Likewise.
43240         * rt/lio_listio.c: Likewise.
43241         * rt/mq_close.c: Likewise.
43242         * rt/mq_getattr.c: Likewise.
43243         * rt/mq_notify.c: Likewise.
43244         * rt/mq_open.c: Likewise.
43245         * rt/mq_receive.c: Likewise.
43246         * rt/mq_send.c: Likewise.
43247         * rt/mq_setattr.c: Likewise.
43248         * rt/mq_timedreceive.c: Likewise.
43249         * rt/mq_timedsend.c: Likewise.
43250         * rt/mq_unlink.c: Likewise.
43251         * rt/shm_open.c: Likewise.
43252         * rt/shm_unlink.c: Likewise.
43253         * rt/timer_create.c: Likewise.
43254         * rt/timer_delete.c: Likewise.
43255         * rt/timer_getoverr.c: Likewise.
43256         * rt/timer_gettime.c: Likewise.
43257         * rt/timer_settime.c: Likewise.
43258         * setjmp/__longjmp.c: Likewise.
43259         * setjmp/setjmp.c: Likewise.
43260         * signal/kill.c: Likewise.
43261         * signal/killpg.c: Likewise.
43262         * signal/raise.c: Likewise.
43263         * signal/sigaction.c: Likewise.
43264         * signal/sigaltstack.c: Likewise.
43265         * signal/sigblock.c: Likewise.
43266         * signal/sigignore.c: Likewise.
43267         * signal/sigintr.c: Likewise.
43268         * signal/signal.c: Likewise.
43269         * signal/sigpause.c: Likewise.
43270         * signal/sigpending.c: Likewise.
43271         * signal/sigqueue.c: Likewise.
43272         * signal/sigreturn.c: Likewise.
43273         * signal/sigset.c: Likewise.
43274         * signal/sigsetmask.c: Likewise.
43275         * signal/sigstack.c: Likewise.
43276         * signal/sigsuspend.c: Likewise.
43277         * signal/sigtimedwait.c: Likewise.
43278         * signal/sigvec.c: Likewise.
43279         * signal/sigwait.c: Likewise.
43280         * signal/sigwaitinfo.c: Likewise.
43281         * signal/sysv_signal.c: Likewise.
43282         * socket/accept.c: Likewise.
43283         * socket/accept4.c: Likewise.
43284         * socket/bind.c: Likewise.
43285         * socket/connect.c: Likewise.
43286         * socket/getpeername.c: Likewise.
43287         * socket/getsockname.c: Likewise.
43288         * socket/getsockopt.c: Likewise.
43289         * socket/isfdtype.c: Likewise.
43290         * socket/listen.c: Likewise.
43291         * socket/recv.c: Likewise.
43292         * socket/recvfrom.c: Likewise.
43293         * socket/recvmsg.c: Likewise.
43294         * socket/send.c: Likewise.
43295         * socket/sendmsg.c: Likewise.
43296         * socket/sendto.c: Likewise.
43297         * socket/setsockopt.c: Likewise.
43298         * socket/shutdown.c: Likewise.
43299         * socket/sockatmark.c: Likewise.
43300         * socket/socket.c: Likewise.
43301         * socket/socketpair.c: Likewise.
43302         * stdio-common/ctermid.c: Likewise.
43303         * stdio-common/cuserid.c: Likewise.
43304         * stdio-common/remove.c: Likewise.
43305         * stdio-common/rename.c: Likewise.
43306         * stdio-common/renameat.c: Likewise.
43307         * stdio-common/tempname.c: Likewise.
43308         * stdlib/getcontext.c: Likewise.
43309         * stdlib/makecontext.c: Likewise.
43310         * stdlib/setcontext.c: Likewise.
43311         * stdlib/swapcontext.c: Likewise.
43312         * stdlib/system.c: Likewise.
43313         * streams/fattach.c: Likewise.
43314         * streams/fdetach.c: Likewise.
43315         * streams/getmsg.c: Likewise.
43316         * streams/getpmsg.c: Likewise.
43317         * streams/putmsg.c: Likewise.
43318         * streams/putpmsg.c: Likewise.
43319         * sysdeps/unix/bsd/getpt.c: Likewise.
43320         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43321         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43322         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43324         Likewise.
43325         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43326         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43327         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43328         * sysvipc/msgctl.c: Likewise.
43329         * sysvipc/msgget.c: Likewise.
43330         * sysvipc/msgrcv.c: Likewise.
43331         * sysvipc/msgsnd.c: Likewise.
43332         * sysvipc/semctl.c: Likewise.
43333         * sysvipc/semget.c: Likewise.
43334         * sysvipc/semop.c: Likewise.
43335         * sysvipc/semtimedop.c: Likewise.
43336         * sysvipc/shmat.c: Likewise.
43337         * sysvipc/shmctl.c: Likewise.
43338         * sysvipc/shmdt.c: Likewise.
43339         * sysvipc/shmget.c: Likewise.
43340         * termios/tcdrain.c: Likewise.
43341         * termios/tcflow.c: Likewise.
43342         * termios/tcflush.c: Likewise.
43343         * termios/tcgetattr.c: Likewise.
43344         * termios/tcgetpgrp.c: Likewise.
43345         * termios/tcsendbrk.c: Likewise.
43346         * termios/tcsetattr.c: Likewise.
43347         * termios/tcsetpgrp.c: Likewise.
43348         * time/adjtime.c: Likewise.
43349         * time/clock.c: Likewise.
43350         * time/getitimer.c: Likewise.
43351         * time/gettimeofday.c: Likewise.
43352         * time/setitimer.c: Likewise.
43353         * time/settimeofday.c: Likewise.
43354         * time/stime.c: Likewise.
43355         * time/time.c: Likewise.
43357 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43359         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43360         /usr/old/bin.
43362         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43363         instead of spaces.
43364         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43366 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43368         [BZ #14796]
43369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43370         FE_TONEAREST before applying Dekker multiplication and Knuth
43371         addition.  Clear inexact exceptions and check for exact zero
43372         results afterwards.
43373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43374         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43376         * math/libm-test.inc (fma_test): Add more tests.
43377         (fma_test_towardzero): Likewise.
43378         (fma_test_downward): Likewise.
43379         (fma_test_upward): Likewise.
43380         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43381         function.
43382         (libc_fesetround): New macro.
43383         (libc_fesetroundf): Likewise.
43384         (libc_fesetroundl): Likewise.
43385         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43386         function.
43387         (libc_fesetround_387): Likewise.
43388         (libc_fesetroundf): New macro.
43389         (libc_fesetround): Likewise.
43390         (libc_fesetroundl): Likewise.
43391         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43392         function.
43393         (libc_fesetroundf): New macro.
43394         (libc_fesetround): Likewise.
43395         (libc_fesetroundl): Likewise.
43396         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43397         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43398         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43399         libm_hidden_ver.
43400         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43401         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43402         libm_hidden_def.
43403         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43404         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43405         libm_hidden_ver.
43406         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43407         libm_hidden_def.
43409         [BZ #3439]
43410         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43411         integer constant usable in #if and use that to give value to enum
43412         constant.
43413         (FE_DIVBYZERO): Likewise.
43414         (FE_UNDERFLOW): Likewise.
43415         (FE_OVERFLOW): Likewise.
43416         (FE_INVALID): Likewise.
43417         (FE_INVALID_SNAN): Likewise.
43418         (FE_INVALID_ISI): Likewise.
43419         (FE_INVALID_IDI): Likewise.
43420         (FE_INVALID_ZDZ): Likewise.
43421         (FE_INVALID_IMZ): Likewise.
43422         (FE_INVALID_COMPARE): Likewise.
43423         (FE_INVALID_SOFTWARE): Likewise.
43424         (FE_INVALID_SQRT): Likewise.
43425         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43426         (FE_TONEAREST): Likewise.
43427         (FE_TOWARDZERO): Likewise.
43428         (FE_UPWARD): Likewise.
43429         (FE_DOWNWARD): Likewise.
43430         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43431         (FE_DIVBYZERO): Likewise.
43432         (FE_OVERFLOW): Likewise.
43433         (FE_UNDERFLOW): Likewise.
43434         (FE_INEXACT): Likewise.
43435         (FE_TONEAREST): Likewise.
43436         (FE_DOWNWARD): Likewise.
43437         (FE_UPWARD): Likewise.
43438         (FE_TOWARDZERO): Likewise.
43439         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43440         (FE_UNDERFLOW): Likewise.
43441         (FE_OVERFLOW): Likewise.
43442         (FE_DIVBYZERO): Likewise.
43443         (FE_INVALID): Likewise.
43444         (FE_TONEAREST): Likewise.
43445         (FE_TOWARDZERO): Likewise.
43446         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43447         (FE_OVERFLOW): Likewise.
43448         (FE_UNDERFLOW): Likewise.
43449         (FE_DIVBYZERO): Likewise.
43450         (FE_INEXACT): Likewise.
43451         (FE_TONEAREST): Likewise.
43452         (FE_TOWARDZERO): Likewise.
43453         (FE_UPWARD): Likewise.
43454         (FE_DOWNWARD): Likewise.
43455         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43456         (FE_DIVBYZERO): Likewise.
43457         (FE_OVERFLOW): Likewise.
43458         (FE_UNDERFLOW): Likewise.
43459         (FE_INEXACT): Likewise.
43460         (FE_TONEAREST): Likewise.
43461         (FE_DOWNWARD): Likewise.
43462         (FE_UPWARD): Likewise.
43463         (FE_TOWARDZERO): Likewise.
43465 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43467         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43469 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43471         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43472         commands.  Quote $PWD.
43473         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43474         -x" by "export".
43475         (remove_newlines): Remove.
43477 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43479         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43480         * stdlib/stdlib.h (atof): Moved to ...
43481         * include/bits/stdlib-float.h: Here.  New file.
43482         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43483         * stdlib/bits/stdlib-float.h: New file.
43484         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43485         -mno-sse -mno-mmx.
43486         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43487         <xmmintrin.h>.
43489 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43491         * conform/conformtest.pl (@headers): Add fenv.h.
43492         * conform/data/fenv.h-data: New file.
43493         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43494         include of <math/fenv.h>.
43496         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43497         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43498         && !UNIX98].  Enables tests for XOPEN2K8.
43499         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43500         POSIX2008]: Likewise.
43502         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43503         (struct rusage): Do not expect type or its members.
43505         [BZ #3439]
43506         * math/math.h (FP_NAN): Define macro to integer constant usable in
43507         #if and use that to give value to enum constant.
43508         (FP_INFINITE): Likewise.
43509         (FP_ZERO): Likewise.
43510         (FP_SUBNORMAL): Likewise.
43511         (FP_NORMAL): Likewise.
43513 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43515         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43516         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43517         arguments.
43519 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43521         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43522         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43523         autoconf-time if not.
43524         * configure.in: Remove AC_PREREQ.
43526 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43528         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43529         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43530         of the internal implementation.
43532 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43534         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43535         except include of <misc/sys/syslog.h>.
43537 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43540         function returns with a NULL context exit with zero.
43542 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43544         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43546 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43548         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43549         (run_program_cmd): This.
43550         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43551         (tst_langinfo): New variable.  Use it.
43553 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43555         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43556         floating point opcodes.
43558 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43560         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43561         variable.
43563         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43565         * sysdeps/mach/hurd/powerpc: Remove directory.
43566         * sysdeps/mach/powerpc: Likewise.
43568 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43570         * scripts/check-local-headers.sh: Ignore c++ headers.
43572 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43574         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43575         __libc_cleanup_region_start argument.
43577 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43579         [BZ #14784]
43580         [BZ #14785]
43581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43582         x * y using scaling, not as x * y + z.
43583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43585         * math/libm-test.inc (fma_test): Add more tests.
43586         (fma_test_towardzero): Likewise.
43587         (fma_test_downward): Likewise.
43588         (fma_test_upward): Likewise.
43590 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43592         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43594 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43596         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43597         New variable.
43599 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43601         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43603 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43606         Fix sort order.
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43608         Likewise.
43610 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43613         Fix the order of the list for glibc 2.17.
43614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43615         Likewise.
43617 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43621 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43623         [BZ #14610]
43624         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43625         for low part of x being zero before using __atanl (y).
43626         * math/libm-test.inc (atan2_test): Add another test.
43628         * manual/install.texi (Configuring and compiling): Document
43629         general use of test-wrapper and test-wrapper-env.
43630         * INSTALL: Regenerated.
43632         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43633         (__fma): Do not extract and scale down low bits on after-rounding
43634         systems when result rounded to normal precision would have normal
43635         exponent.
43636         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43637         (__fmal): Do not extract and scale down low bits on after-rounding
43638         systems when result rounded to normal precision would have normal
43639         exponent.
43640         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43641         (__fmal): Do not extract and scale down low bits on after-rounding
43642         systems when result rounded to normal precision would have normal
43643         exponent.
43644         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43645         macro.
43646         (fma_test): Add more tests.
43647         (fma_test_towardzero): Likewise.
43648         (fma_test_downward): Likewise.
43649         (fma_test_upward): Likewise.
43651 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43653         * sysdeps/i386/tininess.h: Renamed to ...
43654         * sysdeps/x86/tininess.h: This.
43655         * sysdeps/x86_64/tininess.h: Removed.
43657 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43659         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43660         input.  Use $(build-program-cmd).
43661         ($(objpfx)tst-array1-static.out): Likewise.
43662         ($(objpfx)tst-array2.out): Likewise.
43663         ($(objpfx)tst-array3.out): Likewise.
43664         ($(objpfx)tst-array4.out): Likewise.
43665         ($(objpfx)tst-array5.out): Likewise.
43666         ($(objpfx)tst-array5-static.out): Likewise.
43668 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43670         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43671         if defined.
43673         * nss/nsswitch.h (nss_interface_function): Provide new
43674         macro for use with NSS functions.
43675         * grp/initgroups.c: Use new macro.
43676         * nss/getXXbyYY.c: Likewise.
43677         * nss/getXXbyYY_r.c: Likewise.
43678         * nss/getXXent.c: Likewise.
43679         * nss/getXXent_r.c: Likewise.
43680         * sysdeps/posix/getaddrinfo.c: Likewise.
43682 2012-10-30  Andreas Jaeger  <aj@suse.de>
43684         * po/ru.po: Update Russion translation from translation project.
43686 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43688         [BZ #14152]
43689         [BZ #14783]
43690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43691         result and shift together with sticky bit instead of replicating
43692         round-to-nearest rounding.
43693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43695         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43696         missing underflow exceptions.
43697         (fma_test_towardzero): Add more tests.
43698         (fma_test_downward): Likewise.
43699         (fma_test_upward): Likewise.
43701         [BZ #14047]
43702         * sysdeps/generic/tininess.h: New file.
43703         * sysdeps/i386/tininess.h: Likewise.
43704         * sysdeps/sh/tininess.h: Likewise.
43705         * sysdeps/x86_64/tininess.h: Likewise.
43706         * stdlib/tst-strtod-underflow.c: Likewise.
43707         * stdlib/tst-tininess.c: Likewise.
43708         * stdlib/strtod_l.c: Include <tininess.h>.
43709         (round_and_return): Do not set errno for exact underflow cases.
43710         Force an underflow exception when setting errno for underflow.
43711         Determine underflow based on rounding to normal precision if
43712         TININESS_AFTER_ROUNDING.
43713         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43714         ERANGE for exact underflow cases.
43715         * stdlib/Makefile (tests): Add tst-tininess and
43716         tst-strtod-underflow.
43717         ($(objpfx)tst-tininess): Use $(link-libm).
43718         ($(objpfx)tst-strtod-underflow): Likewise.
43720 2012-10-30  Andreas Jaeger  <aj@suse.de>
43722         [BZ#14767]
43723         * elf/Makefile (tests): Remove conditional for have-initfini-array
43724         since this is now always required and the variable does not exist
43725         anymore.
43726         (tests-static): Likewise.
43727         (modules-names): Likewise.
43729         * po/eo.po: Add Esperanto translation from translation project.
43731         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43732         merged with constructor/destructor.
43733         (init_array): Likewise.
43734         * elf/tst-array2dep.c (fini_array): Likewise.
43735         (init_array): Likewise.
43737 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43739         * manual/message.texi: Delete @cartouche tags.
43741 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43743         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43744         EOPNOTSUPP.
43745         * sysdeps/mach/hurd/fsync.c: Likewise.
43747         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43748         [_POSIX_REALTIME_SIGNALS]: Change condition to
43749         [_POSIX_REALTIME_SIGNALS > 0].
43751 2012-10-27  Andreas Jaeger  <aj@suse.de>
43753         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43754         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43756         [__WORDSIZE != 64]: Likewise.
43758 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43760         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43761         *  iconvdata/tst-tables.sh: Likewise.
43763 2012-10-25  David S. Miller  <davem@davemloft.net>
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43766         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43767         of strtoull.
43769         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43770         ifunc-impl-list.c
43771         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43772         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43773         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43774         file.
43776 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43778         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43779         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43780         __getdirentries.
43782 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43783             Jim Blandy  <jimb@codesourcery.com>
43785         * scripts/cross-test-ssh.sh: New file.
43786         * manual/install.texi (Configuring and compiling): Document use of
43787         cross-test-ssh.sh.
43788         * INSTALL: Regenerated.
43790 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43792         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43793         EOPNOTSUPP.
43795 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43797         * Makeconfig (run-program-prefix): Fix comment.
43799 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43800             Jim Blandy  <jimb@codesourcery.com>
43802         * Makeconfig (test-wrapper): New variable,
43803         (test-wrapper-env): Likewise.
43804         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43805         (run-built-tests): Define to yes.
43806         (run-program-prefix): Use $(test-wrapper).
43807         (built-program-cmd): Likewise.
43808         * Rules (make-test-out): Use $(test-wrapper-env) and
43809         $(host-built-program-cmd).
43810         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43811         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43812         tst-pathopt.sh.
43813         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43814         $(test-wrapper-env) to tst-rtld-load-self.sh.
43815         ($(objpfx)order2.out): Use $(test-wrapper).
43816         ($(objpfx)tst-initorder.out): Likewise.
43817         ($(objpfx)tst-initorder2.out): Likewise.
43818         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43819         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43820         (test_wrapper_env): New variable.  Use it to run ld.so.
43821         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43822         Use it to run ld.so.
43823         (test_wrapper_env): Likewise.
43824         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43825         $(test-wrapper) to run-iconv-test.sh.
43826         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43827         (ICONV): Use $test_wrapper.
43828         * posix/Makefile ($(objpfx)globtest.out): Pass
43829         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43830         globtest.sh, not $(run-program-prefix).
43831         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43832         (test_wrapper): Likewise.
43833         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43834         set together with run_via_rtld_prefix.
43835         (run_program_prefix): Define in terms of test_wrapper and
43836         run_via_rtld_prefix.
43838 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43840         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43841         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43842         Targets removed.
43844         [BZ #14743]
43845         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43846         Declare __clock_getres, __clock_gettime, __clock_settime,
43847         __clock_nanosleep, and __clock_getcpuclockid.
43848         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43849         Remove librt_hidden_def (clock_gettime).
43850         * sysdeps/unix/clock_gettime.c: Likewise.
43851         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43853         * rt/clock_getres.c: Define __clock_getres as an alias.
43854         * sysdeps/posix/clock_getres.c: Likewise.
43855         * rt/clock_settime.c: Define __clock_settime as an alias.
43856         * sysdeps/unix/clock_settime.c: Likewise.
43857         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43858         * sysdeps/unix/clock_nanosleep.c: Likewise.
43859         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43860         * rt/clock-compat.c: New file.
43861         * rt/Makefile (librt-routines): Add clock-compat and move
43862         $(clock-routines) to ...
43863         (routines): ... here, new variable.
43864         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43865         Don't add get_clockfreq here.
43866         * rt/Versions (libc: GLIBC_2.17): New version set.
43867         Add clock_* symbols here.
43868         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43869         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43870         (GLIBC_2.17): Add clock_* symbols.
43871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43873         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43875         Likewise.
43876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43877         Likewise.
43878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43882         * NEWS: Mention the move.
43884         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43885         Use __open, __read, __close rather than their public counterparts.
43886         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43887         (__get_clockfreq_via_cpuinfo): Likewise.
43888         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43889         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43891         * config.h.in (HAVE_IFUNC): New #undef.
43892         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43893         was successful.
43894         * configure: Regenerated.
43896 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43898         * configure.in: Move READELF check to start of file.
43899         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43900         libc_cv_asm_gnu_indirect_function in the process.
43901         * configure: Regenerated.
43903 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43905         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43906         send the output to /dev/null.
43907         (libc_cv_cc_with_libunwind): Likewise.
43908         (libc_cv_as_noexecstack): Likewise.
43909         * configure: Regenerate.
43911 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43913         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43915         * posix/globtest.sh (TMPDIR): Do not set.
43916         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43917         (testout): Likewise.
43919 2012-10-24  Andreas Jaeger  <aj@suse.de>
43921         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43922         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43923         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43924         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43925         posix_fadvise64, posix_fallocate64.
43927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43928         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43929         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43930         Likewise.
43931         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43932         Likewise.
43933         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43936         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43937         <bits/fcntl-linux.h>.
43938         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43941         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43942         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43943         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43944         [__WORDSIZE != 64]: Likewise.
43946 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43948         * Makeconfig (run-built-tests): New variable.
43949         * Rules [$(cross-compiling) = yes]: Change condition to
43950         [$(run-built-tests) = no].
43951         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43952         to [$(run-built-tests) = yes].
43953         * elf/Makefile [$(cross-compiling) = no]: Likewise
43954         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43955         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43956         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43957         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43958         * io/Makefile [$(cross-compiling) = no]: Likewise.
43959         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43960         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43961         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43962         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43963         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43964         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43965         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43966         * string/Makefile [$(cross-compiling) = no]: Likewise.
43968         * posix/Makefile ($(objpfx)globtest.out): Pass
43969         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43970         $(rtld-installed-name).
43971         * posix/globtest.sh (elf_objpfx): Remove variable.
43972         (rtld_installed_name): Likewise.
43973         (library_path): Likewise.
43974         (run_program_prefix): New variable.  Use for running globtest
43975         binary.
43977 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43978             Joseph Myers  <joseph@codesourcery.com>
43980         * Makeconfig (host-built-program-cmd): New variable.
43981         * elf/Makefile (tst-stackguard1-ARGS): Use
43982         $(host-built-program-cmd).
43983         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43984         (tst-spawn-ARGS): Likewise.
43985         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43987 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43988             Jim Blandy  <jimb@codesourcery.com>
43990         * Makeconfig (run-via-rtld-prefix): New variable.
43991         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43992         (built-program-cmd): Likewise.
43994 2012-10-22  Andreas Jaeger  <aj@suse.de>
43996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43997         __O_RSYNC if it exists, otherwise to O_SYNC.
43999 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
44000             Joseph Myers  <joseph@codesourcery.com>
44002         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44003         /dev/null.
44004         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44005         from /dev/null
44006         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44007         /dev/null.
44009 2012-10-22  Andreas Jaeger  <aj@suse.de>
44011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44012         Define always.
44013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44016         bits/fcntl-linux.h.
44018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44019         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44022         to __O_LARGEFILE.
44023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44024         to __O_LARGEFILE.
44026 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
44027             Joseph Myers  <joseph@codesourcery.com>
44029         * config.make.in (NM): New variable.
44031 2012-10-21  Andreas Jaeger  <aj@suse.de>
44033         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44034         definitions and declarations that are provided by
44035         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44037 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44039         [BZ #14683]
44040         * elf/Makefile (tests-static): Add tst-leaks1-static.
44041         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44042         ($(objpfx)tst-leaks1-static): New rule.
44043         ($(objpfx)tst-leaks1-static-mem): Likewise.
44044         (tst-leaks1-static-ENV): New macro.
44045         * elf/dl-open.c (dl_open_worker): Check the main application
44046         only if SHARED is defined.
44047         * elf/tst-leaks1-static.c: New file.
44049 2012-10-20  Andreas Jaeger  <aj@suse.de>
44051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44052         generic values for Linux.
44053         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44054         and declarations that are provided by <bits/fcntl-linux.h> and
44055         include <bits/fcntl-linux.h>.
44056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44059 2012-10-20  Roland McGrath  <roland@hack.frob.com>
44061         * io/fcntl.h: Move include of <bits/types.h> to the top and
44062         include it unconditionally.
44064 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44066         * wcsmbs/Makefile (tests-ifunc): New variable.
44067         (tests): Add $(tests-ifunc).
44068         * wcsmbs/test-wcschr-ifunc.c: New file.
44069         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44070         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44071         * wcsmbs/test-wcslen-ifunc.c: Likewise.
44072         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44073         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44075         * string/Makefile (tests-ifunc): New variable.
44076         (tests): Add $(tests-ifunc).
44077         * string/test-memccpy.c (TEST_NAME): New macro.
44078         * string/test-memchr.c (TEST_NAME): Likewise.
44079         * string/test-memcmp.c (TEST_NAME): Likewise.
44080         * string/test-memcpy.c (TEST_NAME): Likewise.
44081         * string/test-memmem.c (TEST_NAME): Likewise.
44082         * string/test-memmove.c (TEST_NAME): Likewise.
44083         * string/test-memset.c (TEST_NAME): Likewise.
44084         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44085         * string/test-stpcpy.c (TEST_NAME): Likewise.
44086         * string/test-stpncpy.c (TEST_NAME): Likewise.
44087         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44088         * string/test-strcasestr.c (TEST_NAME): Likewise.
44089         * string/test-strcat.c (TEST_NAME): Likewise.
44090         * string/test-strchr.c (TEST_NAME): Likewise.
44091         * string/test-strcmp.c(TEST_NAME): Likewise.
44092         * string/test-strcpy.c (TEST_NAME): Likewise.
44093         * string/test-strcspn.c (TEST_NAME): Likewise.
44094         * string/test-strlen.c (TEST_NAME): Likewise.
44095         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44096         * string/test-strncmp.c (TEST_NAME): Likewise.
44097         * string/test-strncpy.c (TEST_NAME): Likewise.
44098         * string/test-strnlen.c (TEST_NAME): Likewise.
44099         * string/test-strpbrk.c (TEST_NAME): Likewise.
44100         * string/test-strrchr.c (TEST_NAME): Likewise.
44101         * string/test-strspn.c (TEST_NAME): Likewise.
44102         * string/test-strstr.c (TEST_NAME): Likewise.
44103         * string/test-bcopy-ifunc.c: New file.
44104         * string/test-bzero-ifunc.c: Likewise.
44105         * string/test-memccpy-ifunc.c: Likewise.
44106         * string/test-memchr-ifunc.c: Likewise.
44107         * string/test-memcmp-ifunc.c: Likewise.
44108         * string/test-memcpy-ifunc.c: Likewise.
44109         * string/test-memmem-ifunc.c: Likewise.
44110         * string/test-memmove-ifunc.c: Likewise.
44111         * string/test-mempcpy-ifunc.c: Likewise.
44112         * string/test-memset-ifunc.c: Likewise.
44113         * string/test-rawmemchr-ifunc.c: Likewise.
44114         * string/test-stpcpy-ifunc.c: Likewise.
44115         * string/test-stpncpy-ifunc.c: Likewise.
44116         * string/test-strcasecmp-ifunc.c: Likewise.
44117         * string/test-strcasestr-ifunc.c: Likewise.
44118         * string/test-strcat-ifunc.c: Likewise.
44119         * string/test-strchr-ifunc.c: Likewise.
44120         * string/test-strchrnul-ifunc.c: Likewise.
44121         * string/test-strcmp-ifunc.c: Likewise.
44122         * string/test-strcpy-ifunc.c: Likewise.
44123         * string/test-strcspn-ifunc.c: Likewise.
44124         * string/test-strlen-ifunc.c: Likewise.
44125         * string/test-strncasecmp-ifunc.c: Likewise.
44126         * string/test-strncat-ifunc.c: Likewise.
44127         * string/test-strncmp-ifunc.c: Likewise.
44128         * string/test-strncpy-ifunc.c: Likewise.
44129         * string/test-strnlen-ifunc.c: Likewise.
44130         * string/test-strpbrk-ifunc.c: Likewise.
44131         * string/test-strrchr-ifunc.c: Likewise.
44132         * string/test-strspn-ifunc.c: Likewise.
44133         * string/test-strstr-ifunc.c: Likewise.
44135         * debug/Makefile (tests-ifunc): New variable.
44136         (tests): Add $(tests-ifunc).
44137         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44138         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44139         * debug/test-stpcpy_chk-ifunc.c: New file.
44140         * debug/test-strcpy_chk-ifunc.c: Likewise.
44142 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44144         [BZ #13601]
44145         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44146         header is not read in.
44148 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44150         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44151         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44152         directly.  Pass built executable to script as
44153         $(built-program-cmd).
44154         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44155         $testprogram without using LD_LIBRARY_PATH and $ldso.
44157         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44158         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44159         $(rtld-installed-name).
44160         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44161         (rtld_installed_name): Likewise.
44162         (library_path): Likewise.
44163         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44164         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44165         $(run-program-prefix) to tst-tables.sh.
44166         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44167         it to run tst-table-from and tst-table-to.
44168         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44169         Pass it to tst-table.sh.
44170         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44171         $(run-program-prefix) to tst-gettext.sh.
44172         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44173         tst-translit.sh.
44174         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44175         tst-gettext2.sh.
44176         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44177         to run tst-gettext.
44178         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44179         to run tst-gettext2.
44180         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44181         to run tst-translit.
44182         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44183         $(run-program-prefix) to tst-mtrace.sh.
44184         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44185         to run tst-mtrace.
44186         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44187         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44188         $(rtld-installed-name).
44189         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44190         (rtld_installed_name): Likewise.
44191         (run_program_prefix): New variable.  Use it to run wordexp-test.
44193         * Makeconfig (ARCH): Remove all definitions.
44194         (machine): Likewise.
44195         [ARCH]: Remove conditional code.
44196         [!objdir]: Give error.
44197         [!objdir] (objpfx): Remove.
44198         [!objdir] (common-objpfx): Likewise.
44199         [!objdir] (common-objdir): Likewise.
44200         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44201         AC_CONFIG_FILES call.
44202         * configure: Regenerated.
44204         [BZ #13888]
44205         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44206         or TMPDIR.
44207         (testout): Likewise.
44209         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44210         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44211         $(rtld-installed-name).
44212         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44213         (rtld_installed_name): Likwise.
44214         (runit): Remove function.
44215         (run_getconf): New variable,  Use it for running getconf binary.
44217 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44219         [BZ #14716]
44220         * string/test-memmem.c (check_result): New function.
44221         (do_one_test): Use it.
44222         (check1): New function.
44223         (test_main): Use it.
44225 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44227         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44229 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44231         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44232         (_G_LSEEK64): Likewise.
44233         (_G_MMAP64): Likewise.
44234         (_G_FSTAT64): Likewise.
44235         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44236         (_G_LSEEK64): Likewise.
44237         (_G_MMAP64): Likewise.
44238         (_G_FSTAT64): Likewise.
44239         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44240         unconditional.  Call __mmap64 directly.
44241         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44242         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44243         __lseek64 directly.
44244         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44245         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44246         __mmap64 directly.
44247         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44248         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44249         __lseek64 directly.
44250         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44251         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44252         __lseek64 directly.
44253         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44254         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44255         __lseek64 directly.
44256         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44257         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44258         __fxstat64 directly.
44259         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44260         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44261         unconditional.
44262         (freopen64) [!_G_OPEN64]: Remove conditional code.
44263         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44264         unconditional.
44265         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44266         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44267         unconditional.
44268         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44269         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44270         unconditional.
44271         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44272         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44273         unconditional.
44274         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44275         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44276         unconditional.
44277         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44278         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44279         unconditional.
44280         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44281         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44282         unconditional.
44283         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44285 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44287         [BZ #12140]
44288         * manual/memory.texi (Malloc Tunable Parameters): Add note
44289         about free list pointers overwriting some perturb bytes.
44290         Wording suggested by Roland McGrath.
44292 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44294         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44295         (lgamma_test): Likewise.
44296         (tgamma_test): Likewise.
44298 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44300         [BZ #14700]
44301         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44302         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44304 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44306         * NEWS: Mention BZ #14716.
44307         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44308         when removing AVAILABLE1_USES_J macro.
44310 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44312         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44313         (__bswap_64): __uint64_t for unsigned 64-bit int.
44315 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44317         * include/string.h (memmem): Declare libc hidden alias.
44318         * string/memmem.c (memmem): Define libc hidden alias.
44319         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44320         __read, __close instead of open, read, close.
44322 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44325         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44326         global and hidden.
44327         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44328         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44329         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44330         Likewise.
44331         (__rawmemchr_sse2): Likewise.
44332         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44333         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44334         (__strchr_sse2): Likewise.
44335         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44336         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44337         (__strcasecmp_sse2): Likewise.
44338         (__strncasecmp_sse2): Likewise.
44339         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44340         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44341         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44342         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44343         (__strrchr_sse2): Likewise.
44344         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44345         ifunc-impl-list.c.
44346         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44347         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44349         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44354         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44355         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44356         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44357         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44358         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44359         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44360         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44361         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44362         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44363         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44364         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44365         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44366         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44367         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44368         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44369         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44370         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44371         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44372         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44373         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44374         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44375         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44377         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44378         global and hidden.
44379         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44380         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44381         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44382         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44383         Likewise.
44384         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44385         Likewise.
44386         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44387         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44388         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44389         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44390         ifunc-impl-list.c.
44391         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44392         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44393         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44394         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44395         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44396         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44397         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44398         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44399         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44400         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44401         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44402         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44403         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44404         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44405         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44406         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44407         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44408         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44409         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44410         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44411         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44412         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44413         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44414         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44415         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44416         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44417         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44418         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44419         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44420         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44421         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44422         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44423         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44424         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44425         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44426         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44427         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44428         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44429         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44430         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44431         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44433         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44434         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44435         * include/ifunc-impl-list.h: New file.
44436         * misc/ifunc-impl-list.c: Likewise.
44437         * misc/Makefile (routines): Add ifunc-impl-list.
44438         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44439         * string/test-string.h: Include <ifunc-impl-list.h>.
44440         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44441         TEST_NAME]: New variables.
44442         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44443         are defined.
44444         (test_init): Call __libc_ifunc_impl_list to initialize
44445         func_list if TEST_IFUNC and TEST_NAME are defined.
44447         * string/Makefile (strop-tests): Add bcopy and bzero.
44448         * string/test-bcopy.c: New file.
44449         * string/test-bzero.c: Likewise.
44450         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44451         defined.
44452         * string/test-memset.c: Support bzero test if TEST_BZERO is
44453         defined.
44454         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44455         __libc_memmove.
44456         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44457         __libc_memset.
44458         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44459         of memset.
44461 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44463         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44464         * configure: Regenerated.
44466         * Makeconfig (+link-static-before-libc): Don't include
44467         $(link-static-libc).
44469         * libio/libio.h (_IO_pos_t): Remove.
44471 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44473         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44474         McGrath.
44476 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44478         * crypt/crypt-entry.c: Include fips-private.h.
44479         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44480         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44481         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44482         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44484 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44486         * crypt/crypt-private.h: Include stdbool.h.
44487         (_ufc_setup_salt_r): Return bool.
44488         * crypt/crypt-entry.c: Include errno.h.
44489         (__crypt_r): Return NULL with EINVAL for bad salt.
44490         * crypt/crypt_util.c (bad_for_salt): New.
44491         (_ufc_setup_salt_r): Check that salt is long enough and within
44492         the specified alphabet.
44493         * crypt/badsalttest.c: New file.
44494         * crypt/Makefile (tests): Add it.
44495         ($(objpfx)badsalttest): New.
44497 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44499         * NEWS: Add entry for BZ #14602.
44501 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44503         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44504         type-generic.
44505         * math/libm-test.inc: Update comment listing what functions and
44506         macros are tested.
44507         (isgreater_test): New function.
44508         (isgreaterequal_test): Likewise.
44509         (isless_test): Likewise.
44510         (islessequal_test): Likewise.
44511         (islessgreater_test): Likewise.
44512         (isunordered_test): Likewise.
44513         (main): Call the new functions.
44515 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44517         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44518         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44519         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44520         * sysdeps/i386/configure: Regenerated.
44521         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44522         * sysdeps/mach/configure: Regenerated.
44523         * sysdeps/mach/hurd/configure: Regenerated.
44524         * sysdeps/powerpc/configure: Regenerated.
44525         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44526         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44527         * sysdeps/s390/s390-32/configure: Regenerated.
44528         * sysdeps/s390/s390-64/configure: Regenerated.
44529         * sysdeps/sh/configure: Regenerated.
44530         * sysdeps/sparc/configure: Regenerated.
44531         * sysdeps/unix/sysv/linux/configure: Regenerated.
44532         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44533         * sysdeps/x86_64/configure: Regenerated.
44535         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44536         defined.  Don't check if MAP is NULL.
44538 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44540         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44541         (_G_stat64): Likewise.
44542         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44543         (_G_stat64): Likewise.
44544         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44545         instead of struct _G_stat64.
44546         * libio/fileops.c (mmap_remap_check): Likewise.
44547         (decide_maybe_mmap): Likewise.
44548         (_IO_new_file_seekoff): Likewise.
44549         (_IO_file_stat): Likewise.
44550         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44551         _G_off64_t.
44552         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44553         instead of struct _G_stat64.
44554         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44556 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44558         [BZ #14602]
44559         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44560         Replace with ...
44561         (CHECK_EOL): New macro.
44562         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44563         CHECK_EOL.
44564         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44565         Replace with CHECK_EOL.
44566         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44567         Replace with CHECK_EOL.
44569 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44571         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44572         type-generic.
44573         * math/libm-test.inc: Update comment listing what functions and
44574         macros are tested.
44575         (finite_test): New function.
44576         (isinf_test): Likewise.
44577         (isnan_test): Likewise.
44578         (fpclassify_test): Test subnormal input.
44579         (isfinite_test): Likewise.
44580         (isnormal_test): Likewise.
44581         (main): Call the new functions.
44583 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44585         [BZ #14660]
44586         * Makerules (%.dynsym): Force C locale when running
44587         $(OBJDUMP) --dynamic-syms.
44589 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44591         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44592         <stdint.h>.
44594 2012-10-06  David S. Miller  <davem@davemloft.net>
44596         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44597         upper 32-bits of the length value in %o2 since we use branch-on-register
44598         tests which consider the entire 64-bit register.
44600 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44602         * string/test-strstr.c (check2): Add a test for page boundary.
44604 2012-10-05  David S. Miller  <davem@davemloft.net>
44606         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44607         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44608         file.
44609         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44610         sysdep_routines.
44611         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44612         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44613         and bzero when HWCAP_SPARC_CRYPTO is present.
44615 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44617         [BZ #14602]
44618         * string/test-strstr.c (check2): New function.
44619         (test_main): Call check2.
44621         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44622         and bug-strchr1.
44623         * string/bug-strcasestr1.c (do_test): Moved to ...
44624         * string/test-strcasestr.c (check1): Here.  New function.
44625         (do_one_test): Break out result checking code into ...
44626         (check_result): This.  New function.
44627         (do_one_test): Call check_result.
44628         (test_main): Call check1.
44629         * string/bug-strchr1.c (do_test): Moved to ...
44630         * string/test-strchr.c (check1): Here.  New function.
44631         (do_one_test): Break out result checking code into ...
44632         (check_result): This.  New function.
44633         (do_one_test): Call check_result.
44634         (test_main): Call check1.
44635         * string/bug-strstr1.c (main): Moved to ...
44636         * string/test-strstr.c (check1): Here.  New function.
44637         (do_one_test): Break out result checking code into ...
44638         (check_result): This.  New function.
44639         (do_one_test): Call check_result.
44640         (test_main): Call check1.
44641         * string/bug-strcasestr1.c: Removed.
44642         * string/bug-strchr1.c: Likewise.
44643         * string/bug-strstr1.c: Likewise.
44645         * elf/Makefile (dl-routines): Add hwcaps.
44646         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44647         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44648         (_dl_important_hwcaps): Moved to ...
44649         * elf/dl-hwcaps.c: Here.  New file.
44650         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44652         [BZ #14557]
44653         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44654         if IS_IN_rtld isn't defined.
44656         * elf/dl-support.c (_dl_sysinfo_map): New.
44657         Include "get-dynamic-info.h" and "setup-vdso.h".
44658         (_dl_non_dynamic_init): Call setup_vdso.
44659         * elf/dynamic-link.h: Don't include <assert.h>.
44660         (elf_get_dynamic_info): Moved to ...
44661         * elf/get-dynamic-info.h: Here.  New file.
44662         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44663         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44664         * elf/setup-vdso.h: Here.  New file.
44665         * elf/rtld.c: Include "setup-vdso.h".
44666         (dl_main): Call setup_vdso.
44668 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44670         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44671         creal in comment listing functions tested.  List finite, isinf,
44672         isnan, isless, islessequal, isgreater, isgreaterequal,
44673         islessgreater, isunordered, lgamma_r and pow10 as functions and
44674         macros not tested.  Mention which functions not tested are aliases
44675         for other functions.  Fix typo.  Note that signs of NaNs are not
44676         tested.
44678         * scripts/config.guess: Update from config.git.
44679         * scripts/config.sub: Likewise.
44681 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44683         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44684         * misc/madvise.c (madvise): Renamed to __madvise.
44685         Make madvise a weak alias.
44686         * include/sys/mman.h: Declare __madvise.
44687         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44688         * sysdeps/unix/syscalls.list
44689         (madvise): Make __madvise the strong name, and madvise a weak alias.
44690         * sysdeps/unix/sysv/linux/syscalls.list
44691         (madvise, mmap): Remove redundant entries.
44692         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44693         * malloc/malloc.c (mtrim): Likewise.
44694         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44696 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44698         * sysdeps/mach/hurd/dl-cache.c: File removed.
44699         * config.h.in (USE_LDCONFIG): New #undef.
44700         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44701         * configure: Regenerated.
44702         * elf/Makefile (dl-routines): Add dl-cache only under
44703         [$(use-ldconfig) = yes].
44704         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44705         cache on [USE_LDCONFIG].
44706         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44707         [USE_LDCONFIG].
44708         * elf/rtld.c (dl_main): Likewise.
44710 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44712         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44713         _SC_LEVEL4_CACHE_LINESIZE.
44715 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44717         * sysdeps/unix/bsd/confstr.h: File removed.
44719 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44721         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44722         sys/sdt-config.h.
44724 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44726         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44727         Make 'mapoff' field ElfW(Off) rather than off_t.
44729 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44731         * nscd/Makefile: Remove nscd-cflags and all its users.
44732         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44733         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44735         [BZ #10631]
44736         * malloc.c (malloc_printerr): Clarify error message.
44738 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44740         [BZ #14648]
44741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44742         Set bit_FMA_Usable if FMA is supported.
44743         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44744         macro.
44745         (bit_FMA4_Usable): Updated.
44746         (index_FMA_Usable): New macro.
44747         (CPUID_FMA): Likewise
44748         (HAS_FMA): Defined with bit_FMA_Usable.
44750 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44752         * bits/types.h (__swblk_t): Type removed.
44753         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44754         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44755         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44756         (__SWBLK_T_TYPE): Likewise.
44757         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44758         (__SWBLK_T_TYPE): Likewise.
44759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44760         (__SWBLK_T_TYPE): Likewise.
44761         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44762         (__SWBLK_T_TYPE): Likewise.
44764 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44765             Honza Horak <hhorak@redhat.com>
44767         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44768         (xdr_mapname): Use YPMAXMAP as maxsize.
44769         (xdr_peername): Use YPMAXPEER as maxsize.
44770         (xdr_keydat): Use YPAXRECORD as maxsize.
44771         (xdr_valdat): Use YPMAXRECORD as maxsize.
44773 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44775         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44777         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44778         * csu/init-first.c: ... here.
44779         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44780         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44781         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44782         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44783         * sysdeps/i386/init-first.c: File removed.
44784         * sysdeps/sh/init-first.c: File removed.
44786 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44788         [BZ #14645]
44789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44790         if x * y might underflow to zero and z is zero.
44791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44792         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44793         * math/libm-test.inc (min_subnorm_value): New variable.
44794         (fma_test): Add more tests.
44795         (fma_test_towardzero): Likewise.
44796         (fma_test_downward): Likewise
44797         (fma_test_upward): Likewise.
44798         (initialize): Set min_subnorm_value.
44800 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44802         [BZ #14638]
44803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44804         0 + 0.
44805         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44806         mode for addition resulting in exact zero.
44807         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44809         exact 0 + 0.
44810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44812         * math/libm-test.inc (fma_test): Add more tests.
44813         (fma_test_towardzero): New function.
44814         (fma_test_downward): Likewise.
44815         (fma_test_upward): Likewise.
44816         (main): Call the new functions.
44818 2012-09-28  David S. Miller  <davem@davemloft.net>
44820         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44822 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44824         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44825         instead of SIGALRM.
44827         * sysdeps/gnu/_G_config.h: Moved to ...
44828         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44829         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44830         * sysdeps/generic/_G_config.h: ... here.
44832         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44834         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44836         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44837         Conditionalize target on [libnss_test1.so-version].
44839         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44841         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44842         (elfobjdir): Move out of conditionals.
44844         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44845         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44846         (__nss_lookup_function): Conditionalize label remove_from_tree on
44847         [!DO_STATIC_NSS || SHARED], matching its only use.
44849 2012-09-28  David S. Miller  <davem@davemloft.net>
44851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44852         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44853         file.
44854         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44855         sysdep_routines.
44856         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44858         when HWCAP_SPARC_CRYPTO is present.
44860 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44862         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44864 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44866         [BZ #6530]
44867         * stdio-common/vfprintf.c (process_string_arg): Revert
44868         2000-07-22 change.
44870 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44872         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44873         for testcase.
44874         * stdio-common/tst-sprintf.c: Include <locale.h>
44875         (main): Test sprintf's handling of incomplete multibyte
44876         characters.
44878 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44880         * elf/dl-runtime.c (VERSYMIDX): Removed.
44881         * elf/dl-version.c (VERSYMIDX): Likewise.
44882         * elf/do-rel.h (VERSYMIDX): Likewise.
44883         (VALIDX): Likewise.
44884         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44885         * elf/rtld.c (VALIDX): Likewise.
44886         (ADDRIDX): Likewise.
44887         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44888         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44889         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44890         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44891         (VALIDX): Likewise.
44892         (ADDRIDX): Likewise.
44894 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44896         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44898 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44900         [BZ #11438]
44901         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44902         to global scope.
44903         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44904         addresses are in the same scope as 192.0.2/24.
44905         * posix/gai.conf: Document new scope table defaults.
44907 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44909         [BZ #5298]
44910         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44911         for ftell.  Compute offsets from write pointers instead.
44912         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44914 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44916         [BZ #14543]
44917         * libio/Makefile (tests): New test case tst-fseek.
44918         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44919         combination works in wide mode.
44920         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44921         state when the external buffer state changes.
44923 2012-09-27  David S. Miller  <davem@davemloft.net>
44925         [BZ #14376]
44926         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44927         pass reloc->r_addend in as the 'high' argument to
44928         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44932 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44934         * rt/tst-aio2.c: Include <pthread.h>.
44935         * rt/tst-aio3.c: Likewise.
44937 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44939         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44941 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44943         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44944         contents on [SHARED].
44946 2012-09-26  Marek Polacek  <polacek@redhat.com>
44948         [BZ #14530]
44949         [BZ #13741]
44950         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44951         for C++ and GCC <4.3 as well as for non GCC compilers.
44953 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44957 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44959         * Makefile.in (all, install): Declare with .PHONY.
44960         Reported by Michael Hope <michael.hope@linaro.org>.
44962 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44964         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44965         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44966         system header.
44967         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44968         Likewise.
44969         (sydep_routines): Add the new and the internal functions.
44970         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44971         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44973         (GLIBC_2.17): Add the new function.
44974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44975         (GLIBC_2.17): Likewise.
44976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44977         (GLIBC_2.17): Likewise.
44978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44979         (GLIBC_2.17): Likewise.
44980         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44982 2012-09-25  Alan Modra  <amodra@gmail.com>
44984         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44985         Add release barrier before setting once_control to say
44986         initialisation is done.  Add hints on lwarx.  Use macro in
44987         place of isync.
44988         (clear_once_control): Add release barrier.
44990 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44992         [BZ #13629]
44993         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44994         specially.
44995         * math/s_clog10.c (__clog10): Likewise.
44996         * math/s_clog10f.c (__clog10f): Likewise.
44997         * math/s_clog10l.c (__clog10l): Likewise.
44998         * math/s_clogf.c (__clogf): Likewise.
44999         * math/s_clogl.c (__clogl): Likewise.
45000         * math/Makefile (libm-calls): Add x2y2m1.
45001         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45002         (__x2y2m1): Likewise.
45003         (__x2y2m1l): Likewise.
45004         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45005         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45006         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45007         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45008         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45009         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45010         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45011         * sysdeps/i386/fpu/libm-test-ulps: Update.
45012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45014         [BZ #14621]
45015         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45016         int as type of variable DEPTH.
45017         (glob): Use size_t instead of int as type of variables NEWCOUNT
45018         and OLD_PATHC.
45020 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45022         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45023         Add s_sincosf-sse2.
45024         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45025         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45026         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45027         macros for using routine as __sincosf_ia32.
45028         Use macro for function declaration and weak_alias.
45029         * sysdeps/i386/fpu/libm-test-ulps: Update.
45031         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45034         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45035         subnormal argument.
45036         * math/s_cexpf.c (__cexpf): Likewise.
45037         * math/s_csinf.c (__csinf): Likewise.
45038         * math/s_csinhf.c (__csinhf): Likewise.
45039         * math/s_ctanf.c (__ctanf): Likewise.
45040         * math/s_ctanhf.c (__ctanhf): Likewise.
45041         * math/s_ccosh.c (__ccoshf): Likewise.
45042         * math/s_cexp.c (__cexpl): Likewise.
45043         * math/s_csin.c (__csin): Likewise.
45044         * math/s_csinh.c (__csinh): Likewise.
45045         * math/s_ctan.c (__ctan): Likewise.
45046         * math/s_ctanh.c (ctanh): Likewise.
45047         * math/s_ccoshl.c (__ccoshl): Likewise.
45048         * math/s_cexpl.c (__cexpl): Likewise.
45049         * math/s_csinl.c (__csinl): Likewise.
45050         * math/s_csinhl.c (__csinhl): Likewise.
45051         * math/s_ctanl.c (__ctanl): Likewise.
45052         * math/s_ctanhl.c (__ctanhl): Likewise.
45054 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45056         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45057         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45058         (_IO_off_t): Define to __off_t, not _G_off_t.
45059         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45060         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45061         (_IO_wint_t): Define to wint_t, not _G_wint_t.
45062         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45063         type of __dummy and __dummy2 fields.
45064         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45065         (_G_ssize_t): Likewise.
45066         (_G_off_t): Likewise.
45067         (_G_pid_t): Likewise.
45068         (_G_uid_t): Likewise.
45069         (_G_wchar_t): Likewise.
45070         (_G_wint_t): Likewise.
45071         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45072         (_G_ssize_t): Likewise.
45073         (_G_off_t): Likewise.
45074         (_G_pid_t): Likewise.
45075         (_G_uid_t): Likewise.
45076         (_G_wchar_t): Likewise.
45077         (_G_wint_t): Likewise.
45078         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45079         (_G_ssize_t): Likewise.
45080         (_G_off_t): Likewise.
45081         (_G_pid_t): Likewise.
45082         (_G_uid_t): Likewise.
45083         (_G_wchar_t): Likewise.
45084         (_G_wint_t): Likewise.
45086 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45088         * malloc/arena.c: Include malloc-sysdep.h.
45089         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45090         is sufficient to shrink the heap or an unmap is needed.
45091         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45092         new function check_may_shrink_heap.
45093         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45094         new function check_may_shrink_heap.
45096 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45098         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45099         comments.
45101 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45103         * catgets/test-gencat.sh: Add "set -e".
45104         * elf/tst-pathopt.sh: Likewise.
45105         * grp/tst_fgetgrent.sh: Likewise.
45106         * iconvdata/run-iconv-test.sh: Likewise.
45107         * intl/tst-gettext.sh: Likewise.
45108         * intl/tst-gettext2.sh: Likewise.
45109         * intl/tst-gettext4.sh: Likewise.
45110         * intl/tst-gettext6.sh: Likewise.
45111         * intl/tst-translit.sh: Likewise.
45112         * io/ftwtest-sh: Likewise.
45113         * libio/test-freopen.sh: Likewise.
45114         * malloc/tst-mtrace.sh: Likewise.
45115         * posix/globtest.sh: Likewise.
45116         * posix/tst-getconf.sh: Likewise.
45117         * posix/wordexp-tst.sh: Likewise.
45118         * stdio-common/tst-printf.sh: Likewise.
45119         * stdio-common/tst-unbputc.sh: Likewise.
45120         * stdlib/tst-fmtmsg.sh: Likewise.
45121         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45122         * catgets/Makefile: Do not specify -e option when running
45123         testsuite shell scripts.
45124         * elf/Makefile: Likewise.
45125         * grp/Makefile: Likewise.
45126         * iconvdata/Makefile: Likewise.
45127         * intl/Makefile: Likewise.
45128         * io/Makefile: Likewise.
45129         * libio/Makefile: Likewise.
45130         * malloc/Makefile: Likewise.
45131         * posix/Makefile: Likewise.
45132         * stdio-common/Makefile: Likewise.
45133         * stdlib/Makefile: Likewise.
45134         * sysdeps/x86_64/Makefile: Likewise.
45136         * io/ftwtest-sh: Add copyright header.
45137         * posix/globtest.sh: Likewise.
45138         * posix/tst-getconf.sh: Likewise.
45139         * posix/wordexp-tst.sh: Likewise.
45140         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45142 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45144         [BZ #13679]
45145         * Makeconfig (+link): Defined as $(+link-static) if
45146         $(build-shared) isn't yes.
45147         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45148         isn't yes.
45149         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45151         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45153         [BZ #14562]
45154         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45155         new chunk size with MALLOC_ALIGN_MASK.
45157 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45159         [BZ #5044]
45160         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45161         <rounding-mode.h>.
45162         (__printf_fphex): Determine rounding using get_rounding_mode and
45163         round_away.
45164         * stdio-common/tst-printf-round.c (struct hex_test): New
45165         structure.
45166         (hex_tests): New variable.
45167         (test_hex_in_one_mode): New function.
45168         (do_test): Also run tests for hex float output.
45170 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45172         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45173         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45174         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45175         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45176         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45177         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45178         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45179         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45181 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45183         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45184         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45185         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45186         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45188 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45190         [BZ #14579]
45191         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45192         mode only.
45193         * elf/tst-rtld-load-self.sh: New test.
45194         * elf/Makefile: Run it.
45196 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45198         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45199         (tst-writev-ENV): Remove.
45200         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45202 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45204         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45206 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45208         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45209         unconditional.
45210         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45211         Likewise.
45212         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45213         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45214         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45215         Likewise.
45217 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45219         [BZ #14587]
45220         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45221         * config.make.in (have-cpp-asm-debuginfo): Removed.
45222         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45223         * configure: Regenerated.
45225 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45227         [BZ #5044]
45228         * stdio-common/printf_fp.c: Include <stdbool.h> and
45229         <rounding-mode.h>.
45230         (___printf_fp): Determine rounding using get_rounding_mode and
45231         round_away.
45232         * stdio-common/tst-printf-round.c: New file.
45233         * stdio-common/Makefile (tests): Add tst-printf-round.
45234         (link-libm): New variable.
45235         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45237 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45239         [BZ #14576]
45240         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45241         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45242         Likewise.
45243         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45244         Likewise.
45246 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45248         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45249         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45250         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45251         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45253 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45255         [BZ #14518]
45256         * include/rounding-mode.h: New file.
45257         * sysdeps/generic/get-rounding-mode.h: Likewise.
45258         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45259         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45260         (MAX_VALUE): New macro.
45261         (MIN_VALUE): Likewise.
45262         (overflow_value): New function.
45263         (underflow_value): Likewise.
45264         (round_and_return): Use overflow_value and underflow_value to
45265         determine return values in overflow and underflow cases.  Use
45266         round_away to determine rounding depending on rounding mode.
45267         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45268         determine return values in overflow and underflow cases.
45269         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45270         (struct test_results): New structure.
45271         (struct test): Use struct test_results to store expected results
45272         for all rounding modes.
45273         (TEST): Include expected results for all rounding modes.
45274         (test_in_one_mode): New function.
45275         (do_test): Use test_in_one_mode to compute and check results.
45276         Check results for all rounding modes.
45277         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45278         $(link-libm).
45280 2012-12-09  Allan McRae  <allan@archlinux.org>
45282         * sysdeps/i386/fpu/libm-test-ulps: Update
45284 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45286         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45287         (_G_int32_t): Likewise.
45288         (_G_uint16_t): Likewise.
45289         (_G_uint32_t): Likewise.
45290         (_G_HAVE_BOOL): Likewise.
45291         (_G_HAVE_ATEXIT): Likewise.
45292         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45293         (_G_HAVE_IO_FILE_OPEN): Likewise.
45294         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45295         (_G_int32_t): Likewise.
45296         (_G_uint16_t): Likewise.
45297         (_G_uint32_t): Likewise.
45298         (_G_HAVE_BOOL): Likewise.
45299         (_G_HAVE_ATEXIT): Likewise.
45300         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45301         (_G_HAVE_IO_FILE_OPEN): Likewise.
45302         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45303         (_G_int32_t): Likewise.
45304         (_G_uint16_t): Likewise.
45305         (_G_uint32_t): Likewise.
45306         (_G_HAVE_BOOL): Likewise.
45307         (_G_HAVE_ATEXIT): Likewise.
45308         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45309         (_G_HAVE_IO_FILE_OPEN): Likewise.
45311 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45313         * csu/libc-tls.c: Update copyright years.
45315 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45317         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45318         [!_G_USING_THUNKS]: Remove conditional code.
45319         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45320         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45322         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45323         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45324         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45325         (_G_VTABLE_LABEL_PREFIX): Likewise.
45326         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45327         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45328         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45329         (_G_VTABLE_LABEL_PREFIX): Likewise.
45330         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45331         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45332         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45333         (_G_VTABLE_LABEL_PREFIX): Likewise.
45334         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45336 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45338         * libio/Makefile: Include ../Makeconfig before tests.
45339         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45340         only if $(build-shared) is yes.
45342         * iconv/gconv_db.c: Update copyright years.
45344 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45346         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45347         unwind info if defined PIC. Fix special cases description.
45348         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45350         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45351         DP_HI_MASK entry.
45352         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45354 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45356         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45358         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45359         is NULL.
45361         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45362         (LDLIBS-tst-chk4): This.
45363         (LDFLAGS-tst-chk5): Renamed to ...
45364         (LDLIBS-tst-chk5): This.
45365         (LDFLAGS-tst-chk6): Renamed to ...
45366         (LDLIBS-tst-chk6): This.
45367         (LDFLAGS-tst-lfschk4): Renamed to ...
45368         (LDLIBS-tst-lfschk4): This.
45369         (LDFLAGS-tst-lfschk5): Renamed to ...
45370         (LDLIBS-tst-lfschk5): This.
45371         (LDFLAGS-tst-lfschk6): Renamed to ...
45372         (LDLIBS-tst-lfschk6): This.
45374         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45375         on $(common-objpfx)soversions.mk.
45377 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45379         [BZ #10014]
45380         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45381         example host name.
45383 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45385         * malloc/arena.c (arena_get_retry): New function that gets
45386         another arena for the caller to try its request on.
45387         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45388         current arena cannot fulfill the request.
45389         (__libc_memalign): Likewise.
45390         (__libc_memalign): Likewise.
45391         (__libc_pvalloc): Likewise.
45392         (__libc_calloc): Likewise.
45394 2012-09-05  John Tobey  <john.tobey@gmail.com>
45396         [BZ #13542]
45397         * manual/arith.texi (Operations on Complex): Fix description
45398         of carg branch cut.
45400 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45402         [BZ #10014]
45403         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45404         host name.
45406         [BZ #10038]
45407         * manual/memory.texi (Memory): Make order of menu items match
45408         order of sections.
45410 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45412         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45413         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45414         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45416 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45418         * csu/libc-tls.c (static_dtv): Renamed to ...
45419         (_dl_static_dtv): This.  Make it global.
45420         (_dl_initial_dtv): Removed.
45421         (__libc_setup_tls): Updated.
45422         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45423         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45424         DL_INITIAL_DTV.
45426 2012-09-06  Petr Machata  <pmachata@redhat.com>
45428         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45429         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45430         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45431         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45433 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45435         [BZ #14545]
45436         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45437         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45438         freeing dtv[-1].
45440 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45442         [BZ #14544]
45443         * Makeconfig (link-static-before-libc): Replace $(+prector)
45444         with $(+prectorT).
45445         (link-static-after-libc): Replace $(+postctor) with
45446         $(+postctorT).
45447         (link-bounded): Replace $(+prector)/$(+postctor) with
45448         $(+prectorT)/$(+postctorT).
45449         (+prectorT): New macro.
45450         (+postctorT): Likewise.
45452 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45454         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45455         (round_str): Handle values above the maximum for IBM long double
45456         as inexact.
45457         * stdlib/tst-strtod-round.c (tests): Regenerated.
45459 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45461         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45462         assembler flag.
45463         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45464         zarch_nohighgprs around the zarch optimized routines.
45465         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45466         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45467         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45468         for zarch.
45470 2012-09-05  David S. Miller  <davem@davemloft.net>
45472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45474         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45475         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45476         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45477         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45478         entries.
45480 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45482         * malloc/arena.c: Fold copyright years.
45483         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45485 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45487         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45489 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45491         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45493 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45495         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45496         change internal state upon failure.
45498 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45500         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45501         * malloc/memusage.c (mmap): Likewise.
45502         (mmap64, mremap): Likewise.  Adjust name in comment.
45504 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45506         * libio/fileops.c: Fix typos in comments.
45507         * libio/oldfileops.c: Likewise.
45508         * libio/wfileops.c: Likewise.
45510 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45512         [BZ #1349]
45513         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45514         (tst-malloc-usable-ENV): Set environment for test case.
45515         * malloc/hooks.c (malloc_check_get_size): New function to get
45516         requested size.
45517         * malloc/malloc.c (musable): Use malloc_check_get_size.
45518         * malloc/tst-malloc-usable.c: New test case.
45520 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45522         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45524 2012-09-05  Allan McRae  <allan@archlinux.org>
45526         [BZ #13966]
45527         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45528         determine header location.
45529         * configure: Regenerated.
45531 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45533         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45534         float format.
45535         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45536         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45537         format.
45538         (test): Regenerate.
45540 2012-09-04  David S. Miller  <davem@davemloft.net>
45542         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45543         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45544         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45546 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45548         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45549         failures.
45551         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45553 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45555         [BZ #9914]
45556         * libio/iogetdelim.c: Include <limits.h>.
45557         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45558         + len + 1 would overflow.
45560 2012-09-03  Andreas Jaeger  <aj@suse.de>
45562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45563         * sysdeps/i386/fpu/libm-test-ulps: Update.
45565 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45567         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45568         Add s_sinf-sse2, s_conf-sse2.
45570         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45571         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45572         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45573         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45575         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45576         for using routine as __sinf_ia32.
45577         Use macro for function declaration and weak_alias.
45578         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45579         for using routine as __cosf_ia32.
45580         Use macro for function declaration and weak_alias.
45582         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45583         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45585         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45586         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45589         * math/libm-test.inc (cos_test): Add more test cases.
45590         (sin_test): Likewise.
45591         (sincos_test): Likewise.
45593 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45595         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45596         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45597         hidden.
45598         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45600 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45602         [BZ #14538]
45603         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45604         first element of the GOT.
45605         (elf_machine_load_address): Return the difference between
45606         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45608 2012-09-01  Allan McRae  <allan@archlinux.org>
45610         [BZ #13412]
45611         * configure.in (AWK): Require gawk version 3.0 or later.
45612         * configure: Regenerated.
45614 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45616         * sysdeps/unix/sysv/linux/kernel-features.h
45617         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45618         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45619         [__NR_clock_getres]: Make code unconditional.
45620         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45621         (clock_getcpuclockid): Remove code left unreachable by removal of
45622         conditionals.
45623         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45624         code unconditional.
45625         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45626         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45627         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45628         Make code unconditional.
45629         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45630         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45631         * sysdeps/unix/sysv/linux/clock_settime.c
45632         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45633         conditional code.
45634         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45635         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45637 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45639         [BZ #14476]
45640         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45641         scripts/test-installation.pl.
45643         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45644         and $ld_so_version if it is set.
45646 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45648         [BZ #14516]
45649         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45650         failure if reading from procfs failed.
45651         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45653 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45655         * sysdeps/unix/sysv/linux/kernel-features.h
45656         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45657         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45658         Remove conditional code.
45659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45660         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45661         Remove conditional code.
45662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45663         * sysdeps/unix/sysv/linux/i386/fxstat.c
45664         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45665         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45666         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45667         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45669         * sysdeps/unix/sysv/linux/i386/lxstat.c
45670         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45671         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45672         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45673         Remove conditional code.
45674         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45675         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45676         Remove conditional code.
45677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45678         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45679         <kernel-features.h>.
45680         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45681         Remove.
45682         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45683         Remove conditional code.
45684         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45685         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45686         Remove conditional.
45688 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45690         [BZ #5400]
45691         * NEWS: Add fixed bug number.
45693 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45695         [BZ #14519]
45696         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45697         underflowing exponent in case of negative sign.
45698         * stdlib/tst-strtod-round-data: Add more tests.
45699         * stdlib/tst-strtod-round.c (tests): Regenerated.
45701         [BZ #3479]
45702         * stdlib/strtod_l.c (NDIG): Remove.
45703         (HEXNDIG): Likewise.
45704         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45705         smallest representable value.
45706         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45707         lie within an exact representation of 1/2 ulp of the result.
45708         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45709         unconditionally.
45710         (TENS_P9_IDX): Define unconditionally.
45711         (TENS_P9_SIZE): Likewise.
45712         (TENS_P10_IDX): Likewise.
45713         (TENS_P10_SIZE): Likewise.
45714         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45715         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45716         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45717         entries for 10^2^13 and 10^2^14.
45718         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45719         (TENS_P13_IDX): Define.
45720         (TENS_P13_SIZE): Likewise.
45721         (TENS_P14_IDX): Likewise.
45722         (TENS_P14_SIZE): Likewise.
45723         (_fpioconst_pow10): Change array size to
45724         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45725         unconditional.
45726         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45727         1024]: Add entries for 10^2^13 and 10^2^14.
45728         [LAST_POW10 > _LAST_POW10]: Remove #error.
45729         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45730         (_fpioconst_pow10): Change array size to
45731         FPIOCONST_POW10_ARRAY_SIZE.
45732         * stdlib/gen-fpioconst.c: New file.
45733         * stdlib/gen-tst-strtod-round.c: Likewise.
45734         * stdlib/tst-strtod-round-data: Likewise.
45735         * stdlib/tst-strtod-round.c: Likewise.
45736         * stdlib/Makefile (tests): Add tst-strtod-round.
45738         [BZ #14459]
45739         * stdlib/strtod_l.c: Include <stdint.h>.
45740         (NDEBUG): Do not define.
45741         (round_and_return): Change EXPONENT parameter to type intmax_t.
45742         Rearrange calculations to avoid internal overflow possibilities.
45743         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45744         Rearrange calculations to avoid internal overflow possibilities.
45745         Assert that number fits inside MPNSIZE limbs.
45746         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45747         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45748         calculations and add assertions to avoid internal overflow
45749         possibilities.  Add casts to avoid signed/unsigned operations.
45750         * stdlib/tst-strtod-overflow.c: New file.
45751         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45753 2012-08-25  Marek Polacek  <polacek@redhat.com>
45755         * time/time.h: Fix some typos in comments.
45757 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45759         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45760         * posix/tst-rfc3484-2.c: Likewise.
45761         * posix/tst-rfc3484-3.c: Likewise.
45763 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45765         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45766         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45768 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45770         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45771         #include of fxstatat64.c.
45773 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45775         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45776         * shadow/getspent_r.c: Likewise.
45777         * shadow/getspnam.c: Likewise.
45778         * shadow/getspnam_r.c: Likewise.
45779         * gshadow/getsgent.c: Likewise.
45780         * gshadow/getsgent_r.c: Likewise.
45781         * gshadow/getsgnam.c: Likewise.
45782         * gshadow/getsgnam_r.c: Likewise.
45783         * inet/getnetbyad.c: Likewise.
45784         * inet/getnetbyad_r.c: Likewise.
45785         * inet/getnetbynm.c: Likewise.
45786         * inet/getnetbynm_r.c: Likewise.
45787         * inet/getnetent.c: Likewise.
45788         * inet/getnetent_r.c: Likewise.
45789         * inet/getproto.c: Likewise.
45790         * inet/getproto_r.c: Likewise.
45791         * inet/getprtent.c: Likewise.
45792         * inet/getprtent_r.c: Likewise.
45793         * inet/getprtname.c: Likewise.
45794         * inet/getprtname_r.c: Likewise.
45795         * inet/getrpcbyname.c: Likewise.
45796         * inet/getrpcbyname_r.c: Likewise.
45797         * inet/getrpcbynumber.c: Likewise.
45798         * inet/getrpcbynumber_r.c: Likewise.
45799         * inet/getrpcent.c: Likewise.
45800         * inet/getrpcent_r.c: Likewise.
45801         * inet/getaliasent.c: Likewise.
45802         * inet/getaliasent_r.c: Likewise.
45803         * inet/getaliasname.c: Likewise.
45804         * inet/getaliasname_r.c: Likewise.
45805         * nscd/getgrgid_r.c: Likewise.
45806         * nscd/getgrnam_r.c: Likewise.
45807         * nscd/gethstbyad_r.c: Likewise.
45808         * nscd/gethstbynm3_r.c: Likewise.
45809         * nscd/getpwnam_r.c: Likewise.
45810         * nscd/getpwuid_r.c: Likewise.
45811         * nscd/getsrvbynm_r.c: Likewise.
45812         * nscd/getsrvbypt_r.c: Likewise.
45813         * nscd/gai.c: Likewise.
45815         * configure.in (build_nscd): New substituted variable, set
45816         by --disable-build-nscd and defaults to $use_nscd.
45817         * configure: Regenerated.
45818         * config.make.in (build-nscd): New substituted variable.
45819         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45820         Change conditional to require [$(build-nscd) = yes] as well.
45821         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45823         [BZ# 13696]
45824         * configure.in (use_nscd): New substituted variable, set by
45825         --disable-nscd.  If enabled, define USE_NSCD.
45826         * configure: Regenerated.
45827         * config.h.in: Add USE_NSCD.
45828         * config.make.in (use-nscd): New substituted variable.
45829         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45830         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45831         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45832         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45833         (CFLAGS-getgrnam_r.c): Likewise.
45834         (CFLAGS-initgroups.c): Likewise.
45835         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45836         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45837         Variables removed.
45838         * inet/getnetgrent_r.c
45839         (nscd_setnetgrent): New function, broken out of ...
45840         (setnetgrent): ... here.  Call it.
45841         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45842         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45843         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45844         * nscd/Makefile (routines, aux): Move definitions after include of
45845         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45846         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45847         Conditionalize on [USE_NSCD].
45848         (is_nscd, nscd_init_cb): Likewise.
45849         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45850         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45851         * nss/nss_db/db-init.c: Likewise.
45852         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45853         [USE_NSCD].
45854         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45855         (make_request): Use it.
45856         (cache_valid_p): New function.
45857         (__check_pf): Use it.
45858         * NEWS: Add item for --disable-nscd.
45860 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45862         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45863         to support sed >= 4.2.1-20-ga9bf076.
45864         * configure: Regenerated.
45866 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45868         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45869         Conditionalize whole body on [IREL].
45871 2012-08-22  Jeff Law <law@redhat.com>
45873         [BZ #14505]
45874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45875         if the family is PF_UNSPEC.
45877 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45879         * Makerules (lib-version): Rename from V.
45880         (install-lib-nosubdir): Change V to lib-version.
45882 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45884         [BZ #14252]
45885         * powerpc32/power6/wcschr.c: New file.
45886         * powerpc32/power6/wcscpy.c: New file.
45887         * powerpc32/power6/wcsrchr.c: New file.
45888         * powerpc64/power6/wcschr.c: New file.
45889         * powerpc64/power6/wcscpy.c: New file.
45890         * powerpc64/power6/wcsrchr.c: New file.
45892 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45894         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45895         (two_way_short_needle): Use it.
45896         * string/strstr.c (AVAILABLE1_USES_J): Define.
45897         * string/strcasestr.c: Likewise.
45899         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45900         array references.
45901         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45903         [BZ #11607]
45904         * NEWS: Add an entry.
45905         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45906         define their defaults.
45907         (two_way_short_needle): Detect end-of-string on-the-fly.
45908         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45909         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45910         * string/bug-strcasestr1.c: New test.
45911         * string/Makefile: Run it.
45913 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45915         [BZ #11607]
45916         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45917         the first character.
45919 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45921         * csu/elf-init.c (__libc_csu_irel): Function removed.
45922         * csu/libc-start.c (apply_irel): New function.
45923         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45925 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45927         * sysdeps/unix/sysv/linux/kernel-features.h
45928         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45929         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45930         <kernel-features.h>.
45931         [__NR_fadvise64_64]: Make code unconditional.
45932         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45933         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45934         !__NR_fadvise64_64)]: Likewise.
45935         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45936         !__NR_fadvise64_64))]: Likewise.
45937         [__NR_fadvise64]: Make code unconditional.
45938         [!__NR_fadvise64]: Remove conditional code.
45939         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45940         <kernel-features.h>.
45941         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45942         unconditional.
45943         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45944         conditional code.
45945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45946         not include <kernel-features.h>.
45947         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45948         unconditional.
45949         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45950         conditional code.
45951         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45952         include <kernel-features.h>.
45953         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45954         unconditional.
45955         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45956         conditional code.
45958 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45960         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45961         slight instruction rearrangements per scrollpipe analysis.
45962         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45964 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45966         * manual/syslog.texi (syslog; vsyslog, closelog):
45967         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45968         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45970         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45971         DSOCAPS to match condition on defining it.
45973 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45975         * sysdeps/unix/sysv/linux/kernel-features.h
45976         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45978         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45979         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45981         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45982         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45984         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45985         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45987         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45988         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45990         * sysdeps/unix/sysv/linux/kernel-features.h
45991         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45992         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45993         unconditional.
45994         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45995         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45996         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45997         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45998         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45999         Make code unconditional.
46000         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46001         (__mmap64) [!__NR_mmap2]: Likewise.
46002         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46003         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46004         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46005         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46006         [__NR_mmap2]: Make code unconditional.
46007         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46008         (__mmap64) [!__NR_mmap2]: Likewise.
46010 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46012         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46014 2012-08-18  Andreas Jaeger  <aj@suse.de>
46016         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46018 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46020         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46021         * include/unistd.h (__have_sock_cloexec): Likewise.
46022         (__have_pipe2): Likewise.
46023         (__have_dup3): Likewise.
46025 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46027         [BZ #9685]
46028         * include/unistd.h (__have_pipe2): Change define into an extern int.
46029         (__have_dup3): Likewise.
46030         * socket/have_sock_cloexec.c: Include fcntl.h.
46031         (__have_pipe2): New variable.
46032         (__have_dup3): Likewise.
46034 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
46036         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46038 2012-08-17  Marek Polacek  <polacek@redhat.com>
46040         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46041         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46043 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46045         * configure.in: Add AC_SUBST for sysheaders.
46046         * configure: Regenerated.
46047         * config.make.in (sysheaders): New substituted variable.
46049         * sysdeps/unix/mkfifo.c: Moved ...
46050         * sysdeps/posix/mkfifo.c: ... here.
46051         * sysdeps/unix/mkfifoat.c: Moved ...
46052         * sysdeps/posix/mkfifoat.c: ... here.
46054         * sysdeps/unix/utime.c: Moved ...
46055         * sysdeps/posix/utime.c: ... here.
46057         * sysdeps/unix/time.c: Moved ...
46058         * sysdeps/posix/time.c: ... here.
46059         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46060         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46062         * sysdeps/unix/nice.c: Moved ...
46063         * sysdeps/posix/nice.c: ... here.
46065         * sysdeps/unix/alarm.c: Moved ...
46066         * sysdeps/posix/alarm.c: ... here.
46068         * intl/Makefile ($(codeset_mo)): Depend on the input file.
46070 2012-08-17  Jeff Law <law@redhat.com>
46072         * intl/Makefile (codeset_mo): New variable.
46073         ($(codeset_mo)): New target.
46074         (tst-codeset.out): Depend on that.  Remove explicit rule.
46075         (tst-gettext3.out, tst-gettext5.out): Likewise.
46076         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46077         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46078         * intl/tst-codeset.sh: Remove.
46079         * intl/tst-gettext3.sh: Likewise.
46080         * intl/tst-gettext5.sh: Likewise.
46082 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46084         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46085         * sysdeps/unix/syscalls.list: ... here.
46087         * sysdeps/posix/getaddrinfo.c
46088         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46089         (gaiconf_init, gaiconf_reload): Use them.
46090         [!_STATBUF_ST_NSEC]
46091         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46092         Define using time_t rather than struct timespec.
46094         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46095         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46096         Macros removed.
46097         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46098         [!NO_THREADS].
46099         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46100         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46101         Likewise.
46103         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46104         __libc_cleanup_push argument.
46106         * bits/param.h: New file.
46107         * misc/sys/param.h: New file.
46108         * include/sys/param.h: New file.
46109         * misc/Makefile (headers): Add bits/param.h.
46110         * sysdeps/generic/sys/param.h: File removed.
46111         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46112         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46113         * sysdeps/mach/hurd/bits/param.h: New file.
46114         * sysdeps/mach/hurd/sys/param.h: File removed.
46116         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46117         last change.
46119         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46120         [_IO_MTSAFE_IO].
46121         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46122         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46123         New macros.
46125         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46126         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46127         rather than -D_IO_MTSAFE_IO conditionally.
46128         * stdio-common/Makefile (CPPFLAGS): Likewise.
46129         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46130         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46131         Use $(libio-mtsafe).
46132         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46133         of -D_IO_MTSAFE_IO.
46134         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46135         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46136         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46137         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46138         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46139         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46140         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46141         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46142         (CFLAGS-fread_u_chk.c): Likewise.
46143         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46144         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46145         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46146         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46147         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46148         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46149         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46150         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46151         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46153         * libio/Makefile: Test [$(libc-reentrant) = yes]
46154         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46156         * Makeconfig
46157         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46158         * sysdeps/pthread/configure: File removed.
46159         * sysdeps/pthread/Makeconfig: New file.
46160         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46161         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46163 2012-08-16  Gary Benson  <gbenson@redhat.com>
46165         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46166         unmapping the first object in a namespace.
46168 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46170         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46171         (__internal_setnetgrent): ... this.  Add internal_function to
46172         definition.  Add libc_hidden_def.
46173         (setnetgrent): Update caller.
46174         (internal_endnetgrent): Renamed to ...
46175         (__internal_endnetgrent): ... this.  Add internal_function to
46176         definition.  Add libc_hidden_def.
46177         (endnetgrent): Update caller.
46178         (internal_getnetgrent_r): Renamed to ...
46179         (__internal_getnetgrent_r): ... this.  Add internal_function to
46180         definition.  Add libc_hidden_def.
46181         (__getnetgrent_r): Update caller.
46182         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46184 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46186         * stdlib/longlong.h: Update from GCC.
46188 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46190         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46191         on _QL, which is set by umul_ppmm but never used.
46192         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46193         variables, which are set by GMP macros but never used.
46194         * stdio-common/_itowa.c (_itowa): Likewise.
46195         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46196         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46198 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46200         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46201         struct La_sh_regs is not constant.
46202         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46203         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46204         and struct La_sparc64_regs are not constant.
46206 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46208         * sysdeps/unix/sysv/linux/kernel-features.h
46209         (__ASSUME_POSIX_TIMERS): Remove.
46210         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46211         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46212         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46213         Make code unconditional.
46214         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46215         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46216         Make code unconditional.
46217         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46218         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46219         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46220         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46221         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46222         Make code unconditional.
46223         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46224         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46225         (__libc_missing_posix_timers): Remove.
46227 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46229         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46230         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46232         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46234         * elf/dl-sym.c: Include <stdlib.h>.
46236         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46237         constants, which avoids warnings in 32-bit builds.
46239         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46240         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46242         * misc/lseek.c: File moved to ...
46243         * io/lseek.c: ... here.
46245         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46247         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46248         shifting LEN more than 31 bits at once.
46250 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46252         [BZ #14195]
46253         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46254         segmentation fault for a case of two empty input strings.
46255         * string/test-strncasecmp.c (check1): Renamed to...
46256         (bz12205): ...this.
46257         (bz14195): Add new testcase for two empty input strings and N > 0.
46258         (test_main): Call new testcase, adapt for renamed function.
46260 2012-08-15  Andreas Jaeger  <aj@suse.de>
46262         [BZ #14090]
46263         * crypt/md5test2.c: New test, based on test supplied by Serge
46264         Belyshev <belyshev@depni.sinp.msu.ru>.
46265         * crypt/Makefile (xtests): Add md5test-giant..
46266         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46268 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46270         [BZ #14090]
46271         * crypt/md5.c (md5_process_block): Don't assume the buffer
46272         length is less than 2**32.
46273         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46274         length is less than 2**64.
46276 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46278         * string/str-two-way.h: Include <sys/param.h>.
46279         (MAX): Macro removed.
46281         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46282         Move #define and #undef of memmove to just before and after
46283         including <string.h>.
46285         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46286         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46287         and after including <string.h>.  Move declarations of
46288         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46289         to before #include "string/memmove.c".
46291         * include/dirent.h: Declare __getdirentries.
46293         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46294         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46296 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46298         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46299         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46300         * sysdeps/i386/configure: Regenerated.
46301         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46302         STABS_CURRENT_FILE, and STABS_FUN.
46303         (END): Remove call to STABS_FUN_END.
46304         (STABS_CURRENT_FILE1): Delete.
46305         (STABS_CURRENT_FILE): Likewise.
46306         (STABS_FUN): Likewise.
46307         (STABS_FUN_END): Likewise.
46308         (STABS_FUN2): Likewise.
46309         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46310         * sysdeps/x86_64/configure: Regenerated.
46312 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46314         * elf/dl-open.c: Include <atomic.h>.
46315         * elf/dl-lookup.c: Likewise.
46317 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46319         * sysdeps/unix/sysv/linux/kernel-features.h
46320         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46321         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46322         unconditionally.
46323         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46324         unconditionally.
46325         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46326         condition on __ASSUME_CLONE_THREAD_FLAGS.
46328 2012-08-14  Andreas Jaeger  <aj@suse.de>
46330         * sysdeps/i386/fpu/libm-test-ulps: Update.
46332 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46334         * include/atomic.h (atomic_exchange_and_add): Split into ...
46335         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46336         New atomic macros.
46338 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46342 2012-08-13  Jeff Law <law@redhat.com>
46344         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46345         null byte in the output string.
46347 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46349         * sysdeps/unix/sysv/linux/kernel-features.h
46350         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46351         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46352         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46353         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46354         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46355         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46356         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46358 2012-08-09  Jeff Law <law@redhat.com>
46360         [BZ #13939]
46361         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46362         When avoid_arena is set, don't retry in the that arena.  Pick the
46363         next one, whatever it might be.
46364         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46365         (arena_lock): Pass in new parameter to arena_get2.
46366         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46367         arena_get2.
46368         (__libc_malloc): Unify retrying after main arena failure with
46369         __libc_memalign version.
46370         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46372 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46374         [BZ #14166]
46375         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46376         to __redirect_strstr.
46377         (__strstr_sse42): Use typeof __redirect_strstr.
46378         (__strstr_ia32): Likewise.
46379         (__libc_strstr): New prototype.
46380         (strstr): Renamed to ...
46381         (__libc_strstr): This.
46382         (strstr): New strong alias of __libc_strstr.
46383         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46384         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46385         __redirect_time.
46386         Include <time.h>.
46387         (__libc_time): New prototype.
46388         (time_ifunc): Replace time with __libc_time.
46389         (time): New strong alias and hidden definition of __libc_time.
46390         (__GI_time): Remove strong alias.
46391         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46392         Include <stddef.h>.
46393         (memmove): Redefined to __redirect_memmove.
46394         (__memmove_sse2): Use typeof __redirect_memmove.
46395         (__memmove_ssse3): Likewise.
46396         (__memmove_ssse3_back): Likewise.
46397         (__libc_memmove): New prototype.
46398         (memmove): Renamed to ...
46399         (__libc_memmove): This.
46400         (memmove): New strong alias of __libc_memmove.
46402 2012-08-08  Mark Salter  <msalter@redhat.com>
46404         * elf/elf.h
46405         (R_MN10300_TLS_GD): Define.
46406         (R_MN10300_TLS_LD): Likewise.
46407         (R_MN10300_TLS_LDO): Likewise.
46408         (R_MN10300_TLS_GOTIE): Likewise.
46409         (R_MN10300_TLS_IE): Likewise.
46410         (R_MN10300_TLS_LE): Likewise.
46411         (R_MN10300_TLS_DTPMOD): Likewise.
46412         (R_MN10300_TLS_DTPOFF): Likewise.
46413         (R_MN10300_TLS_TPOFF): Likewise.
46414         (R_MN10300_SYM_DIFF): Likewise.
46415         (R_MN10300_ALIGN): Likewise.
46416         (R_MN10300_NUM): Update.
46418 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46421         Remove.
46423 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46425         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46427         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46428         sysdeps/unix -> sysdeps/posix move.
46429         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46431 2012-08-07      Allan McRae     <allan@archlinux.org>
46433         [BZ #14303]
46434         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46435         (SUNOS_CPP): Likewise.
46436         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46437         not found.
46438         (open_input): Call CPP using execvp.
46440 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46442         * sysdeps/unix/sysv/linux/kernel-features.h
46443         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46444         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46445         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46446         (__ASSUME_WAITID_SYSCALL): Likewise.
46447         * sysdeps/unix/sysv/linux/dl-execstack.c
46448         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46449         code unconditional.
46450         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46451         conditional code.
46452         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46453         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46454         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46455         code.
46456         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46457         unconditional.
46458         [__ASSUME_WAITID_SYSCALL]: Likewise.
46459         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46461 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46463         * sysdeps/unix/closedir.c: Renamed to ...
46464         * sysdeps/posix/closedir.c: ... here.
46465         * sysdeps/unix/dirfd.c: Renamed to ...
46466         * sysdeps/posix/dirfd.c: ... here.
46467         * sysdeps/unix/dirstream.h: Renamed to ...
46468         * sysdeps/posix/dirstream.h: ... here.
46469         * sysdeps/unix/fdopendir.c: Renamed to ...
46470         * sysdeps/posix/fdopendir.c: ... here.
46471         * sysdeps/unix/opendir.c: Renamed to ...
46472         * sysdeps/posix/opendir.c: ... here.
46473         * sysdeps/unix/readdir.c: Renamed to ...
46474         * sysdeps/posix/readdir.c: ... here.
46475         * sysdeps/unix/readdir_r.c: Renamed to ...
46476         * sysdeps/posix/readdir_r.c: ... here.
46477         * sysdeps/unix/rewinddir.c: Renamed to ...
46478         * sysdeps/posix/rewinddir.c: ... here.
46479         * sysdeps/unix/seekdir.c: Renamed to ...
46480         * sysdeps/posix/seekdir.c: ... here.
46481         * sysdeps/unix/telldir.c: Renamed to ...
46482         * sysdeps/posix/telldir.c: ... here.
46483         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46484         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46485         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46486         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46488         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46489         * bits/fcntl.h: ... here.
46491         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46492         not 0.
46493         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46494         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46495         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46496         (struct flock): Move l_start, l_len to the beginning.
46497         Use __pid_t for l_pid.
46498         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46499         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46500         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46501         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46502         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46503         [__USE_LARGEFILE64] (struct flock64): New type.
46504         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46506         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46507         * bits/dirent.h: ... here.
46509         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46510         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46512 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46514         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46515         Change from 2.6.0 to 2.6.16.
46516         * sysdeps/unix/sysv/linux/configure: Regenerated.
46517         * sysdeps/unix/sysv/linux/kernel-features.h
46518         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46519         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46520         version.
46521         (__ASSUME_UTIMES): Likewise.
46522         (__ASSUME_CLONE_STOPPED): Remove.
46523         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46524         architectures, not kernel version.
46525         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46526         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46527         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46528         (__ASSUME_WAITID_SYSCALL): Likewise.
46529         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46530         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46531         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46532         refer to older versions.
46534 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46536         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46537         Define alphasort64 as an alias.
46538         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46539         Define versionsort64 as an alias.
46540         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46541         Define scandir64 as an alias.
46542         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46543         Define scandirat64 as an alias.
46544         * dirent/alphasort64.c (alphasort64):
46545         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46546         * dirent/versionsort64.c: Likewise.
46547         * dirent/scandir64.c: Likewise.
46548         * dirent/scandirat64.c: Likewise.
46549         * sysdeps/wordsize-64/alphasort.c: File removed.
46550         * sysdeps/wordsize-64/alphasort64.c: File removed.
46551         * sysdeps/wordsize-64/scandir.c: File removed.
46552         * sysdeps/wordsize-64/scandir64.c: File removed.
46553         * sysdeps/wordsize-64/scandirat.c: File removed.
46554         * sysdeps/wordsize-64/scandirat64.c: File removed.
46555         * sysdeps/wordsize-64/versionsort.c: File removed.
46556         * sysdeps/wordsize-64/versionsort64.c: File removed.
46557         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46558         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46559         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46560         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46561         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46562         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46563         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46564         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46566         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46568         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46569         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46570         [defined __arch64__ || defined __sparcv9]
46571         (__INO_T_MATCHES_INO64_T): New macro.
46572         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46573         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46574         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46575         * sysdeps/unix/sysv/linux/bits/dirent.h
46576         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46577         (_DIRENT_MATCHES_DIRENT64): New macro.
46579         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46580         Define lockf64 as an alias.
46581         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46582         Define fseeko64 as an alias.
46583         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46584         Define ftello64 as an alias.
46585         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46586         Define _IO_fgetpos64 and fgetpos64 as aliases.
46587         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46588         Define _IO_fsetpos64 and fsetpos64 as aliases.
46589         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46590         Conditionalize body on this.
46591         * libio/fseeko64.c: Likewise.
46592         * libio/ftello64.c: Likewise.
46593         * libio/iofgetpos64.c: Likewise.
46594         * libio/iofsetpos64.c: Likewise.
46595         * sysdeps/wordsize-64/lockf.c: File removed.
46596         * sysdeps/wordsize-64/lockf64.c: File removed.
46597         * sysdeps/wordsize-64/fseeko.c: File removed.
46598         * sysdeps/wordsize-64/fseeko64.c: File removed.
46599         * sysdeps/wordsize-64/ftello.c: File removed.
46600         * sysdeps/wordsize-64/ftello64.c: File removed.
46601         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46602         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46603         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46604         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46605         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46606         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46607         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46608         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46609         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46610         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46612         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46613         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46614         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46616         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46618         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46620         [defined __arch64__ || defined __sparcv9]
46621         (__OFF_T_MATCHES_OFF64_T): New macro.
46622         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46623         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46624         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46625         (__OFF_T_MATCHES_OFF64_T): New macro.
46627 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46629         * stdlib/secure-getenv.c (__secure_getenv): Replace
46630         GLIBC_2_16 with GLIBC_2_17.
46632 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46634         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46635         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46637 2012-08-03  David S. Miller  <davem@davemloft.net>
46639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46641 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46644         Remove.
46645         (__ASSUME_CORRECT_SI_PID): Likewise.
46646         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46647         (__ASSUME_TMPFS_NAME): Likewise.
46648         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46649         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46650         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46651         (HAVE_AUX_SECURE): Make definition unconditional.
46652         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46653         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46655 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46657         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46658         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46659         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46660         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46661         __eloop_threshold instead of SYMLOOP_MAX.
46663         * sysdeps/generic/eloop-threshold.h: New file.
46664         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46665         of MAXSYMLINKS.
46666         * elf/chroot_canon.c (chroot_canon): Likewise.
46668 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46670         [BZ #13717]
46671         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46672         Change to 2.6.0 everywhere.
46673         * sysdeps/unix/sysv/linux/configure: Regenerated.
46674         * sysdeps/unix/sysv/linux/kernel-features.h
46675         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46676         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46677         kernel versions.
46678         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46679         (__ASSUME_FUTEX_REQUEUE): Remove.
46680         (__ASSUME_STATFS64): Define unconditionally.
46681         (__ASSUME_AT_SECURE): Likewise.
46682         (__ASSUME_CORRECT_SI_PID): Likewise.
46683         (__ASSUME_TGKILL): Define without depending on kernel version for
46684         i386.
46685         (__ASSUME_UTIMES): Likewise.
46686         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46687         kernel version.
46688         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46689         (__ASSUME_TMPFS_NAME): Likewise.
46690         * README: Update reference to Linux kernel versions.
46692 2012-08-02  Marek Polacek  <polacek@redhat.com>
46694         [BZ# 14150]
46695         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46696         libc_cv_asm_type_prefix with %.
46697         * configure: Regenerated.
46698         * include/libc-symbols.h: Remove comment about
46699         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46700         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46701         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46702         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46703         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46704         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46705         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46706         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46707         * elf/tst-unique2mod1.c: Likewise.
46708         * elf/tst-unique1mod2.c: Likewise.
46709         * elf/tst-unique1mod1.c: Likewise.
46710         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46711         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46712         Replace ASM_TYPE_DIRECTIVE with .type.
46713         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46714         * sysdeps/i386/sysdep.h: Likewise.
46715         * sysdeps/x86_64/sysdep.h: Likewise.
46716         * sysdeps/sh/sysdep.h: Likewise.
46717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46718         Do not define ASM_TYPE_DIRECTIVE.
46719         * sysdeps/powerpc/sysdep.h: Likewise.
46720         * sysdeps/powerpc/powerpc32/sysdep.h:
46721         Replace ASM_TYPE_DIRECTIVE with .type.
46722         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46723         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46724         * sysdeps/i386/fpu/e_powf.S: Likewise.
46725         * sysdeps/i386/fpu/e_expl.S: Likewise.
46726         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46727         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46728         * sysdeps/i386/fpu/e_pow.S: Likewise.
46729         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46730         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46731         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46732         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46733         * sysdeps/i386/fpu/e_log2.S: Likewise.
46734         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46735         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46736         * sysdeps/i386/fpu/e_powl.S: Likewise.
46737         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46738         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46739         * sysdeps/i386/fpu/e_logl.S: Likewise.
46740         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46741         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46742         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46743         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46744         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46745         * sysdeps/i386/fpu/e_log.S: Likewise.
46746         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46747         * sysdeps/i386/fpu/e_logf.S: Likewise.
46748         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46749         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46750         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46751         * sysdeps/i386/fpu/e_log10.S: Likewise.
46752         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46753         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46754         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46755         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46756         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46757         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46758         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46759         * sysdeps/i386/i686/strtok.S: Likewise.
46760         * sysdeps/i386/i386-mcount.S: Likewise.
46761         * sysdeps/i386/strtok.S: Likewise.
46762         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46763         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46764         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46765         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46766         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46767         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46768         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46769         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46770         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46771         * sysdeps/x86_64/_mcount.S: Likewise.
46772         * sysdeps/x86_64/strtok.S: Likewise.
46773         * sysdeps/sh/_mcount.S: Likewise.
46775 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46777         * libio/iofopen.c: Include <fcntl.h>.
46778         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46779         (_IO_fopen64, fopen64): Define as aliases.
46780         * libio/iofopen64.c: Include <fcntl.h>.
46781         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46782         Conditionalize body on this.
46783         * sysdeps/wordsize-64/iofopen.c: File removed.
46784         * sysdeps/wordsize-64/iofopen64.c: File removed.
46786 2012-08-01  Marek Polacek  <polacek@redhat.com>
46788         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46789         Use dlfcn directly instead of a variable.
46790         (binfmt-subdir): Do not define.
46791         (dlfcn): Likewise.
46793 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46795         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46796         Remove all definitions.
46797         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46798         <kernel-features.h>.
46799         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46800         (miss_F_GETOWN_EX): Remove all definitions.
46801         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46802         macro definition.
46803         [!__ASSUME_FCNTL64]: Remove conditional code.
46804         [__ASSUME_FCNTL64]: Make code unconditional.
46805         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46806         <kernel-features.h>.
46807         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46808         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46809         (lockf64) [__NR_fcntl64]: Make code unconditional.
46810         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46812         * sysdeps/unix/sysv/linux/kernel-features.h
46813         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46814         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46815         Make code unconditional.
46816         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46817         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46819         [__NR_vfork]: Make code unconditional.
46820         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46821         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46823         [__NR_vfork]: Make code unconditional.
46824         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46825         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46827 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46829         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46830         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46832         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46833         Define mkstemp64 as an alias.
46834         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46835         Define mkstemps64 as an alias.
46836         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46837         Define mkostemp64 as an alias.
46838         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46839         Define mkostemps64 as an alias.
46840         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46841         Conditionalize body on this.
46842         * misc/mkostemp64.c: Likewise.
46843         * misc/mkostemps64.c: Likewise.
46844         * misc/mkstemps64.c: Likewise.
46845         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46846         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46847         * sysdeps/wordsize-64/mkostemp.c: File removed.
46848         * sysdeps/wordsize-64/mkstemp.c: File removed.
46849         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46850         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46851         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46852         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46854         [BZ #14138]
46855         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46856         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46857         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46858         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46860         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46861         compat_symbol macros from <shlib-compat.h> rather than the underlying
46862         default_symbol_version and symbol_version macros, so that DEFAULT
46863         lines in shlib-versions are respected.
46864         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46866 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46868         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46869         Declare with warn_unused_result.
46870         (setgid, setregid, setegid, setresgid): Likewise.
46871         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46872         Likewise.
46873         * WUR-REPORT: Remove set*id functions.
46875 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46877         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46879 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46881         [BZ #10191]
46882         * include/sys/socket.h (__libc_accept, __libc_accept4):
46883         Add attribute_hidden.
46884         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46886         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46887         use of PTR_MANGLE.
46888         * inet/getnetgrent_r.c (setup): Likewise.
46890         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46892 2012-07-31  David S. Miller  <davem@davemloft.net>
46894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46896 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46898         [BZ #13629]
46899         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46900         value between 1.0 and 2.0 and smaller part has absolute value less
46901         than 1.0.
46902         * math/s_clog10.c (__clog10): Likewise.
46903         * math/s_clog10f.c (__clog10f): Likewise.
46904         * math/s_clog10l.c (__clog10l): Likewise.
46905         * math/s_clogf.c (__clogf): Likewise.
46906         * math/s_clogl.c (__clogl): Likewise.
46907         * math/libm-test.inc (clog_test): Add more tests.
46908         (clog10_test): Likewise.
46909         * sysdeps/i386/fpu/libm-test-ulps: Update.
46910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46912 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46914         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46915         Exit with zero in case no suitable GID is found, and write a
46916         message to standard error.
46918 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46920         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46921         rather than to 1.
46922         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46923         (MAXPATHLEN): Removed.
46924         (NOGROUP, NODEV): New macros.
46925         (setbit, clrbit, isset, isclr): New macros.
46926         (howmany, roundup, powerof2): New macros.
46927         (DEV_BSIZE): New macro.
46929         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46930         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46932         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46933         definition on [!__NO_LONG_DOUBLE_MATH].
46935         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46936         PTR_MANGLE and PTR_DEMANGLE.
46938         * socket/accept4.c (accept4): Rename to __libc_accept4.
46939         Define accept4 as a weak alias.
46941         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46942         on [_DIRENT_HAVE_D_TYPE].
46943         * io/ftw.c (ftw_dir): Likewise.
46945         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46947         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46949         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46950         Use the BSD numbers rather than the arbitrary ones we had.
46951         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46952         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46953         (SIGXCPU, SIGXFSZ): New macros.
46954         (_NSIG): Now 32.
46956         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46957         initializer on [_LIBC_REENTRANT].
46959         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46960         definitions inside [_POSIX_MAPPED_FILES].
46962         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46964         * dirent/opendir.c: Include <fcntl.h>.
46966         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46967         (__libc_getspecific): Likewise.
46968         (__libc_key_create): Likewise.
46970         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46971         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46972         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46973         (tmpfile64): Define as alias.
46974         * sysdeps/wordsize-64/tmpfile.c: File removed.
46975         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46976         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46977         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46979         * stdio-common/vfscanf.c: Include <stdbool.h>.
46980         * nss/makedb.c: Likewise.
46981         * stdio-common/_i18n_number.h: Likewise.
46982         * argp/argp-help.c: Likewise.
46983         * posix/wordexp.c: Likewise.
46984         * sysdeps/posix/spawni.c: Likewise.
46985         * nss/nss_files/files-initgroups.c: Likewise.
46986         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46987         * nss/nss_files/files-initgroups.c: Likewise.
46988         * nss/nss_db/db-netgrp.c: Likewise.
46989         * nss/nss_db/db-initgroups.c: Likewise.
46990         * io/fchmodat.c: Include <sys/stat.h>.
46992         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46993         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46995         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46996         [HAVE_MMAP].
46998         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46999         Add multiple inclusion protection.
47001 2012-07-27  David S. Miller  <davem@davemloft.net>
47003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47005 2012-07-27  Gary Benson  <gbenson@redhat.com>
47007         [BZ #14298]
47008         * elf/rtld.c: Include <stap-probe.h>.
47009         (dl_main): Added static probes "init_start" and "init_complete".
47010         * elf/dl-load.c: Include <stap-probe.h>.
47011         (lose): Take new parameter "nsid".
47012         Added static probe "map_failed".
47013         (_dl_map_object_from_fd): Pass namespace id to lose.
47014         Added static probe "map_start".
47015         (open_verify): Pass namespace id to lose.
47016         * elf/dl-open.c: Include <stap-probe.h>.
47017         (dl_open_worker) Added static probes "map_complete", "reloc_start"
47018         and "reloc_complete".
47019         * elf/dl-close.c: Include <stap-probe.h>.
47020         (_dl_close_worker): Added static probes "unmap_start" and
47021         "unmap_complete".
47022         * elf/rtld-debugger-interface.txt: New file documenting the above.
47024 2012-07-26  Roland McGrath  <roland@hack.frob.com>
47026         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47027         rather than a string variable.
47028         * sunrpc/rpc_main.c (h_output): Likewise.
47029         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47031 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
47033         * inet/check_native.c: New file.
47035 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
47037         [BZ #13629]
47038         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47039         if larger part has absolute value 1.0.
47040         * math/s_clog10.c (__clog10): Likewise.
47041         * math/s_clog10f.c (__clog10f): Likewise.
47042         * math/s_clog10l.c (__clog10l): Likewise.
47043         * math/s_clogf.c (__clogf): Likewise.
47044         * math/s_clogl.c (__clogl): Likewise.
47045         * math/libm-test.inc (clog_test): Add more tests.
47046         (clog10_test): Likewise.
47047         * sysdeps/i386/fpu/libm-test-ulps: Update.
47048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47050         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47051         (pltexit): Likewise.
47052         (La_regs): Likewise.
47053         (La_retval): Likewise.
47054         (int_retval): Likewise.
47055         Update #error for removed macros to refer only to definitions in
47056         tst-audit.h.
47057         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47058         macro.
47059         (pltexit): Likewise.
47060         (La_regs): Likewise.
47061         (La_retval): Likewise.
47062         (int_retval): Likewise.
47063         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47064         macro.
47065         (pltexit): Likewise.
47066         (La_regs): Likewise.
47067         (La_retval): Likewise.
47068         (int_retval): Likewise.
47069         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47070         macro.
47071         (pltexit): Likewise.
47072         (La_regs): Likewise.
47073         (La_retval): Likewise.
47074         (int_retval): Likewise.
47075         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47076         macro.
47077         (pltexit): Likewise.
47078         (La_regs): Likewise.
47079         (La_retval): Likewise.
47080         (int_retval): Likewise.
47081         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47082         macro.
47083         (pltexit): Likewise.
47084         (La_regs): Likewise.
47085         (La_retval): Likewise.
47086         (int_retval): Likewise.
47087         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47088         macro.
47089         (pltexit): Likewise.
47090         (La_regs): Likewise.
47091         (La_retval): Likewise.
47092         (int_retval): Likewise.
47093         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47094         macro definitions in tst-audit.h.
47095         * sysdeps/i386/tst-audit.h: New file.
47096         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47097         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47098         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47099         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47100         * sysdeps/sh/tst-audit.h: Likewise.
47101         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47102         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47103         * sysdeps/x86_64/tst-audit.h: Likewise.
47105 2012-07-26  Andreas Jaeger  <aj@suse.de>
47107         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47108         ptrace.
47110         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47111         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47112         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47113         PTRACE_O_MASK.
47114         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47115         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47116         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47118         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47119         value.
47121         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47122         _sigsys.
47123         (si_call_addr, si_syscall, si_arch): Define new macro.
47124         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47125         _sigsys.
47126         (si_call_addr, si_syscall, si_arch): Define new marcro.
47127         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47128         _sigsys.
47129         (si_call_addr, si_syscall, si_arch): Define new macro.
47130         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47131         _sigsys.
47132         (si_call_addr, si_syscall, si_arch): Define new macro.
47134 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47136         [BZ #13717]
47137         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47138         Change to 2.4.21 where previously 2.4.1.
47139         * sysdeps/unix/sysv/linux/configure: Regenerated.
47140         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47141         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47142         Linux kernel version.
47143         (__ASSUME_STD_AUXV): Remove.
47144         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47145         kernel version.
47146         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47147         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47148         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47149         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47150         (__ASSUME_NETLINK_SUPPORT): Likewise.
47151         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47152         (__no_netlink_support): Remove conditional definition.
47153         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47154         Remove.
47155         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47156         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47157         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47158         (if_nameindex_ioctl): Remove.
47159         (if_nameindex_netlink): Do not handle __no_netlink_support.
47160         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47161         code.
47162         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47163         Remove conditional code.
47164         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47165         code.
47166         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47167         unconditional.
47168         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47169         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47170         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47171         Remove.
47172         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47173         [!__ASSUME_STD_AUXV]: Remove conditional code.
47174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47175         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47176         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47178         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47179         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47180         code.
47181         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47183         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47184         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47185         conditional code.
47186         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47188         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47189         code.
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47191         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47192         conditional code.
47193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47194         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47195         code unconditional.
47196         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47197         conditional code.
47198         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47199         unconditional.
47200         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47201         conditional code.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47203         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47204         unconditional.
47205         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47206         conditional code.
47207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47208         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47209         code unconditional.
47210         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47211         conditional code.
47212         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47213         unconditional.
47214         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47215         conditional code.
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47217         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47218         code unconditional.
47219         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47220         conditional code.
47221         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47222         unconditional.
47223         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47224         conditional code.
47226 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47228         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47229         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47230         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47231         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47232         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47233         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47234         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47235         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47236         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47237         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47238         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47239         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47240         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47241         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47242         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47244         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47245         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47246         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47248         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47249         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47250         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47252 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47254         * Versions.def: Add GLIBC_2.17.
47255         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47256         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47257         Introduce __libc_secure_getenv.
47258         * stdlib/Versions (2.17): Add secure_getenv
47259         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47260         * stdlib/secure-getenv.c: Rename __secure_getenv to
47261         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47262         symbol __secure_getenv for GLIBC_2.0.
47263         * stdlib/tst-secure-getenv.c: New.
47264         * stdlib/Makefile (tests): Add testcase.
47265         * manual/startup.texi (Environment Access): Document
47266         secure_getenv.
47267         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47268         __libc_secure_getenv.
47269         * inet/ruserpass.c (ruserpass): Likewise.
47270         * malloc/mtrace.c (mtrace): Likewise.
47271         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47272         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47273         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47274         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47275         HAVE_SECURE_GETENV.
47276         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47277         __secure_getenv to __libc_secure_getenv.
47278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47280         Likewise.
47281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47282         Likewise.
47283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47285         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47291 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47293         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47294         (struct La_i86_retval): Likewise.
47295         (struct La_x86_64_regs): Likewise.
47296         (struct La_x86_64_retval): Likewise.
47297         (struct La_x32_regs): Likewise.
47298         (struct La_x32_retval): Likewise.
47299         (struct La_ppc32_regs): Likewise.
47300         (struct La_ppc32_retval): Likewise.
47301         (struct La_ppc64_regs): Likewise.
47302         (struct La_ppc64_retval): Likewise.
47303         (struct La_sh_regs): Likewise.
47304         (struct La_sh_retval): Likewise.
47305         (struct La_s390_32_regs): Likewise.
47306         (struct La_s390_32_retval): Likewise.
47307         (struct La_s390_64_regs): Likewise.
47308         (struct La_s390_64_retval): Likewise.
47309         (struct La_sparc32_regs): Likewise.
47310         (struct La_sparc32_retval): Likewise.
47311         (struct La_sparc64_regs): Likewise.
47312         (struct La_sparc64_retval): Likewise.
47313         (struct audit_ifaces): Remove architecture-specific pltenter and
47314         pltexit members.
47315         * sysdeps/i386/ldsodefs.h: New file.
47316         * sysdeps/powerpc/ldsodefs.h: Likewise.
47317         * sysdeps/s390/ldsodefs.h: Likewise.
47318         * sysdeps/sh/ldsodefs.h: Likewise.
47319         * sysdeps/sparc/ldsodefs.h: Likewise.
47320         * sysdeps/x86_64/ldsodefs.h: Likewise.
47322 2012-07-25  Marek Polacek  <polacek@redhat.com>
47324         [BZ #6808]
47325         * math/libm-test.inc (yn_test): Add another test.
47326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47327         to ERANGE when the result is +-Inf.
47328         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47329         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47330         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47331         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47333 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47335         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47336         equal to 0.
47337         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47338         clock_t.
47339         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47341 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47343         * configure.in <sysdeps resolving>: Correct printing
47344         Implies_before.
47345         * configure: Regenerate.
47347 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47349         * math/w_ilogb.c: Include <limits.h>.
47350         * math/w_ilogbl.c: Likewise.
47352 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47354         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47355         va_copy.  Document allowing for unavailable va_copy only as
47356         pre-C99 compatibility.
47357         * manual/string.texi (Copying and Concatenation): Use va_copy
47358         instead of __va_copy in concat example.
47360 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47362         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47363         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47364         it if not null.
47366         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47367         with O_NOLINK passed to __file_name_lookup.
47369         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47370         with O_NOLINK passed to __file_name_lookup.
47372         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47373         negative N or less than NGIDS.
47375         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47376         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47377         enough.  Use memcpy instead of strncpy.
47379 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47381         * elf/Makefile (check-data): Remove.
47382         (localplt.data): New vpath directive.
47383         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47384         instead of $(check-data).
47385         * scripts/data/localplt-generic.data: Move to ...
47386         * sysdeps/generic/localplt.data: ... here.
47387         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47388         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47389         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47391         ... here.
47392         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47394         ... here.
47395         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47397         ... here.
47398         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47400         ... here.
47401         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47403         ... here.
47404         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47406         ... here.
47408 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47410         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47411         PPC32 and PPC64 files.
47412         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47413         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47415 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47417         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47418         __makecontext_ret to ...
47419         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47420         ... here and call exit if uc_link is NULL.  New file.
47421         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47422         __makecontext_ret.S.
47423         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47424         __makecontext_ret to ...
47425         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47426         ... here and call exit if uc_link is NULL.  New file.
47427         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47428         __makecontext_ret.S.
47430 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47432         * elf/elf.h (R_390_IRELATIVE): New definition.
47433         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47434         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47435         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47436         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47437         (elf_machine_lazy_rel): Likewise.
47438         * sysdeps/s390/dl-irel.h: New file.
47439         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47440         * sysdeps/s390/s390-64/memset.S: New asm code.
47441         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47442         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47443         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47444         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47445         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47446         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47448         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47449         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47450         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47451         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47452         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47453         * sysdeps/s390/s390-32/memset.S: New asm code.
47454         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47456 2012-07-17  Marek Polacek  <polacek@redhat.com>
47458         [BZ #14349]
47459         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47460         * sysdeps/s390/s390-64/configure.in: Likewise.
47461         * sysdeps/sparc/configure.in: Likewise.
47462         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47463         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47464         * sysdeps/i386/configure.in: Likewise.
47465         * sysdeps/x86_64/configure.in: Likewise.
47466         * sysdeps/sh/configure.in: Likewise.
47467         * sysdeps/s390/s390-32/configure: Regenerated.
47468         * sysdeps/s390/s390-64/configure: Likewise.
47469         * sysdeps/x86_64/configure: Likewise.
47470         * sysdeps/sh/configure: Likewise.
47471         * sysdeps/powerpc/powerpc64/configure: Likewise.
47472         * sysdeps/powerpc/powerpc32/configure: Likewise.
47473         * sysdeps/sparc/configure: Likwise.
47474         * sysdeps/i386/configure: Likewise.
47476         * elf/dl-open.c: Comment fixes.
47478 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47480         * Makefile [CXX] (check-data): Remove.
47481         [CXX] (c++-types.data): New vpath directive.
47482         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47483         vpath.  Do not allow for C++ type data being missing.
47484         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47485         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47486         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47487         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47488         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47489         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47490         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47492         ... here.
47493         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47495         ... here.
47496         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47498         ... here.
47499         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47501         ... here.
47502         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47504         ... here.
47505         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47507         ... here.
47508         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47510         ... here.
47511         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47514         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47515         definitions to architecture-specific files.
47516         (TLS_IE): Likewise.
47517         (TLS_LD): Likewise.
47518         (TLS_GD): Likewise.
47519         * sysdeps/i386/tls-macros.h: New file.
47520         * sysdeps/powerpc/tls-macros.h: Likewise.
47521         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47522         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47523         * sysdeps/sh/tls-macros.h: Likewise.
47524         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47525         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47526         * sysdeps/x86_64/tls-macros.h: Likewise.
47528 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47530         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47531         zero value for regular exit case.
47533         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47534         (__start_context): Preserve zero value for regular exit case.
47536 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47537             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47539         * manual/setjmp.texi (setcontext): Clarify normal process
47540         termination when uc_link is the null pointer.
47541         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47542         exit call.
47544 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47546         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47547         preprocessor.  Test for each exception mask separately.
47549 2012-07-16  Andreas Jaeger  <aj@suse.de>
47551         * po/ru.po: Update from translation team.
47553 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47555         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47556         equal to 0.
47557         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47558         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47559         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47560         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47561         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47563 2012-07-13  Andreas Jaeger  <aj@suse.de>
47565         * po/fr.po: Update from translation team.
47567 2012-07-12  Marek Polacek  <polacek@redhat.com>
47569         [BZ #14173]
47570         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47571         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47572         loop condition.
47574 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47576         [BZ #13717]
47577         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47578         Change to 2.4.1 where previously 2.4.0.
47579         * sysdeps/unix/sysv/linux/configure: Regenerated.
47580         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47581         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47582         version.
47583         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47584         (__ASSUME_AT_CLKTCK): Remove.
47585         (__ASSUME_AT_PAGESIZE): Likewise.
47586         (__ASSUME_AT_XID): Likewise.
47587         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47588         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47589         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47590         unconditionally.
47591         (HAVE_AUX_PAGESIZE): Likewise.
47592         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47593         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47594         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47596 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47598         [BZ #14307]
47599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47600         the temporary buffer used to invoke __gethostbyname2_r,
47601         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47602         host_data / struct gaih_addrtuple.
47603         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47604         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47605         header file nss/nsswitch.h.
47606         * nss/nsswitch.h (global scope): Add definition of implementation
47607         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47608         resolv/nss_dns/dns-host.c).
47610 2012-07-11  Andreas Jaeger  <aj@suse.de>
47612         * po/fr.po: Update from translation team.
47614         * po/sv.po: Update from translation team
47615         * po/fr.po: Another update from translation team.
47617 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47619         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47620         for subnormals or multiply small sinh result by itself.
47621         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47624 2012-07-11  David S. Miller  <davem@davemloft.net>
47626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47628 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47630         [BZ #14347]
47631         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47632         (INTERNAL_MARK): Shift it here.
47634 2012-07-10  Marek Polacek  <polacek@redhat.com>
47636         [BZ #14151]
47637         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47638         libc_cv_asm_global_directive with .globl.
47639         * configure: Regenerated.
47640         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47641         with .globl.
47642         * sysdeps/i386/configure: Regenerated.
47643         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47644         with .globl.
47645         * sysdeps/x86_64/configure: Regenerated.
47646         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47647         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47648         * elf/tst-unique2mod2.c: Likewise.
47649         * elf/tst-unique2mod1.c: Likewise.
47650         * elf/tst-unique1mod2.c: Likewise.
47651         * elf/tst-unique1mod1.c: Likewise.
47652         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47653         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47654         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47655         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47656         * sysdeps/mach/sysdep.h: Likewise.
47657         * sysdeps/i386/sysdep.h: Likewise.
47658         * sysdeps/i386/i386-mcount.S: Likewise.
47659         * sysdeps/x86_64/_mcount.S: Likewise.
47660         * sysdeps/x86_64/sysdep.h: Likewise.
47661         * sysdeps/sh/_mcount.S: Likewise.
47662         * sysdeps/sh/sysdep.h: Likewise.
47663         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47664         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47665         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47666         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47667         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47668         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47669         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47670         * locale/localeinfo.h: Likewise.
47671         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47672         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47674 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47676         [BZ #14336]
47677         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47678         system".
47679         * manual/message.texi (The Uniforum approach): Likewise.
47680         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47681         (glibc iconv Implementation): Likewise.
47683 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47685         [BZ #14337]
47686         * math/s_clog.c (__clog): Avoid scaling a value down where that
47687         could result in underflow.
47688         * math/s_clog10.c (__clog10): Likewise.
47689         * math/s_clog10f.c (__clog10f): Likewise.
47690         * math/s_clog10l.c (__clog10l): Likewise.
47691         * math/s_clogf.c (__clogf): Likewise.
47692         * math/s_clogl.c (__clogl): Likewise.
47693         * math/libm-test.inc (clog_test): Add more tests.
47694         (clog10_test): Likewise.
47695         * sysdeps/i386/fpu/libm-test-ulps: Update.
47696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47698 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47700         [BZ #14283]
47701         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47702         by 7 not 8 to examine high bit of fractional part.
47704         [BZ #14042]
47705         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47706         for call to __mcount_internal.
47707         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47708         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47709         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47711 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47713         [BZ #14154]
47714         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47715         approximation for values within 0x1p-13f of an odd multiple of
47716         pi/4.
47717         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47718         exception.  Add more tests.
47719         * sysdeps/i386/fpu/libm-test-ulps: Update.
47721         [BZ #6778]
47722         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47723         inputs and return -1 for them.  Do not check for +Inf in case not
47724         reachable for +Inf.
47725         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47726         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47727         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47728         and return -1 for them.  Do not check for +Inf in case not
47729         reachable for +Inf.
47730         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47731         define.
47732         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47733         and return -1 for them.  Do not check for +Inf in case not
47734         reachable for +Inf.
47735         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47736         spurious underflow.
47737         * sysdeps/i386/fpu/libm-test-ulps: Update.
47738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47740 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47742         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47744 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47746         [BZ #14157]
47747         [BZ #14331]
47748         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47749         could result in spurious underflow.  Scale down values above
47750         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47751         * math/s_csqrtf.c (__csqrtf): Likewise.
47752         * math/s_csqrtl.c (__csqrtl): Likewise.
47753         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47754         spurious underflow.
47755         * sysdeps/i386/fpu/libm-test-ulps: Update.
47756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47758 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47760         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47761         xopen-msg.sed.
47762         * catgets/xopen-msg.awk: New file.
47763         * catgets/xopen-msg.sed: Removed.
47765         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47766         po2text.sed.
47767         * intl/po2test.awk: New file.
47768         * intl/po2test.sed: Removed.
47770 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47772         [BZ #14328]
47773         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47774         or multiply small sinh result by itself.
47775         * math/s_ctanf.c (__ctanf): Likewise.
47776         * math/s_ctanh.c (__ctanh): Likewise.
47777         * math/s_ctanhf.c (__ctanhf): Likewise.
47778         * math/s_ctanhl.c (__ctanhl): Likewise.
47779         * math/s_ctanl.c (__ctanl): Likewise.
47780         * math/libm-test.inc (ctan_test_tonearest): New function.
47781         (ctan_test_towardzero): Likewise.
47782         (ctan_test_downward): Likewise.
47783         (ctan_test_upward): Likewise.
47784         (ctanh_test_tonearest): Likewise.
47785         (ctanh_test_towardzero): Likewise.
47786         (ctanh_test_downward): Likewise.
47787         (ctanh_test_upward): Likewise.
47788         (main): Call these new functions.
47789         * sysdeps/i386/fpu/libm-test-ulps: Update.
47790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47792 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47794         * .gitignore: Delete /ports entry.
47796 2012-07-03  Andreas Jaeger  <aj@suse.de>
47798         * po/bg.po: Update from translation team.
47799         * po/cs.po: Likewise.
47800         * po/de.po: Likewise.
47801         * po/hr.po: Likewise.
47802         * po/nl.pl: Likewise.
47803         * po/pl.po: Likewise.
47804         * po/vi.po: Likewise.
47806 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47808         * Makeconfig [!+link] (+link-before-libc): New variable.
47809         [!+link] (+link-after-libc): Likewise.
47810         [!+link] (+link-tests): Likewise.
47811         [!+link] (+link): Define in terms of $(+link-before-libc) and
47812         $(+link-after-libc).
47813         [!+link-static] (+link-static-before-libc): New variable.
47814         [!+link-static] (+link-static-after-libc): Likewise.
47815         [!+link-static] (+link-static-tests): Likewise.
47816         [!+link-static] (+link-static): Define in terms of
47817         $(+link-static-before-libc) and $(+link-static-after-libc).
47818         [build-shared] (link-libc-before-gnulib): New variable.
47819         [build-shared] (link-libc-tests): Likewise.
47820         [build-shared] (link-libc): Define in terms of
47821         $(link-libc-before-gnulib).
47822         [!build-shared] (link-libc-tests): New variable.
47823         (link-libc-static-tests): New variable.
47824         [!gnulib] (gnulib-arch): New variable.
47825         [!gnulib] (gnulib-tests): Likewise.
47826         [!gnulib] (static-gnulib-arch): Likewise.
47827         [!gnulib] (static-gnulib-tests): Likewise.
47828         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47829         Define with "=" instead of ":=".
47830         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47831         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47832         * Rules (binaries-all-notests): New variable.
47833         (binaries-all-tests): Likewise.
47834         (binaries-static-notests): Likewise.
47835         (binaries-static-tests): Likewise.
47836         (binaries-all): Define using $(binaries-all-notests) and
47837         $(binaries-all-tests).
47838         (binaries-static): Define using $(binaries-static-notests) and
47839         $(binaries-static-tests).
47840         (binaries-shared-tests): New variable.
47841         (binaries-shared-notests): Likewise.
47842         (binaries-shared): Remove variable.
47843         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47844         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47845         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47846         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47847         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47848         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47849         * elf/Makefile (sln-modules): New variable.
47850         (extra-objs): Add $(sln-modules:=.o).
47851         (ldconfig-modules): Add static-stubs.
47852         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47853         * elf/static-stubs.c: New file.
47855         [BZ #14283]
47856         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47857         by 7 not 8 to examine high bit of fractional part.  Use volatile
47858         variables when splitting into final array of floats if
47859         __FLT_EVAL_METHOD__ != 0.
47860         * math/libm-test.inc (cos_test): Add another test.
47861         (sin_test): Likewise.
47862         * sysdeps/i386/fpu/libm-test-ulps: Update.
47864         [BZ #14273]
47865         * math/libm-test.inc (cosh_test): Add more tests.
47867         * version.h (RELEASE): Set to "development".
47868         (VERSION): Set to "2.16.90".
47870 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47872         * NEWS: Update copyright. Remove last-updated date.
47873         Mention math library bug fixes and timezone data changes.
47874         * README: Mention GNU/Hurd, x32, and HPPA support status.
47876 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47878         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47880 2012-06-27  Andreas Jaeger  <aj@suse.de>
47882         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47884 2012-06-25  Andreas Jaeger  <aj@suse.de>
47886         * sysdeps/s390/fpu/libm-test-ulps: Update.
47888 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47889             Thomas Schwinge  <thomas@codesourcery.com>
47891         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47892         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47893         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47894         fanotify_mark.
47896 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47898         * sysdeps/mach/start.c: Remove file.
47899         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47900         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47901         * sysdeps/sh/init-first.c: Likewise.
47903         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47904         registers for frame unwinding purposes, add CFI directives.
47905         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47906         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47907         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47908         Likewise.
47910         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47911         __fortify_fail returning.
47912         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47914         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47915         sysdeps/sh/____longjmp_chk.S.
47916         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47917         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47918         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47919         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47921         * sysdeps/sh/abort-instr.h: New file.
47922         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47923         process in case exit returns.
47925         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47926         initialize the GOT register before use.
47928         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47929         calculation of ARGC > 4.
47931         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47932         meaningful names to some local labels.
47934 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47935             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47937         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47938         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47939         (__arch_compare_and_exchange_val_16_acq): Likewise.
47940         (__arch_compare_and_exchange_val_32_acq): Likewise.
47941         (atomic_exchange_and_add): Fix gUSA sequence.
47942         (atomic_add): Likewise.
47943         (atomic_add_negative): Likewise.
47944         (atomic_add_zero): Likewise.
47945         (atomic_bit_test_set): Likewise.
47947 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47949         [BZ #13579]
47950         * include/link.h (struct link_map): Add l_free_initfini.
47951         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47952         l_initfini.
47953         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47954         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47955         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47956         set.
47958 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47960         * configure.in: Use AC_LANG_SOURCE.
47961         * configure: Regenerate.
47963 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47965         * configure.in (libc_cv_localstatedir): New substituted variable.
47966         * configure: Regenerated.
47967         * config.make.in (localstatedir): New variable, substituted from
47968         libc_cv_localstatedir.
47969         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47970         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47971         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47972         * sysdeps/gnu/configure: Regenerated.
47974 2012-06-21  Jeff Law  <law@redhat.com>
47976         [BZ #14277]
47977         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47978         free.  Simplify list management for _LIBC case.
47980 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47982         [BZ #14273]
47983         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47984         Clear sign bit of 64-bit integer value before comparing against
47985         overflow value.
47987         * sysdeps/mach/configure: Regenerated.
47989 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47991         [BZ #14278]
47992         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47994 2012-06-21  Jeff Law  <law@redhat.com>
47996         [BZ #13882]
47997         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47998         uint16_t for elements in the "seen" array to avoid char overflows.
47999         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48000         * elf/dl-open.c (dl_open_worker): Likewise.
48002 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
48004         * scripts/list-sources.sh: Scan PORTS for translations.
48005         * po/libc.pot: Regenerated.
48007 2012-06-21  Andreas Jaeger  <aj@suse.de>
48009         [BZ #12194]
48010         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48011         warning.
48012         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48013         * bits/byteswap-16.h (__bswap_16): Likewise.
48014         * bits/byteswap.h (__bswap_constant_16): Likewise.
48016 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
48018         [BZ #14117]
48019         * sysdeps/i386/fpu_control.h: Removed.
48020         * sysdeps/x86_64/fpu_control.h: Moved to ...
48021         * sysdeps/x86/fpu_control.h: Here.
48023         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48024         (_FPU_SETCW): Likewise.
48026 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
48028         [BZ #14117]
48029         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48030         * sysdeps/x86/fpu/bits/mathinline.h: This.
48031         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48033         [BZ #14050]
48034         [BZ #14117]
48035         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48036         functions if __x86_64__ is defined.
48038 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
48040         * string/endian.h: Add !__ASSEMBLER__ condition for including
48041         conversion interfaces.
48043 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
48045         [BZ #14241]
48046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48047         of ABS(x) in calculating zero to negative powers other than odd
48048         integers.
48049         * math/libm-test.inc (pow_test): Add more tests.
48051 2012-06-15  Andreas Jaeger  <aj@suse.de>
48053         * manual/contrib.texi (Contributors): Update entry of Liubov
48054         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48055         Machado Filho.
48057 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
48059         * string/string.h: Add __wur to GNU version of strerror_r.
48061 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
48063         [BZ #14229]
48064         * string/Makefile (tests): Add tst-strtok_r.
48065         * string/tst-strtok_r.c: New file.
48066         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48067         RAX_LP/RDX_LP on SAVE_PTR.
48069 2012-06-14  Roland McGrath  <roland@hack.frob.com>
48071         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48073 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48075         * libm_test.inc (csqrt_test): Allow more spurious underflow
48076         exceptions.
48077         (j0_test): Likewise.
48078         (j1_test): Likewise.
48079         (y0_test): Likewise.
48080         (y1_test): Likewise.
48082 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48084         * po/Makefile (libc.pot): Use UTF-8 charset.
48086 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48088         [BZ #14210]
48089         Suppress sign-conversion warning from FD_SET.
48090         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48091         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48092         not unsigned long int.
48093         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48095 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48097         [BZ #14050]
48098         [BZ #14117]
48099         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48100         __extern_always_inline instead of __extern_inline.
48101         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48102         (__signbit): Likewise.
48103         (__signbitl): Support C++ namespace.
48104         (lrintf): New inline function.
48105         (lrint): Likewise.
48106         (llrintf): Likewise.
48107         (llrint): Likewise.
48108         (fmaxf): Likewise.
48109         (fmax): Likewise.
48110         (fminf): Likewise.
48111         (fmin): Likewise.
48112         (rint): Likewise.
48113         (rintf): Likewise.
48114         (ceil): Likewise.
48115         (ceilf): Likewise.
48116         (floor): Likewise.
48117         (floorf): Likewise.
48118         (nearbyint): Likewise.
48119         (nearbyintf): Likewise.
48121 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48123         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48124         non-default versions.
48126 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48128         [BZ #14218]
48129         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48131 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48133         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48134         (FE_UPWARD, FE_DOWNWARD): Don't define.
48135         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48136         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48138         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48139         reading it.
48140         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48141         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48143 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48145         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48146         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48147         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48148         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48150 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48152         [BZ #14117]
48153         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48154         * sysdeps/i386/fpu/Implies: New file.
48155         * sysdeps/x86_64/fpu/Implies: Likewise.
48156         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48157         * sysdeps/x86/fpu/bits/fenv.h: This.
48159         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48160         __SSE_MATH__.
48162 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48164         [BZ #14134]
48165         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48166         character 0xffff that matches the last element of the
48167         conversion table.
48169 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48171         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48172         fmodl commit.
48174 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48177         values higher than 25.6283.
48179 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48181         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48182         subnormal exponent extraction and add some __builtin_expect.
48183         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48184         Fix for subnormal mantissa calculation.
48186 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48188         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48189         cpu2 is -1 and errno is not ENOSYS.
48191 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48193         [BZ #14117]
48194         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48195         * sysdeps/x86/bits/string.h: This.
48196         * sysdeps/x86_64/bits/string.h: Removed.
48198         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48199         if not compiling for x86-64, but compiling for >= i486.
48201         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48202         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48204         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48205         New macro from Linux kernel 3.4.0.
48206         (FP_XSTATE_MAGIC2): Likewise.
48207         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48208         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48209         (struct _fpx_sw_bytes): New struct.
48210         (struct _xsave_hdr): Likewise.
48211         (struct _ymmh_state): Likewise.
48212         (struct _xstate): Likewise.
48214         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48215         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48217         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48218         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48219         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48221         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48222         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48223         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48224         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48225         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48226         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48228 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48230         [BZ #13743]
48231         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48232         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48233         (sysdep_headers): Include sys/platform/ppc.h.
48234         * sysdeps/powerpc/test-gettimebase.c: Test for
48235         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48236         * manual/Makefile (appendices): Include platform.texi.
48237         * manual/contrib.texi (Contributors): Update @node pointers.
48238         * manual/maint.texi (Maintenance): Likewise.
48239         (Platform): New node.
48240         * manual/platform.texi: New file.  Document the new features.
48242 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48243             Jakub Jelinek  <jakub@redhat.com>
48245         [BZ #14188]
48246         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48247         where __builtin_expect is unavailable.
48249 2012-06-03  David S. Miller  <davem@davemloft.net>
48251         * stdlib/longlong.h: Updated from GCC.
48253 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48255         [BZ #14042]
48256         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48257         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48258         __mcount_internal.
48259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48260         (GLIBC_2.16): Likewise.
48262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48264         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48266 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48269         (default-abi): New variable.
48270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48271         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48272         variable.
48273         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48274         Likewise.
48275         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48276         Likewise.
48277         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48278         Likewise.
48280         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48281         definition.  Document in comment.
48283 2012-06-01  David S. Miller  <davem@davemloft.net>
48285         * stdlib/longlong.h: Updated from GCC.
48287 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48289         [BZ #14117]
48290         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48291         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48292         sys/debugreg.h sys/io.h here.
48293         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48294         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48295         sys/io.h.
48296         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48297         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48298         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48299         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48300         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48301         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48303         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48304         Define only if __x86_64__ is defined.
48306 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48308         [BZ #14048]
48309         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48310         Use int64_t for variable i.
48311         * math/libm-test.inc (fmod_test): Add more tests.
48313         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48314         z computation is not scheduled after fetestexcept.
48315         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48316         Use math_force_eval instead of asm to ensure calculation scheduled
48317         before exception test.
48318         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48319         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48321 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48324         computation is not scheduled after fetestexcept.
48326 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48328         [BZ #14117]
48329         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48330         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48332 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48334         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48335         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48337 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48339         [BZ #14117]
48340         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48341         <bits/wordsize.h>.
48342         (__WCHAR_MIN): Support __WORDSIZE == 64.
48343         (__WCHAR_MAX): Likewise.
48345         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48346         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48348         [BZ #14183]
48349         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48350         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48352         [BZ #14117]
48353         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48354         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48356         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48357         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48359         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48360         Defined to 1 if __x86_64__ isn't defined.
48361         (_STAT_VER_LINUX_OLD): New.
48362         (st_atime): Remove duplicate.
48363         (st_mtime): Likewise.
48364         (st_ctime): Likewise.
48366 2012-05-31  David S. Miller  <davem@davemloft.net>
48368         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48369         entries.
48371 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48373         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48374         gen-libm-test.pl.
48376         [BZ #14132]
48377         * elf/dl-reloc.c: Include <_itoa.h>.
48378         (_dl_reloc_bad_type): Remove use of INTUSE.
48379         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48380         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48381         * stdio-common/psiginfo.c (psiginfo): Likewise.
48382         * stdio-common/psignal.c (psignal): Likewise.
48383         * string/strsignal.c (strsignal): Likewise.
48384         * include/signal.h (_sys_siglist): Declare hidden proto.
48385         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48386         INTVARDEF with libc_hidden_data_def.
48387         * stdio-common/itoa-udigits.c: Likewise.
48388         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48389         (_itoa_lower_digits_internal): Remove declaration.
48390         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48391         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48392         (_sys_sigabbrev_internal): Remove aliases.
48393         (_sys_siglist): Define hidden alias.
48395 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48398         bits/sysctl.h.
48400 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48402         [BZ #14117]
48403         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48404         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48406         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48407         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48408         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48409         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48410         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48411         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48413         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48414         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48415         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48417         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48418         with __addr.
48419         (insw): Likewise.
48420         (insl): Likewise.
48421         (outsb): Likewise.
48422         (outsw): Likewise.
48423         (outsl): Likewise.
48425         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48426         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48427         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48429         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48430         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48431         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48432         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48433         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48434         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48436         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48437         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48439         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48440         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48442         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48443         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48444         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48446         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48447         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48448         to ...
48449         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48451         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48452         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48453         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48455         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48456         for x86-64.
48457         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48459 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48461         * math/math.h (M_El): Use two more decimal places.
48462         (M_LOG2El): Likewise.
48463         (M_LOG10El): Likewise.
48464         (M_LN2l): Likewise.
48465         (M_LN10l): Likewise.
48466         (M_PIl): Likewise.
48467         (M_PI_2l): Likewise.
48468         (M_PI_4l): Likewise.
48469         (M_1_PIl): Likewise.
48470         (M_2_PIl): Likewise.
48471         (M_2_SQRTPIl): Likewise.
48472         (M_SQRT2l): Likewise.
48473         (M_SQRT1_2l): Likewise.
48475 2012-05-31  David S. Miller  <davem@davemloft.net>
48477         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48478         values between float registers.
48479         * sysdeps/sparc/sparc64/memset.S: Likewise.
48480         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48482 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48484         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48485         -D_FORTIFY_SOURCE=1.
48486         (CPPFLAGS-tst-longjmp_chk.c): Define.
48487         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48488         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48489         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48490         CFLAGS-tst-wchar-h.c.
48492 2012-05-31  Marek Polacek  <polacek@redhat.com>
48494         [BZ #14132]
48495         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48496         __endmntent_internal): Remove declaration.
48497         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48498         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48499         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48501 2012-05-30  David S. Miller  <davem@davemloft.net>
48503         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48504         (___Q_simulate_exceptions): Use real FP ops rather than writing
48505         into the %fsr.
48506         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48507         Likewise.
48509 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48511         [BZ #14117]
48512         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48513         * sysdeps/x86/bits/xtitypes.h: This.
48515         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48516         * sysdeps/x86/bits/wordsize.h: This.
48518         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48519         * sysdeps/x86/bits/huge_vall.h: This.
48521         * sysdeps/i386/bits/select.h: Removed.
48522         * sysdeps/x86_64/bits/select.h: Renamed to ...
48523         * sysdeps/x86/bits/select.h: This.
48525         * sysdeps/i386/bits/setjmp.h: Removed.
48526         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48527         * sysdeps/x86/bits/setjmp.h: This.
48529         * sysdeps/i386/bits/mathdef.h: Removed.
48530         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48531         * sysdeps/x86/bits/mathdef.h: This.
48533 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48535         [BZ #14132]
48536         * include/sys/socket.h (__connect_internal)
48537         (__libc_sa_len_internal): Remove declaration.
48538         (__connect, __libc_sa_len): Declare hidden_proto.
48539         (SA_LEN): Remove use of INTUSE.
48540         * socket/connect.c: Add libc_hidden_def.
48541         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48542         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48543         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48544         alias.
48545         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48546         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48547         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48548         of adding _internal alias.
48550 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48552         [BZ #14117]
48553         * sysdeps/i386/bits/link.h: Removed.
48554         * sysdeps/i386/bits/linkmap.h: Likewise.
48555         * sysdeps/x86_64/bits/link.h: Renamed to ...
48556         * sysdeps/x86/bits/link.h: This.
48557         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48558         * sysdeps/x86/bits/linkmap.h: This.
48560         * sysdeps/i386/bits/endian.h: Removed.
48561         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48562         * sysdeps/x86/bits/endian.h: This.
48564         * sysdeps/i386/bits/byteswap.h: Removed.
48565         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48566         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48567         * sysdeps/x86/bits/byteswap.h: This.
48568         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48569         * sysdeps/x86/bits/byteswap-16.h: This.
48570         * sysdeps/i386/Implies: Add x86.
48571         * sysdeps/x86_64/Implies: Likewise.
48573 2012-05-30  David S. Miller  <davem@davemloft.net>
48575         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48576         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48577         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48578         (FP_TRAPPING_EXCEPTIONS): Define.
48579         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48580         (FP_TRAPPING_EXCEPTIONS): Define.
48581         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48582         subnormals only when inexact has been signalled or underflow
48583         exceptions are enabled.
48584         (_FP_PACK_CANONICAL): Likewise.
48586 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48588         [BZ #14183]
48589         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48590         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48592 2012-05-30  Richard Henderson  <rth@twiddle.net>
48594         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48595         with #ifndef NOT_IN_libc.
48597         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48598         marked to avoid plt entry.
48600 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48602         [BZ #14112]
48603         * Makeconfig (default-abi): New macro.
48604         (abi-includes): Likewise.
48605         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48606         $(abi-$(default-abi)-lib-soname) for soname if defined.
48607         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48608         abi-variants.
48609         * Makefile (installed-stubs): Likewise.
48610         * include/stubs-biarch.h: Removed.
48611         * scripts/lib-names.awk: Only handle one library at a time.
48612         * scripts/soversions.awk: Remove WORDSIZE support.
48613         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48614         entries.
48615         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48616         Removed.
48617         (syscall-list-default-condition): Likewise.
48618         (syscall-list-default-condition): Likewise.
48619         (syscall-list-includes): Likewise.
48620         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48621         syscall-list-* with abi-*.  Handle undefined abi-variants.
48622         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48623         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48624         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48625         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48626         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48627         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48628         Removed.
48629         (syscall-list-32-options): Likewise.
48630         (syscall-list-32-condition): Likewise.
48631         (syscall-list-64-options): Likewise.
48632         (syscall-list-64-condition): Likewise.
48633         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48634         macro.
48635         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48636         Renamed to ...
48637         (abi-*): This.
48638         (abi-64-ld-soname): New macro.
48639         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48640         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48641         Renamed to ...
48642         (abi-*): This.
48643         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48644         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48646 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48648         * sysdeps/unix/sysv/linux/kernel-features.h
48649         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48650         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48651         include <kernel-features.h>.
48652         [!__NR_ftruncate64]: Remove conditional code.
48653         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48654         [__NR_ftruncate64]: Make code unconditional.
48655         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48656         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48657         include <kernel-features.h>.
48658         [!__NR_ftruncate64]: Remove conditional code.
48659         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48660         [__NR_ftruncate64]: Make code unconditional.
48661         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48663         include <kernel-features.h>.
48664         [!__NR_ftruncate64]: Remove conditional code.
48665         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48666         [__NR_ftruncate64]: Make code unconditional.
48667         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48669         include <kernel-features.h>.
48670         [!__NR_ftruncate64]: Remove conditional code.
48671         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48672         [__NR_ftruncate64]: Make code unconditional.
48673         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48675         * configure.in (libc_cv_fpie): Weaken to a compile test using
48676         LIBC_TRY_CC_OPTION.
48677         * configure: Regenerated.
48679 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48685         Refreshed.
48686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48692         Refreshed.
48694 2012-05-27  David S. Miller  <davem@davemloft.net>
48696         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48697         (___Q_zero): New.
48698         (__Q_simulate_exceptions): Return void.  Change to simulate
48699         exceptions by writing into the %fsr.
48700         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48701         (__Qp_handle_exceptions): Likewise.
48702         (numbers): Delete.
48703         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48704         __Qp_handle_exceptions.
48705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48706         __Qp_handle_exceptions.
48707         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48708         as unused and give dummy FP_RND_NEAREST initializer.
48709         (FP_INHIBIT_RESULTS): Define.
48710         (___Q_simulate_exceptions): Update declaration.
48711         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48712         formatting.
48713         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48714         as unused and give dummy FP_RND_NEAREST initializer.
48715         (__Qp_handle_exceptions): Update declaration.
48716         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48717         formatting.
48719 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48721         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48722         the temporary FPU control word.
48723         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48724         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48725         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48726         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48727         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48728         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48729         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48730         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48731         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48732         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48733         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48735 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48737         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48738         fields.
48740 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48742         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48743         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48744         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48745         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48746         Likewise.
48747         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48748         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48749         Likewise.
48751 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48753         * po/h.po: Update from translation team.
48755 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48757         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48759         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48760         handling of denormals.
48761         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48762         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48763         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48764         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48768         Likewise.
48770 2012-05-26  Marek Polacek  <polacek@redhat.com>
48772         [BZ #14152]
48773         * math/libm-test.inc (fma_test): Don't always expect underflow
48774         exception.
48776 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48778         [BZ #12416]
48779         * elf/tst-execstack.c: Include stackinfo.h.
48780         (do_test): Adjust test case to ensure that pthread_getattr_np
48781         behaviour remains the same after marking stack executable.
48783 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48785         * sysdeps/unix/sysv/linux/kernel-features.h
48786         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48787         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48788         kernel-features.h.
48789         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48790         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48791         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48792         kernel-features.h.
48793         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48794         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48796 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48798         * configure.in: Define the default includes to being none.
48799         * configure: Regenerated.
48801 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48803         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48804         * sysdeps/x86_64/setjmp.S: Likewise.
48805         * sysdeps/i386/bsd-setjmp.S: Likewise.
48806         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48807         * sysdeps/i386/setjmp.S: Likewise.
48808         * sysdeps/i386/__longjmp.S: Likewise.
48809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48810         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48812         * include/stap-probe.h: New file.
48813         * configure.in: Handle --enable-systemtap.
48814         * configure: Regenerated.
48815         * config.h.in (USE_STAP_PROBE): New #undef.
48816         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48817         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48818         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48820 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48822         [BZ #13717]
48823         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48824         to 2.4.0 where earlier.
48825         * sysdeps/unix/sysv/linux/configure: Regenerated.
48826         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48827         <kernel-features.h>.
48828         [__ASSUME_32BITUIDS]: Make code unconditional.
48829         [!__ASSUME_32BITUIDS]: Remove conditional code.
48830         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48831         <kernel-features.h>.
48832         [__ASSUME_32BITUIDS]: Make code unconditional.
48833         [!__ASSUME_32BITUIDS]: Remove conditional code.
48834         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48835         [__ASSUME_32BITUIDS]: Make code unconditional.
48836         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48837         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
48858         <kernel-features.h>.
48859         [__ASSUME_32BITUIDS]: Make code unconditional.
48860         [!__ASSUME_32BITUIDS]: Remove conditional code.
48861         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48862         <kernel-features.h>.
48863         [__ASSUME_32BITUIDS]: Make code unconditional.
48864         [!__ASSUME_32BITUIDS]: Remove conditional code.
48865         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48866         <kernel-features.h>.
48867         [__ASSUME_32BITUIDS]: Make code unconditional.
48868         [!__ASSUME_32BITUIDS]: Remove conditional code.
48869         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48870         <kernel-features.h>.
48871         [__ASSUME_32BITUIDS]: Make code unconditional.
48872         [!__ASSUME_32BITUIDS]: Remove conditional code.
48873         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48874         <kernel-features.h>.
48875         [__ASSUME_32BITUIDS]: Make code unconditional.
48876         [!__ASSUME_32BITUIDS]: Remove conditional code.
48877         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48878         <kernel-features.h>.
48879         [__NR_setresgid] (__setresgid): Do not declare.
48880         [__ASSUME_32BITUIDS]: Make code unconditional.
48881         [!__ASSUME_32BITUIDS]: Remove conditional code.
48882         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48883         <kernel-features.h>.
48884         [__NR_setresuid] (__setresuid): Do not declare.
48885         [__ASSUME_32BITUIDS]: Make code unconditional.
48886         [!__ASSUME_32BITUIDS]: Remove conditional code.
48887         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
48908         <kernel-features.h>.
48909         [__ASSUME_32BITUIDS]: Make code unconditional.
48910         [!__ASSUME_32BITUIDS]: Remove conditional code.
48911         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48912         <kernel-features.h>.
48913         [__ASSUME_32BITUIDS]: Make code unconditional.
48914         [!__ASSUME_32BITUIDS]: Remove conditional code.
48915         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48916         <kernel-features.h>.
48917         [__ASSUME_32BITUIDS]: Make code unconditional.
48918         [!__ASSUME_32BITUIDS]: Remove conditional code.
48919         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48920         <kernel-features.h>.
48921         [__ASSUME_32BITUIDS]: Make code unconditional.
48922         [!__ASSUME_32BITUIDS]: Remove conditional code.
48923         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48924         <kernel-features.h>.
48925         [__ASSUME_32BITUIDS]: Make code unconditional.
48926         [!__ASSUME_32BITUIDS]: Remove conditional code.
48927         * sysdeps/unix/sysv/linux/kernel-features.h
48928         (__ASSUME_SETRESUID_SYSCALL): Remove.
48929         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48930         (__ASSUME_32BITUIDS): Likewise.
48931         (__ASSUME_LDT_WORKS): Likewise.
48932         (__ASSUME_O_DIRECTORY): Likewise.
48933         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48934         architecture but not kernel version.
48935         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48936         (__ASSUME_MMAP2_SYSCALL): Likewise.
48937         (__ASSUME_STAT64_SYSCALL): Likewise.
48938         (__ASSUME_IPC64): Likewise.
48939         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48940         <kernel-features.h>.
48941         [__ASSUME_32BITUIDS]: Make code unconditional.
48942         [!__ASSUME_32BITUIDS]: Remove conditional code.
48943         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48944         <kernel-features.h>.
48945         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48946         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48947         132096]: Remove conditional code.
48948         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48949         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48950         <kernel-features.h>.
48951         [__ASSUME_32BITUIDS]: Make code unconditional.
48952         [!__ASSUME_32BITUIDS]: Remove conditional code.
48953         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48954         <kernel-features.h>.
48955         [__ASSUME_32BITUIDS]: Make code unconditional.
48956         [!__ASSUME_32BITUIDS]: Remove conditional code.
48957         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48958         <kernel-features.h>.
48959         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48960         unconditional.
48961         (__setresgid): Do not declare.
48962         [__ASSUME_32BITUIDS]: Make code unconditional.
48963         [!__ASSUME_32BITUIDS]: Remove conditional code.
48964         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48965         <kernel-features.h>.
48966         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48967         unconditional.
48968         (__setresuid): Do not declare.
48969         [__ASSUME_32BITUIDS]: Make code unconditional.
48970         [!__ASSUME_32BITUIDS]: Remove conditional code.
48971         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48972         <kernel-features.h>.
48973         [__ASSUME_32BITUIDS]: Make code unconditional.
48974         [!__ASSUME_32BITUIDS]: Remove conditional code.
48975         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48976         <kernel-features.h>.
48977         [__ASSUME_32BITUIDS]: Make code unconditional.
48978         [!__ASSUME_32BITUIDS]: Remove conditional code.
48980 2012-05-25  Richard Henderson  <rth@twiddle.net>
48982         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48983         dl_hwcap to ifunc resolver.
48984         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48985         elf_ifunc_invoke.
48986         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48987         dl_hwcap to ifunc resolver.
48988         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48990 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48992         [BZ #14153]
48993         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48994         for |x| <= 2**-26, not 2**-57.
48995         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48996         exception.
48998 2012-05-24  Jeff Law  <law@redhat.com>
49000         * stdio-common/Makefile (tests): Add bug25.
49001         * stdio-common/bug25.c: New test.
49003 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49005         [BZ #13576]
49006         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49007         multiple of MALLOC_ALIGNMENT in size.
49008         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49010 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49012         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49013         Require >= 256.
49014         (FILENAME_MAX): Use macro-int-constant.
49015         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
49016         (_IOFBF): Use macro-int-constant.
49017         (_IOLBF): Likewise.
49018         (_IONBF): Likewise.
49019         (SEEK_CUR): Likewise.
49020         (SEEK_END): Likewise.
49021         (SEEK_SET): Likewise.
49022         (TMP_MAX): Likewise.
49023         (EOF): Use macro-int-constant.  Require < 0.
49024         (NULL): Use macro-constant.  Require == 0.
49025         (stdin): Require type to be FILE *.
49026         (stdout): Likewise.
49027         (stderr): Likewise.
49028         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49029         macro-int-constant.
49030         (EXIT_SUCCESS): Likewise.
49031         (NULL): Use macro-constant.  Require == 0.
49032         (RAND_MAX): Use macro-int-constant.
49033         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49034         [C99-based standards] (strtof): Require function.
49035         [C99-based standards] (strtold): Likewise.
49036         [C99-based standards] (strtoll): Likewise.
49037         [C99-based standards] (strtoull): Likewise.
49038         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49039         [ISO || ISO99 || ISO11] (limits.h): Likewise.
49040         [ISO || ISO99 || ISO11] (math.h): Likewise.
49041         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49042         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49043         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49045 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
49047         [BZ #14132]
49048         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49049         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49050         * intl/dgettext.c (DCGETTEXT): Likewise.
49051         * intl/gettext.c (DCGETTEXT): Likewise.
49052         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49053         * posix/regex_internal.h (gettext): Likewise.
49054         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49055         Remove declaration.
49056         * include/argz.h (__argz_count_internal)
49057         (__argz_stringify_internal): Remove declaration.
49058         (__argz_count, __argz_stringify): Declare hidden proto.
49059         * intl/dcgettext.c: Remove use of INTDEF.
49060         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49061         * string/argz-stringify.c: Likewise.
49062         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49063         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49064         Declare hidden proto.
49065         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49066         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49067         Declare hidden proto.
49068         * include/stdio.h (__asprintf_internal): Don't declare.
49069         (__asprintf): Don't define as macro.  Declare hidden proto.
49070         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49071         (__fsetlocking): Declare hidden proto.
49072         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49073         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49074         hidden proto.
49075         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49076         (_IO_setlinebuf): Remove use of INTUSE.
49077         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49078         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49079         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49080         Remove declaration.
49081         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49082         (_IO_do_flush): Remove use of INTUSE.
49083         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49084         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49085         (_IO_adjust_column, _IO_least_wmarker)
49086         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49087         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49088         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49089         (_IO_default_doallocate, _IO_wdefault_doallocate)
49090         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49091         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49092         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49093         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49094         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49095         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49096         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49097         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49098         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49099         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49100         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49101         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49102         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49103         proto.
49104         (_IO_flush_all_internal, _IO_adjust_column_internal)
49105         (_IO_default_uflow_internal, _IO_default_finish_internal)
49106         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49107         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49108         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49109         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49110         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49111         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49112         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49113         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49114         (_IO_file_close_internal, _IO_file_close_it_internal)
49115         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49116         (_IO_file_init_internal, _IO_file_attach_internal)
49117         (_IO_file_fopen_internal, _IO_file_read_internal)
49118         (_IO_file_sync_internal, _IO_file_seek_internal)
49119         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49120         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49121         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49122         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49123         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49124         (_IO_list_all_internal, _IO_link_in_internal)
49125         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49126         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49127         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49128         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49129         (_IO_do_write_internal, _IO_padn_internal)
49130         (_IO_getline_info_internal, _IO_getline_internal)
49131         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49132         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49133         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49134         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49135         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49136         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49137         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49138         with libc_hidden_ver, remove use of INTUSE.
49139         * libio/genops.c: Likewise.
49140         * libio/freopen.c: Likewise.
49141         * libio/freopen64.c: Likewise.
49142         * libio/iofclose.c: Likewise.
49143         * libio/iofdopen.c: Likewise.
49144         * libio/iofflush.c: Likewise.
49145         * libio/iofflush_u.c: Likewise.
49146         * libio/iofgets.c: Likewise.
49147         * libio/iofgets_u.c: Likewise.
49148         * libio/iofopen.c: Likewise.
49149         * libio/iofopncook.c: Likewise.
49150         * libio/iofread.c: Likewise.
49151         * libio/iofread_u.c: Likewise.
49152         * libio/ioftell.c: Likewise.
49153         * libio/iofwrite.c: Likewise.
49154         * libio/iogetline.c: Likewise.
49155         * libio/iogets.c: Likewise.
49156         * libio/iogetwline.c: Likewise.
49157         * libio/iopadn.c: Likewise.
49158         * libio/iopopen.c: Likewise.
49159         * libio/ioseekoff.c: Likewise.
49160         * libio/ioseekpos.c: Likewise.
49161         * libio/iosetbuffer.c: Likewise.
49162         * libio/iosetvbuf.c: Likewise.
49163         * libio/ioungetc.c: Likewise.
49164         * libio/ioungetwc.c: Likewise.
49165         * libio/iovdprintf.c: Likewise.
49166         * libio/iovsprintf.c: Likewise.
49167         * libio/iovsscanf.c: Likewise.
49168         * libio/memstream.c: Likewise.
49169         * libio/obprintf.c: Likewise.
49170         * libio/oldfileops.c: Likewise.
49171         * libio/oldiofclose.c: Likewise.
49172         * libio/oldiofdopen.c: Likewise.
49173         * libio/oldiofopen.c: Likewise.
49174         * libio/oldiopopen.c: Likewise.
49175         * libio/oldstdfiles.c: Likewise.
49176         * libio/putc.c: Likewise.
49177         * libio/setbuf.c: Likewise.
49178         * libio/setlinebuf.c: Likewise.
49179         * libio/stdfiles.c: Likewise.
49180         * libio/strops.c: Likewise.
49181         * libio/vasprintf.c: Likewise.
49182         * libio/vscanf.c: Likewise.
49183         * libio/vsnprintf.c: Likewise.
49184         * libio/vswprintf.c: Likewise.
49185         * libio/wfiledoalloc.c: Likewise.
49186         * libio/wfileops.c: Likewise.
49187         * libio/wgenops.c: Likewise.
49188         * libio/wmemstream.c: Likewise.
49189         * libio/wstrops.c: Likewise.
49190         * libio/__fpurge.c: Likewise.
49191         * libio/__fsetlocking.c: Likewise.
49192         * assert/assert.c: Likewise.
49193         * debug/fgets_chk.c: Likewise.
49194         * debug/fgets_u_chk.c: Likewise.
49195         * debug/fread_chk.c: Likewise.
49196         * debug/fread_u_chk.c: Likewise.
49197         * debug/gets_chk.c: Likewise.
49198         * debug/obprintf_chk.c: Likewise.
49199         * debug/vasprintf_chk.c: Likewise.
49200         * debug/vdprintf_chk.c: Likewise.
49201         * debug/vsnprintf_chk.c: Likewise.
49202         * debug/vsprintf_chk.c: Likewise.
49203         * malloc/mtrace.c: Likewise.
49204         * misc/error.c: Likewise.
49205         * misc/syslog.c: Likewise.
49206         * stdio-common/asprintf.c: Likewise.
49207         * stdio-common/fxprintf.c: Likewise.
49208         * stdio-common/getw.c: Likewise.
49209         * stdio-common/isoc99_fscanf.c: Likewise.
49210         * stdio-common/isoc99_scanf.c: Likewise.
49211         * stdio-common/isoc99_vfscanf.c: Likewise.
49212         * stdio-common/isoc99_vscanf.c: Likewise.
49213         * stdio-common/isoc99_vsscanf.c: Likewise.
49214         * stdio-common/printf-prs.c: Likewise.
49215         * stdio-common/printf_fp.c: Likewise.
49216         * stdio-common/printf_fphex.c: Likewise.
49217         * stdio-common/printf_size.c: Likewise.
49218         * stdio-common/putw.c: Likewise.
49219         * stdio-common/scanf.c: Likewise.
49220         * stdio-common/sprintf.c: Likewise.
49221         * stdio-common/tmpfile.c: Likewise.
49222         * stdio-common/vfprintf.c: Likewise.
49223         * stdio-common/vfscanf.c: Likewise.
49224         * stdlib/strfmon_l.c: Likewise.
49225         * sunrpc/openchild.c: Likewise.
49226         * sunrpc/xdr_stdio.c: Likewise.
49227         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49228         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49230 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49232         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49234         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49235         in the third column, to generate for the shared library an IFUNC
49236         that uses _dl_vdso_vsym.
49237         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49238         * Makeconfig (object-suffixes-noshared): New variable.
49240         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49241         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49242         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49243         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49245         [BZ #14132]
49246         * include/sys/time.h (__gettimeofday): Remove macro.
49247         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49248         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49249         Remove INTDEF.
49250         (__gettimeofday): Add libc_hidden_def.
49251         (gettimeofday): Add libc_hidden_weak.
49252         * sysdeps/mach/gettimeofday.c: Likewise.
49253         * sysdeps/posix/gettimeofday.c: Likewise.
49254         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49255         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49256         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49257         (__gettimeofday_internal): Remove strong_alias.
49258         (__gettimeofday): Add libc_hidden_def.
49259         (gettimeofday): Add libc_hidden_weak.
49260         * sysdeps/unix/syscalls.list (gettimeofday):
49261         Remove __gettimeofday_internal alias.
49263 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49264             H.J. Lu  <hongjiu.lu@intel.com>
49266         [BZ #12495]
49267         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49268         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49269         (largebin_index_32_big): New.
49270         (largebin_index): Use it for 16-byte alignment.
49271         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49272         correction with front_misalign.
49274 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49278         Likewise.
49279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49280         Likewise.
49281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49282         Likewise.
49283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49284         Likewise.
49285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49286         Likewise.
49287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49288         Likewise.
49289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49290         Likewise.
49291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49292         Likewise.
49293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49294         Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49296         Likewise.
49297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49298         Likewise.
49299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49300         Likewise.
49302         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49303         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49305 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49307         [BZ #10846]
49308         [BZ #14036]
49309         * math/libm-test.inc (exp_test): Add test from bug 14036.
49310         (pow_test): Add test from bug 10846.
49312         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49313         and other flags.
49314         (special_function): Do not include flags in test name.
49315         (parse_args): Likewise.
49316         * sysdeps/i386/fpu/libm-test-ulps: Update.
49317         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49318         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49319         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49322         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49323         exceptions.
49324         * math/libm-test.inc ("Philosophy"): Update comment about
49325         exception testing.
49326         (UNDERFLOW_EXCEPTION): New macro.
49327         (UNDERFLOW_EXCEPTION_OK): Likewise.
49328         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49329         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49330         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49331         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49332         (INVALID_EXCEPTION_OK): Update value.
49333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49334         (OVERFLOW_EXCEPTION_OK): Likewise.
49335         (IGNORE_ZERO_INF_SIGN): Likewise.
49336         (test_exceptions): Handle underflow exceptions.
49337         (acos_test): Update for underflow exception expectations.
49338         (cexp_test): Likewise.
49339         (clog_test): Likewise.
49340         (clog10_test): Likewise.
49341         (csqrt_test): Likewise.
49342         (ctan_test): Likewise.
49343         (ctanh_test): Likewise.
49344         (exp_test): Likewise.
49345         (exp10_test): Likewise.
49346         (exp2_test): Likewise.
49347         (expm1_test): Likewise.
49348         (fma_test): Likewise.
49349         (j0_test): Likewise.
49350         (jn_test): Likewise.
49351         (nexttoward_test): Likewise.
49352         (pow_test): Likewise.
49353         (scalbn_test): Likewise.
49354         (scalbln_test): Likewise.
49355         (tan_test): Likewise.
49356         (y1_test): Likewise.
49357         * sysdeps/i386/fpu/libm-test-ulps: Update.
49358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49360 2012-05-23  David S. Miller  <davem@davemloft.net>
49362         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49363         (__libc_sigaction): Remove unused local variables.
49365 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49367         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49369 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49371         mktime: avoid signed integer overflow
49372         * time/mktime.c (__mktime_internal): Do not mishandle the case
49373         where diff == INT_MIN.
49375         mktime: simplify computation of average
49376         * time/mktime.c (ranged_convert): Use new time_t_avg function
49377         instead of rolling our own (probably-slower) code.
49379         mktime: do not assume signed right shift propagates sign bit
49380         * time/mktime.c (isdst_differ): New static function.
49381         (__mktime_internal): No need to normalize tm_isdst now.
49382         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49383         tm_isdst values.
49385         mktime: merge another wrapv change from gnulib
49386         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49387         from some compilers.
49389         mktime: remove incorrect attempt at unusual arithmetics
49390         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49391         The code didn't really work on such machines anyway.
49392         (TYPE_MINIMUM): Assume two's complement.
49393         (twos_complement_arithmetic): Verify that long_int and time_t
49394         are two's complement (or unsigned, in the latter case).
49396         mktime: check signed shifts on long_int and time_t, too
49397         * time/mktime.c (SHR): Check that shifts work as desired
49398         on the types long_int and time_t too, as SHR is used on
49399         such types.
49401         mktime: do not assume 'long' is wide enough
49402         * time/mktime.c (verify): Move decl up.
49403         (long_int): New type.
49404         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49405         to remove assumption in the code that 'long' is wide enough to
49406         store year values.  This assumption is not true on x32 and on
49407         some non-glibc platforms.
49409         mktime: merge wrapv change from gnulib
49410         * time/mktime.c (WRAPV): New macro.
49411         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49412         (guess_time_tm, __mktime_internal): Do not assume that signed
49413         integer overflow wraps around; modern compilers generate code
49414         where this assumption is no longer valid.
49416 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49418         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49419         Replace "jmp L(pseudo_end)" with "ret".
49420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49421         Likewise.
49423 2012-05-23  Andreas Jaeger  <aj@suse.de>
49425         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49426         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49428 2012-05-23  Andreas Jaeger  <aj@suse.de>
49429             Maximilian Attems  <max@stro.at>
49431         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49432         New macros.
49434 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49436         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49437         code so that pseudo_end is just ret and the stack pointer is
49438         correct also for static library in error case.
49440 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49442         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49443         move to syscalls.list.
49444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49449         * manual/install.texi (Running make install): Do not mention Linux
49450         kernel version for which pt_chown is not needed.
49451         (Linux): Do not mention problems with nscd with 2.0 kernels.
49452         * INSTALL: Regenerated.
49454 2012-05-23  Andreas Jaeger  <aj@suse.de>
49456         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49457         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49458         macro.
49459         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49460         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49461         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49463         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49464         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49465         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49466         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49467         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49468         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49469         * sysdeps/unix/sysv/linux/bits/in.h
49470         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49472 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49474         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49475         (PREPARE_VERSION): Just use assert instead, it will be elided
49476         under [NDEBUG] anyway.
49478 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49480         * sysdeps/unix/sysv/linux/Makefile: Include
49481         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49482         (sysdep_routines): Remove sysctl.
49483         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49484         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49485         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49486         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49487         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49489 2012-05-22  Andreas Jaeger  <aj@suse.de>
49491         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49492         that pseudo_end is just ret and the stack pointer is correct also
49493         for static library in error case.
49495 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49497         [BZ #14122]
49498         * nss/nsswitch.c (defconfig_entries): New variable.
49499         (__nss_database_lookup): Don't leak defconfig entries.
49500         (nss_parse_service_list): Don't leak on error paths.
49501         (free_database_entries): New function.
49502         (free_defconfig): New function.
49503         (free_mem): Move common code to free_database_entries.
49505 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49508         Add arch_prctl.
49509         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49511         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49512         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49514         New macro.
49515         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49516         (INTERNAL_SYSCALL_TYPES): Likewise.
49517         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49518         (LOAD_REGS_TYPES_[1-6]): Likewise.
49519         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49520         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49522 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49524         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49525         copysignl for GLIBC_2_0.
49526         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49527         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49529         logbl for GLIBC_2_0.
49530         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49531         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49533 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49535         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49536         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49538         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49539         Use "neg %eax".
49541         * time/mktime.c: Update copyright years.
49543 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49545         mktime: merge comment-quoting-style change from gnulib
49546         * time/mktime.c: Quote 'like this' in comments.
49547         The GNU coding standards suggest that we no longer quote `like this',
49548         as "`" and "'" are typically rendered asymmetrically nowadays.
49549         The typical gnulib style is to quote 'like this' when quoting
49550         code, and "like this" when quoting English.
49552         * time/mktime.c (compile-command): Add "-I.".
49554         mktime: merge mktime-internal.h change from gnulib
49555         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49557         mktime: merge time_r change from gnulib
49558         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49560         mktime: merge DEBUG change from gnulib
49561         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49562         case system <time.h> has a #define.
49564         mktime: merge <sys/types.h> change from gnulib
49565         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49566         since <time.t> is now guaranteed to define time_t.
49568         mktime: merge HAVE_CONFIG_H change from gnulib
49569         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49571 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49574         Use "neg %eax".
49576         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49577         __rlim_t cast.
49578         (struct rusage): Use anonymous union to pad each field to
49579         __syscall_slong_t.
49581 2012-05-21  David S. Miller  <davem@davemloft.net>
49583         * Makefules (o-iterator): Remove .s cases.
49584         (compile-command.s): Delete.
49585         (COMPILE.s): Delete.
49586         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49588 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49590         * configure.in (libc_cv_predef_stack_protector): Only consider
49591         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49592         * configure: Regenerated.
49594 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49597         New macro.  Use R*LP on int and pointer.
49598         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49599         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49600         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49601         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49603         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49604         [__WORDSIZE_TIME64_COMPAT32] instead of
49605         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49606         (struct utmp): Likewise.
49607         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49608         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49609         Renamed to ...
49610         (__WORDSIZE_TIME64_COMPAT32): This.
49611         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49612         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49613         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49614         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49615         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49616         (__WORDSIZE_TIME64_COMPAT32): New macro.
49618 2012-05-21  Andreas Jaeger  <aj@suse.de>
49620         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49621         only if [SHARED]. Add prototype for __wcschr_ia32.
49623 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49625         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49626         of %rbp unmolested in the jmp_buf while mangling the low bits.
49627         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49628         unmolested high bits of %rbp while demangling the low bits.
49629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49631 2012-05-21  Andreas Jaeger  <aj@suse.de>
49633         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49634         * sunrpc/svc_simple.c: Use it for registerrpc.
49635         * sunrpc/xcrypt.c: Use it for passwd2des.
49637         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49639 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49641         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49642         Don't define if [__SYSCALL_WORDSIZE != 32].
49643         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49644         New macro.
49646 2012-05-21  Bruno Haible  <bruno@clisp.org>
49647             Andreas Jaeger  <aj@suse.de>
49649         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49650         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49651         inptr and inend for must_buffer_ch.
49652         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49653         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49654         * stdio-common/Makefile (tests): Remove bug15.
49655         (bug15-ENV): Remove macro.
49656         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49657         anymore.
49659 2012-05-19  Andreas Jaeger  <aj@suse.de>
49660             Roland McGrath  <roland@hack.frob.com>
49662         * manual/contrib.texi: Completely rewritten. It contains now an
49663         alphabetical list of contributors and their contributions.
49665 2012-05-21  Richard Henderson  <rth@twiddle.net>
49667         * misc/getauxval.c (__getauxval): Use unsigned long int.
49668         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49669         (getauxval): Use unsigned long int.
49671 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49673         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49675 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49677         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49678         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49679         __alignof__ (long double).
49681 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49685 2012-05-20  Richard Henderson  <rth@twiddle.net>
49687         * misc/getauxval.c: New file.
49688         * misc/sys/auxv.h: New file.
49689         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49690         (routines): Add getauxval.
49691         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49692         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49693         * elf/dl-sysdep.c (_dl_auxv): Remove.
49694         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49695         * elf/dl-support.c (_dl_auxv): New variable.
49696         (_dl_aux_init): Initialize it.
49697         * manual/startup.texi (Auxiliary Vector): New node.
49698         * sysdeps/generic/bits/hwcap.h: New file.
49699         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49700         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49701         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49702         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49703         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49704         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49706         Update.
49707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49710         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49716 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49720 2012-05-19  David S. Miller  <davem@davemloft.net>
49722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49724 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49726         [BZ #14123]
49727         * math/s_ccosh.c: Include <float.h>
49728         (__ccosh): Avoid internal overflow calculating sinh and cosh
49729         values before multiplying by sin and cos values.
49730         * math/s_ccoshf.c: Likewise.
49731         * math/s_ccoshl.c: Likewise.
49732         * math/s_csin.c: Likewise.
49733         * math/s_csinf.c: Likewise.
49734         * math/s_csinl.c: Likewise.
49735         * math/s_csinh.c: Likewise.
49736         * math/s_csinhf.c: Likewise.
49737         * math/s_csinhl.c: Likewise.
49738         * math/libm-test.inc (ccos_test): Add more tests.
49739         (ccosh_test): Likewise.
49740         (csin_test): Likewise.
49741         (csinh_test): Likewise.
49742         * sysdeps/i386/fpu/libm-test-ulps: Update.
49743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49745 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49747         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49748         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49750         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49752 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49754         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49755         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49756         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49757         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49758         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49759         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49760         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49761         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49762         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49763         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49764         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49765         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49766         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49767         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49768         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49769         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49770         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49771         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49772         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49773         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49774         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49775         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49776         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49777         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49778         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49779         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49780         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49781         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49782         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49783         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49784         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49786 2012-05-18  Andreas Jaeger  <aj@suse.de>
49788         * csu/.gitignore: Delete.
49790 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49792         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49793         (timex): Use __syscall_slong_t.
49795 2012-05-18  Andreas Jaeger  <aj@suse.de>
49796             Carlos O'Donell  <carlos_odonell@mentor.com>
49798         * manual/install.texi (Configuring and compiling): Update
49799         description about files modified in the source directory.
49800         * INSTALL: Regenerated.
49802 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49804         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49805         value.  Use "or" to set return value to -1.
49806         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49807         negate return value.
49809 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49811         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49812         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49813         failure if the compiler has Graphite support disabled.
49814         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49815         Likewise.
49816         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49817         (CFLAGS-memmove.c): Likewise.
49818         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49819         Likewise.
49821 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49823         * sysdeps/x86_64/x32/_itoa.h: New file.
49825         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49826         getdents system call only if kernel and user dirents have the
49827         same d_ino and d_off.
49829         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49830         LLONG_MAX != LONG_MAX.
49831         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49832         (_fitoa_word): Likewise.
49834         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49835         years.
49836         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49837         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49838         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49840         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49841         include <bits/wordsize.h>.  Check __x86_64__ instead of
49842         __WORDSIZE.
49843         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49844         if __x86_64__ is defined.  Use anonymous union on fpstate.
49846         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49847         anonymous union.
49849 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49851         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49852         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49853         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49854         Refer to _rtld_local_ro instead of _rtld_global_ro.
49855         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49856         Likewise.
49857         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49858         Likewise.
49859         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49860         Likewise.
49861         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49862         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49863         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49865         [BZ #10882]
49866         * sysdeps/powerpc/powerpc32/dl-machine.c
49867         (__elf_machine_runtime_setup) [PROF]: Don't reference
49868         _dl_prof_resolve.
49870 2012-05-18  Andreas Jaeger  <aj@suse.de>
49872         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49873         function only available for GCCs before 3.4 since GCC 3.4
49874         introduced a builtin.
49875         (lrint): Likewise.
49876         (llrintf): Likewise.
49877         (llrint): Likewise.
49878         (fmaxf): Likewise.
49879         (fmax): Likewise.
49880         (fminf): Likewise.
49881         (fmin): Likewise.
49882         (rint): Likewise.
49883         (rintf): Likewise.
49884         (nearbyint): Likewise.
49885         (nearbyintf): Likewise.
49886         (ceil): Likewise.
49887         (ceilf): Likewise.
49888         (floor): Likewise.
49889         (floorf): Likewise.
49891 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49893         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49894         on both fields and cast pointer to __syscall_ulong_t.
49896         * bits/types.h (__fsword_t): New type.
49897         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49898         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49900         (__FSWORD_T_TYPE): Likewise.
49901         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49902         (__FSWORD_T_TYPE): Likewise.
49903         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49904         (__FSWORD_T_TYPE): Likewise.
49905         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49906         (__FSWORD_T_TYPE): Likewise.
49907         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49908         __SWORD_TYPE with __fsword_t.
49909         (statfs64): Likewise.
49911 2012-05-17  David S. Miller  <davem@davemloft.net>
49913         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49915 2012-05-17  Andreas Jaeger  <aj@suse.de>
49917         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49918         warning.
49920 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49922         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49924 2012-05-17  Andreas Jaeger  <aj@suse.de>
49926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49927         when it is used.
49929 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49931         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49933 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49935         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49936         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49938 2012-05-17  Andreas Jaeger  <aj@suse.de>
49939             Carlos O'Donell  <carlos_odonell@mentor.com>
49941         [BZ #14059]
49942         * sysdeps/x86_64/multiarch/init-arch.h
49943         (bit_YMM_Usable): Rename to...
49944         (bit_AVX_Usable): ... this.
49945         (bit_FMA4_Usable): New macro.
49946         (bit_XMM_state): New macro.
49947         (bit_YMM_state): New macro.
49948         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49949         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49950         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49951         (CPUID_OSXSAVE): New macro.
49952         (CPUID_AVX): New macro.
49953         (CPUID_FMA4): New macro.
49954         (index_YMM_Usable): Rename to...
49955         (index_AVX_Usable): ... this.
49956         (HAS_AVX): Use HAS_ARCH_FEATURE.
49957         (HAS_FMA4): Likewise.
49958         (HAS_YMM_USABLE): Remove.
49959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49960         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49961         are present.
49962         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49963         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49964         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49965         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49966         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49968 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49970         * math/libm-test.c: Support platforms without multiple rounding modes.
49971         * math/bug-nextafter.c: Support platforms without FP exceptions.
49972         * math/bug-nexttoward.c: Likewise.
49973         * math/test-fenv.c: Likewise.
49974         * math/test-misc.c: Likewise.
49975         * stdlib/bug-getcontext.c: Likewise.
49977 2012-05-17  Andreas Jaeger  <aj@suse.de>
49979         * manual/examples/search.c (critter_cmp): Change signature to
49980         avoid warnings.
49981         * manual/string.texi (Collation Functions): Likewise.
49983 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49985         * bits/types.h: Fold copyright years.
49986         * bits/typesizes.h: Likewise.
49987         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49991         * time/time.h: Likewise.
49993 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49995         [BZ #208]
49996         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49997         in instead of returning them.  Return void.
49998         (__libc_mallinfo): Accumulate over all arenas.
49999         (__malloc_stats): Adjust for change in int_mallinfo interface.
50001 2012-05-16  Roland McGrath  <roland@hack.frob.com>
50003         [BZ #10375]
50004         * configure.in (NM): Add AC_CHECK_TOOL for it.
50005         (libc_extra_cflags): New substituted variable.
50006         Check for -fstack-protector being used implicitly.
50007         * configure: Regenerated.
50008         * config.make.in (config-extra-cflags): New variable,
50009         gets @libc_extra_cflags@.
50010         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50012         [BZ #10375]
50013         * configure.in: Check for _FORTIFY_SOURCE being predefined.
50014         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50015         * configure: Regenerated.
50016         * config.make.in (CPPUNDEFS): New substituted variable.
50017         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50018         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50019         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50021 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50023         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50024         (mq_attr): Use __syscall_slong_t.
50026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50029         Check __x86_64__ instead of __WORDSIZE.
50030         (_STAT_VER_LINUX): Likewise.
50031         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
50032         __syscall_ulong_t and __syscall_slong_t.
50033         (stat64): Likewise.
50035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50037         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50039 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50041         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50043 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50045         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50046         __syscall_ulong_t.
50048         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50049         include <bits/wordsize.h>.  Check __x86_64__ instead of
50050         __WORDSIZE.
50051         (greg_t): Use "__extension__ long long int" if __x86_64__ is
50052         defined.
50053         (mcontext_t): Replace "unsigned long" with "unsigned long long".
50055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50056         include <bits/wordsize.h>.  Check __x86_64__ instead of
50057         __WORDSIZE.
50058         (user_regs_struct): Use "__extension__ unsigned long long"
50059         instead of "unsigned long" if __x86_64__ is defined.
50060         (user): Likewise.  Pad after pointer field if __ILP32__ is
50061         defined.
50063 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
50065         * configure.in (makeinfo): Require version 4.5 or later.  Allow
50066         versions 5 to 9.
50067         * configure: Regenerated.
50068         * manual/install.texi (texinfo): Increase version requirement to
50069         4.5 or later.
50070         * INSTALL: Regenerated.
50072         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50076         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50078         * sysdeps/x86_64/x32/ffs.c: New file.
50080         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50081         __syscall_ulong_t.
50082         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50083         defined.  Use __syscall_ulong_t.
50084         (shminfo): Use __syscall_ulong_t.
50085         (shm_info): Likewise.
50087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50088         __syscall_ulong_t.
50090         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50091         <bits/wordsize.h>.
50092         (msgqnum_t): Use __syscall_ulong_t.
50093         (msglen_t): Likewise.
50094         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50095         __syscall_ulong_t.
50097         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50098         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50100         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50102         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50103         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50105         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50106         __syscall_slong_t.
50108         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50109         include <bits/wordsize.h>.  Check __x86_64__ instead of
50110         __WORDSIZE.
50112         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50113         "unsigned long long int" if __x86_64__ is defined.
50114         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50116         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50117         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50118         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50120         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50121         <stdint.h>.
50122         (GET_PC): Cast to uintptr_t first.
50123         (GET_FRAME): Likewise.
50124         (GET_STACK): Likewise.
50126         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50127         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50128         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50129         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50130         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50131         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50132         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50133         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50134         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50136         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50138         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50139         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50140         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50142         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50143         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50144         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50145         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50146         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50148         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50150         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50152         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50154         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50156 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50158         * Makerules (+depfiles): Also collect depfiles from .oS in
50159         $(extra-objs).
50160         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50161         .oS, $(libnldbl-routines)).
50163         * Makerules (native-compile-mkdep-flags): Define.
50164         * sunrpc/Makefile (extra-objs): Add $(addprefix
50165         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50166         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50167         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50168         calling $(make-target-directory).
50170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50172         * bits/types.h (__snseconds_t): Removed.
50173         * time/time.h (struct timespec): Replace __snseconds_t with
50174         __syscall_slong_t.
50175         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50176         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50177         Likewise.
50178         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50179         (__SNSECONDS_T_TYPE): Likewise.
50180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50181         (__SNSECONDS_T_TYPE): Likewise.
50182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50183         (__SNSECONDS_T_TYPE): Likewise.
50185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50187         * sysdeps/mach/hurd/bits/typesizes.h
50188         (__SYSCALL_SLONG_TYPE): New macro.
50189         (__SYSCALL_ULONG_TYPE): Likewise.
50191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50193         * bits/types.h (__syscall_slong_t): New type.
50194         (__syscall_ulong_t): Likewise.
50196         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50197         (__SYSCALL_ULONG_TYPE): Likewise.
50198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50199         (__SYSCALL_SLONG_TYPE): Likewise.
50200         (__SYSCALL_ULONG_TYPE): Likewise.
50201         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50202         (__SYSCALL_SLONG_TYPE): Likewise.
50203         (__SYSCALL_ULONG_TYPE): Likewise.
50204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50205         (__SYSCALL_SLONG_TYPE): Likewise.
50206         (__SYSCALL_ULONG_TYPE): Likewise.
50208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50210         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50211         Add sigaltstack-offsets.sym.
50212         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50213         <sigaltstack-offsets.h>.
50214         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50215         longjmp_msg pointer.
50216         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50217         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50218         signal stack.
50219         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50221 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50223         * elf/stackguard-macros.h: Remove file.
50224         * sysdeps/generic/stackguard-macros.h: New file.
50225         * sysdeps/i386/stackguard-macros.h: Likewise.
50226         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50227         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50228         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50229         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50230         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50231         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50232         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50233         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50234         <elf/stackguard-macros.h>.
50236         [BZ #14109]
50237         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50238         __aligned__ in attribute.
50239         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50240         (gregset_t): Likewise.
50242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50244         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50245         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50246         * sysdeps/x86_64/x32/Implies-after: New file.
50248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50250         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50251         and access return value for _dl_profile_fixup.  Use R10_LP to
50252         load frame size.
50254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50256         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50260         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50261         * sysdeps/x86_64/x32/sysdep.h: New file.
50263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50265         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50266         * sysdeps/x86_64/setjmp.S: Likewise.
50268 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50271         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50272         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50273         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50274         remove unused global constant.
50276 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50278         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50279         include of <not-cancel.h>.
50281 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50283         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50285 2012-05-15  Jeff Law  <law@redhat.com>
50286             Andreas Jaeger  <aj@suse.de>
50288         [BZ #13594]
50289         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50290         out from...
50291         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50292         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50293         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50294         code changing __hst_map_handle.map.
50296 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50298         * configure.in (sysnames): Look for Implies-before and Implies-after
50299         files.
50300         * configure: Regenerated.
50302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50304         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50305         8-byte data alignment with LP_SIZE alignment.
50307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50309         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50310         into R10_LP.
50312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50314         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50318         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50319         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50320         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50321         Likewise.
50322         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50326         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50327         (stackinfo_sub_sp): Likewise.
50329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50331         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50332         RAX_LP.
50334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50336         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50337         into R*_LP.
50339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50341         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50342         sizes into R*_LP.
50344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50346         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50350         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50351         into R11_LP and load __x86_64_shared_cache_size_half into
50352         R8_LP.
50354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50356         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50357         R8_LP.
50359 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50362         logb for POWER7.
50363         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50364         logbf for POWER7.
50365         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50366         logbl for POWER7.
50367         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50368         powerpc32/power7/fpu/s_logb.c via #include.
50369         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50370         powerpc32/power7/fpu/s_logbf.c via #include.
50371         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50372         powerpc32/power7/fpu/s_logbl.c via #include.
50374 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50376         * README.libm: Remove file.
50378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50380         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50381         count for x32.  Use R*_LP and omit operand-size suffix.
50383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50385         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50386         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50387         * sysdeps/x86_64/x32/shlib-versions: New file.
50389 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50391         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50392         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50393         Use _dl_fatal_printf instead.
50395 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50397         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50398         set if not set by the user.  Do not allow for being unset.
50399         * sysdeps/unix/sysv/linux/configure: Regenerated.
50401 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50403         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50404         the `q' suffix from lea and replace .quad with ASM_ADDR.
50406 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50409         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50410         instead of $17.
50411         (PTR_DEMANGLE): Likewise.
50413 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50415         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50416         (LP_OP): Likewise.
50417         (ASM_ADDR): Likewise.
50418         (RAX_LP): Likewise.
50419         (RBP_LP): Likewise.
50420         (RBX_LP): Likewise.
50421         (RCX_LP): Likewise.
50422         (RDI_LP): Likewise.
50423         (RSI_LP): Likewise.
50424         (RSP_LP): Likewise.
50425         (R8_LP): Likewise.
50426         (R9_LP): Likewise.
50427         (R10_LP): Likewise.
50428         (R10_LP): Likewise.
50429         (R11_LP): Likewise.
50430         (R12_LP): Likewise.
50431         (R13_LP): Likewise.
50432         (R14_LP): Likewise.
50433         (R15_LP): Likewise.
50435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50437         * sysdeps/x86_64/x32/dl-machine.h: New file.
50439 2012-05-14  Andreas Jaeger  <aj@suse.de>
50441         * manual/Makefile (subdir): Remove export of subdir.
50442         (all): Remove target.
50443         (.PHONY): Remove all from list.
50444         (mkinstalldirs): Remove.
50445         (.PHONY): Remove installdirs from list.
50446         ($(inst_infodir)/libc.info): Use make-target-directory.
50447         (installdirs): Remove.
50448         (subdir_%): Remove.
50449         (glibc-targets): Remove.
50450         (lib): Remove.
50451         (stubs): Remove.
50452         ($(objpfx)stubs ../po/manual.pot): Remove.
50453         ($(objpfx)stamp%): Remove.
50454         (make-target-directory): Remove.
50455         (subdir_install): Remove.
50456         (routines): Remove.
50457         (aux): Remove.
50458         (sources): Remove.
50459         (objects): Remove.
50460         (headers): Remove.
50462         [BZ #13750]
50463         * manual/.gitignore: Remove, it's not needed anymore.
50464         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50465         all files in it.
50466         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50467         directory.
50468         (texis): Renamed to $(objpfx)texis.
50469         (texis-path): New, contains path to generated files.
50470         (chapters.%): Use texis-path for complete path, add extra argument
50471         libc-texinfo.sh.
50472         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50473         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50474         (summary,texi, stamp-summary): Use complete path of
50475         files. Generate files in build dir.
50476         (dir-add.texi): Build in build dir.
50477         (libm-err.texi,stamp-libm-err): Likewise.
50478         (version.texi, stamp-version): Likewise.
50479         (.%c.texi): Likewise.
50480         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50481         (mostlyclean): Remove target.
50482         (realclean): Remove target.
50483         (generated): Add new variable with contents from mostlyclean and
50484         realclean, remove entries duplicated in common-mostlyclean, add
50485         stamp-libm-err and stamp-version.
50486         (generated-dirs): Add libc directory.
50487         ($(inst_infodir)/libc.info): Install files from build dir.
50489         * manual/install.texi (Configuring and compiling): Adjust since
50490         the info files are not part of the tar ball anymore.
50492 2012-05-14  Andreas Jaeger  <aj@suse.de>
50494         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50495         variable.
50497 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50499         [BZ #13717]
50500         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50501         to 2.2.0 where earlier.
50502         * sysdeps/unix/sysv/linux/configure: Regenerated.
50503         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50504         Remove conditional code.
50505         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50506         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50507         Remove conditional code.
50508         [!__NR_lchown]: Likewise.
50509         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50510         [__NR_lchown]: Likewise.
50511         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50512         comment referencing __ASSUME_LCHOWN_SYSCALL.
50513         * sysdeps/unix/sysv/linux/i386/sigaction.c
50514         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50515         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50516         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50517         Remove conditional code.
50518         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50519         (__protocol_available): Remove #if 0 code.
50520         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50521         conditional code.
50522         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50523         * sysdeps/unix/sysv/linux/kernel-features.h
50524         (__ASSUME_GETCWD_SYSCALL): Don't define.
50525         (__ASSUME_REALTIME_SIGNALS): Likewise.
50526         (__ASSUME_PREAD_SYSCALL): Likewise.
50527         (__ASSUME_PWRITE_SYSCALL): Likewise.
50528         (__ASSUME_POLL_SYSCALL): Likewise.
50529         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50530         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50531         non-SPARC.
50532         (__ASSUME_SIOCGIFNAME): Don't define.
50533         (__ASSUME_MSG_NOSIGNAL): Likewise.
50534         (__ASSUME_SENDFILE): Define unconditionally.
50535         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50536         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50537         conditional code.
50538         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50539         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50540         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50541         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50542         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50543         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50544         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50546         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50549         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50552         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50553         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50555         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50558         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50559         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50561         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50564         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50565         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50567         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50569         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50570         Remove conditional code.
50571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50572         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50573         Remove conditional code.
50574         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50575         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50576         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50577         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50578         Remove conditional code.
50579         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50580         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50581         Remove conditional code.
50582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50583         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50584         Remove conditional code.
50585         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50586         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50587         Remove conditional code.
50588         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50589         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50590         Remove conditional code.
50591         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50592         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50593         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50594         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50595         * sysdeps/unix/sysv/linux/sigaction.c
50596         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50597         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50598         * sysdeps/unix/sysv/linux/sigpending.c
50599         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50600         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50601         * sysdeps/unix/sysv/linux/sigprocmask.c
50602         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50603         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50604         * sysdeps/unix/sysv/linux/sigsuspend.c
50605         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50606         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50607         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50608         (__libc_missing_rt_sigs): Remove.
50609         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50610         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50611         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50612         Remove conditional code.
50613         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50614         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50615         return 1.
50616         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50617         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50618         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50619         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50621 2012-05-14  Andreas Jaeger  <aj@suse.de>
50623         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50624         it's not used in glibc.
50625         (__coshm1): Likewise.
50626         (__acosh1p): Likewise.
50627         (__sgn): Likewise.
50629         * manual/string.texi (Copying and Concatenation): Add missing
50630         variable in concat example.
50631         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50633 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50635         [BZ #14103]
50636         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50637         __builtin_clzl with __builtin_clzll.
50639 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50641         [BZ #14104]
50642         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50643         libc_freeres_ptr.
50645 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50647         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50648         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50649         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50650         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50652 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50654         * NEWS: Update ia64 info.
50656 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50658         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50659         used as bcopy.
50661 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50663         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50664         * sysdeps/unix/syscalls.list (dup3): Likewise.
50665         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50666         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50668 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50670         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50671         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50673 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50675         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50676         thread pointer.
50677         (TLS_IE): Use mov/add instead of movq/addq to load thread
50678         pointer.
50679         (TLS_GD_PREFIX): New.
50680         (TLS_GD): Use it.
50682 2012-05-11  David S. Miller  <davem@davemloft.net>
50684         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50685         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50686         (_FPU_SETCW): Likewise.
50688 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50690         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50691         is 32-byte aligned.
50693 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50695         [BZ #11837]
50696         * iconvdata/gb18030.c: Update tables.
50697         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50698         characters specially.
50699         (BODY for TO_LOOP): Add encoding of missing ranges.
50701 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50703         [BZ #13673]
50704         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50705         * sysdeps/mach/hurd/dup3.c: Likewise.
50706         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50707         * sysdeps/powerpc/memmove.c:: Likewise.
50709 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50711         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50712         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50714 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50716         * elf/elf.h (R_X86_64_RELATIVE64): New.
50717         (R_X86_64_NUM): Updated.
50718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50719         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50720         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50721         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50722         tst-quad1pie tst-quad2pie
50723         (modules-names): Add tst-quadmod1 tst-quadmod2.
50724         ($(objpfx)tst-quad1): New dependency.
50725         ($(objpfx)tst-quad2): Likewise.
50726         ($(objpfx)tst-quad1pie): Likewise.
50727         ($(objpfx)tst-quad2pie): Likewise.
50728         * sysdeps/x86_64/tst-quad1.c: New file.
50729         * sysdeps/x86_64/tst-quad1pie.c: New file.
50730         * sysdeps/x86_64/tst-quad2.c: Likewise.
50731         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50732         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50733         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50734         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50735         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50739         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50740         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50741         * streams/stropts.h (t_scalar_t): Define type.
50743         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50744         (_PATH_PRESERVE): Set to "/var/lib".
50745         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50747         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50748         instead of int.
50750         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50751         if __dir_mkfile succeeded.
50753         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50754         checking for _hurd_dtablesize.  Unlock it right after having
50755         finished _hurd_dtable allocation.
50757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50759         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50760         * sysdeps/mach/hurd/configure: Regenerated.
50761         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50762         special-casing to...
50763         * sysdeps/gnu/configure.in: ... this new file.
50764         * sysdeps/unix/sysv/linux/configure: Regenerated.
50765         * sysdeps/gnu/configure: New generated file.
50767         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50768         for Linux: use nsec instead of usec, as well as:
50769         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50770         members of type struct timespec.
50771         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50772         New macros.
50773         (struct stat64): Likewise.
50774         (_STATBUF_ST_NSEC): New macro.
50775         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50777         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50778         __strtoul_internal rather than strtoul.
50780 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50782         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50783         and reject them.
50785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50787         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50788         which preserves existing values.
50789         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50791 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50793         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50794         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50795         greater than FD_SETSIZE.
50797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50799         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50800         allocated, call __vm_protect to finish enabling the existing space, and
50801         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50802         allocate the remainder.
50804 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50806         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50807         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50811         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50812         sysdeps/mach/hurd/readlink.c.
50814         * posix/tst-sysconf.c (posix_options): Only use
50815         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50816         _POSIX_SYNCHRONIZED_IO when they are defined
50817         * sysdeps/mach/hurd/bits/posix_opt.h:
50818         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50819         (_XOPEN_REALTIME): Undefine macro.
50820         (_XOPEN_REALTIME_THREADS): Undefine macro.
50821         (_XOPEN_SHM): Undefine macro.
50822         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50823         macro to -1.
50824         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50825         macro to -1.
50826         (_POSIX_ASYNC_IO): Undefine macro.
50827         (_POSIX_PRIORITIZED_IO): Undefine macro.
50828         (_POSIX_SPIN_LOCKS): Define macro to -1.
50830         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50831         SA_NODEFER, SA_RESETHAND.
50832         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50833         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50834         F_DUPFD_CLOEXEC.
50836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50838         * elf/Makefile (pldd-modules): Define unconditionally.
50840 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50842         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50846         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50847         Return ENOENT when name is empty.
50848         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50852         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50854         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50856 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50858         Fix mlock in all cases except non-readable pages.
50859         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50860         instead of VM_PROT_ALL as parameter to __vm_wire function.
50862         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50863         (__mkdir): When path is `/', just fail with EEXIST.
50864         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50868         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50869         <sys/uio.h> (for writev).
50870         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50871         and <sys/param.h> (for MIN).
50873 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50875         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50876         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50877         if interrupted.
50879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50881         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50882         Depend on against $(link-rpcuserlibs).
50884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50886         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50887         (__libc_stack_end): Do not use attribute_relro.
50888         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50889         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50890         to libthread-provided value.
50891         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50892         attribute_relro.
50894 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50896         [BZ #3748]
50897         * bits/libc-lock.h (__libc_once_get): New macro.
50898         * sysdeps/mach/bits/libc-lock.h: Likewise.
50899         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50901         instead of using implementation details.
50903         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50904         * libio/freopen.c: Likewise.
50905         * libio/freopen64.c: Likewise.
50906         * misc/syslog.c: Likewise.
50907         * nscd/connections.c: Likewise.
50908         * nscd/netgroupcache.c: Likewise.
50909         * sysdeps/posix/getcwd.c: Likewise.
50911 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50913         * math/w_ilogbf.c: Add #include <limits.h>.
50915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50917         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50918         path instead of returning without unlocking.
50920         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50921         immediate-write ioctls.
50922         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50926         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50927         __builtin_frame_address instead of making assumptions about the
50928         location of the return address relative to DATA.  Force early load of
50929         the return address.
50930         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50931         __builtin_frame_address.
50933         dup3 for GNU Hurd.
50934         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50935         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50936         implement dup3 and do some further code clean-ups.
50937         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50938         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50942         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50944         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50945         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50946         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50947         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50948         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50949         d->port.lock.
50951         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50952         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50953         when handler == SIG_ERR, not when handler != SIG_ERR.
50955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50957         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50958         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50959         definitions.
50961         accept4 for GNU Hurd.
50962         * include/sys/socket.h (__libc_accept4): New prototype.
50963         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50964         to implement __libc_accept4.
50965         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50966         __libc_accept4.
50967         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50969         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50970         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50971         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50972         signal-defines.sym.
50974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50976         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50978 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50980         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50981         assertion on O_CLOEXEC flag.
50982         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50983         * hurd/intern-fd.c: Likewise.
50984         * hurd/port2fd.c: Likewise.
50986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50988         [BZ #3906]
50989         * bits/in.h (IPV6_PKTINFO): Define new macro.
50990         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50992 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50994         [BZ #13954]
50995         [BZ #13955]
50996         [BZ #13956]
50997         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50999         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51000         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51001         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51002         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51003         * math/libm-test.inc (logb_test) : Additional logb tests.
51005 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
51006             Andreas Jaeger  <aj@suse.de>
51008         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51009         * configure: Regenerated.
51010         * config.h.in (LINK_OBSOLETE_RPC): New macro.
51011         * config.make.in (link-obsolete-rpc): New substituted variable.
51012         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51013         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51014         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51015         (shared-only-routines): Don't set it under [link-obsolete-rpc],
51016         so that libc.a contains the symbols.
51017         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51018         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51019         * sunrpc/auth_none.c: Likewise.
51020         * sunrpc/auth_unix.c: Likewise.
51021         * sunrpc/authdes_prot.c: Likewise.
51022         * sunrpc/authuxprot.c: Likewise.
51023         * sunrpc/clnt_gen.c: Likewise.
51024         * sunrpc/clnt_perr.c: Likewise.
51025         * sunrpc/clnt_raw.c: Likewise.
51026         * sunrpc/clnt_simp.c: Likewise.
51027         * sunrpc/clnt_tcp.c: Likewise.
51028         * sunrpc/clnt_udp.c: Likewise.
51029         * sunrpc/clnt_unix.c: Likewise.
51030         * sunrpc/des_crypt.c: Likewise.
51031         * sunrpc/des_soft.c: Likewise.
51032         * sunrpc/get_myaddr.c: Likewise.
51033         * sunrpc/key_call.c: Likewise.
51034         * sunrpc/key_prot.c: Likewise.
51035         * sunrpc/netname.c: Likewise.
51036         * sunrpc/pm_getmaps.c: Likewise.
51037         * sunrpc/pm_getport.c: Likewise.
51038         * sunrpc/pmap_clnt.c: Likewise.
51039         * sunrpc/pmap_prot.c: Likewise.
51040         * sunrpc/pmap_prot2.c: Likewise.
51041         * sunrpc/pmap_rmt.c: Likewise.
51042         * sunrpc/publickey.c: Likewise.
51043         * sunrpc/rpc_cmsg.c: Likewise.
51044         * sunrpc/rpc_common.c: Likewise.
51045         * sunrpc/rpc_dtable.c: Likewise.
51046         * sunrpc/rpc_prot.c: Likewise.
51047         * sunrpc/rpc_thread.c: Likewise.
51048         * sunrpc/rtime.c: Likewise.
51049         * sunrpc/svc.c: Likewise.
51050         * sunrpc/svc_auth.c: Likewise.
51051         * sunrpc/svc_raw.c: Likewise.
51052         * sunrpc/svc_run.c: Likewise.
51053         * sunrpc/svc_tcp.c: Likewise.
51054         * sunrpc/svc_udp.c: Likewise.
51055         * sunrpc/svc_unix.c: Likewise.
51056         * sunrpc/svcauth_des.c: Likewise.
51057         * sunrpc/xcrypt.c: Likewise.
51058         * sunrpc/xdr.c: Likewise.
51059         * sunrpc/xdr_array.c: Likewise.
51060         * sunrpc/xdr_float.c: Likewise.
51061         * sunrpc/xdr_intXX_t.c: Likewise.
51062         * sunrpc/xdr_mem.c: Likewise.
51063         * sunrpc/xdr_rec.c: Likewise.
51064         * sunrpc/xdr_ref.c: Likewise.
51065         * sunrpc/xdr_sizeof.c: Likewise.
51066         * sunrpc/xdr_stdio.c: Likewise.
51068 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51070         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51071         change.  Update copyright years.
51073 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51075         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51077 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51078             Joseph Myers  <joseph@codesourcery.com>
51079             Paul Pluzhnikov  <ppluzhnikov@google.com>
51081         [BZ #14012]
51082         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51083         requiring rpcgen.
51084         [cross-compiling] (extra-libs): Likewise.
51085         [cross-compiling] (extra-libs-others): Likewise.
51086         [cross-compiling] (librpcsvc-routines): Likewise.
51087         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51088         [cross-compiling] (omit-deps): Likewise.
51089         (sunrpc-CPPFLAGS): New variable.
51090         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51091         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51092         (cross-rpcgen-objs): New variable.
51093         (extra-objs): Append $(cross-rpcgen-objs).
51094         ($(cross-rpcgen-objs)): New rule.
51095         ($(objpfx)cross-rpcgen): Likewise.
51096         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51097         comment.
51098         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51099         ($(objpfx)x%.stmp): Likewise.
51100         * sunrpc/proto.h [IS_IN_build] (_): Define.
51101         [IS_IN_build] (_libc_intl_domainname): Likewise.
51103 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51105         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51106         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51107         and R_X86_64_TPOFF64.
51109 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51111         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51112         sysdeps/unix/sysv/syscalls.list.
51113         (stime): Likewise.
51114         (utime): Likewise.
51115         * sysdeps/unix/sysv/syscalls.list: Remove file.
51117 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51119         [BZ #3440]
51120         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51121         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51122         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51123         (__LC_IDENTIFICATION): Make these macros useful in #if
51124         expressions, as required by C99.
51126 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51128         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51129         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51130         after this.
51132 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51134         * stdlib/longlong.h: Updated from GCC.
51136 2012-05-09  Andreas Jaeger  <aj@suse.de>
51138         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51139         default is first entry.
51140         (run_mode): Set type.
51141         (main): Remove informal message about syslog.
51142         (options): Fix typo.
51144         [BZ #14053]
51145         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51146         to asm.
51147         (lrint): Likewise.
51148         (llrintf): Likewise.
51149         (llrint): Likewise.
51150         (rint): Likewise.
51151         (rintf): Likewise.
51152         (nearbyint): Likewise.
51153         (nearbyintf): Likewise.
51155 2012-05-09  Andreas Jaeger  <aj@suse.de>
51156             Pedro Alves  <palves@redhat.com>
51158         * nscd/nscd.c (run_mode): Use enum.
51159         (main): Cleanup coding style issue.
51161 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51162             Andreas Jaeger  <aj@suse.de>
51164         * nscd/nscd.c (go_background): Replaced with...
51165         (run_mode): ... this.
51166         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51167         (options): Add -F --foreground.
51168         (main): Implement it.
51169         (parse_opt): Parse it.
51171 2012-05-09  Andreas Jaeger  <aj@suse.de>
51173         [BZ #14083]
51174         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51175         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51176         -Wconversion warning.
51177         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51178         Likewise.
51180 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51182         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51183         == 0.
51184         (LC_ALL): Use macro-int-constant.
51185         (LC_COLLATE): Likewise.
51186         (LC_CTYPE): Likewise.
51187         (LC_MESSAGES): Likewise.
51188         (LC_MONETARY): Likewise.
51189         (LC_NUMERIC): Likewise.
51190         (LC_TIME): Likewise.
51191         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51192         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51194         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51195         Specify type.
51196         [C99-based standards] (float_t): Expect type.
51197         [C99-based standards] (double_t): Expect type.
51198         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51199         type.
51200         [C99-based standards] (HUGE_VALL): Likewise.
51201         [C99-based standards] (INFINITY): Likewise.
51202         [C99-based standards] (NAN): Likewise.
51203         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51204         [C99-based standards] (FP_NAN): Likewise.
51205         [C99-based standards] (FP_NORMAL): Likewise.
51206         [C99-based standards] (FP_SUBNORMAL): Likewise.
51207         [C99-based standards] (FP_ZERO): Likewise.
51208         [C99-based standards] (FP_FAST_FMA): Use
51209         optional-macro-int-constant.  Specify type.  Require == 1.
51210         [C99-based standards] (FP_FAST_FMAF): Likewise.
51211         [C99-based standards] (FP_FAST_FMAL): Likewise.
51212         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51213         [C99-based standards] (FP_ILOGBNAN): Likewise.
51214         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51215         Specify type.
51216         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51217         [C99-based standards] (math_errhandling): Specify type.
51218         [ISO99 || ISO11] (signgam): Do not allow.
51219         [non-C99-based standards] (copysignf): Do not allow.
51220         [non-C99-based standards] (exp2f): Likewise.
51221         [non-C99-based standards] (log2f): Likewise.
51222         [non-C99-based standards] (modff): Allow.
51223         [non-C99-based standards] (erff): Do not allow.
51224         [non-C99-based standards] (erfcf): Likewise.
51225         [non-C99-based standards] (gammaf): Likewise.
51226         [non-C99-based standards] (hypotf): Likewise.
51227         [non-C99-based standards] (j0f): Likewise.
51228         [non-C99-based standards] (j1f): Likewise.
51229         [non-C99-based standards] (jnf): Likewise.
51230         [non-C99-based standards] (lgammaf): Likewise.
51231         [non-C99-based standards] (tgammaf): Likewise.
51232         [non-C99-based standards] (y0f): Likewise.
51233         [non-C99-based standards] (y1f): Likewise.
51234         [non-C99-based standards] (ynf): Likewise.
51235         [non-C99-based standards] (isnanf): Likewise.
51236         [non-C99-based standards] (acoshf): Likewise.
51237         [non-C99-based standards] (asinhf): Likewise.
51238         [non-C99-based standards] (atanhf): Likewise.
51239         [non-C99-based standards] (cbrtf): Likewise.
51240         [non-C99-based standards] (expm1f): Likewise.
51241         [non-C99-based standards] (ilogbf): Likewise.
51242         [non-C99-based standards] (log1pf): Likewise.
51243         [non-C99-based standards] (logbf): Likewise.
51244         [non-C99-based standards] (nextafterf): Likewise.
51245         [non-C99-based standards] (remainderf): Likewise.
51246         [non-C99-based standards] (rintf): Likewise.
51247         [non-C99-based standards] (scalbf): Likewise.
51248         [non-C99-based standards] (copysignl): Likewise.
51249         [non-C99-based standards] (exp2l): Likewise.
51250         [non-C99-based standards] (log2l): Likewise.
51251         [non-C99-based standards] (modfl): Allow.
51252         [non-C99-based standards] (erfl): Do not allow.
51253         [non-C99-based standards] (erfcl): Likewise.
51254         [non-C99-based standards] (gammal): Likewise.
51255         [non-C99-based standards] (hypotl): Likewise.
51256         [non-C99-based standards] (j0l): Likewise.
51257         [non-C99-based standards] (j1l): Likewise.
51258         [non-C99-based standards] (jnl): Likewise.
51259         [non-C99-based standards] (lgammal): Likewise.
51260         [non-C99-based standards] (tgammal): Likewise.
51261         [non-C99-based standards] (y0l): Likewise.
51262         [non-C99-based standards] (y1l): Likewise.
51263         [non-C99-based standards] (ynl): Likewise.
51264         [non-C99-based standards] (isnanl): Likewise.
51265         [non-C99-based standards] (acoshl): Likewise.
51266         [non-C99-based standards] (asinhl): Likewise.
51267         [non-C99-based standards] (atanhl): Likewise.
51268         [non-C99-based standards] (cbrtl): Likewise.
51269         [non-C99-based standards] (expm1l): Likewise.
51270         [non-C99-based standards] (ilogbl): Likewise.
51271         [non-C99-based standards] (log1pl): Likewise.
51272         [non-C99-based standards] (logbl): Likewise.
51273         [non-C99-based standards] (nextafterl): Likewise.
51274         [non-C99-based standards] (remainderl): Likewise.
51275         [non-C99-based standards] (rintl): Likewise.
51276         [non-C99-based standards] (scalbl): Likewise.
51277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51278         [non-C99-based standards] (FP_*): Do not allow.
51279         [C99-based standards] (FP_*): Change to
51280         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51281         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51282         allow.
51283         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51284         (SIG_ERR): Likewise.
51285         [X/Open-based standards] (SIG_HOLD): Likewise.
51286         (SIG_IGN): Likewise.
51287         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51288         positive value.
51289         (SIGFPE): Likewise.
51290         (SIGILL): Likewise.
51291         (SIGINT): Likewise.
51292         (SIGSEGV): Likewise.
51293         (SIGTER): Likewise.
51294         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51295         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51296         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51297         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51298         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51299         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51300         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51301         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51302         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51303         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51304         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51305         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51306         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51307         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51308         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51309         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51310         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51311         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51312         [X/Open-based standards] (SIGTRAP): Likewise.
51313         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51314         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51315         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51316         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51317         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51318         allow.
51320 2012-05-08  Ian Wienand  <ianw@vmware.com>
51322         [BZ #14080]
51323         * time/tzset.c (__tzset_parse_tz): Update default rules for
51324         daylight time changes in the Energy Policy Act of 2005.
51326 2012-05-09  Andreas Jaeger  <aj@suse.de>
51328         [BZ #13983]
51329         * elf/ldconfig.c (parse_conf): Change string to make clear that
51330         ldconfig only issued a warning if ld.so.conf does not exist.
51332 2012-05-08  David S. Miller  <davem@davemloft.net>
51334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51335         movxtod instead of popping the value on the stack.
51337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51339 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51341         * config.h.in: Add HAVE_ARM_PCS_VFP.
51343 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51345         [BZ #13979]
51346         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51347         checking but the checks are disabled for any reason.
51349 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51351         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51352         and ELF64_R_TYPE with ELFW(R_TYPE).
51354 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51356         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51357         (ulimit): Likewise.
51359         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51360         (settimeofday): Likewise.
51362 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51364         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51365         a struct th_u2 inside the union, and move tu_block/tu_code into
51366         a new th_u3 union of tu_block/tu_code inside of that.  Move
51367         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51368         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51369         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51370         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51371         (th_stuff): Change to th_u1.tu_stuff.
51372         (th_data): Define.
51373         (th_msg): Change to th_u1.th_u2.tu_data.
51375 2012-05-07  David S. Miller  <davem@davemloft.net>
51377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51379         [BZ #14074]
51380         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51381         (SETUP_PIC_REG): Use it.
51382         (SETUP_PIC_REG_LEAF): Use it.
51384 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51386         [BZ #13885]
51387         [BZ #13923]
51388         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51389         USE_AS_EXPM1L.
51390         (EXPL_FINITE): Likewise.
51391         (FLDLOG): Likewise.
51392         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51393         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51394         e_expl.S.
51395         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51396         USE_AS_EXPM1L.
51397         (EXPL_FINITE): Likewise.
51398         (FLDLOG): Likewise.
51399         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51400         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51401         e_expl.S.
51402         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51403         test of -max_value argument for long double.
51404         * sysdeps/i386/fpu/libm-test-ulps: Update.
51405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51407 2012-05-06  David S. Miller  <davem@davemloft.net>
51409         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51410         quad soft-float symbols whose references which are compiler
51411         generated.
51412         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51414 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51416         [BZ #13884]
51417         [BZ #13914]
51418         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51419         USE_AS_EXP10L.
51420         (EXPL_FINITE): Likewise.
51421         (FLDLOG): Likewise.
51422         (c0): Likewise.
51423         (c1): Likewise.
51424         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51425         Adjust comments for base varying.
51426         (__expl_finite): Change alias to EXPL_FINITE.
51427         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51428         e_expl.S.
51429         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51430         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51431         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51432         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51433         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51434         USE_AS_EXP10L.
51435         (EXPL_FINITE): Likewise.
51436         (FLDLOG): Likewise.
51437         (c0): Likewise.
51438         (c1): Likewise.
51439         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51440         Adjust comments for base varying.
51441         (__expl_finite): Change alias to EXPL_FINITE.
51442         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51443         tests for bugs.
51444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51446         [BZ #14064]
51447         * math/libm-test.inc (check_float_internal): Correct ulp
51448         calculation for subnormal expected results.
51450 2012-05-06  Andreas Jaeger  <aj@suse.de>
51452         * Makeconfig (+math-flags): New, set to -frounding-math.
51453         (+cflags): Add +math-flags so that all of glibc gets compiled with
51454         it.
51456         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51458 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51460         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51461         Disable one test.
51463         [BZ #13787]
51464         [BZ #13922]
51465         [BZ #14036]
51466         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51467         (__ieee754_expl): Allow for and saturate large arguments.
51468         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51469         (u_threshold): Likewise.
51470         (__exp): Call __ieee754_exp before checking for overflow and
51471         underflow.
51472         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51473         (u_threshold): Likewise.
51474         (__expf): Call __ieee754_expf before checking for overflow and
51475         underflow.
51476         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51477         (u_threshold): Likewise.
51478         (__expl): Call __ieee754_expl before checking for overflow and
51479         underflow.
51480         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51481         (__ieee754_expl): Allow for and saturate large arguments.
51482         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51483         missing overflow exception on overflow.
51484         (expm1_test): Do not allow missing overflow exception on overflow.
51486         * sysdeps/i386/fpu/e_expl.c: Move to ...
51487         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51488         rather than using inline asm.
51489         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51490         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51491         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51493         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51494         (nice): Likewise.
51495         (poll): Likewise.
51496         (signal): Likewise.
51497         (time): Likewise.
51498         (times): Likewise.
51500 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51502         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51503         sysdeps/unix/common/syscalls.list.
51504         (fchmod): Likewise.
51505         (fchown): Likewise.
51506         (ftruncate): Likewise.
51507         (getrusage): Likewise.
51508         (gettimeofday): Likewise.
51509         (setpgid): Likewise.
51510         (setregid): Likewise.
51511         (setreuid): Likewise.
51512         (sigaction): Likewise.
51513         (truncate): Likewise.
51514         (vhangup): Likewise.
51515         * sysdeps/unix/common/syscalls.list: Remove file.
51516         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51517         * sysdeps/unix/sysv/linux/Implies: Likewise.
51519 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51521         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51523         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51524         Moved to ...
51525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51526         Here.
51527         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51528         to ...
51529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51530         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51531         to ...
51532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51533         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51534         to ...
51535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51536         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51537         to ...
51538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51539         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51540         to ...
51541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51542         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51543         to ...
51544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51545         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51546         to ...
51547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51548         Here.
51549         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51550         to ...
51551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51552         Here.
51553         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51554         to ...
51555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51556         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51557         Moved to ...
51558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51559         Here.
51560         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51561         to ...
51562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51564 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51566         * sysdeps/unix/common/bits/dirent.h: Remove file.
51567         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51569         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51570         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51571         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51572         * sysdeps/unix/bsd/isatty.c: Likewise.
51573         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51574         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51575         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51577 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51579         [BZ #13563]
51580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51581         long double comparison inaccuracies.
51582         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51585 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51587         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51588         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51590 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51592         [BZ #14049]
51593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51594         nonzero digits before rounding a hex value.
51595         * stdlib/tst-strtod.c (tests): Add another test.
51597 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51599         * sysdeps/s390/fpu/libm-test-ulps: Update.
51601 2012-05-03  Andreas Jaeger  <aj@suse.de>
51603         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51604         does not get optimized out.
51605         (malloc_opt_barrier): New.
51607 2012-05-03  Andreas Jaeger  <aj@suse.de>
51608             Roland McGrath  <roland@hack.frob.com>
51610         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51611         intermediate file deletion.
51612         (generated): Add .symlist files.
51614 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51616         [BZ #13775]
51617         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51618         Redirect under this condition.
51619         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51620         [__USE_GNU] (__dprintf_chk): Not under this condition.
51621         [__USE_GNU] (__vdprintf_chk): Likewise.
51622         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51623         under this condition.
51624         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51625         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51626         [__USE_XOPEN2K8] (vdprintf): Likewise.
51627         [__USE_GNU] (__dprintf_chk): Not under this condition.
51628         [__USE_GNU] (__vdprintf_chk): Likewise.
51629         [__USE_GNU] (dprintf): Likewise.
51630         [__USE_GNU] (vdprintf): Likewise.
51632 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51634         * elf/Makefile (common-generated): Set this instead of generated for
51635         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51636         $(all-built-dso)-derived lists.
51638 2012-05-03  Andreas Jaeger  <aj@suse.de>
51640         * sysdeps/i386/fpu/libm-test-ulps: Update.
51642         * FAQ: Removed.
51643         * FAQ.in: Likewise.
51644         * scripts/gen-FAQ.pl: Likewise.
51645         * manual/install.texi (Installation): Point to online location of
51646         FAQ.
51647         * Makefile (files-for-dist): Remove FAQ.
51648         (FAQ): Remove.
51650 2012-05-02  Allan McRae  <allan@archlinux.org>
51652         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51653         (LDFLAGS-reldepmod5.so): Likewise.
51654         (LDFLAGS-reldep6mod1.so): Likewise.
51655         (LDFLAGS-reldep6mod4.so): Likewise.
51656         (LDFLAGS-reldep8mod3.so): Likewise.
51657         (LDFLAGS-unload4mod1.so): Likewise.
51658         (LDFLAGS-unload4mod2.so): Likewise.
51659         (LDFLAGS-tst-initorder): Likewise.
51660         (LDFLAGS-tst-initordera2.so): Likewise.
51661         (LDFLAGS-tst-initordera3.so): Likewise.
51662         (LDFLAGS-tst-initordera4.so): Likewise.
51663         (LDFLAGS-tst-initorderb2.so): Likewise.
51664         (LDFLAGS-noload): Likewise.
51665         (LDFLAGS-next): Likewise.
51666         (LDFLAGS-order2mod1.so): Likewise.
51667         (LDFLAGS-order2mod2.so): Likewise.
51668         (LDFLAGS-tst-initorder2): Likewise.
51669         (LDFLAGS-tst-initorder2a.so): Likewise.
51670         (LDFLAGS-tst-initorder2b.so): Likewise.
51671         (LDFLAGS-tst-initorder2c.so): Likewise.
51672         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51674 2012-05-02  David S. Miller  <davem@davemloft.net>
51676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51678 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51680         [BZ #14055]
51681         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51683 2012-05-02  Andreas Jaeger  <aj@suse.de>
51685         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51686         since we manipulate rounding mode.
51687         (CPPFLAGS-test-idouble.c): Likewise.
51688         (CPPFLAGS-test-ifloat.c): Likewise.
51689         (CFLAGS-test-ldouble.c): Likewise.
51690         (CFLAGS-test-double.c): Likewise.
51691         (CFLAGS-test-float.c): Likewise.
51692         (CFLAGS-test-misc.c): Likewise.
51693         (CFLAGS-test-test-fenv.c): Likewise.
51695 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51697         [BZ #2550]
51698         [BZ #2570]
51699         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51700         comparisons to determine direction to adjust input.
51702 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51704         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51705         output to the target.
51707         * scripts/localplt.awk: New file.
51708         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51709         (check-localplt-CFLAGS): Variable removed.
51710         ($(all-built-dso:=.jmprel)): New static pattern rule.
51711         (generated): Add those targets.
51712         (localplt-built-dso): New variable.
51713         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51715         * elf/check-localplt.c: File removed.
51717         * scripts/check-execstack.awk: New file.
51718         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51719         (check-execstack-CFLAGS): Variable removed.
51720         ($(objpfx)check-execstack.h): Target removed.
51721         ($(objpfx)execstack-default): New target.
51722         (generated): Add that instead of check-execstack.h.
51723         ($(all-built-dso:=.phdr)): New static pattern rule.
51724         (generated): Add those targets.
51725         * elf/check-execstack.c: File removed.
51727         * scripts/check-textrel.awk: New file.
51728         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51729         (check-textrel-CFLAGS): Variable removed.
51730         (all-built-dso): Use := to define.o
51731         ($(all-built-dso:=.dyn)): New static pattern rule.
51732         (generated): Add those targets.
51733         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51734         * config.make.in (READELF): New substituted variable.
51735         * elf/check-textrel.c: File removed.
51737 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51739         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51740         allow.
51741         * conform/data/ctype.h-data [C99-based standards] (isblank):
51742         Expect function.
51743         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51744         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51746         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51747         Specify type.  Require positive value.
51748         (EILSEQ): Likewise.
51749         (ERANGE): Likewise.
51750         [ISO || POSIX] (EILSEQ): Do not expect.
51751         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51752         Specify type.  Require positive value.
51753         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51754         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51755         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51756         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51757         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51758         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51759         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51760         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51761         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51762         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51763         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51764         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51765         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51766         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51767         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51768         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51769         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51770         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51771         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51772         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51773         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51774         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51775         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51776         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51777         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51778         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51779         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51780         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51781         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51782         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51783         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51784         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51785         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51786         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51787         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51788         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51789         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51790         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51791         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51792         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51793         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51794         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51795         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51796         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51797         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51798         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51799         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51800         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51801         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51802         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51803         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51804         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51805         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51806         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51807         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51808         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51809         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51810         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51811         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51812         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51813         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51814         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51815         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51816         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51817         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51818         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51819         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51820         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51821         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51822         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51823         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51824         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51825         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51826         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51827         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51828         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51829         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51830         Require >= 2.
51831         (FLT_ROUNDS): Expect as macro, not constant.
51832         (FLT_MANT_DIG): Use macro-int-constant.
51833         (DBL_MANT_DIG): Likewise.
51834         (LDBL_MANT_DIG): Likewise.
51835         (FLT_DIG): Likewise.
51836         (DBL_DIG): Likewise.
51837         (LDBL_DIG): Likewise.
51838         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51839         (DBL_MIN_EXP): Likewise.
51840         (LDBL_MIN_EXP): Likewise.
51841         (FLT_MAX_EXP): Use macro-int-constant.
51842         (DBL_MAX_EXP): Likewise.
51843         (LDBL_MAX_EXP): Likewise.
51844         (FLT_MAX_10_EXP): Likewise.
51845         (DBL_MAX_10_EXP): Likewise.
51846         (LDBL_MAX_10_EXP): Likewise.
51847         (FLT_MAX): Use macro-constant.
51848         (DBL_MAX): Likewise.
51849         (LDBL_MAX): Likewise.
51850         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51851         (DBL_EPSILON): Likewise.
51852         (LDBL_EPSILON): Likewise.
51853         (FLT_MIN): Likewise.
51854         (DBL_MIN): Likewise.
51855         (LDBL_MIN): Likewise.
51856         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51857         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51858         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51859         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51860         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51861         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51862         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51863         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51864         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51865         [ISO11] (FLT_TRUE_MIN): Likewise.
51866         [ISO11] (LDBL_TRUE_MIN): Likewise.
51867         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51868         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51869         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51870         (SCHAR_MAX): Likewise.
51871         (UCHAR_MAX): Likewise.
51872         (CHAR_MIN): Likewise.
51873         (CHAR_MAX): Likewise.
51874         (MB_LEN_MAX): Use macro-int-constant.
51875         (SHRT_MIN): Use macro-int-constant.  Specify type.
51876         (SHRT_MAX): Likewise.
51877         (USHRT_MAX): Likewise.
51878         (INT_MAX): Likewise.
51879         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51880         bound negative.
51881         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51882         bound with "U".
51883         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51884         bound with "L".
51885         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51886         bound negative.  Suffix upper bound with "L".
51887         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51888         bound with "UL".
51889         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51890         Specify type.
51891         [C99-based standards] (LLONG_MAX): Likewise.
51892         [C99-based standards] (ULLONG_MAX): Likewise.
51893         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51894         == 0.
51895         [ISO11] (max_align_t): Require type.
51896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51898         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51899         from $CFLAGS, without defining away __attribute__ calls.
51900         (checknamespace): Use $CFLAGS_namespace.
51902         * conform/conformtest.pl (@keywords): Only include C99 keywords
51903         for standards based on C99 or C11.
51905         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51906         Disable tests.
51907         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51908         UNIX98]: Likewise.
51910         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51911         usability of symbols in #if.
51913         * conform/conformtest.pl: If macro or constant types start
51914         "promoted:", expect the symbol to be of the following type
51915         promoted by the integer promotions.
51917         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51918         in one place.  Also handle "macro-constant".
51920         * conform/conformtest.pl: Only accept expected macro values with
51921         "==".  Parse all "macro" lines in one place.
51922         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51924         * conform/conformtest.pl: Handle braced types on "constant" lines
51925         instead of handling "typed-constant".
51926         * conform/data/signal.h-data: Use "constant" instead of
51927         "typed-constant".
51929         * conform/conformtest.pl: Handle "optional-" at start of lines in
51930         one place rather than duplicating several cases.  Handle each
51931         format of "macro" line with initial "optional-".
51933         * conform/conformtest.pl: Only accept expected constant or
51934         optional-constant values with "==".  Parse all "constant" lines in
51935         one place.  Parse all "optional-constant" lines in one place.
51936         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51937         * conform/data/fmtmsg.h-data: Likewise.
51938         * conform/data/netinet/in.h-data: Likewise.
51939         * conform/data/tar.h-data: Likewise.
51940         * conform/data/limits.h-data: Use "==" form on "constant" and
51941         "optional-constant" lines.
51943         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51944         Use -std=c99 for XOPEN2K.
51945         (@knownproblems): Remove.
51946         (newtoken): Don't check %isknown.
51948         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51949         Do not expect macro.
51950         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51962         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51963         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51971         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51972         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51976         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51977         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51978         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51979         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51980         [XPG3] (acosh): Likewise.
51981         [XPG3] (asinh): Likewise.
51982         [XPG3] (atanh): Likewise.
51983         [XPG3] (cbrt): Likewise.
51984         [XPG3] (expm1): Likewise.
51985         [XPG3] (ilogb): Likewise.
51986         [XPG3] (log1p): Likewise.
51987         [XPG3] (logb): Likewise.
51988         [XPG3] (nextafter): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51991         [XPG3] (remainder): Likewise.
51992         [XPG3] (rint): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51996         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51997         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51998         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52000         [UNIX98 || XOPEN2K] (scalb): Expect.
52001         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52002         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52013         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52014         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52015         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52016         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52017         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52018         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52019         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52020         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52021         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52022         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52023         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52024         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52025         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52026         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52027         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52028         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52029         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52030         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52031         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52032         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52033         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52034         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52035         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52036         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52037         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52038         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52039         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52040         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52041         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52042         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52043         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52044         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52045         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52046         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52047         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52048         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52049         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52050         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52051         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52052         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52053         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52054         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52055         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52056         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52057         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52058         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52059         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52060         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52061         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52062         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52063         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52064         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52065         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52066         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52067         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52068         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52069         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52070         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52071         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52072         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52073         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52074         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52075         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52076         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52077         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52078         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52079         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52080         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52081         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52082         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52083         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52084         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52085         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52086         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52087         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52088         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52089         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52090         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52091         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52092         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52093         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52094         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52095         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52096         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52097         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52098         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52099         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52100         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52101         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52102         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52103         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52104         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52105         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52106         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52107         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52108         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52109         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52110         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52111         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52112         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52113         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52114         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52115         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52116         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52117         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52118         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52119         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52120         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52121         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52122         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52123         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52124         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52125         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52126         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52127         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52128         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52129         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52130         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52131         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52132         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52133         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52134         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52135         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52136         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52137         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52139         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52140         _XOPEN_SOURCE_EXTENDED for XPG4.
52142         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52144         * Makeconfig (localtime): Remove variable.
52145         (inst_localtime-file): Likewise.
52147 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52150         Update.
52151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52152         Update.
52153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52154         Update.
52155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52156         Update.
52157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52158         Update.
52159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52160         Update.
52161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52162         Update.
52163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52164         Update.
52165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52166         Update.
52168 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52170         [BZ #2550]
52171         [BZ #2570]
52172         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52173         comparisons to determine direction to adjust input.
52174         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52175         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52176         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52177         Likewise.
52178         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52179         Likewise.
52180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52181         Likewise.
52182         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52183         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52184         Likewise.
52185         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52186         Likewise.
52187         * math/libm-test.inc (nexttoward_test): Add more tests.
52189 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52191         [BZ #14040]
52192         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52193         in version GLIBC_2.1, not GLIBC_2.0.
52194         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52195         Likewise.
52197 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52199         [BZ #13942]
52200         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52201         (1 - x) * (1 + x).
52202         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52203         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52204         * math/libm-test.inc (acos_test): Add more tests.
52205         (asin_test): Likewise.
52206         * sysdeps/i386/fpu/libm-test-ulps: Update.
52207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52209         [BZ #14034]
52210         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52211         of square root.
52212         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52213         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52214         * math/libm-test.inc (acos_test_tonearest): New function.
52215         (acos_test_towardzero): Likewise.
52216         (acos_test_downward): Likewise.
52217         (acos_test_upward): Likewise.
52218         (asin_test_tonearest): Likewise.
52219         (asin_test_towardzero): Likewise.
52220         (asin_test_downward): Likewise.
52221         (asin_test_upward): Likewise.
52222         (main): Call the new functions.
52223         * sysdeps/i386/fpu/libm-test-ulps: Update.
52224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52226         [BZ #13884]
52227         [BZ #13924]
52228         * math/e_exp10.c: Include <float.h>.
52229         (__ieee754_exp10): Handle underflow here rather than multiplying
52230         large negative argument by M_LN10.
52231         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52232         of __ieee754_expf.
52233         * math/e_exp10l.c: Include <float.h>.
52234         (__ieee754_exp10l): Handle underflow here rather than multiplying
52235         large negative argument by M_LN10l.
52236         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52237         spurious overflow exception on underflow.
52239 2012-04-29  Marek Polacek  <polacek@redhat.com>
52241         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52242         (__fortify_function): New macro.
52243         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52244         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52245         __extern_always_inline.
52246         * libio/bits/stdio2.h: Likewise.
52247         * libio/bits/stdio.h: Likewise.
52248         * string/string.h: Likewise.
52249         * string/bits/string3.h: Likewise.
52250         * include/stdio.h: Likewise.
52251         * stdlib/bits/stdlib.h: Likewise.
52252         * stdlib/stdlib.h: Likewise.
52253         * rt/bits/mqueue2.h: Likewise.
52254         * rt/mqueue.h: Likewise.
52255         * posix/bits/unistd.h: Likewise.
52256         * posix/unistd.h: Likewise.
52257         * io/bits/poll2.h: Likewise.
52258         * io/bits/fcntl2.h: Likewise.
52259         * io/fcntl.h: Likewise.
52260         * io/sys/poll.h: Likewise.
52261         * misc/bits/syslog.h: Likewise.
52262         * misc/bits/syslog-ldbl.h: Likewise.
52263         * misc/sys/syslog.h: Likewise.
52264         * socket/bits/socket2.h: Likewise.
52265         * socket/sys/socket.h: Likewise.
52266         * debug/tst-chk1.c: Likewise.
52267         * wcsmbs/bits/wchar2.h: Likewise.
52268         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52269         * wcsmbs/wchar.h: Likewise.
52271 2012-04-29  Andreas Jaeger  <aj@suse.de>
52273         * Makerules (tests): Remove enable-check-abi protection.
52274         (check-abi-warn): Remove.
52275         (check-abi-%): Remove check-abi-warn usage.
52277         * configure.in: Remove check-abi configure option.
52278         * configure: Regenerated.
52279         * config.make.in (enable-check-abi): Remove.
52281 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52283         [BZ #14033]
52284         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52285         double functions to double *_finite functions.
52287         [BZ #13941]
52288         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52289         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52290         LDBL_MIN_EXP.
52291         * stdio-common/Makefile (tests): Add tst-sprintf3.
52292         * stdio-common/tst-sprintf3.c: New file.
52294         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52295         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52297 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52299         * conform/conformtest.pl: Remove duplicate typed-constant
52300         handling.
52302 2012-04-28  David S. Miller  <davem@davemloft.net>
52304         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52305         (check-abi-%): Remove AWK script prerequisite and explicit
52306         abilist directory.
52307         (check-abi): Rewrite to just diff the symlist with the abilist.
52308         (config-tls, config-abi-config): Delete, no longer used.
52309         (update-abi-%): Remove AWK script and explicit abilist directory.
52310         (update-abi): Rewrite to simply compare and conditionally copy the
52311         symlist and the sysdep abilist file.  Remove update-abi-config
52312         checks.
52313         * abilist/ld.abilist: Remove.
52314         * abilist/libBrokenLocale.abilist: Remove.
52315         * abilist/libanl.abilist: Remove.
52316         * abilist/libcrypt.abilist: Remove.
52317         * abilist/libdl.abilist: Remove.
52318         * abilist/librt.abilist: Remove.
52319         * abilist/libthread_db.abilist: Remove.
52320         * abilist/libutil.abilist: Remove.
52321         * scripts/extract-abilist.awk: Remove.
52322         * scripts/merge-abilist.awk: Remove.
52323         * sysdeps/generic/libcidn.abilist: New file.
52324         * sysdeps/generic/libnss_compat.abilist: New file.
52325         * sysdeps/generic/libnss_db.abilist: New file.
52326         * sysdeps/generic/libnss_dns.abilist: New file.
52327         * sysdeps/generic/libnss_files.abilist: New file.
52328         * sysdeps/generic/libnss_hesiod.abilist: New file.
52329         * sysdeps/generic/libnss_nis.abilist: New file.
52330         * sysdeps/generic/libnss_nisplus.abilist: New file.
52331         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52332         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52333         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52334         file.
52335         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52336         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52337         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52338         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52339         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52340         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52341         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52342         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52343         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52344         file.
52345         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52346         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52347         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52348         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52349         file.
52350         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52351         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52352         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52353         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52354         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52355         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52356         file.
52357         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52358         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52359         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52360         file.
52361         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52363         New file.
52364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52365         New file.
52366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52367         New file.
52368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52369         New file.
52370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52371         New file.
52372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52373         New file.
52374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52375         New file.
52376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52377         New file.
52378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52379         New file.
52380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52381         New file.
52382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52383         New file.
52384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52385         New file.
52386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52387         New file.
52388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52389         file.
52390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52391         New file.
52392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52393         New file.
52394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52395         file.
52396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52397         New file.
52398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52399         New file.
52400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52401         file.
52402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52403         New file.
52404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52405         New file.
52406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52407         New file.
52408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52409         New file.
52410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52411         New file.
52412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52413         New file.
52414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52416         file.
52417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52418         New file.
52419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52420         file.
52421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52422         file.
52423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52424         file.
52425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52426         file.
52427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52428         file.
52429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52430         New file.
52431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52432         file.
52433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52434         file.
52435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52436         New file.
52437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52438         file.
52439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52441         file.
52442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52443         New file.
52444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52445         file.
52446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52447         file.
52448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52449         file.
52450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52451         file.
52452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52453         file.
52454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52455         New file.
52456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52457         file.
52458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52459         file.
52460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52461         New file.
52462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52463         file.
52464         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52465         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52466         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52467         file.
52468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52469         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52470         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52471         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52472         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52473         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52474         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52475         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52476         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52477         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52480         file.
52481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52482         New file.
52483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52484         file.
52485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52486         file.
52487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52488         file.
52489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52490         file.
52491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52492         file.
52493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52494         New file.
52495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52496         New file.
52497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52498         file.
52499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52500         New file.
52501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52502         file.
52503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52505         file.
52506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52507         New file.
52508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52509         file.
52510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52511         file.
52512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52513         file.
52514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52515         file.
52516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52517         file.
52518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52519         New file.
52520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52521         New file.
52522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52523         file.
52524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52525         New file.
52526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52527         file.
52529 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52531         * conform/conformtest.pl: Fix typo in handling typed-constant from
52532         allow-header.
52534 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52536         * README: Cut down references to pre-2.6 Linux kernels and
52537         Linuxthreads.  Update lists of configurations in libc and ports
52538         and sort alphabetically.  Say "or newer" with Linux kernel version
52539         requirements.
52541         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52543 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52545         [BZ #887]
52546         * math/libm-test.inc (logb_test_downward): New test to expose
52547         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52548         rounding mode.
52550 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52552         [BZ #14027]
52553         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52554         to be done.
52555         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52556         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52558 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52560         * sysdeps/unix/i386/brk.S: Remove file.
52561         * sysdeps/unix/i386/dl-brk.S: Likewise.
52562         * sysdeps/unix/i386/pipe.S: Likewise.
52563         * sysdeps/unix/i386/sigreturn.S: Likewise.
52564         * sysdeps/unix/i386/syscall.S: Likewise.
52565         * sysdeps/unix/i386/vfork.S: Likewise.
52566         * sysdeps/unix/i386/wait.S: Likewise.
52568         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52569         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52571         * configure.in (arm*-none*): Do not allow without
52572         --enable-hacker-mode.
52573         (netbsd*): Remove case setting base_os.
52574         (386bsd*): Likewise.
52575         (freebsd*): Likewise.
52576         (bsdi*): Likewise.
52577         (osf*): Likewise.
52578         (sunos*): Likewise.
52579         (ultrix*): Likewise.
52580         (newsos*): Likewise.
52581         (dynix*): Likewise.
52582         (*bsd*): Likewise.
52583         (sysv*): Likewise.
52584         (isc*): Likewise.
52585         (esix*): Likewise.
52586         (sco*): Likewise.
52587         (minix*): Likewise.
52588         (irix4*): Likewise.
52589         (irix6*): Likewise.
52590         (solaris[2-9]*): Likewise.
52591         (none): Likewise.
52592         * configure: Regenerated.
52594 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52596         [BZ #11521]
52597         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52598         overflow or cancellation in calculating denominator.
52599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52600         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52601         down expression to avoid unexpected rounding in newer GCCs.
52602         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52604 2012-04-26  David S. Miller  <davem@davemloft.net>
52606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52607         long-double compat symbols.
52608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52622 2012-04-25  David S. Miller  <davem@davemloft.net>
52624         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52625         HWCAP_* values only after the memory barriers have been defined.
52626         (atomic_full_barrier): Define.
52627         (atomic_read_barrier): Define.
52628         (atomic_write_barrier): Define.
52630 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52632         * shlib-versions: Add libgcc_s version information.
52633         * sysdeps/generic/libgcc_s.h: Remove.
52634         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52635         libgcc_s.h.
52636         * sysdeps/gnu/unwind-resume.c: Likewise.
52637         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52639 2012-04-25  David S. Miller  <davem@davemloft.net>
52641         * sysdeps/unix/sparc/brk.S: Delete.
52642         * sysdeps/unix/sparc/dl-brk.S: Delete.
52643         * sysdeps/unix/sparc/pipe.S: Delete.
52644         * sysdeps/unix/sparc/sysdep.S: Delete.
52645         * sysdeps/unix/sparc/sysdep.h: Delete.
52646         * sysdeps/unix/sparc/vfork.S: Delete.
52647         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52648         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52649         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52650         (ret_ERRVAL, r0, r1, MOVE): Define.
52651         (JUMPTARGET): Remove.
52652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52653         sysdeps/unix/sparc/sysdep.h
52654         (ENTRY, END): Remove.
52655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52657 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52659         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52660         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52661         -DIS_IN_build.
52663         * timezone/README: Update upstream location and email address for
52664         tzcode and tzdata.
52665         * timezone/zdump.c: Update from tzcode 2012b.
52666         * timezone/zic.c: Likewise.
52668         * configure.in (libc_cv_as_needed): Remove test.
52669         * configure: Regenerated.
52670         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52671         conditional definition.
52672         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52673         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52674         * config.make.in (have-as-needed): Remove variable.
52676 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52677             Paul Pluzhnikov  <ppluzhnikov@google.com>
52679         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52680         strings correctly.
52682 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52684         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52685         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52686         * sysdeps/sh/strlen.S: Likewise.
52688 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52690         * sysdeps/unix/fork.S: Remove file.
52691         * sysdeps/unix/i386/fork.S: Likewise.
52692         * sysdeps/unix/sparc/fork.S: Likewise.
52694         * sysdeps/unix/system.c: Remove file.
52695         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52697         * sysdeps/unix/getegid.S: Remove file.
52698         * sysdeps/unix/geteuid.S: Likewise.
52700 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52702         * scripts/check-localplt.awk: New file.
52703         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52704         of diff.
52705         * scripts/data/localplt-generic.data: Add a comment.
52707         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52708         NODE when __dir_mkfile failed.
52709         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52710         Reported by Ludovic Courtès <ludo@gnu.org>.
52712 2012-04-24  Andreas Jaeger  <aj@suse.de>
52714         * Makerules (common-clean): Also remove gen-as-const-headers
52715         files.
52717 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52719         * Makerules (native-compile): Do not change working directory for
52720         build.  Use $(OUTPUT_OPTION) in command.
52721         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52723 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52725         [BZ #13886]
52726         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52727         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52728         * math/libm-test.inc (floor_test): Add more tests.
52729         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52731 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52733         * sysdeps/unix/getdents.c: Remove file.
52734         * sysdeps/unix/sysv/getdents.c: Likewise.
52735         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52737         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52738         sysdeps/unix/mman/syscalls.list.
52739         (mmap): Likewise.
52740         (mprotect): Likewise.
52741         (msync): Likewise.
52742         (munmap): Likewise.
52743         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52744         * sysdeps/unix/mman/syscalls.list: Remove.
52745         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52747         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52748         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52749         * configure: Regenerated.
52750         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52751         $(libgcc_s_suffix).
52752         * config.make.in (libgcc_s_suffix): Remove variable.
52754 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52756         * sysdeps/unix/sysv/gethostname.c: Move to ...
52757         * sysdeps/posix/gethostname.c: ... here.
52759         * sysdeps/unix/execve.S: Remove file.
52761         * sysdeps/unix/_exit.S: Remove file.
52763 2012-04-23  Andreas Jaeger  <aj@suse.de>
52765         [BZ #13739]
52766         * manual/Makefile: Remove make dist support, there's no
52767         need for a stand-alone documentation tar ball.
52768         (TEXI2DVI): Define always, it's not in Makeconfig.
52769         (dist): Removed.
52770         (tar-it): Removed.
52771         (edition): Removed.
52772         (glibc-doc-$(edition).tar): Removed
52773         (%.Z): Removed.
52774         (%.gz): Removed.
52775         (%.uu): Removed.
52776         (ETAGS): Remove, it's in Makeconfig.
52777         (move-if-change): Remove, it's in Makeconfig.
52779 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52781         [BZ #13970]
52782         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52783         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52784         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52785         (strtod_l, strtof_l, strtold_l): Remove __wur.
52786         It is not necessarily an error to ignore strtol's return value.
52787         One can reliably look at the stored endptr to decide whether
52788         the number had valid syntax.
52790 2012-04-21  Andreas Jaeger  <aj@suse.de>
52792         [BZ #13739]
52793         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52795 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52797         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52798         * sysdeps/unix/sysv/Versions: Remove file.
52800 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52802         [BZ #13927]
52803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52805 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52807         [BZ #7064]
52808         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52809         version from __vm86.
52811 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52813         * sysdeps/unix/common/lxstat.c: Remove file.
52814         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52816         * sysdeps/unix/sysv/Makefile: Remove file.
52818         * sysdeps/unix/sysv/direct.h: Remove file.
52820         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52821         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52822         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52823         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52824         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52825         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52826         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52828         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52830         * sysdeps/unix/xmknod.c: Remove file.
52831         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52833         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52835         * sysdeps/unix/sysv/i386/time.S: Remove file.
52837         * sysdeps/unix/fxstat.c: Remove file.
52838         * sysdeps/unix/xstat.c: Likewise.
52839         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52841         * sysdeps/unix/sysv/sigaction.c: Remove file.
52843         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52844         (sysdep_headers): Remove variable.
52845         [termio.h not in sysdep_headers] (generated): Likewise.
52846         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52847         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52848         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52849         * sysdeps/unix/sysv/tcflow.c: Likewise.
52850         * sysdeps/unix/sysv/tcflush.c: Likewise.
52851         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52852         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52853         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52854         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52855         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52857         * sysdeps/unix/siglist.c: Remove file.
52859         * sysdeps/unix/getppid.S: Remove file.
52861         * sysdeps/unix/mkdir.c: Remove file.
52862         * sysdeps/unix/rmdir.c: Likewise.
52864 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52866         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52867         ERR_MAX value.
52868         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52869         errlist-compat value.
52871 2012-04-18  David S. Miller  <davem@davemloft.net>
52873         * sysdeps/generic/memcopy.h (reg_char): Delete.
52874         * debug/strcat_chk.c: Use char, not reg_char.
52875         * debug/strcpy_chk.c: Likewise.
52876         * debug/strncat_chk.c: Likewise.
52877         * debug/strncpy_chk.c: Likewise.
52878         * string/memchr.c: Likewise.
52879         * string/memrchr.c: Likewise.
52880         * string/rawmemchr.c: Likewise.
52881         * string/strcat.c: Likewise.
52882         * string/strchr.c: Likewise.
52883         * string/strchrnul.c: Likewise.
52884         * string/strcmp.c: Likewise.
52885         * string/strcpy.c: Likewise.
52886         * string/strncat.c: Likewise.
52887         * string/strncmp.c: Likewise.
52888         * string/strncpy.c: Likewise.
52890 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52892         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52893         __builtin_memcopy is called when src and dest ranges are known to not
52894         overlap.
52896 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52898         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52899         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52900         fwd_align_merge macro call.
52901         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52902         bwd_align_merge macro call.
52903         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52905 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52907         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52908         bwd_align_merge macros.
52909         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52910         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52911         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52913 2012-04-18  David S. Miller  <davem@davemloft.net>
52915         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52917 2012-04-18  Andreas Jaeger  <aj@suse.de>
52919         [BZ# 6794]
52920         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52921         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52922         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52924         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52925         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52926         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52928         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52929         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52930         Adjust for changed ldbl-128 files.
52932         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52933         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52934         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52936 2012-04-17  David S. Miller  <davem@davemloft.net>
52938         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52940 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52942         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52943         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52944         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52945         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52946         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52947         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52949 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52951         [BZ #6794]
52952         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52953         * math/libm-test.inc: Add ilogb errno and exception tests.
52954         * math/w_ilogb.c: New file: ilogb wrapper.
52955         * math/w_ilogbf.c: New file: ilogbf wrapper.
52956         * math/w_ilogbl.c: New file: ilogbl wrapper.
52957         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52958         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52959         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52960         exception being thrown with 0.0 as argument.
52961         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52962         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52963         exception being thrown with 0.0 as argument.
52964         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52965         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52966         exception being thrown with 0.0 as argument.
52967         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52968         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52969         exception being thrown with 0.0 as argument.
52970         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52971         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52972         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52973         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52974         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52975         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52976         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52977         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52978         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52980 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52982         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52983         with altivec.
52985 2012-04-16  Marek Polacek  <polacek@redhat.com>
52987         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52989 2012-04-16  Marek Polacek  <polacek@redhat.com>
52991         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52992         operands of fdivp instruction.
52994 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52996         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52997         * elf/tst-auditmod3b.c: Likewise.
52998         * elf/tst-auditmod4b.c: Likewise.
52999         * elf/tst-auditmod5b.c: Likewise.
53000         * elf/tst-auditmod6b.c: Likewise.
53001         * elf/tst-auditmod6c.c: Likewise.
53002         * elf/tst-auditmod7b.c: Likewise.
53003         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53004         * sysdeps/x86_64/preconfigure.in: Likewise.
53005         * sysdeps/x86_64/preconfigure: Regenerated.
53007 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53009         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53010         __ILP32__.
53012 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
53014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53015         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53017 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
53019         [BZ #13973]
53020         * locale/iso-639.def: Fix gl language name. Spotted by
53021         Yaron Shahrabani.
53023 2012-04-12  Roland McGrath  <roland@hack.frob.com>
53025         [BZ #2074]
53026         * libio/libio.h (__io_write_fn): Update comment.
53028 2012-04-12  Petr Baudis  <pasky@ucw.cz>
53030         [BZ #2074]
53031         * stdio.texi (Hook Functions): The user provided writer function
53032         is not allowed to return -1.
53034 2012-04-11  David S. Miller  <davem@davemloft.net>
53036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53038 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
53040         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53041         Add a leading slash to rtkaio.
53043 2012-04-11  Jim Meyering  <meyering@redhat.com>
53045         [BZ #11959]
53046         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53047         It is not necessarily an error to ignore fwrite's return
53048         value.  One can reliably use ferror to test for errors after
53049         the fact.
53051 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53053         * bits/types.h (__snseconds_t): New type.
53054         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53056         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53057         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53058         (__SNSECONDS_T_TYPE): Likewise.
53059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53060         (__SNSECONDS_T_TYPE): Likewise.
53061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53062         (__SNSECONDS_T_TYPE): Likewise.
53064 2012-04-10  Andreas Jaeger  <aj@suse.de>
53066         [BZ #2636]
53067         * manual/time.texi (Processor Time): Return type of times is
53068         elapsed real time since an arbitrary point in the past.
53069         (CPU Time): Move CLK_TCK from here...
53070         (Processor Time): ...to here.  Correct description.
53071         * manual/conf.texi (Constants for Sysconf): Correct description of
53072         _SC_CLK_TCK.
53074 2012-04-10  David S. Miller  <davem@davemloft.net>
53076         [BZ #13967]
53077         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53078         where the is a gap between DT_REL(A) and DT_JMPREL.
53080 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53082         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53083         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53084         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53086 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53088         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53089         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53090         (dl_main): Handle --inhibit-cache.
53091         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53092         _dl_inhibit_cache.
53093         * elf/dl-load.c (_dl_map_object): Use it.
53094         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53096 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53098         [BZ #13872]
53099         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53100         (__ieee754_powl): Saturate large exponents rather than testing for
53101         overflow of y*log2(x).
53102         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53103         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53104         exceptions.
53106         [BZ #11521]
53107         * math/s_ctan.c: Include <float.h>.
53108         (__ctan): Avoid internal overflow or cancellation in calculating
53109         denominator.
53110         * math/s_ctanf.c: Likewise.
53111         * math/s_ctanl.c: Likewise.
53112         * math/s_ctanh.c: Likewise.
53113         * math/s_ctanhf.c: Likewise.
53114         * math/s_ctanhl.c: Likewise.
53115         * math/libm-test.inc (ctan_test): Add more tests.
53116         (ctanh_test): Likewise.
53117         * sysdeps/i386/fpu/libm-test-ulps: Update.
53118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53120 2012-04-09  Andreas Jaeger  <aj@suse.de>
53122         [BZ #6894]
53123         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53124         is an optional BSD extension.
53126         [BZ #10254]
53127         * manual/stdio.texi (Opening Streams): Document additional fopen
53128         parameters.
53130 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53132         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53133         %eax without telling the compiler.
53135 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53137         [BZ # 13963]
53138         * manual/install.texi: Use sourceware.org.
53140 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53142         [BZ #13873]
53143         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53144         (__ieee754_pow): Generate overflow and underflow using huge*huge
53145         and tiny*tiny rather than just returning constant infinity or zero
53146         for large exponents.
53147         * math/libm-test.inc (pow_test): Require overflow exceptions for
53148         applicable cases of large exponents.
53150         [BZ #706]
53151         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53152         (__ieee754_pow): Use iterative multiplication algorithm only for
53153         integer exponents with absolute value below 1024.  Check for odd
53154         integer exponents when using algorithm for real exponents.
53155         * math/libm-test.inc (pow_test): Add more tests.
53156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53158 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53160         [BZ #13705]
53161         * math/libm-test.inc (exp_test): Do not allow overflow exception
53162         on underflow test.
53164 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53166         [BZ #13705]
53167         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53168         instead of __kernel_standard_f.
53170 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53172         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53173         * sysdeps/x86_64/memset_chk.S: Likewise.
53175 2012-04-08  Andreas Jaeger  <aj@suse.de>
53177         [BZ #10153]
53178         * manual/startup.texi (Environment Access): Describe return value
53179         for putenv and setenv.
53181         [BZ #6895]
53182         * manual/filesys.texi (Directory Entries): Add description for
53183         DT_LNK.
53185         [BZ #6890]
53186         * manual/filesys.texi (Directory Entries): Clarify that it's file
53187         system not operating system in the description of DT_UNKNOWN.
53189         [BZ #6578]
53190         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53192 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53194         [BZ #6649]
53195         * manual/llio.texi (Opening and Closing Files): Add cross
53196         reference to explain mode argument.
53198 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53200         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53201         * sysdeps/x86_64/memset_chk.S: Likewise.
53203 2012-04-07  David S. Miller  <davem@davemloft.net>
53205         * elf/elf.h (R_SPARC_WDISP10): Define.
53206         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53207         R_SPARC_SIZE32.
53208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53209         R_SPARC_SIZE64 and R_SPARC_H34.
53211 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53213         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53214         conditions and remove no longer applicable assertion.
53216 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53218         * bits/byteswap.h: Include <features.h>.
53219         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53220         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53222 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53224         * bits/byteswap.h (__bswap_16): Removed.
53225         Include <bits/byteswap-16.h> to get __bswap_16.
53226         * sysdeps/i386/bits/byteswap.h: Likewise.
53227         * sysdeps/s390/bits/byteswap.h: Likewise.
53228         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53229         * bits/byteswap-16.h: New file.
53230         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53231         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53232         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53233         * string/Makefile (headers): Add bits/byteswap-16.h.
53235 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53237         [BZ #13895]
53238         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53239         extra indirection.
53240         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53241         * nss/tst-nss-static.c: New.
53243 2012-04-06  Robert Millan  <rmh@gnu.org>
53245         [BZ #6486]
53246         * manual/llio.texi (File Position Primitive): lseek
53247         refers to WHENCE when it really means OFFSET.
53249 2012-04-06  Andreas Jaeger  <aj@suse.de>
53251         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53252         strncmp declarations.
53254         * abilist/libc.abilist: Add __poll and __ppoll.
53256 2012-04-05  David S. Miller  <davem@davemloft.net>
53258         * scripts/check-local-headers.sh: Accept a host triplet in the
53259         path matched by the exclude regexp.
53261         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53262         definition.
53263         * sysdeps/powerpc/powerpc32/dl-machine.h
53264         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53265         * sysdeps/s390/s390-32/dl-machine.h
53266         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53267         * sysdeps/sparc/sparc32/dl-machine.h
53268         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53269         * sysdeps/sparc/sparc64/dl-machine.h
53270         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53272         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53273         lazy binding.
53274         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53275         undefined symbol errors.
53277         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53278         DT_NEEDED entries.
53280 2012-04-05  Michael Matz  <matz@suse.de>
53282         [BZ #13592]
53283         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53285 2012-04-05  Andreas Jaeger  <aj@suse.de>
53287         [BZ #13908]
53288         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53289         comment.
53291 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53294         which ROUND is no valid rounding mode.
53296 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53299         read again.
53300         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53302 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53304         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53305         an exception using FPU order intentionally.
53307 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53309         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53310         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53311         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53312         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53314 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53316         [BZ #12340]
53317         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53318         EINVAL when BUFLEN is too smal.
53320 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53322         [BZ #13553]
53323         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53324         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53326 2012-04-03  Andreas Jaeger  <aj@suse.de>
53328         [BZ #13938]
53329         * manual/setjmp.texi (System V contexts): Fix sentence.
53331         [BZ #13926]
53332         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53333         New macro for this case.
53334         [!__GNUC__] (__bswap_64): New inline function for this case.
53335         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53336         * bits/byteswap.h: Likewise.
53337         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53338         ull, guard with __GLIBC_HAVE_LONG_LONG.
53340         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53341         __GLIBC_HAVE_LONG_LONG.
53343         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53344         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53346 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53348         [BZ #13691]
53349         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53350         inptr and inend, rather than using last_ch.
53352 2012-04-02  David S. Miller  <davem@davemloft.net>
53354         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53355         * stdio-common/printf-parse.h (read_int): Change return type to
53356         'int', return -1 on INT_MAX overflow.
53357         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53358         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53359         overflows INT_MAX.  Check for overflow of in-format-string precision
53360         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53361         SIZE_MAX not INT_MAX for integer overflow test.
53362         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53363         skip the construct in the format string but do not record anything.
53364         * stdio-common/bug22.c: Adjust to test both width/prevision
53365         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53366         explicitly for proper errno values.
53368 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53370         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53371         CHAR_MAX.
53372         * string/test-strcmp.c [! WIDE]: Likewise.
53373         * time/tst-mktime2.c: Likewise for INT_MAX.
53374         * string/test-string.h: #include <sys/param.h> for MIN.
53376         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53377         * sysdeps/i386/init-first.c (init): Likewise.
53378         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53379         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53380         * sysdeps/sh/init-first.c (init): Likewise.
53382 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53384         * po/ru.po: Update from translation team.
53385         * po/vi.po: Likewise.
53387 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53389         * resolv/nss_dns/dns-host.c: Merge copyright years.
53391 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53393         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53394         Optimize memcpy with prefetch if
53395         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53396         src, dst pointers have unequal 16 byte alignments.
53398 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53400         [BZ #13928]
53401         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53402         from a CNAME entry and return the minimum ttl for the query.
53403         (gaih_getanswer_slice): Likewise.
53405 2012-03-30  Jeff Law  <law@redhat.com>
53407         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53408         due to long keys.
53409         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53410         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53412         * resolv/nss_dns/dns-host.c: Update copyright year.
53414 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53416         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53417         requests to save a system call.  Fix check that all bytes are sent.
53419         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53420         comments for sendmmsg.
53422 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53424         [BZ #13691]
53425         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53426         with only 1 character between 0x0041 and 0x01b0.
53427         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53428         * wcsmbs/tst-mbsnrtowcs.c: New file.
53430 2012-03-29  David S. Miller  <davem@davemloft.net>
53432         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53433         small copies by hand.
53435 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53437         [BZ #13761]
53438         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53439         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53440         group memberships.
53442 2012-03-28  David S. Miller  <davem@davemloft.net>
53444         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53445         that branches into memcpy.
53446         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53448         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53449         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53451         bits.
53452         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53453         implementation too.
53454         * sysdeps/sparc/mempcpy.S: New file.
53456         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53457         the IFUNC routine in the libc case.
53458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53460         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53461         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53462         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53463         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53464         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53465         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53466         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53467         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53469         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53470         loop to 256 bytes instead of 64 bytes and fix test signedness.
53472         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53473         * sysdeps/sparc/sparc32/Makefile: rather than here...
53474         * sysdeps/sparc/sparc64/Makefile: and here.
53476 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53478         * malloc/mallocbug.c: Avoid warnings about unused variables.
53480 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53482         [BZ #13760]
53483         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53484         in the right place. Discard and retry query if response is
53485         larger than input buffer size.
53487 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53489         [BZ #369]
53490         [BZ #2678]
53491         [BZ #3866]
53492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53493         x for large integer exponent.
53494         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53495         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53496         sign of result as needed afterwards.
53497         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53498         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53499         result for underflowing pow the same as for overflow.
53500         (__kernel_standard_l): Handle powl overflow and underflow here
53501         rather than calling __kernel_standard.
53502         * math/libm-test.inc (pow_test): Add more tests.
53504         [BZ #3868]
53505         [BZ #13879]
53506         [BZ #13910]
53507         [BZ #13911]
53508         [BZ #13912]
53509         [BZ #13913]
53510         [BZ #13915]
53511         [BZ #13916]
53512         [BZ #13917]
53513         [BZ #13918]
53514         [BZ #13919]
53515         [BZ #13920]
53516         [BZ #13921]
53517         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53518         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53519         (__kernel_standard_l): New function.
53520         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53521         __kernel_standard.
53522         * math/w_acosl.c (__acosl): Likewise.
53523         * math/w_asinl.c (__asinl): Likewise.
53524         * math/w_atan2l.c (__atan2l): Likewise.
53525         * math/w_atanhl.c (__atanhl): Likewise.
53526         * math/w_coshl.c (__coshl): Likewise.
53527         * math/w_exp10l.c (__exp10l): Likewise.
53528         * math/w_exp2l.c (__exp2l): Likewise.
53529         * math/w_fmodl.c (__fmodl): Likewise.
53530         * math/w_hypotl.c (__hypotl): Likewise.
53531         * math/w_j0l.c (__j0l, __y0l): Likewise.
53532         * math/w_j1l.c (__j1l, __y1l): Likewise.
53533         * math/w_jnl.c (__jnl, __ynl): Likewise.
53534         * math/w_lgammal.c (__lgammal): Likewise.
53535         * math/w_log10l.c (__log10l): Likewise.
53536         * math/w_log2l.c (__log2l): Likewise.
53537         * math/w_logl.c (__logl): Likewise.
53538         * math/w_powl.c (__powl): Likewise.
53539         * math/w_remainderl.c (__remainderl): Likewise.
53540         * math/w_scalbl.c (sysv_scalbl): Likewise.
53541         * math/w_sinhl.c (__sinhl): Likewise.
53542         * math/w_sqrtl.c (__sqrtl): Likewise.
53543         * math/w_tgammal.c (__tgammal): Likewise.
53544         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53545         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53546         * math/libm-test.inc (acos_test): Add more tests.
53547         (acosh_test): Likewise.
53548         (asin_test): Likewise.
53549         (atanh_test): Likewise.
53550         (exp_test): Likewise.
53551         (exp10_test): Likewise.
53552         (exp2_test): Likewise.
53553         (expm1_test): Likewise.
53554         (lgamma_test): Likewise.
53555         (log_test): Likewise.
53556         (log10_test): Likewise.
53557         (log1p_test): Likewise.
53558         (log2_test): Likewise.
53559         (pow_test): Do not allow some spurious overflow exceptions.
53560         (sqrt_test): Add more tests.
53561         (tgamma_test): Likewise.
53562         (y0_test): Likewise.
53563         (y1_test): Likewise.
53564         (yn_test): Likewise.
53566 2012-03-27  Anton Blanchard  <anton@samba.org>
53568         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53569         MAP_HUGETLB.
53570         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53571         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53574 2012-03-27  David S. Miller  <davem@davemloft.net>
53576         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53578         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53579         have-as-vis3 check.
53581 2012-03-27  Andreas Jaeger  <aj@suse.de>
53583         * sysdeps/x86_64/elf/configure.in: Moved to ...
53584         * sysdeps/x86_64/configure.in: ... here.
53585         * sysdeps/x86_64/elf/start.S: Moved to ...
53586         * sysdeps/x86_64/start.S: ... here.
53587         * sysdeps/x86_64/elf/configure: Delete.
53589         * sysdeps/x86_64/configure.in: Merge contents from
53590         sysdeps/i386/configure.in (without i686 check).
53592         * sysdeps/i386/elf/Versions: Merge into ...
53593         * sysdeps/i386/Versions: ... this.
53594         * sysdeps/i386/elf/Versions: Delete file.
53595         * sysdeps/i386/elf/start.S: Moved to ...
53596         * sysdeps/i386/start.S: ...here.
53597         * sysdeps/i386/elf/configure.in: Merge into...
53598         * sysdeps/i386/configure.in: ...here.
53599         * sysdeps/i386/elf/configure.in: Delete file.
53600         * sysdeps/i386/elf/configure: Delete file.
53602         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53603         * debug/backtracesyms.c: ... here.
53604         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53605         * debug/backtracesymsfd.c: ... here.
53606         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53607         * sysdeps/generic/ifunc-sel.h: ... here.
53609         * sysdeps/unix/i386/start.c: Delete file.
53610         * sysdeps/unix/sparc/start.c: Delete file.
53611         * sysdeps/unix/start.c: Delete file.
53613         * sysdeps/sh/elf/configure.in: Moved to ...
53614         * sysdeps/sh/configure.in: ... here.
53615         * sysdeps/sh/elf/start.S: Moved to ...
53616         * sysdeps/sh/start.S: ... here.
53617         * sysdeps/sh/elf/configure: Delete file.
53619         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53620         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53621         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53622         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53623         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53624         * sysdeps/powerpc/powerpc64/start.S: here.
53625         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53626         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53627         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53628         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53629         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53631         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53632         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53633         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53634         * sysdeps/powerpc/powerpc32/start.S: ... here.
53635         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53636         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53637         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53639         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53640         * sysdeps/powerpc/ifunc-sel.h: ... here.
53641         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53642         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53644         * sysdeps/sparc/elf/configure.in: Moved to ...
53645         * sysdeps/sparc/configure.in: ... here.
53646         * sysdeps/sparc/elf/configure: Delete file.
53647         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53648         * sysdeps/sparc/sparc32/start.S: ... here.
53649         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53650         * sysdeps/sparc/sparc64/start.S: ... here.
53651         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53652         * sysdeps/sparc/sparc32/Makefile: ... this.
53653         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53654         * sysdeps/sparc/sparc64/Makefile: ... this.
53656         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53657         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53658         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53659         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53660         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53661         * sysdeps/s390/s390-32/setjmp.S: ... here.
53662         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53663         * sysdeps/s390/s390-32/configure.in: ... here.
53664         * sysdeps/s390/s390-32/elf/configure: Delete file.
53665         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53666         * sysdeps/s390/s390-32/start.S: ... here.
53668         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53669         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53670         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53671         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53672         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53673         * sysdeps/s390/s390-64/setjmp.S: ... here.
53674         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53675         * sysdeps/s390/s390-64/configure.in: ... here
53676         * sysdeps/s390/s390-64/elf/configure: Delete file.
53677         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53678         * sysdeps/s390/s390-64/start.S: ... here.
53679         * sysdeps/s390/s390-64/elf/configure: Delete.
53681         * configure.in: Remove support for elf directories in sysdeps.
53683         * configure: Regenerated.
53684         * sysdeps/i386/configure: Regenerated.
53685         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53686         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53687         * sysdeps/s390/s390-32/configure: Regenerated.
53688         * sysdeps/s390/s390-64/configure: Regenerated.
53689         * sysdeps/sh/configure: Regenerated.
53690         * sysdeps/sparc/configure: Regenerated.
53691         * sysdeps/x86_64/configure: Regenerated.
53693 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53697         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53698         denormal result into account.
53700 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53702         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53703         Reported by Allan McRae <allan@archlinux.org>.
53705 2012-03-23  Jeff Law  <law@redhat.com>
53707         * nss/getnssent.c (__nss_getent): Fix typo.
53709 2012-03-23  David S. Miller  <davem@davemloft.net>
53711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53713 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53715         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53716         to pad to uint64_t for each field.
53717         (dl_tls_index): Replace unsigned long with uint64_t.
53719 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53720         Paul Pluzhnikov  <ppluzhnikov@google.com>
53722         [BZ #6528]
53723         * grp/Makefile (otherlibs): Don't set it.
53724         * inet/Makefile (otherlibs): Likewise.
53725         * login/Makefile (otherlibs): Likewise.
53726         * nscd/Makefile (otherlibs): Likewise.
53727         * posix/Makefile (otherlibs): Likewise.
53728         * pwd/Makefile (otherlibs): Likewise.
53729         * rt/Makefile (otherlibs): Likewise.
53730         * sunrpc/Makefile (otherlibs): Likewise.
53731         * nss/Makefile (otherlibs): Likewise.
53732         Add libnss_files to routines and static-only-routines.
53733         ($(objpfx)getent): Remove rule.
53734         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53735         static-only-routines.
53737 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53739         [BZ #13892]
53740         * math/s_cexp.c: Include <float.h>.
53741         (__cexp): Handle exp result overflowing not necessarily
53742         overflowing both real and imaginary parts of result.
53743         * math/s_cexpf.c: Likewise.
53744         * math/s_cexpl.c: Likewise.
53745         * math/libm-test.inc (cexp_test): Add more tests.
53746         * sysdeps/i386/fpu/libm-test-ulps: Update.
53747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53749 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53751         * include/link.h (ELFW): New macro.
53752         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53753         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53755 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53757         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53758         with uint64_t.
53760 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53762         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53763         declaration.
53764         (struct La_x32_retval): Likewise.
53766 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53768         * sysdeps/x86_64/preconfigure.in: New file.
53769         * sysdeps/x86_64/preconfigure: New generated file.
53771 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53773         [BZ #13824]
53774         * math/e_exp2l.c: Include <float.h>.
53775         (__ieee754_exp2l): Handle overflow and underflow cases
53776         separately.  Only pass fractional part of argument to
53777         __ieee754_expl.
53778         * math/libm-test.inc (exp2_test): Add more tests.
53780         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53781         negating x to take absolute value.
53782         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53783         Likewise.
53784         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53785         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53786         Likewise.
53787         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53788         computing low part if x was negated.
53789         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53791 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53793         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53794         la_x32_gnu_pltexit.
53795         (pltexit): Cast int_retval to ptrdiff_t.
53796         * elf/tst-auditmod3b.c: Likewise.
53797         * elf/tst-auditmod4b.c: Likewise.
53798         * elf/tst-auditmod5b.c: Likewise.
53799         * elf/tst-auditmod6b.c: Likewise.
53800         * elf/tst-auditmod6c.c: Likewise.
53801         * elf/tst-auditmod7b.c: Likewise.
53803         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53804         and x32_gnu_pltexit.
53806         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53807         __ELF_NATIVE_CLASS.
53808         (La_x32_regs): New macro.
53809         (La_x32_retval): Likewise.
53810         (la_x32_gnu_pltenter): New function prototype.
53811         (la_x32_gnu_pltexit): Likewise.
53813 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53816         exponent.
53818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53820         * configure.in (libc_cv_cc_nofma): Check for option to disable
53821         generation of FMA instructions.
53822         * configure: Regenerate.
53823         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53824         * sysdeps/ieee754/dbl-64/Makefile: New file.
53825         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53826         Remove brandred-fma4.
53827         (CFLAGS-brandred-fma4.c): Remove.
53828         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53829         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53830         define.
53831         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53832         define.
53834 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53836         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53837         LLONG_MAX != LONG_MAX.
53838         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53839         (_fitoa_word): Likewise.
53840         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53841         LLONG_MAX != LONG_MAX.
53842         * stdio-common/_itowa.h: Include <_itoa.h>.
53843         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53844         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53845         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53846         only if not defined.
53847         (_ITOA_WORD_TYPE): Likewise.
53848         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53849         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53851 2012-03-21  David S. Miller  <davem@davemloft.net>
53853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53855 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53857         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53858         of x86_64 when setting libc_cv_slibdir, libdir and
53859         libc_cv_localedir.
53860         * sysdeps/unix/sysv/linux/configure: Regenerated.
53862 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53864         * manual/lang.texi (Old Varargs): Remove section.
53865         (How Variadic): Update menu.
53866         (va_start): Do not mention varargs.h.
53868 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53869             Joseph Myers  <joseph@codesourcery.com>
53871         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53872         link test.
53873         * configure: Regenerated.
53875 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53877         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53878         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53879         conformtest.pl
53881 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53883         * NOTES: Remove.
53884         * Makefile (files-for-dist): Remove NOTES.
53885         (NOTES): Remove rule.
53886         * README: Don't refer to NOTES.
53887         * manual/creature.texi: Don't include macros.texi.
53888         * manual/intro.texi (creature.texi): Remove comment referring to
53889         NOTES.
53891         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53892         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53893         * configure: Regenerated.
53894         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53895         LIBC_TRY_CC_OPTION.
53896         (libc_cv_as_i686): Likewise.
53897         (libc_cv_cc_avx): Likewise.
53898         (libc_cv_cc_sse2avx): Likewise.
53899         (libc_cv_cc_fma4): Likewise.
53900         (libc_cv_cc_novzeroupper): Likewise.
53901         * sysdeps/i386/configure: Regenerated.
53903         [BZ #13883]
53904         * sysdeps/i386/fpu/s_cexp.S: Remove.
53905         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53906         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53907         * math/libm-test.inc (cexp_test): Add more tests.
53908         * sysdeps/i386/fpu/libm-test-ulps: Update.
53909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53911 2012-03-21  Allan McRae  <allan@archlinux.org>
53913         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53915 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53917         [BZ #13871]
53918         * math/w_exp2.c: Do not include <float.h>.
53919         (o_threshold, u_threshold): Remove.
53920         (__exp2): Calculate result before checking finiteness and calling
53921         __kernel_standard.
53922         * math/w_exp2f.c: Likewise.
53923         * math/w_exp2l.c: Likewise.
53924         * math/libm-test.inc (exp2_test): Require overflow exception for
53925         1e6 input.
53927         [BZ #3866]
53928         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53929         range of signed 64-bit integers before using fistpll.  Remove
53930         checks for whether integers fit in mantissa bits.
53931         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53932         the range of signed 32-bit integers before using fistpl.  Remove
53933         checks for whether integers fit in mantissa bits.
53934         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53935         (__ieee754_powl): Test for y outside the range of signed 64-bit
53936         integers before using fistpll.  Reduce 64-bit values to 63-bit
53937         ones as needed.
53938         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53939         divide-by-zero is raised for zero to large negative powers.
53940         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53941         (__ieee754_powl): Test for y outside the range of signed 64-bit
53942         integers before using fistpll.  Reduce 64-bit values to 63-bit
53943         ones as needed.
53944         * math/libm-test.inc (pow_test): Add more tests.
53946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53948         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53949         <stdio-common/_itoa.h>.
53950         * debug/segfault.c: Likewise.
53951         * elf/dl-cache.c: Likewise.
53952         * elf/dl-minimal.c: Likewise.
53953         * elf/dl-misc.c: Likewise.
53954         * elf/dl-sysdep.c: Likewise.
53955         * elf/dl-version.c: Likewise.
53956         * elf/rtld.c: Likewise.
53957         * hurd/hurdsock.c: Likewise.
53958         * hurd/lookup-retry.c: Likewise.
53959         * malloc/malloc.c: Likewise.
53960         * malloc/mtrace.c: Likewise.
53961         * nscd/nscd_getgr_r.c: Likewise.
53962         * nscd/nscd_getpw_r.c: Likewise.
53963         * nscd/nscd_getserv_r.c: Likewise.
53964         * posix/getopt_init.c: Likewise.
53965         * posix/wordexp.c: Likewise.
53966         * stdio-common/_itoa.c: Likewise.
53967         * stdio-common/printf_fphex.c: Likewise.
53968         * stdio-common/vfprintf.c: Likewise.
53969         * string/_strerror.c: Likewise.
53970         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53971         * sysdeps/i386/i686/hp-timing.h: Likewise.
53972         * sysdeps/mach/_strerror.c: Likewise.
53973         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53974         * sysdeps/mach/hurd/sethostid.c: Likewise.
53975         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53976         * sysdeps/mach/xpg-strerror.c: Likewise.
53977         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53979         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53980         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53981         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53982         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53983         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53984         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53985         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53986         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53987         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53988         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53989         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53990         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53991         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53992         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53993         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53994         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53995         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53996         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53997         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53999         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54001         * stdio-common/_itoa.h: Moved to ...
54002         * sysdeps/generic/_itoa.h: Here.
54004         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54006         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54007         instead of "_itoa.h" and "_itowa.h".
54008         * stdio-common/vfprintf.: Likewise.
54010 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54012         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54013         <bits/wordsize.h>.
54014         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54015         (__signbit): Likwise.
54016         (llrintf): Likwise.
54017         (llrint): Likwise.
54019 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54021         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54022         __WORDSIZE != 64.
54024 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
54026         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54027         OVERFLOW_EXCEPTION_OK.
54028         * math/libm-test.inc ("Philosophy"): Update comment about
54029         exception testing.
54030         (OVERFLOW_EXCEPTION): Define.
54031         (OVERFLOW_EXCEPTION_OK): Likewise.
54032         (INVALID_EXCEPTION_OK): Renumber.
54033         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54034         (IGNORE_ZERO_INF_SIGN): Likewise.
54035         (test_exceptions): Handle FE_OVERFLOW.
54036         (exp10_test): Expect overflow exceptions.
54037         (exp2_test): Likewise.
54038         (expm1_test): Likewise.
54039         (nextafter_test): Likewise.
54040         (pow_test): Likewise.
54041         (scalbn_test): Likewise.
54042         (scalbln_test): Likewise.
54044 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54046         * sysdeps/x86_64/bits/atomic.h
54047         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54048         64bit integer.
54049         (atomic_exchange_acq): Likewise.
54050         (__arch_exchange_and_add_body): Likewise.
54051         (__arch_add_body): Likewise.
54052         (atomic_add_negative): Likewise.
54053         (atomic_add_zero): Likewise.
54055 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54057         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54058         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54060 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54062         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54063         Check __x86_64__ instead of __WORDSIZE.
54065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54067         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54069 2012-03-19  David S. Miller  <davem@davemloft.net>
54071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54073         * sysdeps/sparc/fpu/fenv_private.h: New file.
54074         * sysdeps/sparc/fpu/math_private.h: Use it.
54075         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54076         Remove.
54077         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54078         (libc_feholdexcept_setroundl): Remove.
54079         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54080         Remove.
54081         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54082         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54084 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54086         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54087         int64_t instead of long int.
54088         (INSERT_WORDS64): Likwise.
54090 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54092         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54093         _Unwind_GetCFA return to _Unwind_Ptr first.
54095 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54097         [BZ #13629]
54098         * math/s_clog.c: Include <float.h>.
54099         (__clog): Scale large or subnormal inputs.
54100         * math/s_clogf.c: Likewise.
54101         * math/s_clogl.c: Likewise.
54102         * math/s_clog10.c: Include <float.h>.
54103         (M_LOG10_2): Define.
54104         (__clog10): Scale large or subnormal inputs.
54105         * math/s_clog10f.c: Likewise.
54106         * math/s_clog10l.c: Likewise.
54107         * math/libm-test.inc (clog_test): Add more tests.
54108         (clog10_test): Likewise.
54109         * sysdeps/i386/fpu/libm-test-ulps: Update.
54110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54112         [BZ #11451]
54113         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54114         x and y.
54115         * math/libm-test.inc (atan2_test): Add another test.
54117         * Makerules (common-objdir-compile): Remove.
54118         * sysdeps/unix/Makefile (config-generated): Do not add
54119         $(unix-generated) to variable.
54120         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54121         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54122         Remove rule.
54123         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54124         Likewise.
54125         [generic bits/local_lim.h] (before-compile): Do not append to
54126         variable.
54127         [generic bits/local_lim.h] (common-generated): Likewise.
54128         [generic sys/param.h] (before-compile): Do not append to variable.
54129         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54130         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54131         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54132         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54133         include.
54134         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54135         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54136         [generic sys/param.h] ($(addprefix
54137         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54138         [generic sys/param.h] (common-generated): Do not append to
54139         variable.
54140         [generic sys/param.h] (sysdep_headers): Likewise.
54141         [generic bits/errno.h] (before-compile): Do not append to
54142         variable.
54143         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54144         rule.
54145         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54146         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54147         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54148         [generic bits/errno.h] (common-generated): Do not append to
54149         variable.
54150         [generic bits/ioctls.h] (before-compile): Do not append to
54151         variable.
54152         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54153         rule.
54154         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54155         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54156         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54157         rule.
54158         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54159         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54160         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54161         [generic bits/ioctls.h] (common-generated): Do not append to
54162         variable.
54163         [generic sys/syscall.h] (syscall.h): Remove variable.
54164         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54165         rule.
54166         [generic sys/syscall.h] (before-compile): Do not append to
54167         variable.
54168         [generic sys/syscall.h] (common-generated): Likewise.
54169         * sysdeps/unix/errnos-tmpl.c: Remove file.
54170         * sysdeps/unix/errnos.awk: Likewise.
54171         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54172         * sysdeps/unix/ioctls.awk: Likewise.
54173         * sysdeps/unix/mk-local_lim.c: Likewise.
54174         * sysdeps/unix/snarf-ioctls: Likewise.
54176 2012-03-19  Richard Henderson  <rth@twiddle.net>
54178         * sysdeps/i386/fpu/fenv_private.h: New file.
54179         * sysdeps/i386/fpu/math_private.h: Use it.
54180         (math_opt_barrier, math_force_eval): Remove.
54181         (libc_feholdexcept_setround_53bit): Remove.
54182         (libc_feupdateenv_53bit): Remove.
54183         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54184         (math_opt_barrier, math_force_eval): Remove.
54185         (libc_feholdexcept): Remove.
54186         (libc_feholdexcept_setround): Remove.
54187         (libc_fetestexcept, libc_fesetenv): Remove.
54188         (libc_feupdateenv_test): Remove.
54189         (libc_feupdateenv, libc_feholdsetround): Remove.
54190         (libc_feresetround): Remove.
54192         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54193         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54195         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54196         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54197         (libc_feupdateenv_testl): New.
54198         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54199         (libc_feupdateenv_testf): New.
54200         (libc_feupdateenv): Use libc_feupdateenv_test.
54201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54202         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54204         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54205         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54206         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54207         (libc_feresetround_noex): New.
54208         (libc_feresetround_noexf): New.
54209         (libc_feresetround_noexl): New.
54210         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54211         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54212         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54213         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54214         SET_RESTORE_ROUND.
54215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54217         (__cos): Likewise.
54218         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54219         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54220         SET_RESTORE_ROUND_NOEX.
54221         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54222         SET_RESTORE_ROUND_NOEXF.
54223         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54224         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54225         (libc_feholdsetroundf): New.
54226         (libc_feresetround, libc_feresetroundf): New.
54228         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54229         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54230         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54232         * sysdeps/generic/math_private.h: Include <fenv.h>.
54233         (default_libc_feholdexcept): New.
54234         (default_libc_feholdexcept_setround): New.
54235         (default_libc_fesetenv, default_libc_feupdateenv): New.
54236         (libc_feholdexcept): Only define if undefined.
54237         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54238         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54239         (libc_feholdexcept_setroundl): Likewise.
54240         (libc_feholdexcept_setround_53bit): Likewise.
54241         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54242         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54243         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54244         (libc_feupdateenv_53bit): Likewise.
54245         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54246         (libc_feholdexcept): Convert from macro to inline function.
54247         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54248         (libc_fesetenv, libc_feupdateenv): Likewise.
54250         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54251         not previously defined.
54252         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54253         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54254         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54255         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54256         * sysdeps/ieee754/flt-32/math_private.h: New file.
54257         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54258         math_private.h below SET_FLOAT_WORD.
54259         (__isnan, __isinf_ns, __finite): Remove.
54260         (__isnanf, __isinf_nsf, __finitef): Remove.
54262 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54266 2012-03-17  David S. Miller  <davem@davemloft.net>
54268         [BZ #6471]
54269         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54270         for 2.16.
54272 2012-03-16  David S. Miller  <davem@davemloft.net>
54274         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54275         warnings.
54277         [BZ #6471]
54278         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54279         properly.
54280         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54281         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54282         sysdep_routines when subdir is sysvipc.
54283         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54284         __getshmlba helper.
54286         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54288 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54290         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54291         [__LP64__].
54293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54295         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54296         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54297         (__lround): Renamed to ...
54298         (__llround): This.  Replace long int with long long int.
54299         Define lround functions as aliases of llround functions.
54300         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54302 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54304         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54305         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54306         adresses to uintptr_t.  Replace "long int" and "unsigned long
54307         int" with "greg_t" on va_arg.
54309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54311         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54312         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54314         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54315         Move e_machine check before EI_CLASS check.  Handle x32
54316         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54317         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54318         SKIP_EM_IA_64 and include
54319         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54321         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54322         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54323         (add_system_dir): New macro.
54325         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54326         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54328 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54330         [BZ #2551]
54331         [BZ #2552]
54332         [BZ #2553]
54333         [BZ #2554]
54334         [BZ #2562]
54335         [BZ #2563]
54336         [BZ #2565]
54337         [BZ #2566]
54338         [BZ #2576]
54339         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54340         (y0): Likewise.
54341         * math/w_j0f.c (j0f): Likewise.
54342         (y0f): Likewise.
54343         * math/w_j0l.c (__j0l): Likewise.
54344         (__y0l): Likewise.
54345         * math/w_j1.c (j1): Likewise.
54346         (y1): Likewise.
54347         * math/w_j1f.c (j1f): Likewise.
54348         (y1f): Likewise.
54349         * math/w_j1l.c (__j1l): Likewise.
54350         (__y1l): Likewise.
54351         * math/w_jn.c (jn): Likewise.
54352         (yn): Likewise.
54353         * math/w_jnf.c (jnf): Likewise.
54354         (ynf): Likewise.
54355         * math/w_jnl.c (__jnl): Likewise.
54356         (__ynl): Likewise.
54357         * math/libm-test.inc (j0_test): Add more tests.
54358         (j1_test): Likewise.
54359         (jn_test): Likewise.  Add trailing semicolon to existing test.
54360         (y0_test): Likewise.
54361         (y1_test): Likewise.
54362         * sysdeps/i386/fpu/libm-test-ulps: Update.
54363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54365         [BZ #13851]
54366         [BZ #13854]
54367         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54368         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54369         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54370         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54371         (__tanl): Set errno for infinite argument.
54372         * sysdeps/i386/fpu/mptan.c: Remove.
54373         * sysdeps/i386/fpu/s_tan.S: Likewise.
54374         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54375         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54376         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54377         * math/libm-test.inc (tan_test): Add more tests and enable more
54378         tests for double and long double.
54379         * sysdeps/i386/fpu/libm-test-ulps: Update.
54380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54382 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54384         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54385         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54387 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54389         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54390         * configure.in: Use it for both main tree and add-ons.
54391         * configure: Regenerated.
54393 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54395         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54397 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54399         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54400         in comment.
54402         [BZ #13851]
54403         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54404         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54405         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54408         infinite argument.
54409         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54410         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54411         != 0 for prec == 2.
54412         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54413         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54414         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54415         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54416         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54417         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54418         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54419         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54420         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54421         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54422         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54423         * math/libm-test.inc (cos_test): Add more tests and enable more
54424         tests for long double.
54425         (sin_test): Likewise.
54426         (sincos_test): Likewise.
54427         * sysdeps/i386/fpu/libm-test-ulps: Update.
54428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54430 2012-03-16  David S. Miller  <davem@davemloft.net>
54432         * sysdeps/sparc/fpu/math_private.h: New file.
54434 2012-03-15  David S. Miller  <davem@davemloft.net>
54436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54437         file.
54438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54440         file.
54441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54447         sysdep routines.
54448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54450         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54451         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54453         * sysdeps/sparc/sparc-ifunc.h: New file.
54454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54455         sparc-ifunc.h
54456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54458         Likewise.
54459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54460         Likewise.
54461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54465         Likewise.
54466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54471         Likewise.
54472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54473         Likewise.
54474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54480         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54481         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54493         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54495         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54497         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54499 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54501         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54502         scaling.
54503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54505 2012-03-15  Andreas Jaeger  <aj@suse.de>
54507         [BZ #13852]
54508         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54509         ieee754/flt-32 implementation for sin, cos and sincos.
54510         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54511         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54512         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54513         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54514         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54515         ieee754/flt-32 implementation for tan.
54517         * math/libm-test.inc (cos_test): Enable some large input tests for
54518         float as well
54519         (sin_test): Likewise.
54520         (sincos_test): Likewise.
54521         (tan_test): Add tests for large input.
54523         * sysdeps/i386/fpu/libm-test-ulps: Update.
54525 2012-03-15  Andreas Jaeger  <aj@suse.de>
54527         [BZ #13658]
54528         * math/libm-test.inc (cos_test): Add more test cases.
54529         (sin_test): Likewise.
54530         (sincos_test): Likewise.
54532 2012-03-15  Andreas Jaeger  <aj@suse.de>
54534         [BZ #13837]
54535         * math/libm-test.inc (cos_test): Add a test case for large input
54536         value.
54537         (sin_test): Likewise.
54538         (sincos_test): Likewise.
54540 2012-03-15  Andreas Jaeger  <aj@suse.de>
54541             Joseph Myers  <joseph@codesourcery.com>
54543         [BZ #13658]
54544         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54545         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54546         * sysdeps/i386/fpu/branred.c: Likewise.
54547         * sysdeps/i386/fpu/dosincos.c: Likewise.
54548         * sysdeps/i386/fpu/mpa.c: Likewise.
54549         * sysdeps/i386/fpu/s_cos.S: Likewise.
54550         * sysdeps/i386/fpu/s_sin.S: Likewise.
54551         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54552         * sysdeps/i386/fpu/sincos32.c: Likewise.
54554         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54555         Define.
54556         (libc_feupdateenv_53bit): Define.
54557         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54558         Define.
54559         (libc_feupdateenv_53bit): Define.
54561         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54562         53 bit (without extend i386 double precision).
54564         * math/libm-test.inc (sincos_test): Add tests for large input.
54565         (sin): Likewise.
54566         (cos): Likewise.
54568         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54570 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54574 2012-03-15  David S. Miller  <davem@davemloft.net>
54576         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54577         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54578         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54579         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54592         file.
54593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54595         file.
54596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54598         file.
54599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54601         file.
54602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54604         fmin/fmax sysdep routines.
54605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54607 2012-03-14  David S. Miller  <davem@davemloft.net>
54609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54614         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54616         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54629         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54630         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54631         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54632         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54633         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54634         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54636         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54638         routines.
54639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54640         file.
54641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54643         file.
54644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54646         file.
54647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54649         file.
54650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54652         file.
54653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54655         file.
54656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54657         file.
54658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54659         file.
54660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54661         file.
54662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54663         New file.
54664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54665         file.
54666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54667         file.
54668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54670         file.
54671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54673         file.
54674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54676         file.
54677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54679         VIS3 routines.
54681         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54682         New file.
54684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54686         * sysdeps/sparc/configure.in: New file.
54687         * sysdeps/sparc/configure: Generate.
54688         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54689         * configure: Regenerate.
54690         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54691         * config.make.in (have-as-vis3): New.
54692         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54693         available use -Av9d instead of -Av9a.
54694         * sysdeps/sparc/sparc64/Makefile: Likewise.
54695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54697         New file.
54698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54699         file.
54700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54701         New file.
54702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54703         file.
54704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54708         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54710         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54711         fzeros/fnegs to load 0x80000000 into a float register instead of
54712         using the stack.
54713         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54715 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54718         bits/syscall.h.
54719         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54720         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54721         ($(inst_includedir)/bits/syscall.h): Remove rule.
54722         ($(objpfx)bits/syscall.d): Include instead of
54723         $(objpfx)syscall-list.d.
54724         (generated): Change syscall-list.h and syscall-list.d to
54725         bits/syscall.h and bits/syscall.d.
54727 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54729         [BZ #13846]
54730         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54732 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54734         [BZ #13841]
54735         * math/s_csqrt.c: Include <float.h>.
54736         (__csqrt): Scale large or subnormal inputs.
54737         * math/s_csqrtf.c: Likewise.
54738         * math/s_csqrtl.c: Likewise.
54739         * math/libm-test.inc (csqrt_test): Add more tests.
54740         * sysdeps/i386/fpu/libm-test-ulps: Update.
54741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54743         [BZ #13840]
54744         * math/libm-test.inc (hypot_test): Add more tests.
54746 2012-03-13  David S. Miller  <davem@davemloft.net>
54748         [BZ #13840]
54749         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54750         double-precision for the calculation instead of scaling.
54752 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54754         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54755         manipulate bits before adding and subtracting TWO52[sx].
54756         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54757         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54758         Likewise.
54759         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54761 2012-03-13  David S. Miller  <davem@davemloft.net>
54763         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54764         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54766         rtld-global-offsets.h
54767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54769         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54770         large parameters.
54772         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54774         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54775         'err' in the ifdef scope in which it is actually used.
54777         * nss/nss_db/db-init.c: Include string.h
54779 2012-03-12  David S. Miller  <davem@davemloft.net>
54781         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54782         masking out of the most significant byte of random value used.
54783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54784         Fix coding style in previous change.
54786         * sysdeps/unix/sysv/linux/kernel-features.h
54787         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54788         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54789         expression.
54790         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54791         later.
54793 2012-03-11  David S. Miller  <davem@davemloft.net>
54795         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54796         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54797         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54798         for 'resultvar' otherwise things get truncated on 64-bit.
54800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54801         Fix masking out of the most significant byte of random value used.
54803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54805 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54809 2012-03-09  David S. Miller  <davem@davemloft.net>
54811         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54812         variables with appropriate CPP guards.
54813         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54814         from the frame pointer, not the stack pointer.  Correct layout
54815         comments.  Fix test on resulting framesize and the management of
54816         the outregs buffer for pltexit.  Preserve floating point return
54817         values across _dl_call_pltexit call.
54818         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54819         framesize and the management of the outregs buffer for pltexit.
54820         Preserve floating point return values across _dl_call_pltexit
54821         call.
54822         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54823         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54824         (la_sparc64_gnu_pltexit): New functions.
54825         (print_exit): Fix format string for return register value.
54827 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54829         * sunrpc/Makefile (others): Add rpcgen.
54830         ($(objpfx)rpcgen): Remove special build rule and dependency on
54831         libc.
54832         * sunrpc/rpcgen.c: New file.
54834 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54836         [BZ #13673]
54837         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54838         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54839         * sysdeps/i386/crti.S: Likewise.
54840         * sysdeps/i386/crtn.S: Likewise.
54841         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54842         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54843         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54844         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54845         * sysdeps/sh/crti.S: Likewise.
54846         * sysdeps/sh/crtn.S: Likewise.
54847         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54849         [BZ #13673]
54850         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54851         with URL.
54852         * locale/programs/locfile-kw.gperf: Likewise.
54853         * locale/programs/charmap-kw.h: Regenerated.
54854         * locale/programs/locfile-kw.h: Likewise.
54856         [BZ #13673]
54857         * intl/plural.y: Replace FSF snail mail address with URL.
54858         * intl/plural.c: Regenerated.
54860 2012-03-09  Richard Henderson  <rth@twiddle.net>
54862         * include/math_private.h: Remove file.
54863         * math/math_private.h: Move file ...
54864         * sysdeps/generic/math_private.h: ... here.
54866         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54867         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54868         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54870         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54871         and <math_private.h>.
54872         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54873         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54874         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54875         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54876         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54877         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54878         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54880         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54881         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54882         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54883         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54884         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54887         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54888         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54889         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54890         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54891         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54892         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54893         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54894         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54896         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54897         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54898         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54899         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54901         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54902         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54904         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54905         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54906         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54907         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54908         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54909         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54910         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54911         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54912         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54913         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54914         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54915         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54916         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54917         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54918         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54919         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54920         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54921         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54922         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54925         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54927         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54930         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54932         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54938         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54939         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54940         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54941         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54942         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54944         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54945         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54946         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54948         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54951         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54952         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54953         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54954         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54955         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54956         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54957         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54958         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54959         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54960         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54961         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54962         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54963         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54964         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54965         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54966         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54967         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54968         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54969         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54970         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54971         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54972         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54973         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54974         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54975         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54976         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54977         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54978         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54979         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54980         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54981         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54982         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54983         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54984         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54985         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54986         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54987         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54988         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54989         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54990         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54991         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54992         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54993         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54994         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54995         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54996         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54997         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54998         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54999         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55000         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55001         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55002         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55003         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55004         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55005         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55006         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55007         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55008         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55009         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55010         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55011         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55012         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55013         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55014         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55015         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55016         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55017         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55018         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55019         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55020         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55021         * sysdeps/ieee754/k_standard.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55070         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55072         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55073         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55074         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55075         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55076         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55078         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55089         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55095         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55096         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55099         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55105         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55107         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55109         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55112         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55113         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55114         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55115         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55116         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55117         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55118         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55119         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55120         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55121         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55123         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55125         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55126         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55127         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55128         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55129         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55130         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55131         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55132         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55133         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55134         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55135         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55136         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55137         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55138         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55139         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55140         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55141         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55142         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55143         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55144         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55145         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55146         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55147         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55148         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55149         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55150         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55151         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55152         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55153         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55154         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55155         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55156         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55157         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55158         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55159         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55160         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55161         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55162         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55163         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55164         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55165         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55166         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55167         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55168         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55169         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55170         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55171         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55172         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55173         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55174         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55175         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55176         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55177         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55178         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55179         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55180         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55181         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55182         * sysdeps/ieee754/s_lib_version.c: Likewise.
55183         * sysdeps/ieee754/s_matherr.c: Likewise.
55184         * sysdeps/ieee754/s_signgam.c: Likewise.
55185         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55186         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55187         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55188         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55189         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55190         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55191         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55192         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55193         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55194         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55195         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55196         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55197         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55198         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55199         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55200         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55201         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55202         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55203         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55204         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55205         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55207 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55209         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55210         * sunrpc/rpc_main.c: Likewise.
55211         * sunrpc/rpc_svcout.c: Likewise.
55213 2012-03-09  David S. Miller  <davem@davemloft.net>
55215         * include/math_private.h: New file.
55217 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55219         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55220         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55221         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55222         from <bits/socket_type.h>.
55223         (enum __socket_type): Don't define here.
55224         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55226         bits/socket_type.h.
55228         [BZ #13566]
55229         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55230         checking __USE_GNU.
55232         * Makerules ($(inst_includedir)/%.h): New rule.
55233         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55234         (install-others): Remove variable setting.
55235         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55237 2012-03-08  Richard Henderson  <rth@twiddle.net>
55239         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55240         from macro to inline function; merge with the
55241         !__LIBC_INTERNAL_MATH_INLINES version.
55242         (__ieee754_sqrtf): Likewise.
55244         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55245         to inline function.
55246         (__rintf, __floor, __floorf): Likewise.
55248         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55249         macro to inline function.
55250         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55252         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55253         not <math/math_private.h>.
55255 2012-03-08  David S. Miller  <davem@davemloft.net>
55257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55258         copyright year.
55259         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55261 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55263         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55264         normalization.
55265         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55266         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55268 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55270         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55271         be defined individually, they must be defined as a block.  Define
55272         S for printing a string instead of hidint the different by using a
55273         macro for adding the 'l'.
55274         * stdio-common/tst-fphex-wide.c: Adjust.
55276 2012-03-07  Marek Polacek  <polacek@redhat.com>
55278         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55280 2012-03-08  Marek Polacek  <polacek@redhat.com>
55282         [BZ #13806]
55283         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55284         * stdio-common/tst-fphex.c: Define a few macros to make the
55285         test reusable.  Use them.
55286         * stdio-common/tst-fphex-wide.c: New file.
55288 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55290         [BZ #6911]
55291         * manual/macros.texi (gnusystems): New macro.
55292         (nongnusystems): Likewise.
55293         (gnulinuxhurdsystems): Likewise.
55294         (gnuhurdsystems): Likewise..
55295         (gnulinuxsystems): Likewise.
55296         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55297         variants of the GNU system, not "GNU system".
55298         * manual/conf.texi: Likewise.
55299         * manual/errno.texi: Likewise.  Update example of errno macro
55300         expansion.
55301         * manual/filesys.texi: Likewise.
55302         (getumask): Document as specific to GNU/Hurd.
55303         * manual/install.texi: Likewise.  Reword some references to
55304         GNU/Linux.
55305         * manual/intro.texi: Likewise.
55306         * manual/io.texi: Likewise.
55307         (File Name Portability): Detail which constraints are inapplicable
55308         to all GNU systems and which are only inapplicable to GNU/Hurd.
55309         * manual/job.texi: Likewise.
55310         * manual/llio.texi: Likewise.
55311         (O_NOCTTY): Document as present on GNU/Linux.
55312         * manual/maint.texi: Likewise.
55313         * manual/memory.texi: Likewise.
55314         * manual/pattern.texi: Likewise.
55315         * manual/pipe.texi: Likewise.
55316         * manual/process.texi: Likewise.
55317         * manual/resource.texi: Likewise.
55318         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55319         child on GNU/Hurd.
55320         * manual/setjmp.texi: Likewise.
55321         * manual/signal.texi: Likewise.
55322         * manual/startup.texi: Likewise.
55323         * manual/stdio.texi: Likewise.
55324         * manual/terminal.texi: Likewise.
55325         (ONLCR): Document as POSIX.
55326         (OXTABS): Document availability on GNU/Linux as XTABS.
55327         (ONOEOT): Document availability separately from other bits.
55328         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55329         * manual/time.texi: Likewise.
55330         * manual/users.texi: Likewise.
55331         * INSTALL: Regenerated.
55332         * sysdeps/gnu/errlist.c: Regenerated.
55334         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55335         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55336         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55337         puts.
55338         * configure: Regenerated.
55340 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55342         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55343         default includes instead of AC_HEADER_CHECK.
55344         * sysdeps/i386/configure: Regenerated.
55346         [BZ #10716]
55347         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55348         * math/s_cacoshf.c (__cacoshf): Likewise.
55349         * math/s_cacoshl.c (__cacoshl): Likewise.
55350         * math/s_casinh.c (__casinh): Set signs of result from argument.
55351         * math/s_casinhf.c (__casinhf): Likewise.
55352         * math/s_casinhl.c (__casinhl): Likewise.
55353         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55354         (casinh_test): Add more tests.
55355         * sysdeps/i386/fpu/libm-test-ulps: Update.
55356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55358 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55360         * po/zh_TW.po: Update from translation team.
55362         * login/Makefile (distribute): Remove variable.
55363         * catgets/Makefile: Likewise.
55364         * mach/Makefile: Likewise.
55365         * malloc/Makefile: Likewise.
55366         * misc/Makefile: Likewise.
55367         * iconv/Makefile: Likewise.
55368         * nscd/Makefile: Likewise.
55369         * hurd/Makefile: Likewise.
55370         * manual/Makefile: Likewise.
55371         * locale/Makefile: Likewise.
55372         * intl/Makefile: Likewise.
55373         * conform/Makefile: Likewise.
55374         * nss/Makefile: Likewise.
55375         * time/Makefile: Likewise.
55376         * soft-fp/Makefile: Likewise.
55377         * dirent/Makefile: Likewise.
55378         * gmon/Makefile: Likewise.
55379         * po/Makefile: Likewise.
55380         * rt/Makefile: Likewise.
55381         * socket/Makefile: Likewise.
55382         * math/Makefile: Likewise.
55383         * signal/Makefile: Likewise.
55384         * debug/Makefile: Likewise.
55385         * elf/Makefile: Likewise.
55386         * timezone/Makefile: Likewise.
55387         * stdlib/Makefile: Likewise.
55388         * iconvdata/Makefile: Likewise.
55389         * sunrpc/Makefile: Likewise.
55390         * io/Makefile: Likewise.
55391         * argp/Makefile: Likewise.
55392         * inet/Makefile: Likewise.
55393         * hesiod/Makefile: Likewise.
55394         * grp/Makefile: Likewise.
55395         * csu/Makefile: Likewise.
55396         * wctype/Makefile: Likewise.
55397         * crypt/Makefile: Likewise.
55398         * libio/Makefile: Likewise.
55399         * string/Makefile: Likewise.
55400         * nis/Makefile: Likewise.
55401         * resolv/Makefile: Likewise.
55402         * stdio-common/Makefile: Likewise.
55403         * wcsmbs/Makefile: Likewise.
55404         * dlfcn/Makefile: Likewise.
55405         * posix/Makefile: Likewise.
55407         [BZ #6959]
55408         * timezone/Makefile: Don't install timezone files, just the programs
55409         and scripts.
55411 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55413         * nss/databases.def: Add missing gshadow entry.
55415         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55417 2012-03-06  Marek Polacek  <polacek@redhat.com>
55419         [BZ #13726]
55420         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55421         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55422         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55423         * stdio-common/tst-long-dbl-fphex.c: New file.
55425 2012-03-06  David S. Miller  <davem@davemloft.net>
55427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55428         (set_obp_int): New function.
55429         (get_obp_int): New function.
55430         (__get_clockfreq_via_dev_openprom): Likewise.
55431         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55432         Avoid unused variable warnings on 'val' and use builtin_expect.
55433         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55434         __builtin_expect.
55435         (INLINE_CLONE_SYSCALL): Likewise.
55437 2012-03-05  David S. Miller  <davem@davemloft.net>
55439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55441 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55445         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55446         only for |x| >= 40.
55447         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55449 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55452         Replace gettimeofday with __vdso_gettimeofday.
55454         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55455         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55456         __vdso_clock_gettime and __vdso_getcpu.
55458         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55459         time with __vdso_time.
55461 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55463         * manual/lang.texi (size_t): Note types to which size_t may be
55464         equivalent with the GNU C Library, but do not describe when
55465         differences between them are significant.
55467 2012-03-05  Andreas Jaeger  <aj@suse.de>
55469         * sysdeps/i386/fpu/libm-test-ulps: Update.
55471 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55473         [BZ #3976]
55474         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55475         (__ieee754_pow): Save and restore rounding mode and use
55476         round-to-nearest for main computations.
55477         * math/libm-test.inc (pow_test_tonearest): New function.
55478         (pow_test_towardzero): Likewise.
55479         (pow_test_downward): Likewise.
55480         (pow_test_upward): Likewise.
55481         (main): Call the new functions.
55482         * sysdeps/i386/fpu/libm-test-ulps: Update.
55483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55485         [BZ #3976]
55486         * math/libm-test.inc (cosh_test_tonearest): New function.
55487         (cosh_test_towardzero): Likewise.
55488         (cosh_test_downward): Likewise.
55489         (cosh_test_upward): Likewise.
55490         (sinh_test_tonearest): Likewise.
55491         (sinh_test_towardzero): Likewise.
55492         (sinh_test_downward): Likewise.
55493         (sinh_test_upward): Likewise.
55494         (main): Call the new functions.
55495         * sysdeps/i386/fpu/libm-test-ulps: Update.
55496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55498 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55500         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55501         default stack guard is set in last bytes.
55502         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55504 2012-03-05  Kees Cook  <keescook@chromium.org>
55506         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55508         [BZ #13656]
55509         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55510         possibly allocate from heap instead of stack.
55511         * stdio-common/bug-vfprintf-nargs.c: New file.
55512         * stdio-common/Makefile (tests): Add nargs overflow test.
55514 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55518 2012-03-03  Marek Polacek  <polacek@redhat.com>
55520         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55521         * math/math_private.h: Likewise.
55522         * stdlib/tst-strtod.c: Likewise.
55523         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55524         * sysdeps/x86_64/bits/atomic.h: Likewise.
55526 2012-03-02  David S. Miller  <davem@davemloft.net>
55528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55532         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55533         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55534         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55535         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55537 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55539         [BZ #13792]
55540         * manual/examples/README: New file, says the example source files
55541         can be used under GPL>=2.
55542         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55543         line containing just "*/".
55544         * manual/examples/add.c: Add copyright header (GPL>=2).
55545         * manual/examples/argp-ex1.c: Likewise.
55546         * manual/examples/argp-ex2.c: Likewise.
55547         * manual/examples/argp-ex3.c: Likewise.
55548         * manual/examples/argp-ex4.c: Likewise.
55549         * manual/examples/atexit.c: Likewise.
55550         * manual/examples/db.c: Likewise.
55551         * manual/examples/dir.c: Likewise.
55552         * manual/examples/dir2.c: Likewise.
55553         * manual/examples/execinfo.c: Likewise.
55554         * manual/examples/filecli.c: Likewise.
55555         * manual/examples/filesrv.c: Likewise.
55556         * manual/examples/fmtmsgexpl.c: Likewise.
55557         * manual/examples/genpass.c: Likewise.
55558         * manual/examples/inetcli.c: Likewise.
55559         * manual/examples/inetsrv.c: Likewise.
55560         * manual/examples/isockad.c: Likewise.
55561         * manual/examples/longopt.c: Likewise.
55562         * manual/examples/memopen.c: Likewise.
55563         * manual/examples/memstrm.c: Likewise.
55564         * manual/examples/mkfsock.c: Likewise.
55565         * manual/examples/mkisock.c: Likewise.
55566         * manual/examples/mygetpass.c: Likewise.
55567         * manual/examples/pipe.c: Likewise.
55568         * manual/examples/popen.c: Likewise.
55569         * manual/examples/rprintf.c: Likewise.
55570         * manual/examples/search.c: Likewise.
55571         * manual/examples/select.c: Likewise.
55572         * manual/examples/setjmp.c: Likewise.
55573         * manual/examples/sigh1.c: Likewise.
55574         * manual/examples/sigusr.c: Likewise.
55575         * manual/examples/stpcpy.c: Likewise.
55576         * manual/examples/strdupa.c: Likewise.
55577         * manual/examples/strftim.c: Likewise.
55578         * manual/examples/strncat.c: Likewise.
55579         * manual/examples/subopt.c: Likewise.
55580         * manual/examples/swapcontext.c: Likewise.
55581         * manual/examples/termios.c: Likewise.
55582         * manual/examples/testopt.c: Likewise.
55583         * manual/examples/testpass.c: Likewise.
55584         * manual/examples/timeval_subtract.c: Likewise.
55586         [BZ #13792]
55587         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55588         function to ...
55589         * manual/timeval_subtract.c.texi: ... here, new file.
55591 2012-03-02  David S. Miller  <davem@davemloft.net>
55593         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55595 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55597         [BZ #3976]
55598         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55599         (__sin): Save and restore rounding mode and use round-to-nearest
55600         for all computations.
55601         (__cos): Save and restore rounding mode and use round-to-nearest
55602         for all computations.
55603         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55604         <fenv.h>.
55605         (tan): Save and restore rounding mode and use round-to-nearest for
55606         all computations.
55607         * math/libm-test.inc (cos_test_tonearest): New function.
55608         (cos_test_towardzero): Likewise.
55609         (cos_test_downward): Likewise.
55610         (cos_test_upward): Likewise.
55611         (sin_test_tonearest): Likewise.
55612         (sin_test_towardzero): Likewise.
55613         (sin_test_downward): Likewise.
55614         (sin_test_upward): Likewise.
55615         (tan_test_tonearest): Likewise.
55616         (tan_test_towardzero): Likewise.
55617         (tan_test_downward): Likewise.
55618         (tan_test_upward): Likewise.
55619         (main): Call the new functions.
55620         * sysdeps/i386/fpu/libm-test-ulps: Update.
55621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55623         [BZ #10135]
55624         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55625         small n, then large n, before computing and testing k+n.
55626         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55628         Likewise.
55629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55630         Likewise.
55631         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55632         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55633         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55634         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55635         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55636         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55637         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55638         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55639         * math/libm-test.inc (scalbn_test): Add more tests.
55640         (scalbln_test): Likewise.
55642         * manual/filesys.texi (mode_t): Describe constraints on size and
55643         signedness, not exact equivalence to a particular type.
55644         (ino_t): Likewise.
55645         (ino64_t): Likewise.
55646         (dev_t): Likewise.
55647         (nlink_t): Likewise.
55648         (blkcnt_t): Likewise.
55649         (blkcnt64_t): Likewise.
55650         * manual/llio.texi (off_t): Likewise.
55652         [BZ #3976]
55653         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55654         (__ieee754_exp): Save and restore rounding mode and use
55655         round-to-nearest for all computations.
55656         * math/libm-test.inc (exp_test_tonearest): New function.
55657         (exp_test_towardzero): Likewise.
55658         (exp_test_downward): Likewise.
55659         (exp_test_upward): Likewise.
55660         (main): Call the new functions.
55661         * sysdeps/i386/fpu/libm-test-ulps: Update.
55662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55664 2012-03-01  Chris Demetriou  <cgd@google.com>
55666         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55667         have predictable order.
55669 2012-03-01  David S. Miller  <davem@davemloft.net>
55671         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55673         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55674         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55675         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55676         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55678         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55679         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55680         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55682         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55683         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55684         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55685         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55686         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55690         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55691         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55692         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55694         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55695         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55696         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55697         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55698         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55699         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55700         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55701         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55702         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55703         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55704         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55705         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55706         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55707         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55708         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55710         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55711         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55712         * sysdeps/sparc/elf/configure: Regenerated.
55714 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55716         * configure.in (AS, LD): Require binutils 2.20 or later.
55717         * configure: Regenerated.
55718         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55719         as required minimum version.
55720         * INSTALL: Regenerated.
55722         [BZ #2541]
55723         [BZ #4108]
55724         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55725         before squaring exponent.
55726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55727         bottom long double and 27 bits of top long double before squaring
55728         exponent.
55729         * math/libm-test.inc (erfc_test): Add more tests.
55730         * sysdeps/i386/fpu/libm-test-ulps: Update.
55731         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55734 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55736         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55737         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55738         containing bit-fields.
55739         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55740         * soft-fp/single.h (_FP_UNION_S): Likewise.
55741         * soft-fp/double.h (_FP_UNION_D): Likewise.
55743 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55745         [BZ #13786]
55746         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55747         not include ../strcmp.S.
55748         [USE_AS_STRNCASECMP_L]: Likewise.
55749         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55750         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55751         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55752         (__strncasecmp_l_ia32): Define as alias to
55753         __strncasecmp_l_nonascii.
55755         [BZ #5794]
55756         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55757         * sysdeps/i386/fpu/libm-test-ulps: Update.
55758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55760         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55763 2012-02-29  Jeff Law  <law@redhat.com>
55765         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55766         out of bounds read.
55768 2012-02-29  Marek Polacek  <polacek@redhat.com>
55770         [BZ #13706]
55771         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55772         * elf/Makefile: Add rules to run tst-unused-dep.out.
55774 2012-02-28  David S. Miller  <davem@davemloft.net>
55776         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55777         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55778         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55779         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55780         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55781         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55783 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55785         * math/libm-test.inc (llround_test): Move one test from
55786         lround_test.  Use TEST_f_L in moved test.
55787         (lround_test): Move misplaced test to llround_test.  Add testcase
55788         from bug 2561.
55790 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55792         * sysdeps/x86_64/fpu/e_expf.S: New file.
55793         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55795 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55797         [BZ #13637]
55798         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55799         of remain_len that may cause incomplete multi-byte character and
55800         false match.
55801         * posix/bug-regex33.c: New file.
55802         * posix/Makefile (tests): Add bug-regex33.
55804 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55806         * manual/macros.texi: New file.
55807         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55808         * manual/libc.texinfo: Include macros.texi.
55809         * manual/creatute.texi: Likewise.
55810         * manual/install.texi: Likewise.
55811         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55812         @glibcadj{} in references to the GNU C Library.
55813         * manual/charset.texi: Likewise.
55814         * manual/conf.texi: Likewise.
55815         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55816         when not using those macros.
55817         * manual/creature.texi: Likewise.
55818         * manual/crypt.texi: Likewise.
55819         * manual/errno.texi: Likewise.
55820         * manual/filesys.texi: Likewise.
55821         * manual/header.texi: Likewise.
55822         * manual/install.texi: Likewise.
55823         * manual/intro.texi: Likewise.
55824         * manual/io.texi: Likewise.
55825         * manual/job.texi: Likewise.
55826         * manual/lang.texi: Likewise.
55827         * manual/libc.texiinfo: Likewise.
55828         * manual/llio.texi: Likewise.
55829         * manual/locale.texi: Likewise.
55830         * manual/maint.texi: Likewise.
55831         * manual/math.texi: Likewise.
55832         * manual/memory.texi: Likewise.
55833         * manual/message.texi: Likewise.
55834         * manual/nss.texi: Likewise.
55835         * manual/pattern.texi: Likewise.
55836         * manual/process.texi: Likewise.
55837         * manual/resource.texi: Likewise.
55838         * manual/search.texi: Likewise.
55839         * manual/setjmp.texi: Likewise.
55840         * manual/signal.texi: Likewise.
55841         * manual/socket.texi: Likewise.
55842         * manual/startup.texi: Likewise.
55843         * manual/stdio.texi: Likewise.
55844         * manual/string.texi: Likewise.
55845         * manual/sysinfo.texi: Likewise.
55846         * manual/syslog.texi: Likewise.
55847         * manual/terminal.texi: Likewise.
55848         * manual/time.texi: Likewise.
55849         * manual/users.texi: Likewise.
55850         * INSTALL: Regenerated.
55851         * NOTES: Regenerated.
55852         * sysdeps/gnu/errlist.c: Regenerated.
55854 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55856         * include/dirent.h: Include <dirstream.h> before
55857         <dirent/dirent.h>.
55859 2012-02-28  David S. Miller  <davem@davemloft.net>
55861         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55862         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55863         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55864         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55866 2012-02-27  David S. Miller  <davem@davemloft.net>
55868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55870         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55871         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55874         frame pointer instead of stack pointer relative arg slot.
55875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55876         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55877         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55879 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55881         [BZ #3992]
55882         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55884 2012-02-27  David S. Miller  <davem@davemloft.net>
55886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55890         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55891         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55892         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55893         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55895 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55897         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55898         later.  Allow versions 5-9.
55899         * configure: Regenerated.
55900         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55901         required minimum version and 4.6 as recommended version.  Do not
55902         mention bugs in GCC 2.7 and 2.8.
55903         * INSTALL: Regenerated.
55905 2012-02-27  David S. Miller  <davem@davemloft.net>
55907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55911         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55912         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55913         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55914         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55916         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55917         manipulate bits before adding and subtracting TWO112[sx].
55918         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55920 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55922         [BZ #13775]
55923         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55924         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55925         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55926         being in POSIX, because they are in 1003.1-2008.
55928         * rt/tst-aio.c: Include <fcntl.h>.
55929         * rt/tst-aio7.c: Likewise.
55930         * rt/tst-aio64.c: Likewise.
55932         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55934 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55936         * manual/install.texi (--with-headers): Describe headers as
55937         interface headers, not private headers.
55938         (Specific advice for GNU/Linux systems): Describe use of headers
55939         from "make headers_install", not private headers from older
55940         kernels.
55941         * INSTALL: Regenerated.
55942         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55943         Change to 2.6.19.
55944         * sysdeps/unix/sysv/linux/configure: Regenerated.
55946         * manual/llio.texi (fclean): Remove documentation.
55948         * manual/Makefile (libc-texi-generated): New variable.  Include
55949         version.texi.
55950         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55951         $(libc-texi-generated), not duplicated list of files.
55952         (version.texi, stamp-version): New rules.
55953         (realclean): Remove $(libc-texi-generated), not individual files
55954         from that list.  Do not remove dir-add.texinfo.
55955         * manual/libc.texinfo: Comment out uses of edition numbers and
55956         references to printed manual.  Remove last-updated dates.
55957         (EDITION): Comment out.
55958         (ISBN): Likewise.
55959         (VERSION, UPDATED): Remove.
55960         (version.texi): Include.
55962 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55964         * sysdeps/posix/spawni.c: Include <signal.h>.
55965         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55966         * sysdeps/pthread/aio_fsync.c: Likewise.
55968 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55970         * conform/Makefile (tests): Run only when not cross-compiling and
55971         when fast-check is not defined.
55973         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55974         * conform/data/limits.h-data: Fixes for POSIX2008.
55975         * conform/run-conformtest.sh: Run all tests.
55976         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55977         headers.
55978         * include/bits/dlfcn.h: Likewise.
55979         * include/langinfo.h: Likewise.
55980         * include/monetary.h: Likewise.
55981         * include/sys/poll.h: Likewise.
55983         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55984         for __USE_GNU.
55985         * posix/spawn.h: Define __need_sigset_t.
55986         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55987         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55988         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55989         to get sigevent_t only.
55990         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55991         only for __USE_GNU.
55992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55993         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55994         process_vm_writev only for __USE_GNU.
55995         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55997         * conform/Makefile: For now ignore errors from run-conformtest.
55998         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55999         POSIX to avoid namespace pollution.  Don't prepend headers.
56000         * conform/data/aio.h-data: Fixes for POSIX testing.
56001         * conform/data/fcntl.h-data: Likewise.
56002         * conform/data/glob.h-data: Likewise.
56003         * conform/data/grp.h-data: Likewise.
56004         * conform/data/pthread.h-data: Likewise.
56005         * conform/data/pwd.h-data: Likewise.
56006         * conform/data/signal.h-data: Likewise.
56007         * conform/data/spawn.h-data: Likewise.
56008         * conform/data/stdio.h-data: Likewise.
56009         * conform/data/stdlib.h-data: Likewise.
56010         * conform/data/stropts.h-data: Likewise.
56011         * conform/data/sys/mman.h-data: Likewise.
56012         * conform/data/sys/stat.h-data: Likewise.
56013         * conform/data/sys/types.h-data: Likewise.
56014         * conform/data/sys/wait.h-data: Likewise.
56015         * conform/data/time.h-data: Likewise.
56016         * conform/data/unistd.h-data: Likewise.
56017         * conform/data/utime.h-data: Likewise.
56019         * io/sys/stat.h: fchmod was always in POSIX.
56020         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56021         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56022         * rt/aio.h: Define __need_timespec before including <time.h>.
56023         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56024         struct.  Add forward declaration of pthread_attr_t and use it in
56025         sigevent.
56026         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56027         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56028         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56029         always remove CLK_TCK definition.
56031 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
56033         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56035 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
56037         * conform/run-conformtest.sh: New file.
56038         * conform/Makefile: Run run-conformtest for tests.
56039         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
56040         support.
56042         * conform/data/uchar.h-data: New file.
56043         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56044         * conform/data/arpa/inet.h-data: Likewise.
56045         * conform/data/assert.h-data: Likewise.
56046         * conform/data/complex.h-data: Likewise.
56047         * conform/data/cpio.h-data: Likewise.
56048         * conform/data/ctype.h-data: Likewise.
56049         * conform/data/dirent.h-data: Likewise.
56050         * conform/data/dlfcn.h-data: Likewise.
56051         * conform/data/errno.h-data: Likewise.
56052         * conform/data/fcntl.h-data: Likewise.
56053         * conform/data/float.h-data: Likewise.
56054         * conform/data/fmtmsg.h-data: Likewise.
56055         * conform/data/fnmatch.h-data: Likewise.
56056         * conform/data/ftw.h-data: Likewise.
56057         * conform/data/glob.h-data: Likewise.
56058         * conform/data/grp.h-data: Likewise.
56059         * conform/data/iconv.h-data: Likewise.
56060         * conform/data/inttypes.h-data: Likewise.
56061         * conform/data/langinfo.h-data: Likewise.
56062         * conform/data/libgen.h-data: Likewise.
56063         * conform/data/limits.h-data: Likewise.
56064         * conform/data/locale.h-data: Likewise.
56065         * conform/data/math.h-data: Likewise.
56066         * conform/data/monetary.h-data: Likewise.
56067         * conform/data/mqueue.h-data: Likewise.
56068         * conform/data/ndbm.h-data: Likewise.
56069         * conform/data/net/if.h-data: Likewise.
56070         * conform/data/netdb.h-data: Likewise.
56071         * conform/data/netinet/in.h-data: Likewise.
56072         * conform/data/nl_types.h-data: Likewise.
56073         * conform/data/poll.h-data: Likewise.
56074         * conform/data/pthread.h-data: Likewise.
56075         * conform/data/pwd.h-data: Likewise.
56076         * conform/data/regex.h-data: Likewise.
56077         * conform/data/sched.h-data: Likewise.
56078         * conform/data/search.h-data: Likewise.
56079         * conform/data/semaphore.h-data: Likewise.
56080         * conform/data/setjmp.h-data: Likewise.
56081         * conform/data/signal.h-data: Likewise.
56082         * conform/data/spawn.h-data: Likewise.
56083         * conform/data/stdarg.h-data: Likewise.
56084         * conform/data/stdio.h-data: Likewise.
56085         * conform/data/stdlib.h-data: Likewise.
56086         * conform/data/string.h-data: Likewise.
56087         * conform/data/strings.h-data: Likewise.
56088         * conform/data/stropts.h-data: Likewise.
56089         * conform/data/sys/ipc.h-data: Likewise.
56090         * conform/data/sys/mman.h-data: Likewise.
56091         * conform/data/sys/msg.h-data: Likewise.
56092         * conform/data/sys/resource.h-data: Likewise.
56093         * conform/data/sys/select.h-data: Likewise.
56094         * conform/data/sys/sem.h-data: Likewise.
56095         * conform/data/sys/shm.h-data: Likewise.
56096         * conform/data/sys/socket.h-data: Likewise.
56097         * conform/data/sys/stat.h-data: Likewise.
56098         * conform/data/sys/statvfs.h-data: Likewise.
56099         * conform/data/sys/time.h-data: Likewise.
56100         * conform/data/sys/timeb.h-data: Likewise.
56101         * conform/data/sys/times.h-data: Likewise.
56102         * conform/data/sys/types.h-data: Likewise.
56103         * conform/data/sys/uio.h-data: Likewise.
56104         * conform/data/sys/un.h-data: Likewise.
56105         * conform/data/sys/utsname.h-data: Likewise.
56106         * conform/data/sys/wait.h-data: Likewise.
56107         * conform/data/syslog.h-data: Likewise.
56108         * conform/data/tar.h-data: Likewise.
56109         * conform/data/termios.h-data: Likewise.
56110         * conform/data/utime.h-data: Likewise.
56111         * conform/data/utmpx.h-data: Likewise.
56112         * conform/data/varargs.h-data: Likewise.
56113         * conform/data/wchar.h-data: Likewise.
56114         * conform/data/wctype.h-data: Likewise.
56115         * conform/data/wordexp.h-data: Likewise.
56117         * include/stropts.h: New file.
56118         * include/uchar.h: New file.
56119         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56120         * include/assert.h: Likewise.
56121         * include/ctype.h: Likewise.
56122         * include/dirent.h: Likewise.
56123         * include/dlfcn.h: Likewise.
56124         * include/fcntl.h: Likewise.
56125         * include/fnmatch.h: Likewise.
56126         * include/glob.h: Likewise.
56127         * include/grp.h: Likewise.
56128         * include/libio.h: Likewise.
56129         * include/locale.h: Likewise.
56130         * include/math.h: Likewise.
56131         * include/net/if.h: Likewise.
56132         * include/netdb.h: Likewise.
56133         * include/netinet/in.h: Likewise.
56134         * include/pthread.h: Likewise.
56135         * include/pwd.h: Likewise.
56136         * include/regex.h: Likewise.
56137         * include/sched.h: Likewise.
56138         * include/search.h: Likewise.
56139         * include/setjmp.h: Likewise.
56140         * include/signal.h: Likewise.
56141         * include/stdio.h: Likewise.
56142         * include/stdlib.h: Likewise.
56143         * include/string.h: Likewise.
56144         * include/sys/cdefs.h: Likewise.
56145         * include/sys/mman.h: Likewise.
56146         * include/sys/msg.h: Likewise.
56147         * include/sys/resource.h: Likewise.
56148         * include/sys/select.h: Likewise.
56149         * include/sys/socket.h: Likewise.
56150         * include/sys/stat.h: Likewise.
56151         * include/sys/statvfs.h: Likewise.
56152         * include/sys/time.h: Likewise.
56153         * include/sys/times.h: Likewise.
56154         * include/sys/uio.h: Likewise.
56155         * include/sys/utsname.h: Likewise.
56156         * include/sys/wait.h: Likewise.
56157         * include/termios.h: Likewise.
56158         * include/time.h: Likewise.
56159         * include/ulimit.h: Likewise.
56160         * include/unistd.h: Likewise.
56161         * include/utime.h: Likewise.
56162         * include/wchar.h: Likewise.
56163         * include/wctype.h: Likewise.
56164         * include/wordexp.h: Likewise.
56166         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56168         * time/time.h: TIME_UTC must be a macro.
56169         Make timespec_get available for ISO C11 only as well.
56171 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56173         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56174         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56176 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56178         * configure.in: Use -o not -a in test for unsupported multi-arch.
56180 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56182         * manual/texinfo.tex: Update to version 2012-01-19.16.
56184 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56186         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56188 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56190         [BZ #13738]
56191         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56192         * manual/fdl-1.3.texi: New file.
56193         * manual/fdl-1.1.texi: File removed.
56195         [BZ #13738]
56196         * manual/libc.texinfo (FDL_VERSION): New @set.
56197         Use it for mention of FDL in cover text.
56198         (Documentation License): Use it in @include file name.
56200 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56201             Roland McGrath  <roland@hack.frob.com>
56203         [BZ #5461]
56204         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56205         (not LONG_LONG_MAX and LONG_LONG_MIN.
56206         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56207         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56208         name.
56209         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56211 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56213         [BZ #2547]
56214         [BZ #11365]
56215         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56216         manipulate bits before adding and subtracting TWO23[sx].
56217         * math/libm-test.inc (nearbyint_test): Add more tests.
56219 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56221         [BZ #2548]
56222         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56223         bits before adding and subtracting TWO23[sx].
56224         * math/libm-test.inc (rint_test): Add more tests.
56225         (rint_test_tonearest): Likewise.
56226         (rint_test_towardzero): Likewise.
56227         (rint_test_downward): Likewise.
56228         (rint_test_upward: Likewise.
56230 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56232         [BZ #10110]
56233         * include/stdc-predef.h: New file.  Extracted from features.h.
56234         * include/features.h: Include stdc-predef.h.
56235         * Makefile (headers): Add stdc-predef.h.
56236         * CONFORMANCE (Compiler limitations): Update.
56238 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56240         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56242 2012-02-21  David S. Miller  <davem@davemloft.net>
56244         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56245         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56247 2012-02-20  David S. Miller  <davem@davemloft.net>
56249         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56250         using a normal save/restore sequence, rather than allocating a
56251         dummy stack frame just to store a frame pointer and restore.
56252         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56254 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56256         * manual/install.texi: Fix stray word in line-wrapped comment.
56258 2012-02-20  David S. Miller  <davem@davemloft.net>
56260         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56261         both binutils and gcc support GOTDATA.
56263         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56264         "rd %pc" in the PIC register setup sequences.
56266         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56267         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56268         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56269         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56270         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56272         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56273         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56275         (SYSCALL_ERROR_HANDLER): Likewise.
56276         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56277         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56279         (SYSCALL_ERROR_HANDLER): Likewise.
56281         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56282         (HAVE_GCC_GOTDATA): New.
56283         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56284         relocation support in both binutils and gcc.
56285         * sysdeps/sparc/elf/configure: Regenerate.
56287         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56288         * sysdeps/sparc/sparc32/elf/configure: Delete.
56289         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56290         * sysdeps/sparc/sparc64/elf/configure: Delete.
56291         * sysdeps/sparc/elf/configure.in: New file.
56292         * sysdeps/sparc/elf/configure: Generate.
56294         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56295         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56296         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56297         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56298         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56300 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56302         * manual/install.texi: Do not mention specific glibc version
56303         numbers.
56304         * manual/libc.texinfo (VERSION, UPDATED): Update.
56305         (@copying): Use @copyright{} and range of years.
56307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56309         [BZ #13695]
56310         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56311         [crti.S not in sysdirs] (generated): Do not append.
56312         [crti.S not in sysdirs] (omit-deps): Likewise.
56313         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56314         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56315         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56316         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56317         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56318         Likewise.
56319         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56320         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56321         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56322         * csu/defs.awk: Remove file.
56323         * sysdeps/generic/initfini.c: Likewise.
56324         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56325         variable.
56326         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56327         Likewise.
56329 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56331         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56332         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56333         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56334         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56335         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56336         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56337         <bits/epoll.h>.
56338         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56339         (__EPOLL_PACKED): Define to empty if not defined by
56340         <bits/epoll.h>.
56341         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56343         bits/epoll.h.
56345 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56347         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56348         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56349         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56350         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56351         <bits/timerfd.h>.
56352         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56354         bits/timerfd.h.
56356 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56358         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56359         in C locale.
56360         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56361         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56365 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56367         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56368         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56370 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56372         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56373         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56374         defined.
56375         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56376         Likewise.
56377         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56378         entry for 2.16.
56380 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56382         * math/w_acos.c: Use non-signaling floating-point comparisons.
56383         * math/w_acosf.c: Likewise.
56384         * math/w_acosh.c: Likewise.
56385         * math/w_acoshf.c: Likewise.
56386         * math/w_acoshl.c: Likewise.
56387         * math/w_acosl.c: Likewise.
56388         * math/w_asin.c: Likewise.
56389         * math/w_asinf.c: Likewise.
56390         * math/w_asinl.c: Likewise.
56391         * math/w_atanh.c: Likewise.
56392         * math/w_atanhf.c: Likewise.
56393         * math/w_atanhl.c: Likewise.
56394         * math/w_exp2.c: Likewise.
56395         * math/w_exp2f.c: Likewise.
56396         * math/w_exp2l.c: Likewise.
56397         * math/w_j0.c: Likewise.
56398         * math/w_j0f.c: Likewise.
56399         * math/w_j0l.c: Likewise.
56400         * math/w_j1.c: Likewise.
56401         * math/w_j1f.c: Likewise.
56402         * math/w_j1l.c: Likewise.
56403         * math/w_jn.c: Likewise.
56404         * math/w_jnf.c: Likewise.
56405         * math/w_log.c: Likewise.
56406         * math/w_log10.c: Likewise.
56407         * math/w_log10f.c: Likewise.
56408         * math/w_log10l.c: Likewise.
56409         * math/w_log2.c: Likewise.
56410         * math/w_log2f.c: Likewise.
56411         * math/w_log2l.c: Likewise.
56412         * math/w_logf.c: Likewise.
56413         * math/w_logl.c: Likewise.
56414         * math/w_sqrt.c: Likewise.
56415         * math/w_sqrtf.c: Likewise.
56416         * math/w_sqrtl.c: Likewise.
56417         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56418         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56419         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56420         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56421         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56423 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56425         [BZ #9739]
56426         * manual/string.texi (strnlen): Use correct parameter name in
56427         equivalent expression.
56429 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56431         [BZ #11174]
56432         * manual/users.texi (seteuid): Consistently use neweuid for
56433         argument name.
56435 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56437         [BZ #13704]
56438         * manual/nss.texi (Services in the NSS configuration): Correct
56439         list of services in example configuration file.
56441 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56443         [BZ #11322]
56444         * manual/arith.texi: Remove statements about negative zero
56445         behaving identically to zero.
56447 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56449         [BZ #5993]
56450         * manual/install.texi: Do not document upgrading from libc5.
56452 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56454         [BZ #4596]
56455         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56457 2012-02-18  David S. Miller  <davem@davemloft.net>
56459         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56460         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56461         %o7 across the call.
56462         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56463         instead.
56464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56465         SETUP_PIC_REG_LEAF.
56466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56467         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56468         * sysdeps/sparc/crtn.S: Likewise.
56470 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56472         * aout/Makefile: Remove.
56474 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56476         [BZ #13058]
56477         * manual/examples/argp-ex1.c (main): Format definition in GNU
56478         style.
56479         * manual/examples/argp-ex2.c (main): Likewise.
56480         * manual/examples/argp-ex3.c (main): Likewise.
56481         * manual/examples/argp-ex4.c (main): Likewise.
56482         * manual/examples/longopt.c (main): Use new-style prototype
56483         definition.
56484         * manual/examples/strncat.c (main): Specify return type and use
56485         (void) for arguments.
56486         * manual/examples/subopt.c (main): Use char **argv argument.
56488 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56490         [BZ #5077]
56491         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56492         rounding modes.
56494 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56496         [BZ #6907]
56497         * manual/string.texi (strchr): Change when strchrnul is
56498         recommended.
56500 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56502         [BZ #174]
56503         * manual/locale.texi (setlocale): Document LOCPATH.
56505 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56507         [BZ #10210]
56508         * manual/process.texi (execle): Move @dots{} before last argument.
56510 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56512         [BZ #12047]
56513         * manual/charset.texi (Generic Charset Conversion): Fix typo
56514         (LC_TYPE -> LC_CTYPE).
56516 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56518         [BZ #5805]
56519         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56520         (scalbnf): Likewise.
56521         (scalbnl): Likewise.
56522         (scalbln): Likewise.
56523         (scalblnf): Likewise.
56524         (scalblnl): Likewise.
56525         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56526         (vwarnx): Likewise.
56527         (verr): Likewise.
56528         (verrx): Likewise.
56529         * manual/filesys.texi (telldir): Use braces around return type.
56530         * manual/llio.texi (mmap): Add space after comma.
56531         (mmap64): Likewise.
56532         * manual/math.texi (jn): Use @var{} on parameter names.
56533         (jnf): Likewise.
56534         (jnl): Likewise.
56535         (yn): Likewise.
56536         (ynf): Likewise.
56537         (ynl): Likewise.
56538         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56539         line.
56540         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56541         "...".
56542         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56543         (sched_get_priority_max): Likewise.
56544         * manual/signal.texi (sigvec): Add space after comma.
56545         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56546         names.
56547         (if_indextoname): Likewise.
56548         (if_freenameindex): Likewise.
56549         (sendto): Use ',' instead of '.' in prototype.
56550         * manual/startup.texi (syscall): Use @dots{} instead of literal
56551         "...".
56552         * manual/stdio.texi (__fpending): Separate initial words of
56553         paragraph from @deftypefun line.
56554         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56555         "...".
56556         (vsyslog): Use @var{} on parameter names.
56557         * manual/terminal.texi (stty): Use @var{} on parameter names.
56558         * manual/users.texi (getutmp): Use @var{} on parameter names.
56559         (getutmpx): Likewise.
56561 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56563         [BZ #6884]
56564         * manual/stdio.texi (fopen): Fix typos in description of
56565         ",ccs=STRING".
56567 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56569         [BZ #4026]
56570         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56571         get clock_id definition.
56573 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56575         [BZ #4822]
56576         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56577         (madvise): Cast every argument to void on its own.
56579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56581         [BZ #9902]
56582         * manual/startup.texi (Exit Status): Fix typo.
56584 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56586         [BZ #10140]
56587         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56588         * manual/examples/argp-ex2.c: Likewise.
56589         * manual/examples/argp-ex3.c: Likewise.
56591 2012-02-16  Richard Henderson  <rth@redhat.com>
56593         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56594         * sysdeps/s390/s390-32/initfini.c: Remove.
56595         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56596         * sysdeps/s390/s390-64/initfini.c: Remove.
56598 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56600         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56601         compiler output for sysdeps/generic/initfini.c.
56602         * sysdeps/sh/elf/initfini.c: Remove file.
56604 2012-02-16  David S. Miller  <davem@davemloft.net>
56606         [BZ #11494]
56607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56609         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56610         * sysdeps/sparc/crti.S: New file.
56611         * sysdeps/sparc/crtn.S: New file.
56612         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56613         * sysdeps/sparc/sparc64/Makefile: Likewise.
56615 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56617         [BZ #3335]
56618         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56620 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56622         [BZ #4822]
56623         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56625         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56626         (write, read, close): Likewise.
56627         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56629 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56631         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56632         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56633         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56634         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56635         <bits/signalfd.h>.
56636         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56638         bits/signalfd.h.
56640 2012-02-14  Marek Polacek  <polacek@redhat.com>
56642         * sysdeps/x86_64/crti.S: New file.
56643         * sysdeps/x86_64/crtn.S: New file.
56644         * sysdeps/x86_64/elf/initfini.c: Remove file.
56646 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56648         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56649         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56650         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56651         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56652         <bits/inotify.h>.
56653         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56655         bits/inotify.h.
56657 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56659         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56660         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56661         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56662         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56663         <bits/eventfd.h>.
56664         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56666         bits/eventfd.h.
56668 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56670         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56671         __feraiseexcept instead of feraiseexcept.
56673         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56674         nanosleep invocations.
56675         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56676         strings, and add error checking for a nanosleep invocations.
56678 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56680         Replace FSF snail mail address with URLs, as per GNU coding standards.
56681         Most of the snail mail addresses were wrong anyway, and omitting
56682         them makes the source code easier to maintain.  Almost all of the
56683         changes are to license notices and to locale LC_IDENTIFICATION
56684         addresses, except for this one:
56685         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56686         not its snail mail address.
56688 2012-02-09  Richard Henderson  <rth@twiddle.net>
56690         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56691         of kernel-features.h.
56693         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56695 2012-02-08  Marek Polacek  <polacek@redhat.com>
56697         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56698         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56699         * sysdeps/gnu/_G_config.h: Likewise.
56700         * sysdeps/generic/_G_config.h: Likewise.
56702 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56704         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56705         tests.
56706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56708         * sysdeps/powerpc/powerpc32/crti.S: New file.
56709         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56710         * sysdeps/powerpc/powerpc64/crti.S: New file.
56711         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56713         * Makeconfig (have-initfini): Don't set.
56714         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56715         * configure.in (nopic_initfini): Don't substitute.
56716         * config.h.in (HAVE_INITFINI): Don't #undef.
56717         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56718         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56720 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56722         Support crti.S and crtn.S provided directly by architectures.
56723         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56724         [crti.S in sysdirs] (omit-deps): Likewise.
56725         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56726         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56727         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56728         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56729         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56730         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56731         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56732         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56733         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56734         compiler output for sysdeps/generic/initfini.c.
56735         * sysdeps/i386/elf/Makefile: Remove file.
56736         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56738 2012-02-07  Marek Polacek  <polacek@redhat.com>
56740         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56741         * sysdeps/gnu/_G_config.h: Likewise.
56742         * sysdeps/mach/hurd/_G_config.h: Likewise.
56744 2012-02-07  Marek Polacek  <polacek@redhat.com>
56746         * math/Makefile (tests): Add tst-CMPLX2.
56747         * math/tst-CMPLX2.c: New file.
56749 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56751         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56753         * math/libm-test.inc (jn_test): Add missing L suffix.
56755 2012-02-06  Marek Polacek  <polacek@redhat.com>
56757         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56758         * sysdeps/i386/fpu/e_powf.S: Likewise.
56759         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56760         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56761         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56762         * sysdeps/i386/fpu/e_pow.S: Likewise.
56763         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56764         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56765         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56766         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56767         * sysdeps/i386/fpu/e_log2.S: Likewise.
56768         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56769         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56770         * sysdeps/i386/fpu/e_powl.S: Likewise.
56771         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56772         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56773         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56774         * sysdeps/i386/fpu/e_logl.S: Likewise.
56775         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56776         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56777         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56778         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56779         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56780         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56781         * sysdeps/i386/fpu/e_log.S: Likewise.
56782         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56783         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56784         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56785         * sysdeps/i386/fpu/e_logf.S: Likewise.
56786         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56787         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56788         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56789         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56790         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56791         * sysdeps/i386/fpu/e_log10.S: Likewise.
56792         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56793         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56794         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56795         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56796         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56797         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56798         * sysdeps/i386/asm-syntax.h: Likewise.
56799         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56800         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56801         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56802         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56803         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56804         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56805         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56806         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56807         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56808         * sysdeps/powerpc/sysdep.h: Likewise.
56809         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56810         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56812 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56814         [BZ #411]
56815         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56817 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56819         * sysdeps/i386/sysdep.h: Include <features.h>.
56820         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56821         version.
56823 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56825         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56826         Define.
56827         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56828         LOAD_PIC_REG_STR.
56830 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56832         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56833         (SETUP_PIC_REG): Use GET_PC_THUNK.
56834         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56835         macro.
56837 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56839         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56840         for non-PIC compilation.
56841         (SETUP_PIC_REG): Add .p2align directive.
56842         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56843         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56844         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56845         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56846         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56847         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56848         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56849         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56850         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56851         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56852         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56853         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56854         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56855         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56856         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56857         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56858         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56859         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56860         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56861         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56862         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56863         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56864         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56865         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56866         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56868         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56869         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56870         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56871         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56872         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56873         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56874         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56875         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56876         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56877         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56878         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56879         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56880         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56881         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56882         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56884 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56886         * math/tst-CMPLX.c: Include <stdio.h>.
56888 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56890         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56891         float.
56892         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56893         * sysdeps/sparc/bits/mathdef.h: Likewise.
56895 2012-01-31  Marek Polacek  <polacek@redhat.com>
56897         * libio/libio.h: Don't define _PARAMS.
56898         * locale/programs/config.h: Don't define PARAMS.
56899         * stdlib/strtol_l.c: Likewise.
56900         (__strtol_l): Remove PARAMS from the prototype.
56902 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56904         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56905         names.  Just use the correct names.  Remove unnecessary wrapper
56906         functions.
56907         * malloc/arena.c: Likewise.
56908         * malloc/hooks.c: Likewise.
56910         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56911         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56912         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56914 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56916         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56917         into tail calls.
56918         (update_get_addr): New function.
56919         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56920         GET_ADDR_MODULE parameter.
56922 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56924         * crypt/cert.c: Remove __STDC__ conditionals.
56925         * crypt/crypt-entry.c: Likewise.
56926         * crypt/crypt_util.c: Likewise.
56927         * libio/filedoalloc.c: Likewise.
56928         * libio/fileops.c: Likewise.
56929         * libio/genops.c: Likewise.
56930         * libio/iofclose.c: Likewise.
56931         * libio/iofdopen.c: Likewise.
56932         * libio/iofopen.c: Likewise.
56933         * libio/iofopen64.c: Likewise.
56934         * libio/iogetdelim.c: Likewise.
56935         * libio/iopopen.c: Likewise.
56936         * libio/obprintf.c: Likewise.
56937         * libio/oldfileops.c: Likewise.
56938         * libio/oldiofclose.c: Likewise.
56939         * libio/oldiofdopen.c: Likewise.
56940         * libio/oldiofopen.c: Likewise.
56941         * libio/oldiopopen.c: Likewise.
56942         * libio/wfiledoalloc.c: Likewise.
56943         * libio/wgenops.c: Likewise.
56944         * locale/programs/xmalloc.c: Likewise.
56945         * misc/syslog.c: Likewise.
56946         * stdio-common/xbug.c: Likewise.
56947         * string/memchr.c: Likewise.
56948         * string/memcmp.c: Likewise.
56949         * string/memrchr.c: Likewise.
56950         * string/rawmemchr.c: Likewise.
56951         * sysdeps/posix/getcwd.c: Likewise.
56952         * time/strftime_l.c: Likewise.
56954 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56956         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56957         * config.make.in (config-cflags-sse2avx): Define.
56958         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56959         Fix typo.
56961 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56963         * scripts/config.guess: Update from upstream config git repository.
56964         * scripts/config.sub: Likewise.
56966 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56968         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56969         (EM_NUM): Update.
56970         (R_TILEPRO_*, R_TILEGX_*): New macros.
56972         * scripts/firstversions.awk: Fix bug in version range handling.
56974         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56976         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56978         * include/sys/epoll.h: New file.
56979         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56980         libc_hidden_def.
56982 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56984         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56985         Avoid unnecessary __WORDSIZE == 64 test.
56986         (fmaxf): Use VEX format if possible.
56987         (fmax): Likewise.
56988         (fminf): Likewise.
56989         (fmin): Likewise.
56991         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56992         * math/math_private.h: Remove libc_fegetround* and
56993         libc_fesetround*.
56994         * sysdeps/i386/configure.in: Check for -msse2avx.
56995         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56996         also if SSE2AVX is defined.
56997         Remove libc_fegetround* and libc_fesetround*.
56998         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56999         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
57000         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57001         of HAS_YMM_USABLE.
57002         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57003         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57004         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57005         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57006         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57008         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57010 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57012         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57013         size is not set.
57014         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57016 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
57018         [BZ #13618]
57019         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57020         relocation.
57021         * Makeconfig (libm): Define.
57022         * elf/Makefile: Add rules to build and run tst-relsort1.
57023         * elf/tst-relsort1.c: New file.
57024         * elf/tst-relsort1mod1.c: New file.
57025         * elf/tst-relsort1mod2.c: New file.
57027 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
57029         * math/s_ldexp.c: Remove __STDC__ conditionals.
57030         * math/s_ldexpf.c: Likewise.
57031         * math/s_ldexpl.c: Likewise.
57032         * math/s_nextafter.c: Likewise.
57033         * math/s_nexttowardf.c: Likewise.
57034         * math/s_significand.c: Likewise.
57035         * math/s_significandf.c: Likewise.
57036         * math/s_significandl.c: Likewise.
57037         * math/w_jnl.c: Likewise.
57038         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57039         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57040         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57041         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57042         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57043         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57044         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57045         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57046         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57048         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57049         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57050         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57051         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57052         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57053         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57054         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57055         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57057         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57058         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57059         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57060         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57061         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57062         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57063         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57064         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57065         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57066         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57067         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57068         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57069         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57070         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57071         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57072         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57073         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57074         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57075         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57076         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57077         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57078         * sysdeps/ieee754/k_standard.c: Likewise.
57079         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57081         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57083         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57084         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57085         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57086         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57087         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57088         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57089         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57090         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57091         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57093         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57094         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57095         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57096         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57097         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57098         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57099         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57100         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57101         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57102         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57103         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57104         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57105         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57108         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57109         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57110         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57111         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57112         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57113         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57114         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57115         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57116         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57117         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57118         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57119         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57122         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57123         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57125         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57126         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57127         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57128         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57129         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57133         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57136         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57137         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57140         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57141         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57142         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57143         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57145         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57146         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57147         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57148         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57149         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57150         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57151         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57153         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57154         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57155         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57156         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57157         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57158         * sysdeps/ieee754/s_matherr.c: Likewise.
57159         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57160         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57162         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57164 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57166         * crypt/md5.h: Remove __STDC__ conditionals.
57167         * libio/libioP.h: Likewise.
57168         * locale/programs/config.h: Likewise.
57169         * sysdeps/generic/sysdep.h: Likewise.
57170         * sysdeps/i386/asm-syntax.h: Likewise.
57171         * sysdeps/s390/asm-syntax.h: Likewise.
57172         * sysdeps/unix/sysdep.h: Likewise.
57173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57176 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57178         * libio/libio.h: Remove __STDC__ conditionals.
57179         * malloc/obstack.h: Likewise.
57180         * math/complex.h: Likewise.
57181         * math/math.h: Likewise.
57182         * sysdeps/generic/_G_config.h: Likewise.
57183         * sysdeps/gnu/_G_config.h: Likewise.
57184         * sysdeps/mach/hurd/_G_config.h: Likewise.
57185         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57186         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57187         * sysdeps/sparc/bits/mathdef.h: Likewise.
57189 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57191         [BZ #13583]
57192         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57193         Clean up HAS_* macros.
57194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57195         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57196         possible.
57197         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57198         HAS_AVX.
57199         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57200         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57201         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57202         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57203         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57205 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57207         * elf/tst-unique3.cc (gets): Remove declaration.
57208         * elf/tst-unique3lib.cc (gets): Likewise.
57209         * elf/tst-unique3lib2.cc (gets): Likewise.
57210         * elf/tst-unique4.cc (gets): Likewise.
57212 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57214         * include/stdio.h: Add C++ protection.  Add gets declarations and
57215         definitions.
57216         * debug/tst-chk1.c: Don't declare gets here.
57217         * stdio-common/tst-gets.c: Likewise.
57219 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57221         * posix/glob: Remove directory.
57223 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57225         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57227 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57229         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57230         of the non-standard EPFNOSUPPORT.
57232 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57234         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57235         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57236         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57238 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57240         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57242 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57244         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57245         transient errors.
57246         * nscd/grpcache.c (cache_addgr): Likewise.
57247         * nscd/hstcache.c (cache_addhst): Likewise.
57248         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57249         * nscd/pwdcache.c (cache_addpw): Likewise.
57250         * nscd/servicescache.c (cache_addserv): Likewise.
57252 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57254         * malloc/malloc.c: Various cleanups.
57255         * malloc/hooks.c: Likewise.
57257         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57258         * stdlib/bug-fmtmsg1.c: New file.
57260         * stdlib/fmtmsg.c (init): Add missing unlock.
57261         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57263 2012-01-12  Marek Polacek  <polacek@redhat.com>
57265         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57266         and _GNU_SOURCE.
57268 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57270         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57271         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57272         macro to ensure uniqueness of label name.
57273         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57274         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57276 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57278         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57280         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57281         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57282         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57283         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57285 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57287         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57289         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57290         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57291         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57293         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57295         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57296         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57297         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57298         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57300         * math/bits/math-finite.h: Add ldexp support.
57302 2012-01-10  Marek Polacek  <polacek@redhat.com>
57304         * locale/programs/localedef.h (show_archive_content): Add noreturn
57305         attribute.
57307 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57309         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57311 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57313         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57315         * io/Makefile (headers): Add bits/poll2.h.
57317 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57320         typo #include statement.
57322 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57324         * include/sys/cdefs.h: Define __attribute_alloc_size.
57325         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57326         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57327         * elf/pldd.c: Likewise.
57328         * iconv/iconv_charmap.c: Likewise.
57329         * iconv/iconvconfig.c: Likewise.
57330         * iconv/strtab.c: Likewise.
57331         * locale/programs/locale.c: Likewise.
57332         * locale/programs/localedef.h: Likewise.
57333         * locale/programs/simple-hash.c: Likewise.
57334         * nscd/nscd.h: Likewise.
57335         * nss/makedb.c: Likewise.
57336         * sysdeps/generic/ldconfig.h: Likewise.
57337         * locale/programs/localedef.c: Remove xmalloc prototype.
57338         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57340 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57342         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57343         appropriate.
57345 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57347         * math/Makefile (tests): Add tst-CMPLX.
57348         * math/tst-CMPLX.c: New file.
57350         * math/complex.h (CMPLXL): Fix typo.
57352         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57353         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57354         GLIBC_2.16.
57355         * debug/tst-chk1.c: Add poll and ppoll tests.
57356         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57357         * include/sys/poll.h: Add hidden proto for ppoll.
57358         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57359         * sysdeps/mach/hurd/ppoll.c: Likewise.
57360         * io/ppoll.c: Likewise.
57361         * debug/poll_chk.c: New file.
57362         * debug/ppoll_chk.c: New file.
57363         * include/bits/poll2.h: New file.
57364         * io/bits/poll2.h: New file.
57366         [BZ #1350]
57367         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57369         * configure.in: static is always set to yes.  Remove.
57370         * config.make.in: Don't set build-static.
57371         * Makeconfig: Remove use of build-static.
57372         * dlfcn/Makefile: Likewise.
57373         * elf/Makefile: Likewise.
57374         * math/Makefile: Likewise.
57375         * misc/Makefile: Likewise.
57376         * nptl/Makefile: Likewise.
57377         * sysdeps/mach/hurd/Makefile: Likewise.
57379         * configure.in: PWD_P is not used anymore.
57380         * config.make.in: Remove PWD_P entry.
57382         * configure.in: Remove last remnants of RANLIB.
57383         No need to check for signed size_t anymore.
57384         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57385         and IA-64.
57386         Remove __builtin_expect test because we require at least gcc 3.4.
57387         * aclocal.m4: Likewise.
57389         * wcsmbs/mbrtoc16.c: Implement using towc function.
57390         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57391         * wcsmbs/wcsmbsload.c: Likewise.
57392         * iconv/gconv_simple.c: Likewise.
57393         * iconv/gconv_int.h: Likewise.
57394         * iconv/gconv_builtin.h: Likewise.
57395         * iconv/iconv_prog.c: Remove CHAR16 handling.
57397         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57399         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57401         * configure.in: Remove --with-elf and --enable-bounded options.
57402         Dont set base_machine for ia64.  More non-ELF conditions removed.
57403         Remove testing and setting of leading underscore information.
57404         * config.make.in (build-bounded): Set to no.
57405         * config.h.in: Remove NO_UNDERSCORES entry.
57406         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57407         them.
57408         * csu/start.c: Remove !NO_UNDERSCORE code.
57409         * locale/localeinfo.h: Likewise.
57410         * sysdeps/generic/machine-gmon.h: Likewise.
57411         * sysdeps/generic/sysdep.h: Likewise.
57412         * sysdeps/i386/sysdep.h: Likewise.
57413         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57414         * sysdeps/mach/sysdep.h: Likewise.
57415         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57416         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57417         * sysdeps/sh/sysdep.h: Likewise.
57418         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57419         * sysdeps/unix/i386/sysdep.S: Likewise.
57420         * sysdeps/unix/sparc/start.c: Likewise.
57421         * sysdeps/unix/sparc/sysdep.S: Likewise.
57422         * sysdeps/unix/sparc/sysdep.h: Likewise.
57423         * sysdeps/unix/start.c: Likewise.
57424         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57425         * sysdeps/x86_64/sysdep.h: Likewise.
57427 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57429         [BZ #13553]
57430         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57431         for non-gcc.
57432         * argp/argp-fmtstream.h: Use const instead __const.
57433         * argp/argp.h: Likewise.
57434         * assert/assert.h: Likewise.
57435         * bits/fenv.h: Likewise.
57436         * bits/sched.h: Likewise.
57437         * bits/sigset.h: Likewise.
57438         * bits/sigthread.h: Likewise.
57439         * catgets/nl_types.h: Likewise.
57440         * conform/data/pthread.h-data: Likewise.
57441         * crypt/crypt-private.h: Likewise.
57442         * crypt/crypt.h: Likewise.
57443         * crypt/crypt_util.c: Likewise.
57444         * ctype/ctype.h: Likewise.
57445         * debug/execinfo.h: Likewise.
57446         * debug/mbsnrtowcs_chk.c: Likewise.
57447         * debug/mbsrtowcs_chk.c: Likewise.
57448         * debug/wcsnrtombs_chk.c: Likewise.
57449         * debug/wcsrtombs_chk.c: Likewise.
57450         * debug/wcstombs_chk.c: Likewise.
57451         * dirent/dirent.h: Likewise.
57452         * dlfcn/dlfcn.h: Likewise.
57453         * elf/neededtest4.c: Likewise.
57454         * grp/grp.h: Likewise.
57455         * gshadow/gshadow.h: Likewise.
57456         * iconv/gconv.h: Likewise.
57457         * iconv/gconv_int.h: Likewise.
57458         * iconv/gconv_simple.c: Likewise.
57459         * iconv/iconv.h: Likewise.
57460         * iconv/loop.c: Likewise.
57461         * iconv/skeleton.c: Likewise.
57462         * include/aio.h: Likewise.
57463         * include/aliases.h: Likewise.
57464         * include/argz.h: Likewise.
57465         * include/arpa/inet.h: Likewise.
57466         * include/assert.h: Likewise.
57467         * include/dirent.h: Likewise.
57468         * include/dlfcn.h: Likewise.
57469         * include/execinfo.h: Likewise.
57470         * include/fcntl.h: Likewise.
57471         * include/fenv.h: Likewise.
57472         * include/glob.h: Likewise.
57473         * include/grp.h: Likewise.
57474         * include/libintl.h: Likewise.
57475         * include/mntent.h: Likewise.
57476         * include/netdb.h: Likewise.
57477         * include/pwd.h: Likewise.
57478         * include/rpc/netdb.h: Likewise.
57479         * include/sched.h: Likewise.
57480         * include/search.h: Likewise.
57481         * include/shadow.h: Likewise.
57482         * include/signal.h: Likewise.
57483         * include/stdio.h: Likewise.
57484         * include/stdlib.h: Likewise.
57485         * include/string.h: Likewise.
57486         * include/sys/socket.h: Likewise.
57487         * include/sys/stat.h: Likewise.
57488         * include/sys/statfs.h: Likewise.
57489         * include/sys/statvfs.h: Likewise.
57490         * include/sys/syslog.h: Likewise.
57491         * include/sys/time.h: Likewise.
57492         * include/sys/uio.h: Likewise.
57493         * include/time.h: Likewise.
57494         * include/unistd.h: Likewise.
57495         * include/utmp.h: Likewise.
57496         * include/wchar.h: Likewise.
57497         * include/wctype.h: Likewise.
57498         * inet/aliases.h: Likewise.
57499         * inet/arpa/inet.h: Likewise.
57500         * inet/netinet/ether.h: Likewise.
57501         * inet/netinet/in.h: Likewise.
57502         * intl/libintl.h: Likewise.
57503         * io/bits/fcntl2.h: Likewise.
57504         * io/fcntl.h: Likewise.
57505         * io/ftw.h: Likewise.
57506         * io/sys/poll.h: Likewise.
57507         * io/sys/stat.h: Likewise.
57508         * io/sys/statfs.h: Likewise.
57509         * io/sys/statvfs.h: Likewise.
57510         * io/utime.h: Likewise.
57511         * libio/bits/stdio.h: Likewise.
57512         * libio/bits/stdio2.h: Likewise.
57513         * libio/libio.h: Likewise.
57514         * libio/libioP.h: Likewise.
57515         * libio/stdio.h: Likewise.
57516         * locale/lc-ctype.c: Likewise.
57517         * locale/locale.h: Likewise.
57518         * login/utmp.h: Likewise.
57519         * malloc/arena.c: Likewise.
57520         * malloc/malloc.c: Likewise.
57521         * malloc/malloc.h: Likewise.
57522         * malloc/mcheck.c: Likewise.
57523         * malloc/mtrace.c: Likewise.
57524         * math/bits/mathcalls.h: Likewise.
57525         * math/fenv.h: Likewise.
57526         * math/math_private.h: Likewise.
57527         * misc/bits/error.h: Likewise.
57528         * misc/bits/syslog.h: Likewise.
57529         * misc/err.h: Likewise.
57530         * misc/error.h: Likewise.
57531         * misc/fstab.h: Likewise.
57532         * misc/mntent.h: Likewise.
57533         * misc/regexp.h: Likewise.
57534         * misc/search.h: Likewise.
57535         * misc/sgtty.h: Likewise.
57536         * misc/sys/mman.h: Likewise.
57537         * misc/sys/syslog.h: Likewise.
57538         * misc/sys/uio.h: Likewise.
57539         * misc/sys/xattr.h: Likewise.
57540         * misc/ttyent.h: Likewise.
57541         * nis/rpcsvc/ypclnt.h: Likewise.
57542         * nss/nss.h: Likewise.
57543         * posix/bits/unistd.h: Likewise.
57544         * posix/fnmatch.h: Likewise.
57545         * posix/glob.h: Likewise.
57546         * posix/sched.h: Likewise.
57547         * posix/spawn.h: Likewise.
57548         * posix/sys/wait.h: Likewise.
57549         * posix/unistd.h: Likewise.
57550         * posix/wordexp.h: Likewise.
57551         * pwd/pwd.h: Likewise.
57552         * resolv/netdb.h: Likewise.
57553         * resource/sys/resource.h: Likewise.
57554         * rt/aio.h: Likewise.
57555         * rt/bits/mqueue2.h: Likewise.
57556         * rt/mqueue.h: Likewise.
57557         * shadow/shadow.h: Likewise.
57558         * signal/signal.h: Likewise.
57559         * socket/send.c: Likewise.
57560         * socket/sendto.c: Likewise.
57561         * socket/sys/socket.h: Likewise.
57562         * stdio-common/printf.h: Likewise.
57563         * stdlib/bits/stdlib.h: Likewise.
57564         * stdlib/fmtmsg.h: Likewise.
57565         * stdlib/monetary.h: Likewise.
57566         * stdlib/stdlib.h: Likewise.
57567         * stdlib/ucontext.h: Likewise.
57568         * streams/stropts.h: Likewise.
57569         * string/argz.h: Likewise.
57570         * string/bits/string2.h: Likewise.
57571         * string/string.h: Likewise.
57572         * string/strings.h: Likewise.
57573         * sunrpc/rpc/auth.h: Likewise.
57574         * sunrpc/rpc/auth_des.h: Likewise.
57575         * sunrpc/rpc/clnt.h: Likewise.
57576         * sunrpc/rpc/netdb.h: Likewise.
57577         * sunrpc/rpc/pmap_clnt.h: Likewise.
57578         * sunrpc/rpc/xdr.h: Likewise.
57579         * sysdeps/generic/inttypes.h: Likewise.
57580         * sysdeps/generic/net/if.h: Likewise.
57581         * sysdeps/generic/sys/swap.h: Likewise.
57582         * sysdeps/gnu/net/if.h: Likewise.
57583         * sysdeps/gnu/utmpx.h: Likewise.
57584         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57585         * sysdeps/i386/i486/bits/string.h: Likewise.
57586         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57587         * sysdeps/s390/bits/string.h: Likewise.
57588         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57589         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57590         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57591         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57592         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57593         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57594         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57595         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57596         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57597         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57598         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57599         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57600         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57601         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57602         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57603         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57604         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57606         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57608         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57609         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57610         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57611         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57612         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57613         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57614         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57615         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57616         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57617         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57618         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57619         * sysvipc/sys/ipc.h: Likewise.
57620         * sysvipc/sys/msg.h: Likewise.
57621         * sysvipc/sys/sem.h: Likewise.
57622         * sysvipc/sys/shm.h: Likewise.
57623         * termios/termios.h: Likewise.
57624         * time/sys/time.h: Likewise.
57625         * time/time.h: Likewise.
57626         * wcsmbs/bits/wchar2.h: Likewise.
57627         * wcsmbs/uchar.h: Likewise.
57628         * wcsmbs/wchar.h: Likewise.
57629         * wctype/wctype.h: Likewise.
57631         [BZ #13551]
57632         * Makeconfig: Remove all but ELF support including AIX support.
57633         * Makerules: Likewise.
57634         * config.h.in: Likewise.
57635         * config.make.in: Likewise.
57636         * configure: Likewise.
57637         * configure.in: Likewise.
57638         * csu/Makefile: Likewise.
57639         * csu/version.c: Likewise.
57640         * debug/Makefile: Likewise.
57641         * dlfcn/Makefile: Likewise.
57642         * elf/Makefile: Likewise.
57643         * extra-lib.mk: Likewise.
57644         * iconv/Makefile: Likewise.
57645         * include/libc-symbols.h: Likewise.
57646         * include/shlib-compat.h: Likewise.
57647         * resolv/Makefile: Likewise.
57648         * resolv/res_libc.c: Likewise.
57649         * rt/Makefile: Likewise.
57650         * sysdeps/i386/asm-syntax.h: Likewise.
57651         * sysdeps/i386/sysdep.h: Likewise.
57652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57653         * sysdeps/mach/sysdep.h: Likewise.
57654         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57655         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57656         * sysdeps/s390/asm-syntax.h: Likewise.
57657         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57658         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57659         * sysdeps/sh/sysdep.h: Likewise.
57660         * sysdeps/unix/sparc/sysdep.h: Likewise.
57661         * sysdeps/wordsize-32/divdi3.c: Likewise.
57662         * sysdeps/x86_64/sysdep.h: Likewise.
57664         * argp/Versions: Remove _argp_unlock_xxx.
57666         [BZ #13559]
57667         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57668         * abilist/libBrokenLocale.abilist: Likewise.
57669         * abilist/libanl.abilist: Likewise.
57670         * abilist/libc.abilist: Likewise.
57671         * abilist/libcrypt.abilist: Likewise.
57672         * abilist/libdl.abilist: Likewise.
57673         * abilist/libm.abilist: Likewise.
57674         * abilist/libnsl.abilist: Likewise.
57675         * abilist/libpthread.abilist: Likewise.
57676         * abilist/libresolv.abilist: Likewise.
57677         * abilist/librt.abilist: Likewise.
57678         * abilist/libthread_db.abilist: Likewise.
57679         * abilist/libutil.abilist: Likewise.
57680         * abilist/libnss_db.abilist: New file.
57682         * scripts/abilist.awk: Add support for indirect functions.
57684         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57686         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57688         * shlib-versions: Remove entries for ports architectures.
57690         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57691         files in ports.
57692         * elf/stackguard-macros.h: Remove support for IA-64.
57693         * elf/tst-auditmod1.c: Likewise.
57694         * sysdeps/generic/ldsodefs.h: Likewise.
57696         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57697         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57698         configure files.
57700         [BZ #13552]
57701         * configure.in: Remove --enable-omitfp support.
57702         * FAQ.in: Adjust.
57703         * config.make.in: Likewise.
57704         * Makeconfig: Likewise.
57705         * manual/install.texi: Likewise.
57707         In case anyone cares, the IA-64 architecture could move to ports.
57708         * sysdeps/ia64/*: Removed.
57709         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57710         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57712         [BZ #13555]
57713         * configure.in: Remove entries for unsupported architectures.
57715         [BZ #13533]
57716         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57717         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57718         routines.
57719         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57720         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57721         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57722         fall back to using wcrtomb.
57723         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57724         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57725         renaming.
57726         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57727         * wcsmbs/tst-c16c32-1.c: New file.
57729         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57730         local variable.
57732         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57734         * elf/tst-unique3.cc: Add explicit declaration of gets.
57735         * elf/tst-unique3lib.cc: Likewise.
57736         * elf/tst-unique3lib2.cc: Likewise.
57737         * elf/tst-unique4.cc: Likewise.
57739         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57741 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57743         [BZ #13566]
57744         * assert/assert.h (static_assert): Don't define for C++.
57745         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57746         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57748 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57750         * iconv/loop.c (single loop): Fix assertion in storing of
57751         remaining bytes.
57753         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57755 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57757         * posix/getconf.c: Update copyright year.
57758         * nss/getent.c: Likewise.
57759         * nss/makedb.c: Likewise.
57760         * iconv/iconvconfig.c: Likewise.
57761         * iconv/iconv_prog.c: Likewise.
57762         * elf/ldconfig.c: Likewise.
57763         * elf/pldd.c: Likewise.
57764         * elf/sotruss.ksh: Likewise.
57765         * catgets/gencat.c: Likewise.
57766         * csu/version.c: Likewise.
57767         * elf/ldd.bash.in: Likewise.
57768         * elf/sprof.c (print_version): Likewise.
57769         * locale/programs/locale.c: Likewise.
57770         * locale/programs/localedef.c: Likewise.
57771         * login/programs/pt_chown.c: Likewise.
57772         * nscd/nscd.c (print_version): Likewise.
57773         * debug/xtrace.sh: Likewise.
57774         * malloc/memusage.sh: Likewise.
57775         * malloc/mtrace.pl: Likewise.
57776         * debug/catchsegv.sh: Likewise.
57778 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57780         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57781         pure attribute.
57783 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57785         [BZ #13533]
57786         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57787         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57788         transformations.
57789         * iconv/gconv_int.h: Likewise.
57790         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57791         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57792         from libc for GLIBC_2.16.
57793         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57794         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57795         * wcsmbs/uchar.h: Really define mbstate_t.
57796         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57797         * wcsmbs/c16rtomb.c: New file.
57798         * wcsmbs/mbrtoc16.c: New file.
57799         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57800         for C/POSIX locale.
57801         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57802         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57804         * wcsmbs/wchar.h: Add missing __restrict.
57806 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57808         [BZ #13532]
57809         * time/Makefile (routines): Add timespec_get.
57810         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57811         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57812         timespec for ISO C11.
57813         * time/timespec_get.c: New file.
57814         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57815         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57817         [BZ #13531]
57818         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57819         * stdlib/stdlib.h: Declare aligned_alloc.
57820         * Versions.def: Add GLIBC_2.16 for libc.
57821         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57823         [BZ 13527]
57824         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57825         ISO C11.
57827         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57828         code.
57830         [BZ #13528]
57831         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57833         [BZ #13529]
57834         * assert/assert.h (static_assert): Define.
57836         * version.h: Update for 2.16 development version.
57838         [BZ #13526]
57839         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57840         _ISOC11_SOURCE.
57842         * version.h (RELEASE): Bump for 2.15 release.
57843         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57845         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57846         Patch by Marek Polacek <mpolacek@redhat.com>.
57848         * bits/byteswap.h: Protect long long constants with __extension__.
57849         * sysdeps/i386/bits/byteswap.h: Likewise.
57850         * sysdeps/ia64/bits/byteswap.h: Likewise.
57851         * sysdeps/s390/bits/byteswap.h: Likewise.
57852         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57854 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57856         [BZ #13540]
57857         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57858         destination buffer.
57859         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57861 2011-12-23  Marek Polacek  <polacek@redhat.com>
57863         * elf/dl-addr.c (determine_info): Add inline keyword.
57864         * elf/tst-auditmod4b.c (check_avx): Likewise.
57865         * elf/tst-auditmod6b.c (check_avx): Likewise.
57866         * elf/tst-auditmod6c.c (check_avx): Likewise.
57867         * elf/tst-auditmod7b.c (check_avx): Likewise.
57869 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57871         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57872         !__SSE_MATH__.
57874 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57876         [BZ #13540]
57877         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57878         processing for last bytes.
57880 2011-08-06  Bruno Haible  <bruno@clisp.org>
57882         [BZ #13061]
57883         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57884         U+0385, not to U+1FEE.
57886         [BZ #13062]
57887         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57888         entry for U+00A5 U+0301.
57890 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57892         [BZ #13166]
57893         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57894         buffer for the output is too small.
57896         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57897         optimization.
57899         [BZ #13185]
57900         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57901         SSE flags if possible.
57903 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57905         [BZ #13540]
57906         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57907         processing for last bytes.
57909 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57911         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57912         (syscall-list-default-options, syscall-list-default-condition)
57913         (syscall-list-includes): Define.
57914         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57915         list of ABIs and options and #if conditions for each ABI.  Do not
57916         handle common syscalls between ABIs specially.
57917         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57918         Remove.
57919         (syscall-list-variants, syscall-list-32bit-options)
57920         (syscall-list-32bit-condition, syscall-list-64bit-options)
57921         (syscall-list-64bit-condition): Define.
57922         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57923         (syscall-list-variants, syscall-list-32bit-options)
57924         (syscall-list-32bit-condition, syscall-list-64bit-options)
57925         (syscall-list-64bit-condition): Define.
57926         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57927         Remove.
57928         (syscall-list-variants, syscall-list-32bit-options)
57929         (syscall-list-32bit-condition, syscall-list-64bit-options)
57930         (syscall-list-64bit-condition): Define.
57931         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57932         Remove.
57933         (syscall-list-variants, syscall-list-32bit-options)
57934         (syscall-list-32bit-condition, syscall-list-64bit-options)
57935         (syscall-list-64bit-condition): Define.
57937 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57939         * locale/iso-639.def: Add brx entry.
57941         [BZ #13328]
57942         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57943         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57945         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57946         __feraiseexcept_renamed.
57948 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57950         [BZ #13538]
57951         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57952         EPOLLET with unsigned values.
57953         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57954         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57956         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57957         to large cancellation.
57958         * math/s_cacoshf.c: Likewise.
57959         * math/s_cacoshl.c: Likewise.
57961 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57963         [BZ #13305]
57964         [BZ #12786]
57965         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57966         * math/s_cacoshf.c: Likewise.
57967         * math/s_cacoshl.c: Likewise.
57969 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57971         [BZ #13439]
57972         * iconv/gconv.h: Define __GCONV_SWAP.
57973         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57974         * iconvdata/utf-16.c: Likewise.
57975         * iconvdata/utf-32.c: Likewise.
57977 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57979         [BZ #13524]
57980         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57981         numerator after shifting it by one limb.
57983 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57985         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57986         under [__USE_EXTERN_INLINES].
57988 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57990         [BZ #13446]
57991         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57993 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57995         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57996         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57997         optimized code.
57998         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57999         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58000         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58001         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58002         for strncasecmp/strncasecmp_l compilation.
58003         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58004         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58006 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
58008         [BZ #13484]
58009         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58010         of __asm__.
58012 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58014         [BZ #13506]
58015         * time/tzfile.c (__tzfile_read): Check values from file header.
58017 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58019         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58020         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58021         * powerpc/powerpc32/dl-start.S: Likewise.
58022         * powerpc/powerpc32/elf/start.S: Likewise.
58023         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58024         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58025         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58026         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58027         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58028         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58029         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58030         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58031         * powerpc/powerpc32/fpu/s_round.S: Likewise.
58032         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58033         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58034         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58035         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58036         * powerpc/powerpc32/memset.S: Likewise.
58037         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58038         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58039         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58040         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58041         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58042         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58043         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58044         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58045         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58046         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58047         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58048         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58049         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58051 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58053         * math/libm-test.inc: Added more nearbyint tests.
58054         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58055         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58057         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58059 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
58061         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58062         FD_CLOEXEC.
58064 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58066         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58067         Add wcscpy-ssse3 wcscpy-c.
58068         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58069         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58070         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58071         * sysdeps/x86_64/wcschr.S: New file.
58072         * sysdeps/x86_64/wcsrchr.S: New file.
58073         * string/test-strcmp.c: Remove checking of wcscmp function for
58074         wrong alignments.
58075         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58076         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58077         wcsrchr-sse2 wcsrchr-c.
58078         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58079         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58080         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58081         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58082         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58083         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58084         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58085         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58086         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58087         * wcsmbc/wcschr.c (WCSCHR): New macro.
58089 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58091         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58092         * wcsmbs/test-wcsrchr.c: New file.
58093         * string/test-strrchr.c: Add wcsrchr support.
58094         (WIDE): New macro.
58095         * wcsmbs/test-wcscpy.c: New file.
58096         * string/test-strcpy.c: Add wcscpy support.
58097         (WIDE): New macro.
58099 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58101         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58102         the inner loop.
58104 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58106         [BZ #13472]
58107         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58109 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58111         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58112         Minor optimizations.
58114         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58115         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58116         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58118 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58120         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58121         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58122         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58123         for gcc to avoid warnings.
58124         * inet/Makefile (tests): Add tst-checks.
58125         * inet/tst-checks.c: New file.
58127         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58128         warning.
58130         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58131         __wmemcmp_sse2.
58133         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58134         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58136         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58138 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58140         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58141         problem.
58143         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58145 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58147         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58148         conditional on GCC version.
58149         (__arch_compare_and_exchange_val_8_acq)
58150         (__arch_compare_and_exchange_val_16_acq)
58151         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58152         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58153         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58155 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58157         * sysdeps/sh/backtrace.c: New file.
58159 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58161         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58162         parenthesis.
58164 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58166         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58167         falling back to utime.
58169 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58171         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58172         expectations for float.
58174 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58176         * locale/weight.h (findidx): Add parameter len.
58177         * locale/weightwc.h (findidx): Likewise.
58178         * posix/fnmatch_loop.c (FCT): Adjust caller.
58179         * posix/regcomp.c (build_equiv_class): Likewise.
58180         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58181         * posix/regexec.c (check_node_accept_bytes): Likewise.
58182         * string/strcoll_l.c (STRCOLL): Likewise.
58183         * string/strxfrm_l.c (STRXFRM): Likewise.
58185 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58187         * Makefile.in: Remove CVSOPT handling.
58188         * configure.in: Remove use of AC_REVISION.
58189         * iconvdata/Makefile (distribute): No need to filter out CVS.
58190         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58191         handling.
58193 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58195         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58196         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58197         [USE_AS_STRNCASECMP_L]: Likewise.
58198         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58199         NO_TLS_DIRECT_SEG_REFS.
58200         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58201         Fix argument offsets for non-PIC.
58202         [USE_AS_STRNCASECMP_L]: Likewise.
58203         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58204         NO_TLS_DIRECT_SEG_REFS.
58206 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58208         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58209         O_CLOEXEC.
58210         * locale/loadlocale.c (_nl_load_locale): Likewise.
58212 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58215         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58216         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58217         (SYSCALL_GETTIME): Set errno on error.
58219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58220         count references to noai6ai_cached.
58222 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58224         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58226         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58227         FD_CLOEXEC for /proc/self/maps.
58229         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58230         FD_CLOEXEC for /proc/meminfo.
58232         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58233         gai.conf.
58235         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58236         FD_CLOEXEC for given file.
58238         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58240         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58241         FD_CLOEXEC for /etc/hosts.
58242         (_gethtent): Likewise.
58244         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58246         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58247         cancellation and set FD_CLOEXEC for /etc/netgroup.
58249         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58250         reading /etc/publickey.
58252         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58253         allow cancellation when reading /etc/group.
58255         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58256         cancellation.
58257         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58259         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58260         when using data file.
58262         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58264         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58265         (write_nis_obj): Use "c" and "e" in fopen.
58267         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58269         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58271         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58273         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58275         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58276         locale.alias.
58278         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58280         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58282         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58284         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58285         file parsing and set FD_CLOEXEC.
58287 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58289         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58291 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58293         * malloc/arena.c (arena_get2): Don't call reused_arena when
58294         _int_new_arena failed.
58296 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58298         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58299         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58300         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58301         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58302         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58303         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58304         to compile strcasecmp and strncasecmp.
58305         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58306         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58310 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58312         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58313         locale-defines.sym to gen-as-const-headers.
58314         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58315         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58317         to compile strcasecmp and strncasecmp.
58318         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58319         strcasecmp_l and strncasecmp_l.
58320         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58321         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58322         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58323         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58324         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58325         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58326         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58327         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58328         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58329         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58330         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58332 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58334         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58335         result of SYSDEP_GETTIME_CPU to retval.
58336         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58337         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58339         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58340         variable.
58342         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58343         mantissa words.
58344         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58346         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58347         from unused variable.
58349         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58350         DWARF definitions.
58351         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58352         for assembling.
58354         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58355         over namespaces.
58357         * sunrpc/rpc_prot.c (rejected): Fix case value.
58359         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58360         unsigned long long int to avoid warnings in shift.
58362         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58363         of use of trans.
58364         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58365         variable tmp.
58367         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58368         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58369         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58371         * nis/nis_table.c (nis_list): Use variable of correct type for
58372         result of __follow_path call.
58374 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58376         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58377         of math functions ceil, trunc, floor, round, and sqrt, when
58378         avaliable on the platform.
58379         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58380         name clash.
58381         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58382         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58383         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58385 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58387         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58388         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58390 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58392         * include/unistd.h: Fix __readlink return type.
58393         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58395 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58397         * stdlib/ucontext.h: Undo last change for makecontext.
58399 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58401         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58403         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58404         * setjmp/setjmp.h: Mark functions as non-leaf.
58405         * setjmp/bits/setjmp2.h: Likewise.
58406         * stdlib/ucontext.h: Likewise.
58408 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58410         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58411         (reused_arena): Don't check arena limit.
58412         (arena_get2): Atomically check arena limit.
58414 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58416         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58417         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58420         instructions.
58422 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58424         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58425         handler when locking.
58427         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58428         Fix size of allocated buffer.
58430 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58432         [BZ #10103]
58433         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58434         declarations for long double functions.
58435         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58437         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58439 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58441         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58442         installed.
58444         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58445         is disabled.
58447 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58449         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58451 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58453         * include/alloca.h (stackinfo_alloca_round): Define.
58454         (extend_alloca): Use it.
58455         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58456         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58457         here.
58459         * scripts/check-local-headers.sh: Ignore libaudit.h.
58461         * nscd/Makefile (extra-objs): Make recursively expanded.
58463 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58465         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58466         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58468         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58469         * posix/tst-rfc3484-2.c: Likewise.
58470         * posix/tst-rfc3484-3.c: Likewise.
58472         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58473         process_vm_writev.
58474         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58475         process_vm_writev.
58476         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58477         process_vm_writev from libc using GLIBC_2.15 version.
58479         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58481 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58483         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58484         stack usage.
58486 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58488         [BZ #13367]
58489         * nss/getent.c (initgroups_keys): Show error message in case no group
58490         names are given.
58492         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58493         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58494         __bump_nl_timestamp.
58495         * nscd/connections (nscd_init): When host database is served open
58496         netlink socket and request notification about configuration changes.
58497         (main_loop_poll): Track netlink file descriptor and bump timestamp
58498         in case data becomes available.
58499         (main_loop_epoll): Likewise.
58500         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58501         (database_pers_head): Add extra_data fileds.
58502         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58503         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58504         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58505         Adjust caller.
58506         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58507         in6ai data, call __free_in6ai.
58508         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58509         Add -DHAVE_NETLINK.
58510         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58511         interface information.  Reuse previous data if netlink timestamp
58512         is not changed.
58513         (__bump_nl_timestamp): New function.
58514         (__free_in6ai): New function.
58516 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58518         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58519         close_not_cancel_no_status here.
58520         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58522 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58524         [BZ #13276]
58525         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58526         return value.
58528         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58529         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58530         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58532 2011-07-03  Andreas Jaeger  <aj@suse.de>
58534         [BZ #10709]
58535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58536         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58537         * math/libm-test.inc (sin_test): Add test case.
58539 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58541         [BZ #13337]
58542         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58543         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58545         * elf/chroot_canon.c (chroot_canon): Cleanups.
58547         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58549         [BZ #13335]
58550         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58551         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58553         * string/test-strchr.c: Make usable for strchrnul testing.
58554         * string/test-strchrnul.c: New file.
58555         * string/Makefile (strop-tests): Add strchrnul.
58557         * po/it.po: Update from translation team.
58558         * po/es.po: Likewise.
58560 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58562         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58563         the three constants needed as parameters.  Drop the others.
58564         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58565         __m128i_strloadu_tolower.
58566         Create and initialize variable zero and use it in all the places
58567         where _mm_setzero_si128 was used.
58569         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58570         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58571         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58572         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58573         anymore.
58574         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58575         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58576         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58577         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58578         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58579         __mpranred, __mptan.
58580         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58581         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58582         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58583         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58584         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58585         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58586         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58587         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58588         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58590 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58592         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58593         redefine if SHARED.
58594         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58597         wide char related routines to wcsmbs subdir.
58599 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58601         [BZ #13344]
58602         * misc/sys/cdefs.h (__THROWNL): Define.
58603         * posix/unistd.h: Use __THREADNL instead of __THREAD
58604         for memory synchronization functions.
58606 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58608         [BZ #13349]
58609         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58610         doesn't exist.
58611         * manual/stdio.texi (Obstack Streams): Node removed.
58613 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58615         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58616         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58617         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58619         * math/math_private.h (math_force_eval): Allow non-addressable
58620         arguments.
58621         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58623 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58625         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58626         file is not needed.
58628         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58629         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58630         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58631         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58632         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58633         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58634         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58635         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58636         Add AVX variants.
58637         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58638         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58639         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58640         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58641         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58642         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58643         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58644         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58645         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58646         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58647         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58648         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58649         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58650         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58651         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58652         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58653         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58654         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58655         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58657         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58658         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58660         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58661         place.  Use VEX encoding when compiling for AVX.
58663 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58665         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58666         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58668         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58670 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58672         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58673         useless if() expression.
58674         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58675         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58676         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58677         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58678         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58679         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58680         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58681         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58682         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58683         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58684         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58685         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58686         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58687         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58688         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58689         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58690         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58691         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58692         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58694         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58696 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58698         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58699         condition.
58700         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58702 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58704         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58705         .text section.  Avoid duplicate constants.
58706         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58708         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58714         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58715         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58716         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58717         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58718         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58719         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58720         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58721         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58722         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58723         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58724         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58725         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58726         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58727         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58728         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58729         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58730         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58731         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58732         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58733         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58734         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58735         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58736         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58737         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58738         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58739         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58740         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58741         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58742         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58743         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58744         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58745         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58746         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58747         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58748         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58749         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58750         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58752 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58754         * sysdeps/x86_64/dla.h: Move to ...
58755         * sysdeps/x86_64/fpu/dla.h: ...here.
58756         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58757         situations.  Use __builtin_fma only for gcc 4.6 and up.
58759         * config.make.in: Add have-mfma4 entry.
58760         * configure.in: Substitute libc_cv_cc_fma4.
58761         * math/Makefile (dbl-only-routines): Add sincostab.
58762         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58763         Use __sincostab not sincos.
58764         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58765         name is a macro.
58766         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58770         using __copysign.
58771         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58772         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58773         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58774         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58775         and __inv.
58776         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58777         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58778         __copysign.
58779         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58780         define aliases when function name is a macro.
58781         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58782         sysdeps/ieee754/dbl-64/sincos.tbl.
58783         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58784         fma4-enabled routines.
58785         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58786         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58787         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58788         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58789         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58790         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58791         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58792         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58793         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58794         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58795         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58796         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58797         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58798         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58800         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58801         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58802         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58803         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58805         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58806         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58808         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58809         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58810         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58811         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58812         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58813         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58814         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58816         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58817         rename.
58818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58819         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58820         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58821         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58822         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58823         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58824         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58827 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58829         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58831 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58833         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58835         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58836         prediction.
58837         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58839         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58840         Remove unused variable magic_bits.
58841         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58843         * string/strnlen.c: Define and use STRNLEN macro.
58844         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58845         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58846         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58847         * wcsmbs/wcslen.c: Define and use WCSLEN.
58848         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58849         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58850         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58851         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58852         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58853         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58854         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58856 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58859         strnlen-sse2-no-bsf.
58860         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58862         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58863         Add strnlen support.
58864         (USE_AS_STRNLEN): New macro.
58865         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58866         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58867         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58868         * sysdeps/x86_64/wcslen.S: New file.
58870 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58872         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58873         XMM-moves are used for copying on small sizes.
58875 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58877         * wcsmbs/Makefile (strop-tests): Add wcschr.
58878         * wcsmbs/test-wcschr.c: New file.
58879         * string/test-strchr.c: Update.
58880         Add wcschr support.
58881         (WIDE): New macro.
58883 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58885         * wcsmbs/Makefile (strop-tests): Add wcslen.
58886         * wcsmbs/test-wcslen.c: New file.
58887         * string/test-strlen.c: Update.
58888         Add wcslen support.
58889         (WIDE): New macro.
58891 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58893         * po/it.po: Update from translation team.
58895 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58897         * sysdeps/x86_64/wcscmp.S: Update.
58898         Fix wrong comparison semantics.
58899         wcscmp shall use signed comparison not unsigned.
58900         Don't use substraction to avoid overflow bug.
58901         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58902         * wcsmbc/wcscmp.c: Likewise.
58903         * string/test-strcmp.c: Likewise.
58904         Add new tests to check cases with negative values.
58906 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58908         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58909         * sysdeps/x86_64/dla.h: ...here.  New file.
58910         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58912         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58915         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58920 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58923         __ynl_finite aliases.
58925 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58929         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58930         define DLA_FMA.
58931         [DLA_FMA] (EMULV): Use DLA_FMA.
58932         [DLA_FMA] (MUL12): Use EMULV.
58933         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58934         that are not needed.
58935         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58936         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58937         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58938         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58939         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58940         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58941         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58943 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58945         * math/s_nan.c: Undef __nan.
58946         * math/s_nanf.c: Undef __nanf.
58947         * math/s_nanl.c: Undef __nanl.
58948         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58949         "math_private.h".
58951 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58953         * math/s_catan.c: Add branch predictions.
58954         * math/s_catanf.c: Likewise.
58955         * math/s_catanh.c: Likewise.
58956         * math/s_catanhf.c: Likewise.
58957         * math/s_catanhl.c: Likewise.
58958         * math/s_catanl.c: Likewise.
58959         * math/s_cexp.c: Likewise.
58960         * math/s_cexpf.c: Likewise.
58961         * math/s_cexpl.c: Likewise.
58962         * math/s_clog.c: Likewise.
58963         * math/s_clog10.c: Likewise.
58964         * math/s_clog10f.c: Likewise.
58965         * math/s_clog10l.c: Likewise.
58966         * math/s_clogf.c: Likewise.
58967         * math/s_clogl.c: Likewise.
58968         * math/s_csqrt.c: Likewise.
58969         * math/s_csqrtf.c: Likewise.
58970         * math/s_csqrtl.c: Likewise.
58971         * math/s_ctanf.c: Likewise.
58972         * math/s_ctanh.c: Likewise.
58973         * math/s_ctanhf.c: Likewise.
58974         * math/s_ctanhl.c: Likewise.
58975         * math/s_ctanl.c: Likewise.
58977         * math/math_private.h: Define __nan, __nanf, __nanl.
58978         * math/s_cacosh.c: Include <math_private.h>.
58979         * math/s_cacoshl.c: Likewise.
58980         * math/s_casinh.c: Likewise.
58981         * math/s_casinhf.c: Likewise.
58982         * math/s_casinhl.c: Likewise.
58983         * math/s_ccos.c: Rely entire on ccosh.
58984         * math/s_ccosf.c: Rely entire on ccoshf.
58985         * math/s_ccosl.c: Rely entirely on ccoshl.
58986         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58987         Remove tests for FE_INVALID.
58988         * math/s_ccoshf.c: Likewise.
58989         * math/s_ccoshl.c: Likewise.
58990         * math/s_csin.c: Likewise.
58991         * math/s_csinf.c: Likewise.
58992         * math/s_csinh.c Likewise.
58993         * math/s_csinhf.c: Likewise.
58994         * math/s_csinhl.c: Likewise.
58995         * math/s_csinl.c: Likewise.
58996         * math/s_ctan.c: Likewise.
58997         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58998         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58999         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59001 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
59003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59004         compilation problems.
59006         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59007         __builtin_expect.
59009 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
59011         * sysdeps/i386/configure.in: Test for -mfma4 option.
59012         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59013         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59014         COMMON_CPUID_INDEX_80000001.
59015         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59016         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59017         use it if FMA3 is not supported.
59018         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59020         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59021         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59023 2011-10-20  Andreas Schwab  <schwab@redhat.com>
59025         [BZ #12892]
59026         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59027         it would create a cycle with a link time dependency.
59029 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
59031         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59032         instruction.
59033         * string/Makefile (strop-tests): Add rawmemchr.
59034         * string/test-rawmemchr.c: New file.
59036         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59037         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
59038         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
59039         when compiling str{,n}casecmp and when AVX is available.  Hook up
59040         new optimized code in initializers.
59042 2011-10-19  Andreas Schwab  <schwab@redhat.com>
59044         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59045         __feraiseexcept instead of feraiseexcept.
59047 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
59049         * math/math_private.h: Define defaults for libc_fetestexcept and
59050         libc_feupdateenv.
59051         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59052         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59053         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59054         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59055         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59056         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59057         libc_fetestexcept and libc_feupdateenv.
59059         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59060         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59061         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59062         * sysdeps/x86_64/fpu/math_private.h: Define special version of
59063         libc_feholdexcept_setround.
59065         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59066         Add s_nearbyint-c and s_nearbyintf-c.
59067         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59068         nearbyintf inlines.
59069         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59070         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59071         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59072         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59074         * math/math_private.h: Define defaults for libc_fegetround,
59075         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59076         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59077         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59078         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59079         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59080         standard functions.
59081         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59082         Remove comments and hacks for old compiler versions.
59083         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59084         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59085         libc_feholdexceptl.
59087 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59089         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59090         (__feraiseexcept_renamed): Add __NTH.
59091         (feraiseexcept): Add __NTH.  Rename local variables to fix
59092         namespace violations.
59094 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59096         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59098         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59100         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59101         recently added interfaces.
59102         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59104         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59105         about macro parameter expansion.
59107         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59108         __NO_MATH_INLINES is defined.  Cleanups.
59110         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59111         and __floorf is target has SSE4.1.
59112         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59113         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59114         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59115         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59117         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59118         name.
59119         (floorf): Likewise.
59121         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59123 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59125         * misc/sys/cdefs.h: Fix last change.
59127         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59128         database lookup.
59130 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59132         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59134         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59135         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59136         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59137         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59139         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59140         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59141         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59142         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59143         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59144         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59145         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59146         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59147         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59148         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59149         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59150         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59151         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59152         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59153         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59154         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59155         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59157         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59158         ceil, ceilf, floor, floorf.
59160         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59161         Perform IRELATIVE relocations last.
59163         * elf/do-rel.h: Add another parameter nrelative, replacing the
59164         local variable with the same name.  Change name of the function
59165         to end in Rel or Rela (uppercase).
59166         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59167         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59168         elf_dynamic_do_##reloc function.
59170 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59172         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59173         is sufficient, at least on modern CPUs.
59175         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59177         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59178         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59180         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59181         __expl_finite.
59182         * math/bits/math-finite.h: Add entries for exp.
59183         * math/e_expl.c: Add __*_finite alias.
59184         * sysdeps/i386/fpu/e_exp.S: Likewise.
59185         * sysdeps/i386/fpu/e_expf.S: Likewise.
59186         * sysdeps/i386/fpu/e_expl.c: Likewise.
59187         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59188         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59190         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59191         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59192         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59193         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59195         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59196         is sufficient, at least on modern CPUs.
59198         * ctype/ctype-info.c (__ctype_init): Define.
59199         * include/ctype.h (__ctype_init): Declare.
59200         (__ctype_b_loc): The variable is always initialized.
59201         (__ctype_toupper_loc): Likewise.
59202         (__ctype_tolower_loc): Likewise.
59203         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59204         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59206 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59208         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59210         * configure.in: Also look in $cxxmachine/include for C++ system
59211         headers.
59213 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59215         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59216         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59217         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59218         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59219         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59220         (USE_AS_WMEMCMP): New macro.
59221         Fixing indents.
59222         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59223         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59224         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59225         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59227         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59228         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59229         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59230         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59231         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59232         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59233         (USE_AS_WMEMCMP): New macro.
59234         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59235         * sysdeps/string/test-memcmp.c: Update.
59236         Fix simple_wmemcmp.
59237         Add new tests.
59238         * wcsmbs/wmemcmp.c: Update.
59239         (WMEMCMP): New macro.
59240         Fix overflow bug.
59242 2011-10-12  Andreas Jaeger  <aj@suse.de>
59244         [BZ #13268]
59245         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59247 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59249         * libio/iofwide.c (do_length): Avoid warning.
59251         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59253 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59255         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59257         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59258         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59259         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59260         * sysdeps/i386/i686/fpu/e_log.S: New file.
59261         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59262         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59264         * ctype/ctype.h: Add support for inlined isXXX functions when
59265         compiling C++ code.
59267 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59269         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59271         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59273 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59275         [BZ #13291]
59276         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59278 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59280         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59281         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59282         feraiseexcept.
59284         * sysdeps/x86_64/memrchr.S: Check for zero size.
59286         * string/stratcliff.c: Add memrchr tests.
59288 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59291         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59292         rawmemchr-sse2 rawmemchr-sse2-bsf.
59293         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59294         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59295         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59296         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59297         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59298         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59299         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59300         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59301         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59302         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59303         * string/memrchr.c (MEMRCHR): New macro.
59305 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59307         Add integration with gcc's -ffinite-math-only and optimize wrapper
59308         functions in libm.
59309         * Versions.def: Define GLIBC_2.15 version for libm.
59310         * math/Makefile (headers): Add bits/math-finite.h.
59311         * math/bits/math-finite.h: New file.
59312         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59313         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59314         * math/e_acoshl.c: Add __*_finite alias.
59315         * math/e_acosl.c: Likewise.
59316         * math/e_asinl.c: Likewise.
59317         * math/e_atan2l.c: Likewise.
59318         * math/e_atanhl.c: Likewise.
59319         * math/e_coshl.c: Likewise.
59320         * math/e_exp10.c: Likewise.
59321         * math/e_exp10f.c: Likewise.
59322         * math/e_exp10l.c: Likewise.
59323         * math/e_exp2l.c: Likewise.
59324         * math/e_fmodl.c: Likewise.
59325         * math/e_gammal_r.c: Likewise.
59326         * math/e_hypotl.c: Likewise.
59327         * math/e_j0l.c: Likewise.
59328         * math/e_j1l.c: Likewise.
59329         * math/e_jnl.c: Likewise.
59330         * math/e_lgammal_r.c: Likewise.
59331         * math/e_log10l.c: Likewise.
59332         * math/e_log2l.c: Likewise.
59333         * math/e_logl.c: Likewise.
59334         * math/e_powl.c: Likewise.
59335         * math/e_sinhl.c: Likewise.
59336         * math/e_sqrtl.c: Likewise.
59337         * math/e_scalb.c: Completely rewritten and optimized.
59338         * math/e_scalbf.c: Likewise.
59339         * math/e_scalbl.c: Likewise.
59340         * math/w_acos.c: Likewise.
59341         * math/w_acosf.c: Likewise.
59342         * math/w_acosl.c: Likewise.
59343         * math/w_acosh.c: Likewise.
59344         * math/w_acoshf.c: Likewise.
59345         * math/w_acoshl.c: Likewise.
59346         * math/w_asin.c: Likewise.
59347         * math/w_asinf.c: Likewise.
59348         * math/w_asinl.c: Likewise.
59349         * math/w_atan2.c: Likewise.
59350         * math/w_atan2f.c: Likewise.
59351         * math/w_atan2l.c: Likewise.
59352         * math/w_atanh.c: Likewise.
59353         * math/w_atanhf.c: Likewise.
59354         * math/w_atanhl.c: Likewise.
59355         * math/w_exp10.c: Likewise.
59356         * math/w_exp10f.c: Likewise.
59357         * math/w_exp10l.c: Likewise.
59358         * math/w_fmod.c: Likewise.
59359         * math/w_fmodf.c: Likewise.
59360         * math/w_fmodl.c: Likewise.
59361         * math/w_j0.c: Likewise.
59362         * math/w_j0f.c: Likewise.
59363         * math/w_j0l.c: Likewise.
59364         * math/w_j1.c: Likewise.
59365         * math/w_j1f.c: Likewise.
59366         * math/w_j1l.c: Likewise.
59367         * math/w_jn.c: Likewise.
59368         * math/w_jnf.c: Likewise.
59369         * math/w_log.c: Likewise.
59370         * math/w_logf.c: Likewise.
59371         * math/w_logl.c: Likewise.
59372         * math/w_log10.c: Likewise.
59373         * math/w_log10f.c: Likewise.
59374         * math/w_log10l.c: Likewise.
59375         * math/w_log2.c: Likewise.
59376         * math/w_log2f.c: Likewise.
59377         * math/w_log2l.c: Likewise.
59378         * math/w_pow.c: Likewise.
59379         * math/w_powf.c: Likewise.
59380         * math/w_powl.c: Likewise.
59381         * math/w_remainder.c: Likewise.
59382         * math/w_remainderf.c: Likewise.
59383         * math/w_remainderl.c: Likewise.
59384         * math/w_scalb.c: Likewise.
59385         * math/w_scalbf.c: Likewise.
59386         * math/w_scalbl.c: Likewise.
59387         * math/w_sqrt.c: Likewise.
59388         * math/w_sqrtf.c: Likewise.
59389         * math/w_sqrtl.c: Likewise.
59390         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59391         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59392         used.
59393         * math/math_private.h: Declare __kernel_standard_f.
59394         * math/w_cosh.c: Remove cruft and optimize a bit.
59395         * math/w_coshf.c: Likewise.
59396         * math/w_coshl.c: Likewise.
59397         * math/w_exp2.c: Likewise.
59398         * math/w_exp2f.c: Likewise.
59399         * math/w_exp2l.c: Likewise.
59400         * math/w_hypot.c: Likewise.
59401         * math/w_hypotf.c: Likewise.
59402         * math/w_hypotl.c: Likewise.
59403         * math/w_lgamma.c: Likewise.
59404         * math/w_lgamma_r.c: Likewise.
59405         * math/w_lgammaf.c: Likewise.
59406         * math/w_lgammaf_r.c: Likewise.
59407         * math/w_lgammal.c: Likewise.
59408         * math/w_lgammal_r.c: Likewise.
59409         * math/w_sinh.c: Likewise.
59410         * math/w_sinhf.c: Likewise.
59411         * math/w_sinhl.c: Likewise.
59412         * math/w_tgamma.c: Likewise.
59413         * math/w_tgammaf.c: Likewise.
59414         * math/w_tgammal.c: Likewise.
59415         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59416         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59417         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59418         Minor optimizations.  Pretty printing.  Remove cruft.
59419         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59420         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59421         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59422         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59423         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59424         * sysdeps/i386/fpu/e_asin.S: Likewise.
59425         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59426         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59427         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59428         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59429         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59430         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59431         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59432         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59433         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59434         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59435         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59436         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59437         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59438         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59439         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59440         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59441         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59442         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59443         * sysdeps/i386/fpu/e_log.S: Likewise.
59444         * sysdeps/i386/fpu/e_log10.S: Likewise.
59445         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59446         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59447         * sysdeps/i386/fpu/e_log2.S: Likewise.
59448         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59449         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59450         * sysdeps/i386/fpu/e_logf.S: Likewise.
59451         * sysdeps/i386/fpu/e_logl.S: Likewise.
59452         * sysdeps/i386/fpu/e_pow.S: Likewise.
59453         * sysdeps/i386/fpu/e_powf.S: Likewise.
59454         * sysdeps/i386/fpu/e_powl.S: Likewise.
59455         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59456         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59457         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59458         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59459         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59461         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59462         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59463         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59464         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59465         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59467         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59468         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59469         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59470         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59471         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59474         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59475         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59476         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59478         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59481         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59482         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59483         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59484         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59485         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59486         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59487         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59488         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59489         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59490         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59491         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59492         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59493         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59494         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59495         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59496         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59497         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59498         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59499         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59500         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59501         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59502         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59503         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59504         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59505         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59507         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59508         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59509         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59510         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59512         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59513         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59514         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59515         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59516         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59517         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59519         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59520         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59521         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59522         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59523         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59524         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59525         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59528         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59529         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59530         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59531         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59532         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59533         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59534         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59535         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59537         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59538         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59539         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59540         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59541         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59542         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59543         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59544         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59545         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59546         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59547         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59548         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59549         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59551         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59552         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59553         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59555         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59556         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59557         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59558         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59559         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59560         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59561         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59562         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59563         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59564         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59565         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59566         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59567         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59568         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59569         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59570         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59571         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59572         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59573         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59574         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59575         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59576         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59577         (__isnanf): Likewise.
59578         (__isinf_ns): Likewise.
59579         (__isinf_nsf): Likewise.
59580         (__finite): Likewise.
59581         (__finitef): Likewise.
59582         (__ieee754_sqrt): Define as macro.
59583         (__ieee754_sqrtf): Define as macro.
59584         (__ieee754_sqrtl): Define as macro.
59585         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59586         inlined copy.
59587         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59588         __FINITE_MATH_ONLY__ consistent.
59589         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59591 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59593         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59594         of rawmemchr.
59596         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59598 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59600         * po/ja.po: Update from translation team.
59602 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59604         * locale/programs/locarchive.c (prepare_address_space): New function.
59605         (create_archive, enlarge_archive, open_archive): Use it.
59607         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59608         inside [SHARED], where it is used.
59610         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59612         * nss/getent.c (netgroup_keys): Remove unused variable.
59613         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59615 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59617         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59618         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59620         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59621         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59622         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59623         * math/Makefile (libm-calls): Add s_isinf_ns.
59624         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59625         * math/multc3.c: Likewise.
59626         * math/s_casin.c: Likewise.
59627         * math/s_casinf.c: Likewise.
59628         * math/s_casinl.c: Likewise.
59629         * math/s_ccos.c: Likewise.
59630         * math/s_ccosf.c: Likewise.
59631         * math/s_ccosl.c: Likewise.
59632         * math/s_ctan.c: Likewise.
59633         * math/s_ctanf.c: Likewise.
59634         * math/s_ctanh.c: Likewise.
59635         * math/s_ctanhf.c: Likewise.
59636         * math/s_ctanhl.c: Likewise.
59637         * math/s_ctanl.c: Likewise.
59638         * math/w_fmod.c: Likewise.
59639         * math/w_fmodf.c: Likewise.
59640         * math/w_fmodl.c: Likewise.
59641         * math/w_remainder.c: Likewise.
59642         * math/w_remainderf.c: Likewise.
59643         * math/w_remainderl.c: Likewise.
59644         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59645         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59647         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59648         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59649         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59650         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59651         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59653         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59654         of the number.
59655         * stdio-common/printf_fphex.c: Likewise.
59656         * stdio-common/printf_size.c: Likewise.
59658         * math/e_exp10.c: Include math_private.h using <...> not "...".
59659         * math/e_exp10f.c: Likewise.
59660         * math/e_exp10l.c: Likewise.
59661         * math/e_exp2l.c: Likewise.
59662         * math/e_j0l.c: Likewise.
59663         * math/e_j1l.c: Likewise.
59664         * math/e_jnl.c: Likewise.
59665         * math/e_lgammal_r.c: Likewise.
59666         * math/e_rem_pio2l.c: Likewise.
59667         * math/e_scalb.c: Likewise.
59668         * math/e_scalbf.c: Likewise.
59669         * math/e_scalbl.c: Likewise.
59670         * math/k_cosl.c: Likewise.
59671         * math/k_sinl.c: Likewise.
59672         * math/k_tanl.c: Likewise.
59673         * math/s_cacoshf.c: Likewise.
59674         * math/s_catan.c: Likewise.
59675         * math/s_catanf.c: Likewise.
59676         * math/s_catanh.c: Likewise.
59677         * math/s_catanhf.c: Likewise.
59678         * math/s_catanhl.c: Likewise.
59679         * math/s_catanl.c: Likewise.
59680         * math/s_ccosh.c: Likewise.
59681         * math/s_ccoshf.c: Likewise.
59682         * math/s_ccoshl.c: Likewise.
59683         * math/s_cexp.c: Likewise.
59684         * math/s_cexpf.c: Likewise.
59685         * math/s_cexpl.c: Likewise.
59686         * math/s_clog.c: Likewise.
59687         * math/s_clog10.c: Likewise.
59688         * math/s_clog10f.c: Likewise.
59689         * math/s_clog10l.c: Likewise.
59690         * math/s_clogf.c: Likewise.
59691         * math/s_clogl.c: Likewise.
59692         * math/s_csin.c: Likewise.
59693         * math/s_csinf.c: Likewise.
59694         * math/s_csinh.c: Likewise.
59695         * math/s_csinhf.c: Likewise.
59696         * math/s_csinhl.c: Likewise.
59697         * math/s_csinl.c: Likewise.
59698         * math/s_csqrt.c: Likewise.
59699         * math/s_csqrtf.c: Likewise.
59700         * math/s_csqrtl.c: Likewise.
59701         * math/s_ctan.c: Likewise.
59702         * math/s_ctanf.c: Likewise.
59703         * math/s_ctanh.c: Likewise.
59704         * math/s_ctanhf.c: Likewise.
59705         * math/s_ctanhl.c: Likewise.
59706         * math/s_ctanl.c: Likewise.
59707         * math/s_ldexp.c: Likewise.
59708         * math/s_ldexpf.c: Likewise.
59709         * math/s_ldexpl.c: Likewise.
59710         * math/s_significand.c: Likewise.
59711         * math/s_significandf.c: Likewise.
59712         * math/s_significandl.c: Likewise.
59713         * math/w_acos.c: Likewise.
59714         * math/w_acosf.c: Likewise.
59715         * math/w_acosh.c: Likewise.
59716         * math/w_acoshf.c: Likewise.
59717         * math/w_acoshl.c: Likewise.
59718         * math/w_acosl.c: Likewise.
59719         * math/w_asin.c: Likewise.
59720         * math/w_asinf.c: Likewise.
59721         * math/w_asinl.c: Likewise.
59722         * math/w_atan2.c: Likewise.
59723         * math/w_atan2f.c: Likewise.
59724         * math/w_atan2l.c: Likewise.
59725         * math/w_atanh.c: Likewise.
59726         * math/w_atanhf.c: Likewise.
59727         * math/w_atanhl.c: Likewise.
59728         * math/w_cosh.c: Likewise.
59729         * math/w_coshf.c: Likewise.
59730         * math/w_coshl.c: Likewise.
59731         * math/w_dremf.c: Likewise.
59732         * math/w_exp10.c: Likewise.
59733         * math/w_exp10f.c: Likewise.
59734         * math/w_exp10l.c: Likewise.
59735         * math/w_exp2.c: Likewise.
59736         * math/w_exp2f.c: Likewise.
59737         * math/w_fmod.c: Likewise.
59738         * math/w_fmodf.c: Likewise.
59739         * math/w_fmodl.c: Likewise.
59740         * math/w_hypot.c: Likewise.
59741         * math/w_hypotf.c: Likewise.
59742         * math/w_hypotl.c: Likewise.
59743         * math/w_j0.c: Likewise.
59744         * math/w_j0f.c: Likewise.
59745         * math/w_j0l.c: Likewise.
59746         * math/w_j1.c: Likewise.
59747         * math/w_j1f.c: Likewise.
59748         * math/w_j1l.c: Likewise.
59749         * math/w_jn.c: Likewise.
59750         * math/w_jnf.c: Likewise.
59751         * math/w_jnl.c: Likewise.
59752         * math/w_lgamma.c: Likewise.
59753         * math/w_lgamma_r.c: Likewise.
59754         * math/w_lgammaf.c: Likewise.
59755         * math/w_lgammaf_r.c: Likewise.
59756         * math/w_lgammal.c: Likewise.
59757         * math/w_lgammal_r.c: Likewise.
59758         * math/w_log.c: Likewise.
59759         * math/w_log10.c: Likewise.
59760         * math/w_log10f.c: Likewise.
59761         * math/w_log10l.c: Likewise.
59762         * math/w_log2.c: Likewise.
59763         * math/w_log2f.c: Likewise.
59764         * math/w_log2l.c: Likewise.
59765         * math/w_logf.c: Likewise.
59766         * math/w_logl.c: Likewise.
59767         * math/w_pow.c: Likewise.
59768         * math/w_powf.c: Likewise.
59769         * math/w_powl.c: Likewise.
59770         * math/w_remainder.c: Likewise.
59771         * math/w_remainderf.c: Likewise.
59772         * math/w_remainderl.c: Likewise.
59773         * math/w_scalb.c: Likewise.
59774         * math/w_scalbf.c: Likewise.
59775         * math/w_scalbl.c: Likewise.
59776         * math/w_sinh.c: Likewise.
59777         * math/w_sinhf.c: Likewise.
59778         * math/w_sinhl.c: Likewise.
59779         * math/w_sqrt.c: Likewise.
59780         * math/w_sqrtf.c: Likewise.
59781         * math/w_sqrtl.c: Likewise.
59782         * math/w_tgamma.c: Likewise.
59783         * math/w_tgammaf.c: Likewise.
59784         * math/w_tgammal.c: Likewise.
59786         * po/ja.po: Update from translation team.
59788 2011-09-29  Andreas Jaeger  <aj@suse.de>
59790         [BZ #13179]
59791         * sunrpc/netname.c (netname2host): Fix logic.
59793         [BZ #6779]
59794         [BZ #6783]
59795         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59796         correctly.
59797         * math/w_remainder.c (__remainder): Likewise.
59798         * math/w_remainderf.c (__remainderf): Likewise.
59799         * math/libm-test.inc (remainder_test): Add test cases.
59801 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59803         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59804         sdiv_qrnnd.
59806 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59808         * string/test-memcmp.c: Avoid unncessary #defines.
59809         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59811 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59813         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59814         Use new sse2 version for core i3 - i7 as it's faster
59815         than sse42 version.
59816         (bit_Prefer_PMINUB_for_stringop): New.
59817         * sysdeps/x86_64/rawmemchr.S: Update.
59818         Replace with faster SSE2 version.
59819         * sysdeps/x86_64/memrchr.S: New file.
59820         * sysdeps/x86_64/memchr.S: Update.
59821         Replace with faster SSE2 version.
59823 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59825         * elf/dl-load.c (lose): Add cast to avoid warning.
59827 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59829         * po/ca.po: Update from translation team.
59831         * inet/getnetgrent_r.c: Hook up nscd.
59832         * nscd/Makefile (routines): Add nscd_netgroup.
59833         (nscd-modules): Add netgroupcache.
59834         (CFLAGS-netgroupcache.c): Define.
59835         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59836         (cache_search): Add const to second parameter.
59837         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59838         INNETGR.
59839         (dbs): Add netgrdb entry.
59840         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59841         (verify_persistent_db): Handle netgrdb.
59842         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59843         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59844         GETFDNETGR.
59845         (netgroup_response_header): Define.
59846         (innetgroup_response_header): Define.
59847         (datahead): Add netgroup_response_header and innetgroup_response_header
59848         elements.
59849         * nscd/nscd.conf: Add entries for netgroup cache.
59850         * nscd/nscd.h (dbtype): Add netgrdb.
59851         (_PATH_NSCD_NETGROUP_DB): Define.
59852         (netgroup_iov_disabled): Declare.
59853         (xmalloc, xcalloc, xrealloc): Move declarations here.
59854         (cache_search): Adjust prototype.
59855         Add netgroup-related prototypes.
59856         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59857         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59858         (__nscd_innetgr): Declare.
59859         * nscd/selinux.c (perms): Use access_vector_t as element type and
59860         add netgroup-related initializers.
59861         * nscd/netgroupcache.c: New file.
59862         * nscd/nscd_netgroup.c: New file.
59863         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59864         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59865         For four parameters use innetgr.
59866         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59867         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59868         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59869         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59871         * nscd/connections.c (register_traced_file): Don't register file
59872         for disabled databases.
59874 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59876         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59878         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59879         from tree and freeing node.
59881 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59883         * nss/nsswitch.c (__nss_database_lookup): Handle
59884         nss_parse_service_list out of memory case.
59886 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59888         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59889         out of memory case.
59891 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59893         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59894         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59895         pass it down.
59896         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59897         elf_machine_rela, elf_machine_lazy_rel.
59898         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59899         (ELF_DYNAMIC_DO_REL): Likewise.
59900         (ELF_DYNAMIC_DO_RELA): Likewise.
59901         (ELF_DYNAMIC_RELOCATE): Likewise.
59902         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59903         to ELF_DYNAMIC_DO_REL.
59904         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59905         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59906         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59907         elf_machine_rela.
59908         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59909         skip_ifunc, don't call ifunc function if non-zero.
59910         (elf_machine_rela): Likewise.
59911         (elf_machine_lazy_rel): Likewise.
59912         (elf_machine_lazy_rela): Likewise.
59913         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59914         (elf_machine_lazy_rel): Likewise.
59915         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59916         Likewise.
59917         (elf_machine_lazy_rel): Likewise.
59918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59919         Likewise.
59920         (elf_machine_lazy_rel): Likewise.
59921         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59922         (elf_machine_lazy_rel): Likewise.
59923         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59924         (elf_machine_lazy_rel): Likewise.
59925         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59926         (elf_machine_lazy_rel): Likewise.
59927         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59928         (elf_machine_lazy_rel): Likewise.
59929         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59930         (elf_machine_lazy_rel): Likewise.
59931         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59932         (elf_machine_lazy_rel): Likewise.
59934 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59936         * nss/nss_files/files-init.c (_nss_files_init): Use static
59937         initialization for all the *_traced_file variables.
59939 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59941         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59943 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59945         [BZ #13226]
59946         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59948 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59950         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59951         Reread the line before reparsing it.
59953 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59955         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59957 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59958             Maxim Kuvyrkov  <maxim@codesourcery.com>
59959             Joseph Myers  <joseph@codesourcery.com>
59961         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59962         if needed for __stack_chk_guard.
59964 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59966         * sysdeps/posix/spawni.c (script_execute): Always define it.
59967         It will be optimized away if unused.
59968         (maybe_script_execute): New function.
59969         (__spawni): Call it.
59971         * Makerules: Don't include tls.make.
59972         (config-tls): Always set to thread.
59973         * tls.make.c: File removed.
59975 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59977         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59978         * config.make.in (CPPFLAGS-config): New substituted variable.
59980 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59982         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59984         [BZ #13192]
59985         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59986         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59988 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59990         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59991         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59992         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59993         (CALL_FAIL): Likewise.
59994         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59995         (CALL_FAIL): Macro removed.
59996         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59998 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60000         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60001         for __FINITE_MATH_ONLY__ == 1.
60003 2011-09-15  Andreas Schwab  <schwab@redhat.com>
60005         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60006         __ieee754_sqrt instead of sqrt.
60007         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60008         __ieee754_sqrtf instead of sqrtf.
60009         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60010         __floorf instead of floorf.
60011         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60012         __floorf, __truncf instead of floorf, truncf.
60014 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
60016         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60018         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60019         __extern_always_inline.
60020         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60021         32-bit.
60023 2011-09-14  Andreas Schwab  <schwab@redhat.com>
60025         * elf/rtld.c (dl_main): Also relocate in dependency order when
60026         doing symbol dependency testing.
60028 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
60030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60031         Always define `refsym'.
60033 2011-09-13  Andreas Schwab  <schwab@redhat.com>
60035         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60036         (__FD_ELT): Renamed from __FDELT.
60037         * misc/bits/select2.h (__FD_ELT): Likewise.
60038         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60039         __FD_MASK instead of __FDELT, __FDMASK.
60040         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60041         Likewise.
60042         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60043         Likewise.
60045         * elf/Makefile (gen-ldd): Fix pattern.
60047         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60048         (init_tls): Likewise.
60050 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
60052         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60054 2011-09-12  Andreas Schwab  <schwab@redhat.com>
60056         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60057         `struct cmsghdr *' instead of `void *'.
60058         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60059         Likewise.
60061 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
60063         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60064         if non-absolute.
60065         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60066         ldd_rewrite_script.
60068 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
60070         * configure.in: Remove --with-tls option.
60071         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60072         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60073         out in case it is missing.
60074         * sysdeps/ia64/elf/configure.in: Likewise.
60075         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60076         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60077         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60078         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60079         * sysdeps/sh/elf/configure.in: Likewise.
60080         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60081         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60082         * sysdeps/x86_64/elf/configure.in: Likewise.
60083         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60084         * sysdeps/mach/hurd/tls.h: Likewise.
60086         [BZ #13067]
60087         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60089         [BZ #13090]
60090         * configure.in: Fix use of AC_INIT.
60092         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60094 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60096         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60097         __set_errno.
60098         * malloc/hooks.c: Likewise.
60100         [BZ #11929]
60101         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60102         variables statically.
60103         (narenas): Initialize.
60104         (list_lock): Initialize.
60105         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60106         initializtion of main_arena and list_lock.  Small cleanups.
60107         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60108         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60109         Add initializers to main_arena and mp_.
60110         (malloc_state): Remove pagesize member.  Change all users to use
60111         GLRO(dl_pagesize).
60113         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60114         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60115         is always initialized.
60117         * malloc/malloc.c: Removed unused configurations and dead code.
60118         * malloc/arena.c: Likewise.
60119         * malloc/hooks.c: Likewise.
60120         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60122         * include/tls.h: Removed.  USE___THREAD must always be defined.
60123         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60124         * elf/dl-libc.c: Likewise.
60125         * elf/dl-tsd.c: Likewise.
60126         * include/errno.h: Likewise.
60127         * include/netdb.h: Likewise.
60128         * include/resolv.h: Likewise.
60129         * inet/herrno-loc.c: Likewise.
60130         * inet/herrno.c: Likewise.
60131         * malloc/arena.c: Likewise.
60132         * malloc/hooks.c: Likewise.
60133         * malloc/malloc.c: Likewise.
60134         * resolv/res-state.c: Likewise.
60135         * resolv/res_libc.c: Likewise.
60136         * sysdeps/i386/dl-machine.h: Likewise.
60137         * sysdeps/ia64/dl-machine.h: Likewise.
60138         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60139         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60140         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60141         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60142         * sysdeps/sh/dl-machine.h: Likewise.
60143         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60144         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60145         * sysdeps/unix/i386/sysdep.S: Likewise.
60146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60147         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60152         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60154         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60156         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60157         * sysdeps/x86_64/dl-machine.h: Likewise.
60158         * tls.make.c: Likewise.
60160         * configure.in: Remove --with-__thread option.  Make tests for
60161         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60162         tls_model attribute fail if no support is available.  Remove
60163         USE_IN_LIBIO.
60164         * Makeconfig: Adjust for dropped configure option.  All features are
60165         now mandatory.
60166         * Makerules: Likewise.
60167         * Versions.def: Likewise.
60168         * argp/argp-fmtstream.c: Likewise.
60169         * argp/argp-fmtstream.h: Likewise.
60170         * argp/argp-help.c: Likewise.
60171         * assert/assert.c: Likewise.
60172         * config.h.in: Likewise.
60173         * config.make.in: Likewise.
60174         * configure: Likewise.
60175         * configure.in: Likewise.
60176         * csu/Versions: Likewise.
60177         * csu/init.c: Likewise.
60178         * elf/tst-audit2.c: Likewise.
60179         * elf/tst-tls10.c: Likewise.
60180         * elf/tst-tls10.h: Likewise.
60181         * elf/tst-tls11.c: Likewise.
60182         * elf/tst-tls12.c: Likewise.
60183         * elf/tst-tls14.c: Likewise.
60184         * elf/tst-tlsmod11.c: Likewise.
60185         * elf/tst-tlsmod12.c: Likewise.
60186         * elf/tst-tlsmod13.c: Likewise.
60187         * elf/tst-tlsmod13a.c: Likewise.
60188         * elf/tst-tlsmod14a.c: Likewise.
60189         * elf/tst-tlsmod15b.c: Likewise.
60190         * elf/tst-tlsmod16a.c: Likewise.
60191         * elf/tst-tlsmod16b.c: Likewise.
60192         * elf/tst-tlsmod7.c: Likewise.
60193         * elf/tst-tlsmod8.c: Likewise.
60194         * elf/tst-tlsmod9.c: Likewise.
60195         * gmon/gmon.c: Likewise.
60196         * grp/fgetgrent_r.c: Likewise.
60197         * grp/putgrent.c: Likewise.
60198         * hurd/fopenport.c: Likewise.
60199         * include/libc-symbols.h: Likewise.
60200         * include/tls.h: Likewise.
60201         * intl/gettextP.h: Likewise.
60202         * intl/loadinfo.h: Likewise.
60203         * locale/global-locale.c: Likewise.
60204         * locale/localeinfo.h: Likewise.
60205         * mach/devstream.c: Likewise.
60206         * malloc/arena.c: Likewise.
60207         * malloc/set-freeres.c: Likewise.
60208         * misc/err.c: Likewise.
60209         * misc/getttyent.c: Likewise.
60210         * misc/mntent_r.c: Likewise.
60211         * posix/getopt.c: Likewise.
60212         * posix/wordexp.c: Likewise.
60213         * pwd/fgetpwent_r.c: Likewise.
60214         * resolv/Versions: Likewise.
60215         * resolv/res_hconf.c: Likewise.
60216         * shadow/fgetspent_r.c: Likewise.
60217         * shadow/putspent.c: Likewise.
60218         * stdio-common/printf_fphex.c: Likewise.
60219         * stdio-common/tmpfile.c: Likewise.
60220         * stdlib/abort.c: Likewise.
60221         * stdlib/fmtmsg.c: Likewise.
60222         * sunrpc/auth_unix.c: Likewise.
60223         * sunrpc/clnt_perr.c: Likewise.
60224         * sunrpc/clnt_tcp.c: Likewise.
60225         * sunrpc/clnt_udp.c: Likewise.
60226         * sunrpc/clnt_unix.c: Likewise.
60227         * sunrpc/openchild.c: Likewise.
60228         * sunrpc/svc_simple.c: Likewise.
60229         * sunrpc/svc_tcp.c: Likewise.
60230         * sunrpc/svc_udp.c: Likewise.
60231         * sunrpc/svc_unix.c: Likewise.
60232         * sunrpc/xdr.c: Likewise.
60233         * sunrpc/xdr_array.c: Likewise.
60234         * sunrpc/xdr_rec.c: Likewise.
60235         * sunrpc/xdr_ref.c: Likewise.
60236         * sunrpc/xdr_stdio.c: Likewise.
60238 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60240         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60242 2011-07-03  Andreas Jaeger  <aj@suse.de>
60244         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60245         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60246         regenerate with gen-libm-tests.pl.
60248 2010-05-12  Petr Baudis  <pasky@suse.cz>
60250         [BZ #11589]
60251         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60252         around j0() zero points by switching to j1().
60253         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60254         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60255         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60256         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60258 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60260         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60261         instead of 0.
60262         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60263         instead of 0.
60264         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60265         Patch in part by Pavel Roskin <proski@gnu.org>.
60267         [BZ #13138]
60268         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60269         realloc.
60270         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60271         Free memory block if necessary.
60273         [BZ #12847]
60274         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60275         be NULL.  Don't lock in this case.
60277 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60279         * elf/elf.h (ELFOSABI_GNU): New macro.
60280         (ELFOSABI_LINUX): Define to that.
60282 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60284         * string/strncat.c (strncat): Undef the symbol in case it has been
60285         defined in bits/string.h.
60287 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60289         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60291         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60292         link map.
60294 2011-08-17  Andreas Jaeger  <aj@suse.de>
60296         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60298 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60299             Ian Lance Taylor  <iant@google.com>
60301         * math/libm-test.inc (lround_test): New testcase.
60302         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60304 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60306         * Makefile: Remove support for automatic cvs check-ins.
60307         * Makerules: Likewise.
60308         * config.make.in: Likewise.
60309         * configure.in: Likewise.
60310         * intl/Makefile: Likewise.
60311         * locale/Makefile: Likewise.
60312         * po/Makefile: Likewise.
60313         * posix/Makefile: Likewise.
60314         * sysdeps/gnu/Makefile: Likewise.
60315         * sysdeps/mach/hurd/Makefile: Likewise.
60316         * sysdeps/sparc/sparc32/Makefile: Likewise.
60318         [BZ #13118]
60319         * posix/Makefile (bug-regex32-ENV): Define.
60320         Patch by John Stanley <jpsinthemix@verizon.net>.
60322         * misc/Makefile (headers): Add bits/select2.h.
60323         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60324         * misc/bits/select2.h: New file.
60325         * include/bits/select2.h: New file.
60326         * debug/Makefile (routines): Add fdelt_chk.
60327         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60328         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60329         FD_ISSET.
60330         * debug/fdelt_chk.c: New file.
60332         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60333         * wcsmbs/test-wmemcmp.c: Likewise.
60334         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60335         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60337 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60339         * string/Makefile (strop-tests): Add memcmp.
60340         * string/test-wmemcmp.c: New file.
60341         * string/test-memcmp.c: Add wmemcmp support.
60343 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60345         [BZ #13153]
60346         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60347         2011-07-19 change.
60349         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60350         garbage value in a __mach_port_mod_refs call in the cases of the
60351         task-self and thread-self ports.
60353 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60355         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60357 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60359         * elf/dl-load.c (lose): Check for non-null L.
60361 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60363         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60365         * elf/dl-libc.c (dlerror_run): Pass back error code from
60366         dl_catch_error.
60368         [BZ #13123]
60369         * elf/dl-load.c (lose): Free l_origin if it is valid.
60371         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60372         names.
60373         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60374         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60375         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60376         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60377         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60378         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60380 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60382         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60383         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60384         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60385         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60386         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60387         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60388         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60389         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60390         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60391         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60393 2011-08-15  Alan Modra  <amodra@gmail.com>
60395         [BZ #13092]
60396         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60397         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60398         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60399         ppc_mcount to static-only-routines.
60400         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60401         __mcount_internal.
60402         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60403         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60405 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60407         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60408         for finite and infinity parameters.
60410 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60412         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60413         and add nop instructions for throughput optimization.
60414         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60416 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60418         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60419         aligned copy for power7 with vector-scalar instructions.
60420         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60422 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60425         AVX check.
60427 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60429         [BZ #13144]
60430         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60431         last change.
60433 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60435         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60436         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60437         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60438         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60439         clock_gettime.
60441 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60443         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60444         Forgot to demangle the pointer.
60446         * sysdeps/i386/sysdep.h: Define atom_text_section.
60447         * sysdeps/x86_64/sysdep.h: Likewise.
60448         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60449         section with atom_text_section.
60450         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60451         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60452         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60453         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60454         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60456         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60457         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60458         already be defined.  Change to take two parameters and don't assign
60459         result to variable.  Adjust all users.
60460         Define INTERNAL_GETTIME if not already defined.
60461         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60462         call.
60463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60464         HAVE_CLOCK_GETTIME_VSYSCALL.
60465         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60467         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60468         gettimeofday vsyscall, just use time.
60470 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60472         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60473         <errno.h>.
60475 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60477         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60478         syscall on x86-64.
60479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60480         syscall.
60481         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60482         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60483         syscall if possible.
60485 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60487         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60488         e_ident.  Don't pass to find_mapsXX.
60489         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60491 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60494         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60495         * sysdeps/x86_64/multiarch/strchr.S: Update.
60496         Check bit_slow_BSF bit.
60497         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60498         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60499         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60501 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60503         [BZ #13134]
60504         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60505         before glibc 2.15.
60506         (tryshell): Define.
60507         (__spawni): Change last parameter to be flag.  Test
60508         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60509         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60510         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60511         * posix/spawni.c: Likewise.
60512         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60513         * posix/spawnp.c: Likewise.  Change normal version to use
60514         SPAWN_XFLAGS_USE_PATH.
60515         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60516         SPAWN_XFLAGS_TRY_SHELL.
60518         [BZ #13150]
60519         * posix/glob.h: Remove gcc 1.x support.
60521         [BZ #13068]
60522         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60524 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60527         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60528         strrchr-sse2-bsf
60529         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60530         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60531         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60532         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60533         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60534         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60536 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60538         * sysdeps/x86_64/wcscmp.S: New file.
60540         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60541         wcscmp-c wcscmp-sse2
60542         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60543         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60544         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60545         * wcsmbs/wcscmp.c: Allow renaming.
60547 2011-09-05  David S. Miller  <davem@davemloft.net>
60549         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60550         stack slot, rather than the struct return pointer slot.
60551         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60552         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60554         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60556 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60558         * po/ja.po: Update from translation team.
60560         [BZ #13144]
60561         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60562         kernel in 64-bit binaries.
60564 2011-09-01  David S. Miller  <davem@davemloft.net>
60566         * elf/elf.h (HWCAP_SPARC_*): Move to..
60567         * sysdeps/sparc/sysdep.h: this new file and add new values.
60568         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60569         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60570         _DL_HWCAP_COUNT to 24.
60571         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60572         entries.
60573         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60574         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60575         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60577         instead of magic constants.
60578         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60580 2011-08-31  David S. Miller  <davem@davemloft.net>
60582         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60583         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60584         Reimplement to do errno handling inline.
60585         (SYSCALL_ERROR_HANDLER): New macro.
60586         (__SYSCALL_STRING): Do not do errno handling in asm.
60587         (__CLONE_SYSCALL_STRING): Delete.
60588         (__INTERNAL_SYSCALL_STRING): Delete.
60589         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60590         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60591         (PSEUDO): Reimplement to do errno handling inline.
60592         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60593         (SYSCALL_ERROR_HANDLER): New macro.
60594         (__SYSCALL_STRING): Do not do errno handling in asm.
60595         (__CLONE_SYSCALL_STRING): Delete.
60596         (__INTERNAL_SYSCALL_STRING): Delete.
60597         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60598         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60599         i386.
60600         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60601         (inline_syscall*): Add 'err' argument.
60602         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60603         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60604         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60605         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60607         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60608         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60610 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60612         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60614 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60616         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60617         directive.
60619 2011-08-24  David S. Miller  <davem@davemloft.net>
60621         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60623 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60625         * elf/Makefile: Add rules to build and run unload8 test.
60626         * elf/unload8.c: New file.
60627         * elf/unload8mod1.c: New file.
60628         * elf/unload8mod1x.c: New file.
60629         * elf/unload8mod2.c: New file.
60630         * elf/unload8mod3.c: New file.
60632         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60633         it wasn't used.
60635 2011-08-23  David S. Miller  <davem@davemloft.net>
60637         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60638         subtract stack bias.
60639         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60640         %sp not %fp in calculations.
60641         (_JMPBUF_UNWINDS_ADJ): Likewise.
60643         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60644         (aio_suspend): Call it to force an exception region around the
60645         AIO_MISC_WAIT() invocation.
60647 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60649         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60650         backslash.
60652 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60654         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60655         protection macro.
60656         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60657         and <dl-machine.h>.
60658         (Elf64_FuncDesc): Remove.
60660 2011-08-22  David S. Miller  <davem@davemloft.net>
60662         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60663         sigaltstack check, add missing cfi directives.
60664         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60665         missing cfi directives, and sigaltstack handling.
60667 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60669         [BZ #11724]
60670         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60671         object is seen twice.
60672         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60674         * elf/Makefile (distribute): Add tst-initorder2.c.
60675         (tests): Add tst-initorder2.
60676         (modules-names): Add tst-initorder2a tst-initorder2b
60677         tst-initorder2c tst-initorder2d.  Add rules to build them.
60678         ($(objpfx)tst-initorder2.out): New rule.
60679         * elf/tst-initorder2.c: New file.
60680         * elf/tst-initorder2.exp: New file.
60682 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60684         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60686         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60687         dependencies back to end of function.
60689         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60690         $(elfobjdir)/ld.so.
60692 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60694         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60695         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60696         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60697         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60698         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60699         of __vdso_gettimeofday.
60700         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60701         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60702         attribute_hidden.
60703         (_libc_vdso_platform_setup): Remove initialization of
60704         __vdso_gettimeofday and __vdso_time.
60706 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60708         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60709         and fgetc_unlocked.
60710         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60711         getc_unlocked.
60713         * elf/dl-open.c (add_to_global): Report additions to the global scope
60714         for LD_DEBUG=scopes.
60715         (dl_open_worker): Also print scope of newly loaded dependencies.
60716         (_dl_show_scope): Indicate if there is no scope.
60718         [BZ #13114]
60719         * stdio-common/Makefile (tests): Add bug24.
60720         * stdio-common/bug24.c: New file.
60722 2011-08-19  Andreas Jaeger  <aj@suse.de>
60724         [BZ #13114]
60725         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60726         non-existant file when using close-on-exec mode.
60728 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60730         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60731         the very first instruction.
60733         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60734         the CFI state in the end.
60735         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60736         inclusion of dl-trampoline.h.
60737         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60739 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60741         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60742         expectations for long double.
60744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60745         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60747 2011-08-14  David S. Miller  <davem@davemloft.net>
60749         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60750         artificual limit depends upon the system page size.
60752 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60754         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60755         * resolv/Makefile: Define CFLAGS-libresolv.
60757 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60759         * nss/makedb.c (compute_tables): Make variables used in nested
60760         function static.
60762 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60764         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60765         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60766         if buffer was too small.
60768         * elf/pldd.c (main): Attach to all threads in the process.
60769         Rewrite /proc handling to use *at functions.
60771 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60773         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60774         specifies first scope to show.
60775         (dl_open_worker): Update callers.  Move printing scope of new
60776         object to before the relocation.
60777         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60778         * sysdeps/generic/ldsodefs.h: Update declaration.
60780         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60781         string for the scope number.
60783 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60785         * nscd/servicescache.c (cache_addserv): Make sure written is always
60786         initialized.
60788 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60790         * sysdeps/i386/i486/bits/atomic.h
60791         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60792         statement expression, so as to suppress "set but not used" warning.
60793         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60795         * string/strncat.c (STRNCAT): Use prototype definition.
60797         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60798         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60799         -Iprograms here.
60800         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60801         (localedef-modules): Add localedef.
60802         (locale-modules): Add locale.
60804         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60805         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60806         to avoid a warning.
60808 2011-08-14  David S. Miller  <davem@davemloft.net>
60810         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60811         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60813 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60815         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60816         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60817         * elf/rtld.c (dl_main): Set l_name of vDSO.
60818         Call _dl_show_scope when DL_DEBUG_SCOPES.
60819         (process_dl_debug): Recognize scopes flag and also set it for all.
60820         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60821         Declare _dl_show_scope.
60823         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60824         (do_dlopen): Pass caller_dlopen to dl_open.
60825         (__libc_dlopen_mode): Initialize caller_dlopen.
60827         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60828         of libc.  Make tolower call locale-independent.  Optimize a bit by
60829         using isdigit instead of isalnum.
60830         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60832 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60834         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60835         was a dependency or dynamically loaded.
60837 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60839         * intl/l10nflist.c: Allow architecture-specific pop function.
60840         * sysdeps/x86_64/l10nflist.c: New file.
60842         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60843         classification.
60845 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60847         * include/dirent.h: Add libc_hidden_proto for scandirat and
60848         scandirat64.  Don't declare __scandirat64.
60849         * dirent/scandirat.c: Add libc_hidden_def.
60850         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60851         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60853 2011-08-10  David S. Miller  <davem@davemloft.net>
60855         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60856         enum.
60857         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60858         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60859         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60861 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60863         * Versions.def [libc]: Add GLIBC_2.15.
60864         * dirent/Makefile (routines): Add scandirat and scandirat64.
60865         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60866         GLIBC_2.15.
60867         * dirent/dirent.h: Declare scandirat and scandirat64.
60868         * dirent/scandirat.c: New file.
60869         * dirent/scandirat64.c: New file.
60870         * sysdeps/wordsize-64/scandirat.c: New file.
60871         * sysdeps/wordsize-64/scandirat64.c: New file.
60872         * dirent/opendir.c: Define opendirat.
60873         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60874         using scandirat.
60875         * dirent/scandir64.c: Adjust for scandir.c change.
60876         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60877         __scandirat64, and __scandir_cancel_handler.
60878         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60879         additional parameter and use openat instead of open (outside of ld.so).
60880         Add new __opendir as wrapper around __opendirat.
60881         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60882         here without requiring old scandirat implementation.
60884 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60886         * dirent/scandir.c (cancel_handler): Renamed to
60887         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60888         defined.  Adjust users.
60889         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60890         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60892 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60894         * string/test-string.h (IMPL): Use __STRING to expand name and then
60895         stringify it.
60897         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60898         of cleanups.
60900 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60902         * string/Makefile: Update.
60903         (strop-tests): Append strncat.
60904         * string/test-wcscmp.c: New file.
60905         New comprehensive test for wcscmp.
60906         * string/test-strcmp.c: Update.
60907         (WIDE): New define.
60909 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60911         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60912         line.
60914 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60917         encoding to ACE if AI_IDN.
60919 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60922         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60924 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60926         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60927         Fix overflow bug in strncat.
60928         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60930         * string/test-strncat.c: Update.
60931         Add new tests for checking overflow bugs.
60933 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60936         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60937         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60938         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60939         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60940         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60941         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60942         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60943         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60945         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60946         (USE_AS_STRCAT): Define.
60947         Add strcat and strncat support.
60948         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60950 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60952         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60953         __n bigger than INT_MAX+1.
60954         (__strncmp_g): Likewise.
60956 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60958         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60959         * libio/stido.h: Likewise.
60961         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60962         (AF_NFC): Define.
60963         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60964         (AF_NFC): Define.
60966         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60967         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60968         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60969         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60970         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60972         [BZ #13021]
60973         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60974         installed.
60976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60977         typo.
60978         (_dl_x86_64_save_sse): Likewise.
60980 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60982         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60983         OSXSAVE.
60984         (_dl_x86_64_save_sse): Likewise.
60986         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60988         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60990 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60992         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60993         change.
60994         (_dl_x86_64_save_sse): Use correct AVX check.
60996 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60999         bug in strncpy/strncat.
61000         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61002 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
61004         * string/tester.c (test_strcat): Add tests for different alignments
61005         of source and destination.
61006         (test_strncat): Likewise.
61008 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61010         [BZ #12852]
61011         * posix/glob.c (glob): Check passed in values before using them in
61012         expressions to avoid some overflows.
61013         (glob_in_dir): Likewise.
61015         [BZ #13007]
61016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61017         check for AVX enablement so that we don't crash with old kernels and
61018         new hardware.
61019         * elf/tst-audit4.c: Add same checks here.
61020         * elf/tst-audit6.c: Likewise.
61022         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61024 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
61026         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61028 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61030         * po/cs.po: Update from translation team.
61031         * po/bg.po: Likewise.
61033 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
61035         * misc/sys/cdefs.h: Add support for const attribute.
61036         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61037         to gnu_dev_{major,minor,makedev} functions.
61039 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
61041         * intl/dcigettext.c (get_output_charset): Add missing bracket.
61043 2011-07-20  Andreas Schwab  <schwab@redhat.com>
61045         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61046         strlen results.
61048 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61051         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61052         register in order to avoid conflicts with the soft frame pointer
61053         being held in r11 when necessary.
61054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61055         (INTERNAL_VSYSCALL_NCS): Likewise.
61057 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
61059         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61060         * elf/dl-fini.c (_dl_fini): Adjust caller.
61061         * elf/dl-close.c (_dl_close_worker): Likewise.
61062         * sysdeps/generic/ldsodefs.h: Adjust declaration.
61064 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61066         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61067         "aux_cache->nlibs < 0".
61069         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61070         in the reload-count case.
61072 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61075         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61076         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61077         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61078         * sysdeps/x86_64/multiarch/strcat.S: New file.
61079         * sysdeps/x86_64/multiarch/strncat.S: New file.
61080         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61081         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61082         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61083         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61084         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61085         (USE_AS_STRCAT): Define.
61086         Add strcat and strncat support.
61087         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61088         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61089         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61090         * string/strncat.c: Update.
61091         (USE_AS_STRNCAT): Define.
61092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61093         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61094         and i7.
61095         * sysdeps/x86_64/multiarch/init-arch.h
61096         (bit_Prefer_PMINUB_for_stringop): New.
61097         (index_Prefer_PMINUB_for_stringop): Likewise.
61098         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61099         bit_Prefer_PMINUB_for_stringop.
61101 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61103         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61104         buffer64.
61105         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61106         of casting of buffer.
61107         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61108         buffer32 and buffer64.
61109         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61110         writes instead of casting of buffer.
61111         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61112         buffer32.
61113         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61114         casting of buffer.
61116 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61118         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61120 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61122         * nscd/nscd.c (termination_handler): Don't do anything for a database
61123         if it has not yet been initialized.
61125 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61127         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61129 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61131         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61133 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61135         * po/nl.po: Update from translation team.
61136         * po/sv.po: Likewise.
61138 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61140         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61141         now disallowed by GCC.
61143         * configure.in (use-default-link): Default to yes if a test -shared
61144         link meets our qualifications.
61145         * configure: Regenerated.
61147         * config.make.in (output-format): New variable.
61148         * configure.in: Check for ld --print-output-format support.
61149         * configure: Regenerated.
61150         * Makerules ($(common-objpfx)format.lds)
61151         [$(output-format) != unknown]: Just use $(output-format),
61152         instead of the linker-script munging.
61154 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61156         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61157         of $(common-objpfx)shlib.lds.
61158         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61160         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61161         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61163         * configure.in (-z relro check): Adjust test code to add a large
61164         writable data section after it.
61165         * configure: Regenerated.
61167 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61169         * configure.in (-z relro check): Fix test code to make the variable
61170         truly const.
61171         * configure: Regenerated.
61173 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61175         * nscd/nscd.h (struct traced_file): Define.
61176         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61177         elements.  Add traced_files.
61178         (inotify_fd): Declare.
61179         (register_traced_file): Declare.
61180         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61181         (inotify_fd): Export.
61182         (resolv_conf_descr): Remove.
61183         (nscd_init): Move inotify descriptor creation to main.
61184         Don't register files for notification here.
61185         (register_traced_file): New function.
61186         (invalidate_cache): Don't use reset_res to determine whether to call
61187         res_init, go through the list of registered files.
61188         (main_loop_poll): The inotify descriptors are now stored in the
61189         structures for the traced files.
61190         (main_loop_epoll): Likewise
61191         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61192         to __nss_disable_nscd.
61193         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61194         for a database anymore.  Check the records for all the registered
61195         files instead.
61196         * nss/Makefile (libnss_files-routines): Add files-init.
61197         (libnss_db-routines): Add db-init.
61198         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61199         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61200         * nss/nss_db/db-init.c: New file.
61201         * nss/nss_files/files-init.c: New file.
61202         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61203         __nss_lookup_function.
61204         (__nss_lookup_function): Call nss_load_library.
61205         (nss_load_all_libraries): New function.
61206         (__nss_disable_nscd): Take parameter with callback function for files
61207         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61208         used for the cached services.
61209         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61210         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61211         options for features to all the files in nscd.
61213         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61215 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61217         * csu/elf-init.c (__libc_csu_init): Comment typo.
61219 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61221         * po/pl.po: Update from translation team.
61222         * po/ja.po: Likewise.
61223         * po/ru.po: Likewise.
61224         * po/ko.po: Likewise.
61225         * po/fr.po: Likewise.
61227 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61229         * configure.in (.ctors/.dtors header and trailer check):
61230         Use an empirical test on a built program.
61231         * configure: Regenerated.
61233         * configure.in (-z relro check): Use an empirical test on a built DSO.
61234         Detect, but do not require, on ia64.
61235         * configure: Regenerated.
61237         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61238         Update tests that use readelf to use $READELF instead.
61239         * configure: Regenerated.
61241 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61243         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61244         if the result is not used.
61246 2011-07-05  Andreas Jaeger  <aj@suse.de>
61248         [BZ#9696]
61249         * stdlib/tst-strtod.c: Add testcase.
61251 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61253         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61254         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61255         The latter has a higher limit.  Take additional parameter to pass to
61256         the new function.
61257         (__pathconf): Pass file to __statfs_link_max.
61258         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61259         __statfs_link_max.
61260         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61261         __statfs_link_max.
61263         [BZ #12868]
61264         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61265         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61266         Handle Lustre.
61267         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61268         (__statfs_filesize_max): Likewise.
61269         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61271 2011-07-05  Andreas Jaeger  <aj@suse.de>
61273         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61275 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61277         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61278         `status' variable.
61279         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61280         Likewise.
61282 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61284         * Makefile (strop-tests): Add strncat.
61285         * string/test-strncat.c: New file.
61287 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61289         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61291 2011-06-21  Andreas Jaeger  <aj@suse.de>
61293         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61294         Copy rule from iconvdata/Makefile.
61296 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61298         [BZ #12922]
61299         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61300         but no long options are defined, just return 'W'.
61302 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61304         [BZ #9696]
61305         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61307 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61309         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61310         netgroups to read.
61311         (innetgr): Likewise.
61313 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61315         * config.make.in (install_root): Default to $(DESTDIR).
61317 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61319         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61321 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61323         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61325         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61326         containing directory rather than embedding absolute directory names.
61328         * scripts/check-local-headers.sh: Rewritten using awk.
61329         Match by word, not by line.  Print error messages for matches.
61330         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61332         * Makerules [shlib-lds-flags empty]:
61333         ($(common-objpfx)libc_pic.opts): New target.
61334         ($(common-objpfx)libc_pic.os.clean): New target.
61335         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61337         * config.make.in (OBJCOPY): New variable.
61338         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61339         * configure: Regenerated.
61341         * config.make.in (use-default-link): New variable.
61342         * configure.in (use_default_link): Grok --with-default-link to set it.
61343         * configure: Regenerated.
61344         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61345         (shlib-lds, shlib-lds-flags): Define to empty.
61347         * Makerules (shlib-lds): New variable.
61348         (shlib-lds-flags): New variable.
61349         (build-shlib, build-moduile, build-module-asneeded): Use it.
61350         ($(common-objpfx)libc.so): Use $(shlib-lds).
61351         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61352         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61354         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61355         DT_FLAGS/DT_FLAGS_1 with zero flags.
61357         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61358         linker script munging.
61360 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61362         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61363         as 128-bit value.
61364         * crypt/sha512.c (sha512_process_block): Perform total addition using
61365         128-bit if possible.
61366         (__sha512_finish_ctx): Likewise.
61367         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61368         as 64-bit value.
61369         * crypt/sha256.c (SWAP64): Define.
61370         (sha256_process_block): Perform total addition using 64-bit if
61371         possible.
61372         (__sha256_finish_ctx): Likewise.
61374 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61376         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61377         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61378         * nscd/hstcache.c (cache_addhst): Likewise.
61379         * nscd/grpcache.c (cache_addgr): Likewise.
61380         * nscd/aicache.c (addhstaiX): Likewise
61381         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61383 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61385         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61386         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61387         * nscd/hstcache.c (cache_addhst): Likewise.
61388         * nscd/grpcache.c (cache_addgr): Likewise.
61389         * nscd/aicache.c (addhstaiX): Likewise
61391 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61393         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61394         domain only when needed.
61396 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61399         is always restored.
61401 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61403         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61404         are re-adding the entry.
61405         * nscd/servicescache.c (cache_addserv): Likewise.
61407 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61409         * sysdeps/generic/dl-irel.h: fix protection against multiple
61410         inclusions.
61411         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61413 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61415         [BZ #12935]
61416         * malloc/memusage.sh: Fix quoting in message.
61417         * debug/xtrace.sh: Likewise.
61419         * configure.in: Remove support for --experimental-malloc option, make
61420         it the default.
61421         * config.make.in: Likewise.
61422         * malloc/Makefile: Likewise.
61424 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61426         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61427         two-byte characters.
61429 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61431         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61432         AC_CACHE_CHECK invocation.
61433         * configure: Regenerated.
61435         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61437 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61439         [BZ #12350]
61440         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61441         bit from old_res_options.
61443         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61445         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61446         value type for setfct.
61448 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61450         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61451         __gettimeofday instead of gettimeofday.
61453 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61455         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61457 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61459         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61461         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61462         info.
61464 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61467         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61468         strcpy-sse2-unaligned strncpy-sse2-unaligned
61469         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61470         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61471         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61472         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61473         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61474         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61475         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61476         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61477         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61478         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61479         (STRCPY): Support SSE2 and SSSE3 versions.
61481 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61483         [BZ #12874]
61484         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61485         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61486         kernels which artificially limit size of requests.
61488 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61490         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61491         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61492         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61493         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61494         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61495         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61496         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61497         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61498         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61499         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61500         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61501         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61502         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61503         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61504         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61506         Enable unaligned load optimization for Intel Core i3, i5 and i7
61507         processors.
61508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61509         Define.
61510         (index_Fast_Unaligned_Load): Define.
61511         (HAS_FAST_UNALIGNED_LOAD): Define.
61513 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61515         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61517 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61519         [BZ #12907]
61520         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61521         until it is clear that the information is realy needed.
61522         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61524 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61528 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61530         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61531         /sys/devices/system/cpu/online if it is usable.
61533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61534         reading the information from the /proc filesystem to once a second.
61536 2011-06-21  Andreas Jaeger  <aj@suse.de>
61538         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61539         NULL after inclusion of kernel headers.
61541 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61543         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61544         calls to internal_setent.
61546         [BZ #12885]
61547         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61548         addresses using gethostbyname4_r ignore IPv4 addresses.
61550         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61551         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61553         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61555 2011-06-20  David S. Miller  <davem@davemloft.net>
61557         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61558         inclusions.
61559         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61561         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61562         (elf_irel): Use it.
61563         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61564         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61565         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61566         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61567         * sysdeps/x86_64/dl-irel.h: Likewise.
61569         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61570         * elf/dl-sym.c: Likewise.
61572 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61574         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61575         need to dereference resplen2.
61577 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61579         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61581 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61583         * Makeconfig: Define vardbdir and inst_vardbdir.
61584         * nss/Makefile: Add rules to install db-Makefile.
61586         * nss/nss_db/db-XXX.c: Cleanup.
61588         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61589         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61590         GLIBC_PRIVATE.
61591         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61592         * nss/makedb.c: Implement -g option to specify that value strings
61593         are generated and should not be added to table iterated over for
61594         get*ent calls.
61595         * nss/nss_db/db-initgroups.c: New file.
61597         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61598         interface.
61600         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61601         (internal_getgrouplist): Adjust to name change.
61602         Update use_initgroups_entry if this is not the first call.
61603         * nss/databases.def: Add initgroups entry.
61605         * nss/makedb.c (compute_tables): Check result of multiple hash table
61606         sizes to minimize maximum chain length.
61608 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61610         * Versions.def: Add entry for libnss_db.
61611         * shlib-versions: Likewise.
61612         * nss/Makefile: Add rules to build libnss_db.
61613         * nss/Versions: Add libnss_db information.  Organize libnss_files
61614         entries better.
61615         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61616         makedb progra.  Some minor improvements to generate smaller files.
61617         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61618         here from...
61619         * nss/makedb.c: ...here.
61620         Improve database format to be smaller and require less memory at
61621         runtime.
61622         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61623         db anymore.
61624         * nss/nss_db/db-netgrp.c: Likewise.
61625         * nss/nss_db/db-open.c: Likewise.
61626         * nss/nss_files/flies-XXX.x: Adjust comments.
61627         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61628         * nss/nss_files/files-grp.c: Likewise.
61629         * nss/nss_files/files-hosts.c: Likewise.
61630         * nss/nss_files/files-network.c: Likewise.
61631         * nss/nss_files/files-proto.c: Likewise.
61632         * nss/nss_files/files-pwd.c: Likewise.
61633         * nss/nss_files/files-rpc.c: Likewise.
61634         * nss/nss_files/files-service.c: Likewise.
61635         * nss/nss_files/files-sgrp.c: Likewise.
61636         * nss/nss_files/files-spwd.c: Likewise.
61637         * nss/nss_db/db-alias.c: Removed.
61638         * nss/nss_db/dummy-db.h: Removed.
61640 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61642         * nss/makedb.c: Rewritten to not use database library.
61643         * nss/Makefile: Update to build new makedb program.
61645 2011-06-14  Andreas Jaeger  <aj@suse.de>
61647         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61648         memset declaration.
61650 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61653         tmpbuf.
61655 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61657         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61658         * elf/Makefile ($(objpfx)ld.so): Likewise.
61660         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61661         Don't list ld.so twice in dependencies.
61663         * posix/bug-regex31.c: Include <stdlib.h>.
61665         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61667         * nis/nss_compat/compat-spwd.c
61668         (getspent_next_nss_netgr): Remove unused variable.
61669         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61671         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61672         nonmembers" output to use the right array.
61674         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61676         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61678         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61679         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61680         * catgets/gencat.c (read_input_file): Likewise.
61681         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61683         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61684         variable definition inside #if's controlling its use.
61686         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61688         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61690         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61692         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61693         unreachable code.
61695         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61697         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61698         * configure: Regenerated.
61700         * Makerules: Revert last change.
61701         * elf/Makefile: Likewise.
61703 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61705         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61706         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61707         (reloc-link): Likewise.
61709 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61711         * elf/Makefile: Add rules to build pldd.
61712         * elf/pldd.c: New file.
61713         * elf/pldd-xx.c: New file.
61715 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61717         * version.h: Update for 2.15 development version.
61719 2011-06-07  David S. Miller  <davem@davemloft.net>
61721         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61722         ifuncs.
61723         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61724         elf_machine_lazy_rel): Likewise.
61725         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61727         elf_machine_lazy_rel): Likewise.
61728         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61729         dl_hwcap via passed in argument.
61730         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61731         Likewise.
61733 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61735         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61737 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61739         [BZ #12849]
61740         * manual/fdl-1.1.texi: New file, verbatim from:
61741         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61742         * manual/lgpl-2.1.texi: New file, verbatim from:
61743         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61744         * manual/Makefile (licenses): New variable, list those new file names.
61745         (texis): Use it.
61746         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61748         * manual/fdl.texi: File removed.
61749         * manual/lesser.texi: File removed.
61750         * manual/libc.texinfo (Copying, Documentation License):
61751         Use new @include file names, put @appendix directive before @include.
61753 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61755         [BZ #12841]
61756         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61757         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61758         (mq_open): Add __NTH.
61760 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61763         Assume Intel Core i3/i5/i7 processor if AVX is available.
61765 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61767         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61768         typo.
61770 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61772         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61773         memory.  Use alloca_account.  Fix memory leak when retrying.
61775 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61777         * version.h (RELEASE): Bump for 2.14 release.
61778         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61780         * config.make.in (RANLIB): Remove entry.
61782 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61784         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61785         (libc.pot): Work around missing support for .ksh extension in xgettext.
61787         [BZ #12684]
61788         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61789         if both request failed.
61790         (send_dg): In case of server errors clear resplen or *resplen2.
61792         [BZ #12454]
61793         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61794         when there are multiple maps.
61795         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61796         (_dl_fini): Remove test here.
61798         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61800 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61802         [BZ #12350]
61803         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61804         bit from old_res_options.
61805         (gaih_inet): Likewise.
61807         [BZ #11099]
61808         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61809         as signed.
61811         * resolv/res_init.c (res_setoptions): Make the code more compact.
61813         [BZ #11558]
61814         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61815         set RES_USEVC.
61817         [BZ #11634]
61818         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61820         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61822         [BZ #11781]
61823         * malloc/malloc.h: Declare malloc hook variables as volatile.
61825         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61826         in last patch.
61828         [BZ #11799]
61829         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61830         raise in the comment.
61831         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61832         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61833         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61835 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61837         [BZ #12811]
61838         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61839         grow the buffers more if it already has to be sufficient.
61840         (build_wcs_upper_buffer): Likewise.
61841         * posix/regexec.c (check_matching): Likewise.
61842         (clean_state_log_if_needed): Likewise.
61843         (extend_buffers): Don't enlarge buffers beyond size of the input
61844         buffer.
61845         Patches mostly by Emil Wojak <emil@wojak.eu>.
61846         * posix/bug-regex32.c: New file.
61847         * posix/Makefile (tests): Add bug-regex32.
61849         * locale/findlocale.c (_nl_find_locale): Return right away if
61850         _nl_explode_name failed.
61851         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61853         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61855         * debug/xtrace.sh: Unify messages.
61856         * malloc/memusage.sh: Likewise.
61858         [BZ #12813]
61859         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61860         time symbol from vDSO.  Substitute with vsyscall if not available.
61861         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61862         __vdso_time.
61864         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61865         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61866         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61867         Add sendmmsg and internal_sendmmsg.
61868         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61869         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61870         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61872         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61873         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61874         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61876 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61878         [BZ #12813]
61879         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61880         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61881         available.
61882         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61883         __vdso_getcpu.
61885         [BZ #12814]
61886         * iconvdata/Makefile (tests): Add bug-iconv9.
61887         * iconvdata/bug-iconv9.c: New file.
61889 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61891         [BZ #12814]
61892         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61894 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61896         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61897         (struct user_regs_struct): Change intcs field back to cs.
61899 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61901         * po/ja.po: Update from translation team.
61903 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61905         [BZ #12795]
61906         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61907         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61909 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61911         * stdlib/longlong.h: Update from GCC.
61913 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61915         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61916         parameter name.
61917         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61918         Add parameter name.
61919         (__sysconf): Pass it down.
61921 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61923         [BZ #12671]
61924         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61925         some situations.
61926         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61927         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61928         add in in __libc_use_alloca calls.  Adjust callers.
61929         (glob): Use malloc in some situations.
61931         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61932         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61933         pltexit.
61935 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61937         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61938         and CLOCK_BOOTTIME_ALARM.
61940         [BZ #12782]
61941         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61942         is returned.
61944         * string/_strerror.c (__strerror_r): Print negative errors as signed
61945         numbers.
61947         [BZ #12777]
61948         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61949         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61950         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61952         * configure.in: Fix typo in redirection and correct removal of test
61953         files in two cases.
61955         [BZ #12788]
61956         * locale/setlocale.c (new_composite_name): Fix test to check for
61957         identical name of all categories.
61959         [BZ #12792]
61960         * libio/filedoalloc.c (local_isatty): New function.
61961         (_IO_file_doallocate): Use local_isatty.
61962         * stdio-common/perror.c (perror): In case a new stream is used
61963         forward the stream error.
61964         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61965         error flag.
61967 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61969         [BZ #11869]
61970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61971         alloca.
61972         * include/alloca.h (extend_alloca_account): Define.
61974         [BZ #11857]
61975         * posix/regex.h: Fix comments with documentation of user-accessible
61976         fields after compilation and describe correct free'ing of pattern
61977         after re_compile_pattern.
61978         Patch by Reuben Thomas <rrt@sc3d.org>.
61980 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61982         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61983         and -mno-altivec to prevent the compiler from using Altivec and/or
61984         VSX instructions when the corresponding registers are not available.
61986 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61988         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61990 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61992         * libio/freopen.c (freopen): Use __dup2, not dup2.
61993         * libio/freopen64.c (freopen64): Likewise.
61995 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61997         [BZ #12775]
61998         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61999         * math/Makefile (tests): Add test-powl.
62000         (CFLAGS-test-powl.c): Define.
62001         * math/test-powl.c: New file.
62003 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62005         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62007 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
62009         [BZ #11837]
62010         * iconvdata/gb18030.c: Update to GB18020-2005.
62012 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
62014         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62015         RE_SYNTAX_POSIX_AWK): Update to match recent development.
62016         Patch by Aharon Robbins <arnold@skeeve.com>.
62018         [BZ #11892]
62019         * stdlib/putenv.c (putenv): Don't always create copy of the variable
62020         on the stack.
62022         [BZ #11895]
62023         * misc/pselect.c (__pselect): Handle timeout value errors hidden
62024         through underflows.
62026         [BZ #12766]
62027         * misc/error.c (error_at_line): Ensure file_name and old_file_name
62028         point to strings before performing equality test for error_one_per_line
62029         mode.
62031         [BZ #11697]
62032         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62034         [BZ #11820]
62035         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62036         (struct user_fpregs_struct): Avoid __uint*_t types.
62038         [BZ #6420]
62039         * malloc/mtrace.c (tr_where): Add additional parameter to point to
62040         symbol info.  Use it instead of calling _dl_addr locally.
62041         (lock_and_info): New function.
62042         (tr_freehook): Call lock_and_info and pass symbol info as additional
62043         parameter to tr_where.
62044         (tr_mallochook): Likewise.
62045         (tr_reallochook): Likewise.
62046         (tr_memalignhook): Likewise.
62048         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
62049         used and couldn't be at all thread-safe.
62051 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
62053         * libio/freopen.c (freopen): Don't close old file descriptor
62054         before the new one is opened.  Instead dup the new file descriptor
62055         to the old one after the new stream is created.
62056         * libio/freopen64.c (freopen64): Likewise.
62057         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62058         * libio/fileops.c (_IO_new_file_close_it): Handle new
62059         _IO_FLAGS2_NOCLOSE flag.
62060         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62061         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62062         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62063         _IO_FLAGS2_NOCLOSE flag.
62064         * include/unistd.h: Add hidden_proto for dup3.
62065         Define __have_dup3.
62066         * io/dup3.c: Define hidden symbol.
62067         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62069         [BZ #7101]
62070         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62071         when an incomplete long option is used.
62072         * posix/tst-getopt_long1.c: New file.
62073         * posix/Makefile (tests): Add tst-getopt_long1.
62075         [BZ #10138]
62076         * scripts/config.guess: Update from autoconf-2.68.
62077         * scripts/config.sub: Likewise.
62079         [BZ #10157]
62080         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62081         tests into ...
62082         (has_cpuclock): ...this.  New function.
62083         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62084         macro here based on has_cpuclock code.
62086         [BZ #10149]
62087         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62088         First byte (not low byte) is now always NUL.
62089         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62091         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62092         Use non-cancelable interfaces.
62094         [BZ #9809]
62095         * locale/iso-639.def: Add entry for Sorani.
62097         [BZ #11901]
62098         * include/stdlib.h: Move include protection to the right place.
62099         Define abort_msg_s.  Declare __abort_msg with it.
62100         * stdlib/abort.c (__abort_msg): Adjust type.
62101         * assert/assert.c (__assert_fail_base): New function.  Majority
62102         of code from __assert_fail.  Allocate memory for __abort_msg with
62103         mmap.
62104         (__assert_fail): Now call __assert_fail_base.
62105         * assert/assert-perr.c: Remove bulk of implementation.  Use
62106         __assert_fail_base.
62107         * include/assert.hL Declare __assert_fail_base.
62108         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62109         mmap.
62110         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62112 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62114         [BZ #11952]
62115         [BZ #12453]
62116         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62117         until all modules are registered in the DTV.
62118         * elf/Makefile: Add rules to build and run tst-tls19.
62119         * elf/tst-tls19.c: New file.
62120         * elf/tst-tls19mod1.c: New file.
62121         * elf/tst-tls19mod2.c: New file.
62122         * elf/tst-tls19mod3.c: New file.
62123         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62125         [BZ #12083]
62126         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62127         correctly.
62129         [BZ #12601]
62130         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62131         two-byte sequence errors.
62132         * iconvdata/Makefile (tests): Add bug-iconv8.
62133         * iconvdata/bug-iconv8.c: New file.
62135         [BZ #12626]
62136         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62137         buf2 definition.
62139         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62141         [BZ #12432]
62142         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62143         (dummy_getcfa): New function.
62144         (init): Get _Unwind_GetCFA address, use dummy if not found.
62145         (backtrace_helper): In recursion check, also check whether CFA changes.
62146         (__backtrace): Completely initialize arg.
62148         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62149         storing incomplete byte sequence in state object.  Avoid testing for
62150         guaranteed too small input if we know there is enough data available.
62152 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62154         * Makeconfig (+link-pie): Indent.
62155         * Rules (binaries-pie): Define if $(have-fpie) and
62156         $(build-shared).
62157         (binaries-shared): Also filter out $(binaries-pie).
62158         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62159         * nscd/Makefile (others-pie): Add nscd.
62160         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62161         ($(objpfx)nscd): Remove command override.
62162         * login/Makefile (others-pie): Add pt_chown.
62163         ($(objpfx)pt_chown): Remove command override.
62164         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62165         remove command overrides.
62167 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62169         * libio/tst_putwc.c: Fix error messages.
62171         [BZ #12724]
62172         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62173         currently writing and seek to current position when not.
62174         * libio/Makefile (tests): Add bug-fclose1.
62175         * libio/bug-fclose1.c: New file.
62177 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62179         [BZ #12511]
62180         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62181         don't set DF_1_NODELETE here.
62182         (do_lookup_x): When entering new entry test for copy relocation
62183         and if necessary set DF_1_NODELETE flag.
62184         * elf/tst-unique4.cc: New file.
62185         * elf/tst-unique4.h: New file.
62186         * elf/tst-unique4lib.cc: New file.
62187         * elf/Makefile: Add rules to build and run tst-unique4.
62188         Patch by Piotr Bury <pbury@goahead.com>.
62190 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62192         [BZ #12052]
62193         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62195         [BZ #12625]
62196         * misc/mntent_r.c (addmntent): Flush the stream after the output
62198         [BZ #12393]
62199         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62200         (is_trusted_path_normalize): Skip initial colon.  Append slash
62201         to empty buffer.  Duplicate is_trusted_path code but allow
62202         constructed patch to be prefix.
62203         (is_dst): Allow $ORIGIN followed by /.
62204         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62205         Correct testing of result of is_trusted_path_normalize
62206         (decompose_rpath): Fix warning.
62208 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62210         [BZ #11257]
62211         * grp/initgroups.c (internal_getgrouplist): When we found the service
62212         list through the initgroups entry in nsswitch.conf do not always
62213         continue on a successful lookup.  Don't always use the
62214         __nss_group_database value if it is set.
62215         * nss/nsswitch.conf (initgroups): Change action for successful db
62216         lookup to continue for compatibility.
62218 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62220         [BZ #11532]
62221         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62222         and CP774 modules.
62223         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62224         and CP774 modules.
62225         * iconvdata/tst-tables.sh: Likewise.
62226         * iconvdata/cp770.c: New file.
62227         * iconvdata/cp771.c: New file.
62228         * iconvdata/cp772.c: New file.
62229         * iconvdata/cp773.c: New file.
62230         * iconvdata/cp774.c: New file.
62231         * iconvdata/testdata/CP770: New file.
62232         * iconvdata/testdata/CP770..UTF8: New file.
62233         * iconvdata/testdata/CP771: New file.
62234         * iconvdata/testdata/CP771..UTF8: New file.
62235         * iconvdata/testdata/CP772: New file.
62236         * iconvdata/testdata/CP772..UTF8: New file.
62237         * iconvdata/testdata/CP773: New file.
62238         * iconvdata/testdata/CP773..UTF8: New file.
62239         * iconvdata/testdata/CP774: New file.
62240         * iconvdata/testdata/CP774..UTF8: New file.
62242         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62243         END CHARMAP line.
62244         * iconvdata/gen-8bit-gap.sh: Likewise.
62245         * iconvdata/gen-8bit.sh: Likewise.
62247         * locale/iso-639.def: Add ary entry.
62249         [BZ #11258]
62250         * locale/C-translit.h.in: Add U20A1 transliteration.
62252         [BZ #12178]
62253         * locale/iso-639.def: Add wae entry.
62254         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62256         [BZ #12545]
62257         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62258         for n.
62260         [BZ #12711]
62261         * locale/C-translit.h.in: Add entry for U20B9.
62262         Patch by pravin.d.s@gmail.com.
62264 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62266         [BZ #12713]
62267         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62268         ENAMETOOLONG use generic getcwd.
62269         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62270         in rtld.  Use *stat64.
62271         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62272         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62273         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62274         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62275         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62276         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62277         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62278         __fstatat64 macros.
62279         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62280         * dirent/rewinddir.c: Add libc_hidden_def.
62281         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62282         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62284         * include/dirent.h (__alloc_dir): Add flags parameter.
62285         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62286         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62287         __alloc_dir.
62288         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62289         from fdopendir if O_CLOEXEC is already set.
62291 2011-03-15  Alan Modra  <amodra@gmail.com>
62293         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62294         l_tls_firstbyte_offset non-zero.  Save padding offset in
62295         l_tls_firstbyte_offset for later use.
62296         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62297         freeing static tls block.
62299 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62301         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62302         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62303         being defined by the kernel headers.
62305 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62307         [BZ #12734]
62308         * resolv/resolv.h: Define RES_NOTLDQUERY.
62309         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62310         no-tld-query and set RES_NOTLDQUERY.
62311         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62312         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62313         modern BIND to search name as TLD unless forbidden.
62315 2011-05-07  Petr Baudis  <pasky@suse.cz>
62316             Ulrich Drepper  <drepper@gmail.com>
62318         [BZ #12393]
62319         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62320         (is_trusted_path): ...to here.
62321         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62322         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62323         using is_trusted_path_normalize() in setuid scripts.
62325 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62327         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62328         __BEGIN/__END_DECLS.
62330 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62332         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62333         NSS_STATUS_NOTFOUND if no record was found.
62335 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62337         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62338         (headers-not-in-tirpc): Remove rpc/netdb.h
62339         * resolv/netdb.h: Revert last change.
62341 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62343         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62344         circular dependency between libgcc.a and libc.a.
62346 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62348         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62349         * nis/Makefile: Don't install rpcsvc/*.
62350         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62351         instead of <rpc/types.h>.
62352         (MAXHOSTNAMELEN): Define.
62354 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62356         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62358 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62360         [BZ #12714]
62361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62362         gethostbyname4_r when IPv6 results are possible.
62364 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62366         [BZ #12723]
62367         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62368         _PC_PIPE_BUF handling.
62370 2011-04-30  Bruno Haible  <bruno@clisp.org>
62372         [BZ #12717]
62373         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62374         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62375         to 'int'.
62376         * inet/getnameinfo.c (getnameinfo): Likewise.
62378 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62380         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62381         to groups setting in database lookup.
62382         * nss/nsswitch.conf: Add initgroups entry.
62384 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62386         [BZ #12685]
62387         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62388         mode string.
62389         Patch by Eric Blake <eblake@redhat.com>.
62391 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62393         * sunrpc/Makefile (need-export-routines): Add svc_run.
62394         (routines): Remove svc_run.
62395         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62396         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62397         * sunrpc/svc_run.c (svc_run): Likewise.
62398         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62400 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62403         problem in reallocation in last patch.
62405 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62407         * sunrpc/Makefile: Move inclusion of Rules.
62409 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62411         * nss/nss_files/files-initgroups.c: New file.
62412         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62413         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62414         _nss_files_initgroups_dyn.
62416 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62418         * elf/elf.h (R_ARM_IRELATIVE): Define.
62420 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62422         * po/ru.po: Update from translation team.
62424 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62426         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62427         dependencies.
62429 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62431         [BZ #12653]
62432         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62433         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62434         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62435         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62436         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62438 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62440         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62441         differing bytes.
62442         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62443         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62444         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62446 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62448         [BZ #12420]
62449         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62450         storing it.
62451         * stdlib/bug-getcontext.c: New file.
62452         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62454 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62456         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62457         instructions into .machine "z9-109".
62458         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62459         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62461 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62463         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62464         between environment variables and auxiliary vector.
62466 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62468         * Makefile: Add rules to build linkobj/libc.so.
62469         * include/libc-symbols.h: Define libc_hidden_nolink.
62470         * include/rpc/auth.h: Mark functions which are to be hidden.
62471         * include/rpc/auth_des.h: Likewise.
62472         * include/rpc/auth_unix.h: Likewise.
62473         * include/rpc/clnt.h: Likewise.
62474         * include/rpc/des_crypt.h: Likewise.
62475         * include/rpc/key_prot.h: Likewise.
62476         * include/rpc/pmap_clnt.h: Likewise.
62477         * include/rpc/pmap_prot.h: Likewise.
62478         * include/rpc/pmap_rmt.h: Likewise.
62479         * include/rpc/rpc_msg.h: Likewise.
62480         * include/rpc/svc.h: Likewise.
62481         * include/rpc/svc_auth.h: Likewise.
62482         * include/rpc/xdr.h: Likewise.
62483         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62484         * nss/Makefile: Likewise.
62485         * sunrpc/Makefile: Don't install headers.  Build library with normal
62486         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62487         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62488         for the compat linking library.  Remove use of INTDEF/INTUSE.
62489         * sunrpc/auth_none.c: Likewise.
62490         * sunrpc/auth_unix.c: Likewise.
62491         * sunrpc/authdes_prot.c: Likewise.
62492         * sunrpc/authuxprot.c: Likewise.
62493         * sunrpc/clnt_gen.c: Likewise.
62494         * sunrpc/clnt_perr.c: Likewise.
62495         * sunrpc/clnt_raw.c: Likewise.
62496         * sunrpc/clnt_simp.c: Likewise.
62497         * sunrpc/clnt_tcp.c: Likewise.
62498         * sunrpc/clnt_udp.c: Likewise.
62499         * sunrpc/clnt_unix.c: Likewise.
62500         * sunrpc/des_crypt.c: Likewise.
62501         * sunrpc/des_soft.c: Likewise.
62502         * sunrpc/get_myaddr.c: Likewise.
62503         * sunrpc/key_call.c: Likewise.
62504         * sunrpc/key_prot.c: Likewise.
62505         * sunrpc/netname.c: Likewise.
62506         * sunrpc/pm_getmaps.c: Likewise.
62507         * sunrpc/pm_getport.c: Likewise.
62508         * sunrpc/pmap_clnt.c: Likewise.
62509         * sunrpc/pmap_prot.c: Likewise.
62510         * sunrpc/pmap_prot2.c: Likewise.
62511         * sunrpc/pmap_rmt.c: Likewise.
62512         * sunrpc/publickey.c: Likewise.
62513         * sunrpc/rpc_cmsg.c: Likewise.
62514         * sunrpc/rpc_common.c: Likewise.
62515         * sunrpc/rpc_dtable.c: Likewise.
62516         * sunrpc/rpc_prot.c: Likewise.
62517         * sunrpc/rpc_thread.c: Likewise.
62518         * sunrpc/rtime.c: Likewise.
62519         * sunrpc/svc.c: Likewise.
62520         * sunrpc/svc_auth.c: Likewise.
62521         * sunrpc/svc_authux.c: Likewise.
62522         * sunrpc/svc_raw.c: Likewise.
62523         * sunrpc/svc_run.c: Likewise.
62524         * sunrpc/svc_simple.c: Likewise.
62525         * sunrpc/svc_tcp.c: Likewise.
62526         * sunrpc/svc_udp.c: Likewise.
62527         * sunrpc/svc_unix.c: Likewise.
62528         * sunrpc/svcauth_des.c: Likewise.
62529         * sunrpc/xcrypt.c: Likewise.
62530         * sunrpc/xdr.c: Likewise.
62531         * sunrpc/xdr_array.c: Likewise.
62532         * sunrpc/xdr_float.c: Likewise.
62533         * sunrpc/xdr_intXX_t.c: Likewise.
62534         * sunrpc/xdr_mem.c: Likewise.
62535         * sunrpc/xdr_rec.c: Likewise.
62536         * sunrpc/xdr_ref.c: Likewise.
62537         * sunrpc/xdr_sizeof.c: Likewise.
62538         * sunrpc/xdr_stdio.c: Likewise.
62540 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62542         [BZ #12650]
62543         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62544         * sysdeps/ia64/dl-tls.h: Likewise.
62545         * sysdeps/powerpc/dl-tls.h: Likewise.
62546         * sysdeps/s390/dl-tls.h: Likewise.
62547         * sysdeps/sh/dl-tls.h: Likewise.
62548         * sysdeps/sparc/dl-tls.h: Likewise.
62549         * sysdeps/x86_64/dl-tls.h: Likewise.
62550         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62552 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62554         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62555         rpath element also skip the following colon.
62556         (expand_dynamic_string_token): Add is_path parameter and pass
62557         down to DL_DST_REQUIRED and _dl_dst_substitute.
62558         (decompose_rpath): Call expand_dynamic_string_token with
62559         non-zero is_path.  Ignore empty rpaths.
62560         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62561         with zero is_path.
62563 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62566         Make cancelable.
62568 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62570         [BZ #12655]
62571         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62572         Patch by Filipe David Manana <fdmanana@apache.org>.
62574 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62576         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62577         Maintain aligned stack.
62578         (CHECK_RSP): Remove unused macro.
62580 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62582         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62583         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62585 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62587         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62589         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62591 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62593         [BZ #12518]
62594         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62595         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62596         * sysdeps/x86_64/memmove.c: New file.
62597         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62598         (memcpy): Renamed to ...
62599         (__new_memcpy): This.
62600         (memcpy): Provide GLIBC_2_14 memcpy.
62601         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62602         (memcpy): Provide GLIBC_2_2_5 memcpy.
62604 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62606         [BZ #12631]
62607         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62609 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62611         * misc/syncfs.c: New file.
62612         * misc/Makefile (routines): Add syncfs.
62613         * posix/unistd.h: Declare syncfs.
62614         * sysdeps/unix/syscalls.list: Add syncfs.
62616 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62618         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62619         open_by_handle_at.
62620         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62621         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62623         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62625         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62626         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62628 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62630         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62631         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62632         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62634         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62636         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62638         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62639         sync_file_range.c with -fexceptions.
62640         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62641         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62642         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62643         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62644         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62645         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62646         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62647         sync_file_range as cancellation point
62648         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62649         now a wrapper around __call_sync_file_range with cancellation handling.
62650         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62651         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62652         function name to __call_sync_file_range.
62653         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62654         Add call_sync_file_range.
62656 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62659         bits/timex.h.
62661 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62663         * iconv/iconv.h: Fix typo in comment.
62664         * io/fcntl.h: Likewise.
62665         * libio/stdio.h: Likewise.
62666         * posix/spawn.h: Likewise.
62667         * posix/unistd.h: Likewise.
62668         * stdlib/stdlib.h: Likewise.
62669         * time/time.h: Likewise.
62670         * wcsmbs/wchar.h: Likewise.
62672         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62673         open_by_handle): Add.
62674         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62675         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62676         Augment a few comments.
62677         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62679         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62681         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62682         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62683         open_by_handle.
62685         * io/fcntl.h (AT_EMPTY_PATH): Define.
62687 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62689         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62690         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62691         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62692         to...
62693         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62694         * Versions.def: Add GLIBC_2.14.
62695         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62696         Export.
62698 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62700         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62701         round counter.
62702         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62704 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62706         [BZ #12597]
62707         * string/test-strncmp.c (do_page_test): New function.
62708         (check2): Likewise.
62709         (test_main): Call check2.
62710         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62712 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62714         [BZ #12587]
62715         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62716         Handle cache information in CPU leaf 4.
62717         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62719 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62721         [BZ #12583]
62722         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62723         character representation.
62724         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62726 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62728         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62729         END(__isnan) to END(__isnanf) to match function entry point/label
62730         EALIGN(__isnanf,...).
62732 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62734         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62736 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62738         [BZ #12510]
62739         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62740         copy from the symbol referenced in the relocation to initialize the
62741         used variable.
62742         Patch by Piotr Bury <pbury@goahead.com>.
62743         * elf/Makefile: Add rules to build and tst-unique3.
62744         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62745         * elf/tst-unique3.cc: New file.
62746         * elf/tst-unique3.h: New file.
62747         * elf/tst-unique3lib.cc: New file.
62748         * elf/tst-unique3lib2.cc: New file.
62750         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62752 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62754         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62755         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62756         to _start.
62758 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62760         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62761         to-be-loaded object along a path to loader is ld.so.
62763 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62764             Ulrich Drepper  <drepper@gmail.com>
62766         * sysdeps/x86_64/memset.S: After aligning destination, code
62767         branches to different locations depending on the value of
62768         misalignment, when multiarch is enabled. Fix this.
62770 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62772         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62773         Set _x86_64_preferred_memory_instruction for AMD processsors.
62774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62775         Set bit_Prefer_SSE_for_memop for AMD processors.
62777 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62779         * libio/fmemopen.c (fmemopen): Optimize a bit.
62781 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62783         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62785 2011-03-03  Roland McGrath  <roland@redhat.com>
62787         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62789 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62791         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62792         __bzero_ultra1 instead of __memset_ultra1.
62794 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62795             Ulrich Drepper  <drepper@gmail.com>
62797         [BZ #12509]
62798         * include/link.h (struct link_map): Add l_orig_initfini.
62799         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62800         returning unsuccessfully.
62801         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62802         close of a file loaded at startup, restore the original l_initfini
62803         list.
62804         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62805         list, store the pointer.
62806         * elf/Makefile ($(objpfx)noload-mem): New rule.
62807         (noload-ENV): Define.
62808         (tests): Add $(objpfx)noload-mem.
62809         * elf/noload.c: Include <memcheck.h>.
62810         (main): Call mtrace.  Close all opened handles.
62812 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62814         [BZ #12454]
62815         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62816         dependencies are missing.
62818 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62820         Fix __if_freereq crash: Unlike the generic version which uses free,
62821         Hurd needs munmap.
62822         * sysdeps/mach/hurd/ifreq.h: New file.
62824 2011-01-27  Petr Baudis  <pasky@suse.cz>
62825             Ulrich Drepper  <drepper@gmail.com>
62827         [BZ 12445]#
62828         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62829         to extend_alloca().
62830         * stdio-common/bug23.c: New file.
62831         * stdio-common/Makefile (tests): Add bug23.
62833 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62834             Ulrich Drepper  <drepper@gmail.com>
62836         [BZ #12489]
62837         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62838         before performing relro protection.  At old place add assertion
62839         to make sure nothing changed.
62841 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62842             Glauber de Oliveira Costa  <glommer@gmail.com>
62844         * elf/elf.h: Add new ARM TLS relocs.
62846 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62849         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62850         cast from r3.
62851         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62852         'tests' variable.
62853         * sysdeps/wordsize-64/tst-writev.c: New file.
62855 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62857         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62858         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62859         insns in _dl_start to prevent a TOC reference before relocs are
62860         resolved.
62862 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62864         [BZ #12469]
62865         * Makeconfig: Remove RANLIB definition.
62866         * Makerules: Don't use RANLIB.
62867         * aclocal.m4: Remove ranlib test.
62868         * configure.in: No need to check for ranlib.
62869         * elf/rtld-Rules: Don't use RANLIB.
62871 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62873         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62874         protection macro.
62875         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62876         inclusion protection macro.
62878         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62879         SIGRTMIN and SIGRTMAX and print information in that case only when
62880         SIGRTMIN is defined.
62882 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62884         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62885         arginfo fn returning -1.
62887         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62888         and thousands string is zero terminated.
62890 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62893         sysdeps/unix/sysv/linux/bits/socket.h.
62895 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62897         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62898         (__CPU_COUNT): Remove old macros.
62899         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62900         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62901         (__CPU_ALLOC, __CPU_FREE): Add macros.
62902         (__sched_cpualloc, __sched_cpufree): Add declarations.
62904 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62906         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62907         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62908         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62909         (readdhstai): Return value of addhstaiX call.
62910         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62911         (addgrbyX): Return value returned by cache_addgr.
62912         (readdgrbyname): Return value returned by addgrbyX.
62913         (readdgrbygid): Likewise.
62914         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62915         (addpwbyX): Return value returned by cache_addpw.
62916         (readdpwbyname): Return value returned by addhstbyX.
62917         (readdpwbyuid): Likewise.
62918         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62919         (addservbyX): Return value returned by cache_addserv.
62920         (readdservbyname): Return value returned by addservbyX:
62921         (readdservbyport): Likewise.
62922         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62923         (addhstbyX): Return value returned by cache_addhst.
62924         (readdhstbyname): Return value returned by addhstbyX.
62925         (readdhstbyaddr): Likewise.
62926         (readdhstbynamev6): Likewise.
62927         (readdhstbyaddrv6): Likewise.
62928         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62929         (readdinitgroups): Return value returned by addinitgroupsX.
62930         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62931         (prune_cache): Keep track of timeout value of re-added entries.
62932         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62933         * nscd/nscd.h: Adjust prototypes of readd* functions.
62935 2011-02-04  Roland McGrath  <roland@redhat.com>
62937         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62938         (nis_stats): Likewise.
62939         * nis/nis_modify.c (nis_modify): Likewise.
62940         * nis/nis_remove.c (nis_remove): Likewise.
62941         * nis/nis_add.c (nis_add): Likewise.
62943         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62945         * posix/fnmatch_loop.c: Add some consts.
62947         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62949 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62951         [BZ #12460]
62952         * config.make.in (config-cflags-novzeroupper): Define.
62953         * configure.in: Substitute libc_cv_cc_novzeroupper.
62954         * elf/Makefile (AVX-CFLAGS): Define.
62955         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62956         (CFLAGS-tst-auditmod4a.c): Likewise.
62957         (CFLAGS-tst-auditmod4b.c): Likewise.
62958         (CFLAGS-tst-auditmod6b.c): Likewise.
62959         (CFLAGS-tst-auditmod6c.c): Likewise.
62960         (CFLAGS-tst-auditmod7b.c): Likewise.
62961         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62963 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62965         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62966         function to the callback.
62967         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62969 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62971         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62972         of errno.
62974 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62976         [BZ #11724]
62977         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62978         of constructors.
62979         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62980         of destructors.
62981         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62983         [BZ #11724]
62984         * elf/Makefile: Add rules to build and run new test.
62985         * elf/tst-initorder.c: New file.
62986         * elf/tst-initorder.exp: New file.
62987         * elf/tst-initordera1.c: New file.
62988         * elf/tst-initordera2.c: New file.
62989         * elf/tst-initordera3.c: New file.
62990         * elf/tst-initordera4.c: New file.
62991         * elf/tst-initorderb1.c: New file.
62992         * elf/tst-initorderb2.c: New file.
62993         * elf/tst-order-a1.c: New file.
62994         * elf/tst-order-a2.c: New file.
62995         * elf/tst-order-a3.c: New file.
62996         * elf/tst-order-a4.c: New file.
62997         * elf/tst-order-b1.c: New file.
62998         * elf/tst-order-b2.c: New file.
62999         * elf/tst-order-main.c: New file.
63000         New test case by George Gensure <werkt0@gmail.com>.
63002 2010-10-01  Andreas Schwab  <schwab@redhat.com>
63004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63005         decoding ACE if AI_CANONIDN.
63007 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
63009         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63011 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
63013         * version.h (RELEASE): Bump for 2.13 release.
63014         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63016         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63018         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63019         MADV_NOHUGEPAGE.
63020         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63021         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63022         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63023         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63024         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63025         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63027         * posix/getconf.c: Update copyright year.
63028         * catgets/gencat.c: Likewise.
63029         * csu/version.c: Likewise.
63030         * debug/catchsegv.sh: Likewise.
63031         * debug/xtrace.sh: Likewise.
63032         * elf/ldconfig.c: Likewise.
63033         * elf/ldd.bash.in: Likewise.
63034         * elf/sprof.c (print_version): Likewise.
63035         * iconv/iconv_prog.c: Likewise.
63036         * iconv/iconvconfig.c: Likewise.
63037         * locale/programs/locale.c: Likewise.
63038         * locale/programs/localedef.c: Likewise.
63039         * malloc/memusage.sh: Likewise.
63040         * malloc/mtrace.pl: Likewise.
63041         * nscd/nscd.c (print_version): Likewise.
63042         * nss/getent.c: Likewise.
63044         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63045         PF_CAIF, and PF_ALG.
63046         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63048 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
63050         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63051         (modules-names): Use them.
63052         (ifunc-test-modules, ifunc-pie-tests): Define.
63053         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63054         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63055         (test-extras): Likewise.
63056         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63057         $(compile-command.c).
63058         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63059         (all-built-dso): Define.
63060         (check-textrel.out, check-execstack.out): Depend on it.
63062         * configure.in: Don't override --enable-multi-arch.
63064 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
63066         [BZ #6812]
63067         * nscd/hstcache.c (tryagain): Define.
63068         (cache_addhst): Return tryagain not notfound for temporary errors.
63069         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63070         failed.
63072 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63074         [BZ #10563]
63075         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63076         to make the syscall.
63077         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63079         [BZ #12378]
63080         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63081         and fall back to matching as normal character if the string ends before
63082         the matching ']' is found.  This is what POSIX requires.
63083         * posix/testfnm.c: Adjust test result.
63084         * posix/globtest.sh: Adjust test result.  Add new test.
63085         * posix/tst-fnmatch.input: Likewise.
63086         * posix/tst-fnmatch2.c: Add new test.
63088 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63090         * elf/Makefile (check-execstack): Revert last change.  Depend on
63091         check-execstack.h.
63092         (check-execstack.h): New target.
63093         (generated): Add check-execstack.h.
63094         * elf/check-execstack.c: Include "check-execstack.h".
63095         (main): Revert last change.
63096         (handle_file): Return zero if GNU_STACK is absent and
63097         DEFAULT_STACK_PERMS doesn't include PF_X.
63099 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63101         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63102         in child fails because the descriptor is already closed.
63103         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63104         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63105         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63107         [BZ #12397]
63108         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63109         syscall.
63111         [BZ #10484]
63112         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63113         temporary buffer used to handle multi lookups locally.
63114         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63116 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63118         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63119         loader is ld.so.
63121 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63123         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63124         alignment for SSE2.
63126 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63128         [BZ #12394]
63129         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63130         characters.  When rounding increased number of integer digits recompute
63131         number of groups.
63132         * stdio-common/tst-grouping.c: New file.
63133         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63135 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63137         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63138         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63140         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63141         void.
63142         * bits/select.h: Likewise.
63144 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63146         * po/ja.po: Update from translation team.
63148 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63150         [BZ #11155]
63151         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63152         implementation just like for lxstat, fxstatat, et al.
63154 2010-12-27  Jim Meyering  <meyering@redhat.com>
63156         [BZ #12348]
63157         * posix/regexec.c (build_trtable): Return failure indication upon
63158         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63160 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63162         [BZ #12201]
63163         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63164         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63165         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63166         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63168         [BZ #12207]
63169         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63171         [BZ #12204]
63172         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63173         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63175 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63177         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63178         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63179         script has SORT_BY_INIT_PRIORITY.
63180         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63181         NO_CTORS_DTORS_SECTIONS is defined.
63182         * elf/soinit.c: Likewise.
63183         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63184         NO_CTORS_DTORS_SECTIONS is defined.
63185         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63186         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63187         * sysdeps/sh/init-first.c: Likewise.
63188         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63190 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63192         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63193         always use the slow path.
63195 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63197         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63198         similar rule which adds the sysdep directories to the header search in
63199         order to pick up the correct platform stackinfo.h.
63200         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63201         perform test if it is, otherwise return successfully without testing.
63202         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63203         DEFAULT_STACK_PERMS define in stackinfo.h.
63204         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63205         defined in stackinfo.h.
63206         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63207         DEFAULT_STACK_PERMS defined in stackinfo.h.
63208         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63209         * sysdeps/ia64/stackinfo.h: Likewise.
63210         * sysdeps/s390/stackinfo.h: Likewise.
63211         * sysdeps/sh/stackinfo.h: Likewise.
63212         * sysdeps/sparc/stackinfo.h: Likewise.
63213         * sysdeps/x86_64/stackinfo.h: Likewise.
63214         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63215         PF_X for powerpc64.  Retain PF_X for powerpc32.
63217 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63219         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63220         accurately.
63221         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63222         GETDENTS_64BIT_ALIGNED.
63224 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63226         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63228 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63230         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63231         _GNU_SOURCE.
63233         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63234         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63235         Remove __restrict.
63236         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63237         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63239 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63241         [BZ #11655]
63242         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63243         are initialized.
63245 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63247         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63249 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63251         * po/it.po: Update from translation team.
63253 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63255         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63256         unused codes.
63258 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63260         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63262 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63264         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63265         specially.
63266         (gaih_getanswer_slice): Likewise.
63268 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63272 2010-05-31  Petr Baudis  <pasky@suse.cz>
63274         [BZ #11149]
63275         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63276         silently even in the chroot mode.
63278 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63280         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63281         last patch a bit.  Pretty printing
63283 2010-05-31  Petr Baudis <pasky@suse.cz>
63285         [BZ #10085]
63286         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63287         initialization of skip_initgroups_dyn.
63289 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63291         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63292         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63294 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63296         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63298 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63300         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63301         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63302         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63303         ($(objpfx)tst-fnmatch-mem): New rule.
63304         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63305         * posix/tst-fnmatch.c (main): Call mtrace.
63307 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63310         Support Intel processor model 6 and model 0x2c.
63312 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63314         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63315           signed comparison.
63317 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63319         [BZ #12205]
63320         * string/test-strncasecmp.c (check_result): New function.
63321         (do_one_test): Use it.
63322         (check1): New function.
63323         (test_main): Use it.
63324         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63325         Support strcasecmp and strncasecmp.
63327 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63329         [BZ #12194]
63330         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63331         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63333 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63335         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63336         IFUNC support.
63337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63338         memset-x86-64.
63339         * sysdeps/x86_64/multiarch/bzero.S: New file.
63340         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63341         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63342         * sysdeps/x86_64/multiarch/memset.S: New file.
63343         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63345         Set bit_Prefer_SSE_for_memop for Intel processors.
63346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63347         Define.
63348         (index_Prefer_SSE_for_memop): Define.
63349         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63351 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63353         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63354         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63356 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63358         [BZ #12191]
63359         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63360         (__x86_64_raw_data_cache_size_half): Likewise.
63361         (__x86_64_raw_shared_cache_size): Likewise.
63362         (__x86_64_raw_shared_cache_size_half): Likewise.
63364         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63365         (__x86_64_raw_data_cache_size_half): Likewise.
63366         (__x86_64_raw_shared_cache_size): Likewise.
63367         (__x86_64_raw_shared_cache_size_half): Likewise.
63368         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63369         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63370         and __x86_64_raw_shared_cache_size_half.  Round
63371         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63372         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63373         to multiple of 256 bytes.
63375 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63377         [BZ #12167]
63378         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63379         of inacessible symlinks.  Verify result of symlink before returning it.
63380         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63381         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63383 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63385         * math/math.h (isinf): Fix typo in comment.
63387 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63389         * po/da.po: Update from translation team.
63391 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63393         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63394         is added to the list.
63396 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63397             Ulrich Drepper  <drepper@gmail.com>
63399         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63400         the global list here.  Move code to...
63401         (_dl_add_to_namespace_list): ...here.  New function.
63402         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63403         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63404         * elf/dl-load.c (lose): Don't remove the element from the list.
63405         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63406         (_dl_map_object): Likewise.
63408 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63410         [BZ #12159]
63411         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63412         into all bytes of SSE register.
63413         Patch by Richard Li <richardpku@gmail.com>.
63415 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63417         [BZ #12140]
63418         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63419         perturbing.
63421 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63423         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63424         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63425         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63426         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63428         submachine.
63429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63431 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63433         * include/dlfcn.h (__RTLD_SECURE): Define.
63434         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63435         mode & __RTLD_SECURE instead.
63436         (open_path): Rename preloaded parameter to secure.
63437         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63438         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63439         * elf/dl-deps.c (openaux): Likewise.
63440         * elf/rtld.c (struct map_args): Remove is_preloaded.
63441         (map_doit): Don't use it.
63442         (dl_main): Likewise.
63443         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63444         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63446 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63448         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63449         (sysd-rules-targets): Remove duplicates.
63450         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63451         rtld-%.$o dependency.
63453 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63455         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63456         _dl_map_object do it.
63458 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63460         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63461         fast fma builtins, define the macros in the C99 standard.
63462         (FP_FAST_FMAF): Likewise.
63463         (FP_FAST_FMAL): Likewise.
63464         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63466         * bits/mathdef.h: Update copyright year.
63467         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63469 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63471         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63472         builtins, define the macros in the C99 standard.
63473         (FP_FAST_FMAF): Likewise.
63474         (FP_FAST_FMAL): Likewise.
63475         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63476         multiply/add.
63477         (FP_FAST_FMAF): Likewise.
63479 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63481         [BZ #3268]
63482         * math/libm-test.inc (fma_test): Some new testcases.
63483         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63485         y and infinite z.  Do multiplication by C already in long double.
63486         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63488         y and infinite z.  Do bitwise or of inexact bit into u.d.
63489         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63490         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63491         * sysdeps/i386/fpu/s_fma.S: Removed.
63492         * sysdeps/i386/fpu/s_fmal.S: Removed.
63494 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63496         [BZ #3268]
63497         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63498         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63499         computation is not scheduled after fetestexcept.  Fix value
63500         of minimum denormal long double.
63502 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63504         [BZ #3268]
63505         * math/libm-test.inc (fma_test): Add some more tests.
63506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63507         correctly.
63509 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63511         * scripts/data/localplt-s390-linux-gnu.data: New file.
63512         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63514 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63516         [BZ #3268]
63517         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63518         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63519         instead of dbl-64.
63520         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63521         inlines.
63522         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63524         if one of x and y is very large and the other is subnormal.
63525         * sysdeps/s390/fpu/s_fmaf.c: New file.
63526         * sysdeps/s390/fpu/s_fma.c: New file.
63527         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63528         * sysdeps/powerpc/fpu/s_fma.S: New file.
63529         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63530         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63531         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63533 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63535         [BZ #3268]
63536         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63537         fma tests.
63538         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63539         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63540         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63541         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63542         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63543         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63544         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63546 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63548         [BZ #12078]
63549         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63550         * posix/bug-regex31.input: Add test case.
63552 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63554         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63555         * posix/bug-regex31.input: New file.
63557         [BZ #12078]
63558         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63559         (parse_sub_exp): Fix last change, use postorder.
63561         * posix/bug-regex31.c: New file.
63562         * posix/Makefile: Add rules to build and run bug-regex31.
63564         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63566         [BZ #12078]
63567         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63569         [BZ #12108]
63570         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63571         to have entries in sys_siglist.
63573         [BZ #12093]
63574         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63575         be NULL.
63577 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63579         [BZ #3268]
63580         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63581         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63582         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63583         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63584         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63585         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63586         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63587         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63588         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63589         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63590         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63591         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63592         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63593         * math/ftestexcept.c (fetestexcept): Likewise.
63594         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63595         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63596         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63597         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63598         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63599         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63600         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63602 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63604         [BZ #12107]
63605         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63606         newline.
63608 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63610         * string/bug-strstr1.c: New file.
63611         * string/Makefile: Add rules to build and run bug-strstr1.
63613 2010-10-05  Eric Blake  <eblake@redhat.com>
63615         [BZ #12092]
63616         * string/str-two-way.h (two_way_long_needle): Always clear memory
63617         when skipping input due to the shift table.
63619 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63621         [BZ #12005]
63622         * malloc/mcheck.c: Handle large requests.
63624         [BZ #12077]
63625         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63626         for strncmp and strncasecmp.
63627         * string/stratcliff.c: Add tests for strcmp and strncmp.
63628         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63630 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63632         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63633         __set_fpscr.
63635 2010-09-30  Andreas Jaeger  <aj@suse.de>
63637         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63638         (CGROUP_SUPER_MAGIC): Define.
63639         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63640         Handle btrfs and cgroup file systems.
63641         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63642         Likewise.
63644 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63646         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63647         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63649 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63651         [BZ #12067]
63652         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63653         trying to locate the ELF header.
63655 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63657         [BZ #11611]
63658         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63659         Mask out sign-bit copies when constructing f_fsid.
63661 2010-09-24  Petr Baudis <pasky@suse.cz>
63663         * debug/stack_chk_fail_local.c: Add missing licence exception.
63664         * debug/warning-nop.c: Likewise.
63666 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63668         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63669         implementing getdents64 using getdents syscall, set d_type if
63670         __ASSUME_GETDENTS32_D_TYPE.
63672 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63674         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63675         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63677 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63679         [BZ #12037]
63680         * posix/unistd.h: Undo change of feature selection for ftruncate from
63681         2010-01-11.
63683 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63685         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63686         detection.
63688 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63690         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63691         fanotify_mark.
63692         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63694 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63696         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63697         variables after CHECK_SP call.
63698         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63700 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63701             Ulrich Drepper  <drepper@redhat.com>
63703         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63704         re-relocationg ld.so.
63705         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63706         _dl_init_paths call.
63707         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63708         here anymore.
63710 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63712         * resolv/res_init.c (__res_vinit): Count the default server we added.
63714 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63715             Ulrich Drepper  <drepper@redhat.com>
63717         [BZ #11968]
63718         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63719         (____longjmp_chk): Use %ebx for saving value across system call.
63720         Add unwind info.
63722 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63724         * manual/Makefile: Don't mix pattern rules with normal rules.
63726 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63728         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63729         operation.
63730         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63731         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63732         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63733         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63735         Likewise.
63737 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63739         [BZ #11979]
63740         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63741         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63743 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63745         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63746         * sysdeps/x86_64/addmul_1.S: Likewise.
63747         * sysdeps/x86_64/lshift.S: Likewise.
63748         * sysdeps/x86_64/mul_1.S: Likewise.
63749         * sysdeps/x86_64/rshift.S: Likewise.
63750         * sysdeps/x86_64/sub_n.S: Likewise.
63751         * sysdeps/x86_64/submul_1.S: Likewise.
63753 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63755         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63756         Define __sched_param instead of SCHED_* and sched_param when
63757         <bits/sched.h> is included with __need_schedparam defined.
63758         * bits/sched.h [__need_schedparam]
63759         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63760         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63761         (__defined_schedparam): Define to 1.
63762         (__sched_param): New structure, identical to sched_param.
63763         (__need_schedparam): Undefine.
63765 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63768         (epoll_create1): Declare.
63770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63772 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63774         [BZ #7066]
63775         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63776         shifting retval into place.
63778 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63780         * nis/rpcsvc/nis.h: Update copyright notice.
63781         * nis/rpcsvc/nis.x: Likewise.
63782         * nis/rpcsvc/nis_callback.h: Likewise.
63783         * nis/rpcsvc/nis_callback.x: Likewise.
63784         * nis/rpcsvc/nis_object.x: Likewise.
63785         * nis/rpcsvc/nis_tags.h: Likewise.
63786         * nis/rpcsvc/yp.h: Likewise.
63787         * nis/rpcsvc/yp.x: Likewise.
63788         * nis/rpcsvc/ypupd.h: Likewise.
63789         * nis/yp_xdr.c: Likewise.
63790         * nis/ypupdate_xdr.c: Likewise.
63792         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63793         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63794         (pmap_getport): Use __libc_rpc_getport.
63795         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63796         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63797         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63799 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63802         fanotify_mark.
63804 2010-08-27  Roland McGrath  <roland@redhat.com>
63806         * sysdeps/i386/i686/multiarch/Makefile
63807         (CFLAGS-varshift.c): New variable.
63809 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63811         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63812         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63814         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63816         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63818 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63820         * sysdeps/x86_64/strlen.S: Unroll the loop.
63821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63822         strlen-sse2 strlen-sse2-bsf.
63823         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63824         __strlen_no_bsf if bit_Slow_BSF is set.
63825         (__strlen_sse42): Removed.
63826         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63827         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63829 2010-08-25  Roland McGrath  <roland@redhat.com>
63831         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63832         * sysdeps/x86_64/multiarch/varshift.c: New file.
63833         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63834         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63835         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63836         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63838 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63840         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63841         strlen-sse2 strlen-sse2-bsf.
63842         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63843         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63844         (__strlen_sse2): Removed.
63845         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63846         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63848         bit_Slow_BSF for Atom.
63849         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63850         (index_Slow_BSF): Define.
63851         (HAS_SLOW_BSF): Define.
63853 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63855         [BZ #10851]
63856         * resolv/res_init.c (__res_vinit): When no server address at all
63857         is given default to loopback.
63859 2010-08-24  Roland McGrath  <roland@redhat.com>
63861         * configure.in: Remove config-name.h generation.
63862         * configure: Regenerated.
63863         * config-name.in: File removed.
63864         * scripts/config-uname.sh: New file.
63865         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63866         ($(objdir)config-name.h): New target.
63868         * sunrpc/rpc_parse.h: Avoid nested comment.
63870 2010-08-24  Richard Henderson  <rth@redhat.com>
63871             Ulrich Drepper  <drepper@redhat.com>
63872             H.J. Lu  <hongjiu.lu@intel.com>
63874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63876         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63877         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63878         _mm_alignr_epi8 with _mm_loadu_si128.
63879         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63880         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63881         (__m128i_shift_right): Removed.
63882         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63883         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63884         * sysdeps/x86_64/multiarch/varshift.h: New file.
63885         * sysdeps/x86_64/multiarch/varshift.S: New file.
63887 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63889         * configure.in: Move assembler checks to before sysdep dir checking.
63891 2010-08-20  Petr Baudis  <pasky@suse.cz>
63893         * LICENSES: Sync the sunrpc license.
63895 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63897         * sunrpc/auth_des.c: Update copyright notice once again.
63898         * sunrpc/auth_none.c: Likewise.
63899         * sunrpc/auth_unix.c: Likewise.
63900         * sunrpc/authdes_prot.c: Likewise.
63901         * sunrpc/authuxprot.c: Likewise.
63902         * sunrpc/bindrsvprt.c: Likewise.
63903         * sunrpc/clnt_gen.c: Likewise.
63904         * sunrpc/clnt_perr.c: Likewise.
63905         * sunrpc/clnt_raw.c: Likewise.
63906         * sunrpc/clnt_simp.c: Likewise.
63907         * sunrpc/clnt_tcp.c: Likewise.
63908         * sunrpc/clnt_udp.c: Likewise.
63909         * sunrpc/clnt_unix.c: Likewise.
63910         * sunrpc/des_crypt.c: Likewise.
63911         * sunrpc/des_soft.c: Likewise.
63912         * sunrpc/get_myaddr.c: Likewise.
63913         * sunrpc/getrpcport.c: Likewise.
63914         * sunrpc/key_call.c: Likewise.
63915         * sunrpc/key_prot.c: Likewise.
63916         * sunrpc/openchild.c: Likewise.
63917         * sunrpc/pm_getmaps.c: Likewise.
63918         * sunrpc/pm_getport.c: Likewise.
63919         * sunrpc/pmap_clnt.c: Likewise.
63920         * sunrpc/pmap_prot.c: Likewise.
63921         * sunrpc/pmap_prot2.c: Likewise.
63922         * sunrpc/pmap_rmt.c: Likewise.
63923         * sunrpc/rpc/auth.h: Likewise.
63924         * sunrpc/rpc/auth_unix.h: Likewise.
63925         * sunrpc/rpc/clnt.h: Likewise.
63926         * sunrpc/rpc/des_crypt.h: Likewise.
63927         * sunrpc/rpc/key_prot.h: Likewise.
63928         * sunrpc/rpc/netdb.h: Likewise.
63929         * sunrpc/rpc/pmap_clnt.h: Likewise.
63930         * sunrpc/rpc/pmap_prot.h: Likewise.
63931         * sunrpc/rpc/pmap_rmt.h: Likewise.
63932         * sunrpc/rpc/rpc.h: Likewise.
63933         * sunrpc/rpc/rpc_des.h: Likewise.
63934         * sunrpc/rpc/rpc_msg.h: Likewise.
63935         * sunrpc/rpc/svc.h: Likewise.
63936         * sunrpc/rpc/svc_auth.h: Likewise.
63937         * sunrpc/rpc/types.h: Likewise.
63938         * sunrpc/rpc/xdr.h: Likewise.
63939         * sunrpc/rpc_clntout.c: Likewise.
63940         * sunrpc/rpc_cmsg.c: Likewise.
63941         * sunrpc/rpc_common.c: Likewise.
63942         * sunrpc/rpc_cout.c: Likewise.
63943         * sunrpc/rpc_dtable.c: Likewise.
63944         * sunrpc/rpc_hout.c: Likewise.
63945         * sunrpc/rpc_main.c: Likewise.
63946         * sunrpc/rpc_parse.c: Likewise.
63947         * sunrpc/rpc_parse.h: Likewise.
63948         * sunrpc/rpc_prot.c: Likewise.
63949         * sunrpc/rpc_sample.c: Likewise.
63950         * sunrpc/rpc_scan.c: Likewise.
63951         * sunrpc/rpc_scan.h: Likewise.
63952         * sunrpc/rpc_svcout.c: Likewise.
63953         * sunrpc/rpc_tblout.c: Likewise.
63954         * sunrpc/rpc_util.c: Likewise.
63955         * sunrpc/rpc_util.h: Likewise.
63956         * sunrpc/rpcinfo.c: Likewise.
63957         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63958         * sunrpc/rpcsvc/key_prot.x: Likewise.
63959         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63960         * sunrpc/rpcsvc/mount.x: Likewise.
63961         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63962         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63963         * sunrpc/rpcsvc/rex.x: Likewise.
63964         * sunrpc/rpcsvc/rstat.x: Likewise.
63965         * sunrpc/rpcsvc/rusers.x: Likewise.
63966         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63967         * sunrpc/rpcsvc/spray.x: Likewise.
63968         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63969         * sunrpc/rtime.c: Likewise.
63970         * sunrpc/svc.c: Likewise.
63971         * sunrpc/svc_auth.c: Likewise.
63972         * sunrpc/svc_authux.c: Likewise.
63973         * sunrpc/svc_raw.c: Likewise.
63974         * sunrpc/svc_run.c: Likewise.
63975         * sunrpc/svc_simple.c: Likewise.
63976         * sunrpc/svc_tcp.c: Likewise.
63977         * sunrpc/svc_udp.c: Likewise.
63978         * sunrpc/svc_unix.c: Likewise.
63979         * sunrpc/svcauth_des.c: Likewise.
63980         * sunrpc/xcrypt.c: Likewise.
63981         * sunrpc/xdr.c: Likewise.
63982         * sunrpc/xdr_array.c: Likewise.
63983         * sunrpc/xdr_float.c: Likewise.
63984         * sunrpc/xdr_mem.c: Likewise.
63985         * sunrpc/xdr_rec.c: Likewise.
63986         * sunrpc/xdr_ref.c: Likewise.
63987         * sunrpc/xdr_sizeof.c: Likewise.
63988         * sunrpc/xdr_stdio.c: Likewise.
63990         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63991         handling.
63993 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63995         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63997 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63999         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64000         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64001         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64002         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64003         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64004         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64005         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64006         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64007         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64008         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64009         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64010         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64011         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64012         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64014 2010-07-26  Anton Blanchard  <anton@samba.org>
64016         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64017         * malloc/arena.c (heap_trim): Likewise.
64019 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
64021         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64022         here.  Not...
64023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64024         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64026 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64028         * sysdeps/i386/elf/Makefile: New file.
64030 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64032         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64033         from fanotify_init.
64034         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64035         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64037 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
64039         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64040         of strncasecmp_l.
64041         * sysdeps/multiarch/strcmp.S: Likewise.
64043 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
64045         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64046         strncase_l-nonascii.
64047         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64048         Add strncase_l-ssse3.
64049         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64050         * sysdeps/x86_64/strcmp.S: Likewise.
64051         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64052         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64053         * sysdeps/x86_64/strncase.S: New file.
64054         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64055         * sysdeps/x86_64/strncase_l.S: New file.
64056         * string/Makefile (strop-tests): Add strncasecmp.
64057         * string/test-strncasecmp.c: New file.
64059         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64060         warning.
64062         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64063         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64065 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64067         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64069 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
64071         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64072         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64073         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64075 2010-05-01  Alan Modra  <amodra@gmail.com>
64077         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64078         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64079         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64080         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64081         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64082         tidying.  Don't tail-call __sigjmp_save for static lib.
64083         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64084         save location.
64085         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64086         (CALL_MCOUNT): Add eh info, and nop after bl.
64087         (TAIL_CALL_SYSCALL_ERROR): New macro.
64088         (PSEUDO_RET): Use it.
64089         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64090         Correct save location of integer regs and cr.
64091         (_dl_profile_resolve): Correct cr save location.  Delete nops
64092         after bl when SHARED.  Reduce cfi size a little by better
64093         placement of cfi directives.
64094         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64095         make a stack frame.  Instead use parm save area as a temp.
64096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64097         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64099         Don't make a stack frame for parent, use parm save area.
64100         Increase child stack frame to 112 bytes.  Don't save unused reg,
64101         and adjust reg usage.  Set up cfi on error recovery and
64102         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64104         (__makecontext): Add dummy nop after jump to exit.
64105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64106         Use correct parm save area and cr save, reduce stack frame.
64107         Correct cfi for possible PSEUDO_RET frame setup.
64108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64109         Branch to local label emitted by PSEUDO_RET rather than
64110         __syscall_error.
64112 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64114         [BZ #11904]
64115         * locale/programs/locale.c (print_assignment): New function.
64116         (show_locale_vars): Use it.
64118 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64120         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64121         field.
64122         (struct statfs64): Likewise.
64123         (_STATFS_F_FLAGS): Define.
64124         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64125         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64126         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64127         (ST_VALID): Define locally.
64128         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64129         __statvfs_getflags, use the provided value.
64130         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64131         __ASSUME_STATFS_F_FLAGS.
64133         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64135         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64136         Add sys/fanotify.h.
64137         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64138         fanotify_mask for GLIBC_2.13.
64139         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64140         fanotify_init and fanotify_mark.
64141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64142         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64144         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64145         Add prlimit.
64146         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64147         prlimit64 for GLIBC_2.13.
64148         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64149         prlimit64.
64150         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64151         syscall.
64152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64154         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64155         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64157         add prlimit alias.
64158         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64160         [BZ #11903]
64161         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64162         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64164         * nss/Makefile: Add rules to build and run tst-nss-test1.
64165         * shlib-versions: Add entry for libnss_test1.
64166         * nss/nss_test1.c: New file.
64167         * nss/tst-nss-test1.c: New file.
64169         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64170         (__nss_configure_lookup): Set appropriate entry in
64171         __nss_configure_lookup to true.
64172         * nss/nsswitch.h: Define enum with indeces of databases in
64173         databases and __nss_database_custom arrays.  Declare
64174         __nss_database_custom.
64175         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64176         to avoid using nscd when custom rules are installed.
64177         * nss/getXXbyYY_r.c: Likewise.
64178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64180         * nss/nss_files/files-parse.c: Whitespace fixes.
64182 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64184         [BZ #11883]
64185         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64186         * posix/fnmatch_loop.c: Likewise.
64188 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64190         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64191         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64192         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64193         * Versions.def [GLIBC_2.13]: Add.
64195 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64197         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64198         Also fail if tpwd after pwuid call is NULL.
64200 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64202         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64203         when converting to ms.
64205 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64207         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64208         EOPNOTSUPP errors with ENOTTY.
64209         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64210         EOPNOTSUPP errors with ENOTTY.
64212 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64214         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64215         Add strcasecmp_l-ssse3.
64216         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64217         strcasecmp.
64218         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64219         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64220         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64222 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64224         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64226         * string/Makefile (strop-tests): Add strcasecmp.
64227         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64228         strcasecmp_l-nonascii.
64229         (gen-as-const-headers): Add locale-defines.sym.
64230         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64231         * sysdeps/x86_64/strcasecmp.S: New file.
64232         * sysdeps/x86_64/strcasecmp_l.S: New file.
64233         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64234         * sysdeps/x86_64/locale-defines.sym: New file.
64235         * string/test-strcasecmp.c: New file.
64237         * string/test-strcasestr.c: Test both ends of the range of characters.
64238         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64240 2010-07-29  Roland McGrath  <roland@redhat.com>
64242         [BZ #11856]
64243         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64245 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64247         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64248         for ld.so.
64250 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64252         * manual/memory.texi (Malloc Tunable Parameters): Document
64253         M_PERTURB.
64255 2010-07-26  Roland McGrath  <roland@redhat.com>
64257         [BZ #11840]
64258         * configure.in (-fgnu89-inline check): Set and substitute
64259         gnu89_inline, not libc_cv_gnu89_inline.
64260         * configure: Regenerated.
64261         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64263 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64265         * string/test-strnlen.c: New file.
64266         * string/Makefile (strop-tests): Add strnlen.
64267         * string/tester.c (test_strnlen): Add a few more test cases.
64268         * string/tst-strlen.c: Better error reporting.
64270         * sysdeps/x86_64/strnlen.S: New file.
64272 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64274         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64275         lower-latency instructions.
64277 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64279         * string/test-strcasestr.c: New file.
64280         * string/test-strstr.c: New file.
64281         * string/Makefile (strop-tests): Add strstr and strcasestr.
64282         * string/str-two-way.h: Don't undefine MAX.
64283         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64285 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64288         strcasestr-nonascii.
64289         (CFLAGS-strcasestr-nonascii.c): Define.
64290         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64291         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64292         Remove unused attribute.
64294 2010-07-20  Roland McGrath  <roland@redhat.com>
64296         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64297         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64298         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64299         like LD_HWCAP_MASK can disable hwcaps.
64301 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64303         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64305 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64307         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64308         call in strcasestr.
64309         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64310         __strcasestr_sse42_nonascii.
64311         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64312         strcasestr-nonascii.c.
64313         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64315 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64317         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64318         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64319         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64320         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64322 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64324         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64325         fcntl.
64327 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64329         [BZ #11577]
64330         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64331         dl_signal_cerror.
64333 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64335         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64336         _PC_PIPE_BUF using F_GETPIPE_SZ.
64338 2010-07-05  Roland McGrath  <roland@redhat.com>
64340         * manual/arith.texi (Rounding Functions): Fix rint description
64341         implicit in round description.
64343 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64345         * elf/Makefile: Fix linking for a few tests to make recent linker
64346         happy.
64348 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64350         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64351         $(common-objpfx)libc_nonshared.a.
64353 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64355         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64356         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64357         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64358         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64359         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64360         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64361         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64362         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64377         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64378         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64379         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64380         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64381         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64382         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64383         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64384         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64385         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64386         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64387         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64388         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64404 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64406         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64407         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64408         * string/memmove.c (memmove): Renamed to ...
64409         (MEMMOVE): ...this.  Default to memmove.
64410         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64411         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64412         (END_CHK): Define.
64413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64414         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64415         mempcpy-ssse3-back memmove-ssse3-back.
64416         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64417         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64418         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64419         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64420         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64421         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64422         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64423         * sysdeps/x86_64/multiarch/memmove.c: New file.
64424         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64425         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64426         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64427         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64428         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64429         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64430         Define.
64431         (index_Fast_Copy_Backward): Define.
64432         (HAS_ARCH_FEATURE): Define.
64433         (HAS_FAST_REP_STRING): Define.
64434         (HAS_FAST_COPY_BACKWARD): Define.
64436 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64438         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64439         Restore proper fallback handling.
64441 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64443         [BZ #11701]
64444         * posix/group_member.c (__group_member): Correct checking loop.
64446         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64447         OOM in getpwuid_r correctly.  Return error number when the caller
64448         should return, otherwise -1.
64449         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64450         call returning > 0 value.
64451         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64453 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64455         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64456         libc_nonshared.a from targets in modules-names.
64458 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64460         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64461         requires it.
64463 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64465         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64466         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64467         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64468         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64470 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64472         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64474 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64476         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64477         and F_GETPIPE_SZ.
64478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64479         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64483         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64485 2010-06-14  Roland McGrath  <roland@redhat.com>
64487         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64489 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64491         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64492         __REDIRECT followed by __THROW.
64493         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64494         * posix/getopt.h (getopt): Likewise.
64496 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64498         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64499         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64500         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64501         in AT_FLAGS.
64502         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64503         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64505 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64507         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64509 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64511         [BZ #11640]
64512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64513         Properly check family and model.
64515 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64517         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64519 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64521         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64523 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64525         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64526         symbol reference.
64528 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64530         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64531         symbol reference.
64533 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64535         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64536         and internal_recvmmsg.
64537         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64538         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64539         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64540         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64542         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64543         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64544         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64546 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64548         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64550 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64552         POWER7 optimizations.
64553         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64554         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64556 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64558         * version.h: Update for 2.13 development version.
64560 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64562         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64563         exceptions.  Return 0.
64565 2010-05-07  Roland McGrath  <roland@redhat.com>
64567         * elf/ldconfig.c (main): Add a const.
64569 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64571         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64572         (args_options): Add no-idn option.
64573         (ahosts_keys_int): Add idn_flags to ai_flags.
64574         (parse_option): Handle 'i' option to clear idn_flags.
64576         * malloc/malloc.c (_int_free): Possible race in the most recently
64577         added check.  Only act on the data if no current modification
64578         happened.
64580 See ChangeLog.17 for earlier changes.