Add netinet/in.h values from Linux 4.2.
[glibc.git] / ChangeLog
blobf4e3d67c11ec2d7890d156b2bc08f568046c5c28
1 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
3         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5         macro.
7         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8         (TCP_CC_INFO): Likewise.
9         (TCP_SAVE_SYN): Likewise.
10         (TCP_SAVED_SYN): Likewise.
12 2015-08-31  Brett Neumeier <brett@neumeier.us>
14         [BZ #18870]
15         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
19         [BZ #18873]
20         Fix broken overflow check in posix_fallocate
21         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
22         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23         Fix parenthesization typo.
25 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27         [BZ #18887]
28         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29         tst-mntent-blank-passno.
30         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31         * misc/tst-mntent-blank-corrupt.c: New test.
32         * misc/tst-mntent-blank-passno.c: New test ripped from ...
33         * misc/tst-mntent.c (do_test): ... here.
35 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
37         [BZ #4404]
38         * po/de.po: Fix SIGALRM typo.
40 2015-08-28  James Perkins  <james@loowit.net>
42         * time/tst-strptime2.c (tests): Replace short list of test
43         strings for strptime %z specifier with code which exhaustively
44         tests every combination of sign and 0 to 5 digits. Tests for
45         rejection of invalid strings.
47 2015-08-28  James Perkins  <james@loowit.net>
49         [BZ #16141]
50         * time/strptime_l.c (__strptime_internal): Fix %z minutes
51         calculation, removing incorrect decimal time rounding, so that
52         all minute values result in a valid seconds value.
53         * time/strptime_l.c (__strptime_internal): Extend %z time zone
54         offset range limits to UTC-99:59 through UTC+99:59 to parse
55         current and historical use cases.
56         * time/tst-strptime2.c (tests): Modify and add tests for the
57         strptime %z input field descriptor, specifically conversion of
58         minutes to seconds and validating an offset range of -9959 to
59         +9959.
61 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
62             Dmitry V. Levin  <ldv@altlinux.org>
64         [BZ #18877]
65         * posix/Makefile (tests): Add tst-mmap-offset.
66         * posix/tst-mmap.c: New file.
67         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
68         offset calculation for negative values.
70 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
72         * sysdeps/i386/init-arch.h: New file.
73         * sysdeps/i386/i586/init-arch.h: Likewise.
74         * sysdeps/i386/i686/init-arch.h: Likewise.
75         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
76         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
77         * sysdeps/x86/cpu-features.h (bit_I586): New.
78         (bit_I686): Likewise.
79         (bit_CX8): Likewise.
80         (bit_CMOV): Likewise.
81         (index_CX8): Likewise.
82         (index_CMOV): Likewise.
83         (index_I586): Likewise.
84         (index_I686): Likewise.
85         (reg_CX8): Likewise.
86         (reg_CMOV): Likewise.
87         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
88         available at compile-time.
89         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
90         available at compile-time.
91         * sysdeps/x86/init-arch.h (USE_I586): New macro.
92         (USE_I686): Likewise.
94 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
96         * sysdeps/i386/bcopy.S: New file.
97         * sysdeps/i386/bzero.S: Likewise.
98         * sysdeps/i386/memcpy.S: Likewise.
99         * sysdeps/i386/memmove.S: Likewise.
100         * sysdeps/i386/mempcpy.S: Likewise.
101         * sysdeps/i386/memset.S: Likewise.
102         * sysdeps/i386/bzero.c: Removed.
103         * sysdeps/i386/memset.c: Likewise.
104         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
105         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
106         * sysdeps/i386/i586/memset_chk.S: Likewise.
107         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
108         * sysdeps/i386/memcpy_chk.S: Here.
109         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
110         * sysdeps/i386/memmove_chk.S: Here.
111         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
112         * sysdeps/i386/mempcpy_chk.S: Likewise.
113         * sysdeps/i386/i686/memset_chk.S: Moved to ...
114         * sysdeps/i386/memset_chk.S: Likewise.
116 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
118         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
119         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
120         file, move DIAG_POP_NEEDS_COMMENT to end of file.
121         * soft-fp/fmadf4.c: Ditto.
122         * soft-fp/fmatf4.c: Ditto.
124 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
126         * sysdeps/i386/i586/Implies: Removed.
127         * sysdeps/i386/i686/Implies: Likewise.
129 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
131         * sysdeps/i386/i486/strlen.S: Moved to ...
132         * sysdeps/i386/strlen.S: Here.
134 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
136         * sysdeps/i386/i486/strcat.S: Moved to ...
137         * sysdeps/i386/strcat.S: Here.
139 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
141         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
142         * sysdeps/i386/pthread_spin_trylock.S: Here.
143         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
144         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
146 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
148         * sysdeps/i386/i486/string-inlines.c: Moved to ...
149         * sysdeps/i386/string-inlines.c: Here.
151 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
153         * sysdeps/i386/i486/htonl.S: Moved ...
154         * sysdeps/i386/htonl.S: here.
156 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
158         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
159         * sysdeps/i386/bits/atomic.h: Here.
161 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
163         * sysdeps/i386/i486/Versions: Removed.
165 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
167         [BZ #2898]
168         * misc/mktemp.c: Add mkdtemp to the link_warning message.
169         Based on patch by Aurelien Jarno.
171 2015-08-26  Stan Shebs  <stanshebs@google.com>
173         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
174         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
176 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
178         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
179         * sysdeps/powerpc/dl-procinfo.c:
180         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
181         feature so it shows when LD_SHOW_AUXV=1.
183 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
185         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
186         (__arch_compare_and_exchange_val_32_acq): Remove and use common
187         definition.  ISA 2.07B no longer requires full sync.
189 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
191         [BZ #18863]
192         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
193         (si_call_addr): Define.
194         (si_syscall): Define.
195         (si_arch): Define.
197 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
199         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
200         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
201         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
202         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
203         (__memset_zero_constant_len_parameter): New.
204         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
205         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
206         (__memset_zero_constant_len_parameter): Don't define if
207         __memset_chk or USE_AS_BZERO are defined.
209         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
210         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
211         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
213         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
214         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
215         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
216         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
217         comments.
218         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
219         -mno-mmx for $(all-rtld-routines).
220         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
221         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
222         i386.
224 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
226         * sysdeps/generic/unwind.h
227         (_Unwind_Word): Use __mode__(__unwind_word__)
228         instead of __mode__(__word__).
229         (_Unwind_Sword): Likewise.
231         * sysdeps/s390/s390-64/utf8-utf16-z9.c
232         (MAX_NEEDED_INPUT): New define.
233         (MAX_NEEDED_OUTPUT): New define.
235         * NEWS: New item for IBM z13 string optimizations.
237         * sysdeps/s390/multiarch/memrchr-c.c: New File.
238         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
239         * sysdeps/s390/multiarch/memrchr.c: Likewise.
240         * sysdeps/s390/multiarch/Makefile
241         (sysdep_routines): Add memrchr functions.
242         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
243         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
245         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
246         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
247         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
248         * sysdeps/s390/multiarch/Makefile
249         (sysdep_routines): Add wmemcmp functions.
250         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
251         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
252         * benchtests/bench-wmemcmp.c: New File.
253         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
255         * sysdeps/s390/multiarch/wmemset-c.c: New File.
256         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
257         * sysdeps/s390/multiarch/wmemset.c: Likewise.
258         * sysdeps/s390/multiarch/Makefile
259         (sysdep_routines): Add wmemset functions.
260         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
261         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
262         * wcsmbs/wmemset.c: Use WMEMSET if defined.
263         * string/test-memset.c: Add wmemset support.
264         * wcsmbs/test-wmemset.c: New File.
265         * wcsmbs/Makefile (strop-tests): Add wmemset.
266         * benchtests/bench-memset.c: Add wmemset support.
267         * benchtests/bench-wmemset.c: New File.
268         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
270         * sysdeps/s390/multiarch/memccpy-c.c: New File.
271         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
272         * sysdeps/s390/multiarch/memccpy.c: Likewise.
273         * sysdeps/s390/multiarch/Makefile
274         (sysdep_routines): Add memccpy functions.
275         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
276         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
277         * string/memccpy.c: Use MEMCCPY if defined.
279         * sysdeps/s390/multiarch/memchr-vx.S: New File.
280         * sysdeps/s390/multiarch/memchr.c: Likewise.
281         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
282         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
283         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
284         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
285         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
286         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
287         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
288         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
289         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
290         and rawmemchr functions.
291         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
292         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
293         and wmemchr.
294         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
295         * string/test-memchr.c: Add wmemchr support.
296         * wcsmbs/test-wmemchr.c: New File.
297         * wcsmbs/Makefile (strop-tests): Add wmemchr.
298         * benchtests/bench-memchr.c: Add wmemchr support.
299         * benchtests/bench-wmemchr.c: New File.
300         * benchtests/Makefile (wcsmbs-bench): wmemchr.
302         * sysdeps/s390/multiarch/strcspn-c.c: New File.
303         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
304         * sysdeps/s390/multiarch/strcspn.c: Likewise.
305         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
306         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
307         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
308         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
309         wcscspn functions.
310         * sysdeps/s390/multiarch/ifunc-impl-list.c
311         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
312         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
313         * string/test-strcspn.c: Add wcscspn support.
314         * wcsmbs/test-wcscspn.c: New File.
315         * wcsmbs/Makefile (strop-tests): Add wcscspn.
316         * benchtests/bench-strcspn.c: Add wcscspn support.
317         * benchtests/bench-wcscspn.c: New File.
318         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
320         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
321         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
322         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
323         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
324         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
325         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
326         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
327         wcspbrk functions.
328         * sysdeps/s390/multiarch/ifunc-impl-list.c
329         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
330         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
331         * string/test-strpbrk.c: Add wcspbrk support.
332         * wcsmbs/test-wcspbrk.c: New File.
333         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
334         * benchtests/bench-strpbrk.c: Add wcspbrk support.
335         * benchtests/bench-wcspbrk.c: New File.
336         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
338         * sysdeps/s390/multiarch/strspn-c.c: New File.
339         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
340         * sysdeps/s390/multiarch/strspn.c: Likewise.
341         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
342         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
343         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
344         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
345         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
346         wcsspn functions.
347         * sysdeps/s390/multiarch/ifunc-impl-list.c
348         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
349         * string/test-strspn.c: Add wcsspn support.
350         * wcsmbs/test-wcsspn.c: New File.
351         * wcsmbs/Makefile (strop-tests): Add wcsspn.
352         * benchtests/bench-strspn.c: Add wcsspn support.
353         * benchtests/bench-wcsspn.c: New File.
354         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
356         * sysdeps/s390/multiarch/strrchr-c.c: New File.
357         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
358         * sysdeps/s390/multiarch/strrchr.c: Likewise.
359         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
360         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
361         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
362         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
363         wcsrchr functions.
364         * sysdeps/s390/multiarch/ifunc-impl-list.c
365         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
366         * benchtests/bench-wcsrchr.c: New File.
367         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
369         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
370         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
371         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
372         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
373         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
374         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
375         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
376         wcschrnul functions.
377         * sysdeps/s390/multiarch/ifunc-impl-list.c
378         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
379         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
380         * string/test-strchr.c: Add wcschrnul support.
381         * wcsmbs/test-wcschrnul.c: New File.
382         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
383         * benchtests/bench-strchr.c: Add wcschrnul support.
384         * benchtests/bench-wcschrnul.c: New File.
385         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
387         * sysdeps/s390/multiarch/strchr-c.c: New File.
388         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
389         * sysdeps/s390/multiarch/strchr.c: Likewise.
390         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
391         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
392         * sysdeps/s390/multiarch/wcschr.c: Likewise.
393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
394         wcschr functions.
395         * sysdeps/s390/multiarch/ifunc-impl-list.c
396         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
397         * string/strchr.c (STRCHR): Define and use macro.
398         * benchtests/bench-wcschr.c: New File.
399         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
401         * sysdeps/s390/multiarch/strncmp-c.c: New File.
402         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
403         * sysdeps/s390/multiarch/strncmp.c: Likewise.
404         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
405         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
406         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
408         wcsncmp functions.
409         * sysdeps/s390/multiarch/ifunc-impl-list.c
410         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
411         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
412         * benchtests/bench-strncmp.c: Add wcsncmp support.
413         * benchtests/bench-wcsncmp.c: New File.
414         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
416         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
417         * sysdeps/s390/multiarch/strcmp.c: Likewise.
418         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
419         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
420         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
421         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
422         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
423         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
424         wcscmp functions.
425         * sysdeps/s390/multiarch/ifunc-impl-list.c
426         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
427         * string/strcmp.c (STRCMP): Define and use macro.
428         * benchtests/bench-wcscmp.c: New File.
429         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
430         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
431         instead of _HAVE_STRING_ARCH_memchr.
433         * sysdeps/s390/multiarch/strncat-c.c: New File.
434         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
435         * sysdeps/s390/multiarch/strncat.c: Likewise.
436         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
437         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
438         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
439         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
440         wcsncat functions.
441         * sysdeps/s390/multiarch/ifunc-impl-list.c
442         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
443         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
444         * string/test-strncat.c: Add wcsncat support.
445         * wcsmbs/test-wcsncat.c: New File.
446         * wcsmbs/Makefile (strop-tests): Add wcsncat.
447         * benchtests/bench-strncat.c: Add wcsncat support.
448         * benchtests/bench-wcsncat.c: New File.
449         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
451         * sysdeps/s390/multiarch/strcat-c.c: New File.
452         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
453         * sysdeps/s390/multiarch/strcat.c: Likewise.
454         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
455         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
456         * sysdeps/s390/multiarch/wcscat.c: Likewise.
457         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
458         wcscat functions.
459         * sysdeps/s390/multiarch/ifunc-impl-list.c
460         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
461         * string/strcat.c (STRCAT): Define and use macro.
462         * wcsmbs/wcscat.c: Use WCSCAT if defined.
463         * string/test-strcat.c: Add wcscat support.
464         * wcsmbs/test-wcscat.c: New File.
465         * wcsmbs/Makefile (strop-tests): Add wcscat.
466         * benchtests/bench-strcat.c: Add wcscat support.
467         * benchtests/bench-wcscat.c: New File.
468         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
470         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
471         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
472         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
473         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
474         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
475         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
476         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
477         wcpncpy functions.
478         * sysdeps/s390/multiarch/ifunc-impl-list.c
479         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
480         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
481         * string/test-stpncpy.c: Add wcpncpy support.
482         * wcsmbs/test-wcpncpy.c: New File.
483         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
484         * benchtests/bench-stpncpy.c: Add wcpncpy support.
485         * benchtests/bench-wcpncpy.c: New File.
486         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
488         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
489         * sysdeps/s390/multiarch/strncpy.c: Likewise.
490         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
491         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
492         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
493         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
494         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
495         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
496         wcsncpy functions.
497         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
498         * sysdeps/s390/multiarch/ifunc-impl-list.c
499         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
500         * string/test-strncpy.c: Add wcsncpy support.
501         * wcsmbs/test-wcsncpy.c: New File.
502         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
503         * benchtests/bench-strncpy.c: Add wcsncpy support.
504         * benchtests/bench-wcsncpy.c: New File.
505         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
507         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
508         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
509         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
510         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
511         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
512         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
513         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
514         wcpcpy functions.
515         * string/stpcpy.c: Use STPCPY if defined.
516         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
517         * sysdeps/s390/multiarch/ifunc-impl-list.c
518         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
519         * string/test-stpcpy.c: Add wcpcpy support.
520         * wcsmbs/test-wcpcpy.c: New File.
521         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
522         * benchtests/bench-stpcpy.c: Add wcpcpy support.
523         * benchtests/bench-wcpcpy.c: New File.
524         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
526         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
527         * sysdeps/s390/multiarch/strcpy.c: Likewise.
528         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
529         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
530         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
531         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
532         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
533         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
534         wcscpy functions.
535         * sysdeps/s390/multiarch/ifunc-impl-list.c
536         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
537         * benchtests/bench-wcscpy.c: New File.
538         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
540         * sysdeps/s390/multiarch/strnlen-c.c: New File.
541         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
542         * sysdeps/s390/multiarch/strnlen.c: Likewise.
543         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
544         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
545         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
547         wcsnlen functions.
548         * sysdeps/s390/multiarch/ifunc-impl-list.c
549         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
550         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
551         * string/test-strnlen.c: Add wcsnlen support.
552         * wcsmbs/test-wcsnlen.c: New File.
553         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
554         * benchtests/bench-strnlen.c: Add wcsnlen support.
555         * benchtests/bench-wcsnlen.c: New File.
556         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
558         * sysdeps/s390/multiarch/Makefile: New File.
559         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
560         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
561         * sysdeps/s390/multiarch/strlen.c: Likewise.
562         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
563         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
564         * sysdeps/s390/multiarch/wcslen.c: Likewise.
565         * string/strlen.c (STRLEN): Define and use macro.
566         * sysdeps/s390/multiarch/ifunc-impl-list.c
567         (IFUNC_VX_IMPL): New macro function.
568         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
569         * benchtests/Makefile (wcsmbs-bench): New variable.
570         (string-bench-all): Added wcsmbs-bench.
571         * benchtests/bench-wcslen.c: New File.
573         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
574         s390_vx_libc_ifunc2): New macro function.
576         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
577         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
578         assembler support.
579         * sysdeps/s390/configure: Regenerated.
581         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
582         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
584         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
585         * sysdeps/s390/dl-procinfo.h: Add vector capability.
586         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
588         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
589         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
590         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
591         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
592         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
593         (memcmp, bcmp): Use __memcmp_default as alias source.
594         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
595         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
596         Rename to __memcmp_default.
597         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
598         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
599         (memcpy): Use __memcpy_default as alias source.
600         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
601         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
602         Rename to __memcpy_default.
603         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
604         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
605         (memset): Use __memset_default as alias source.
606         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
607         * sysdeps/s390/s390-32/memset.S (__memset_g5):
608         Rename to __memset_default.
609         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
610         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
611         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
612         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
613         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
614         (memcmp, bcmp): Use __memcmp_default as alias source.
615         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
616         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
617         Rename to __memcmp_default.
618         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
619         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
620         (memcpy): Use __memcpy_default as alias source.
621         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
622         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
623         Rename to __memcpy_default.
624         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
625         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
626         (memset): Use __memset_default as alias source.
627         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
628         * sysdeps/s390/s390-64/memset.S (__memset_z900):
629         Rename to __memset_default.
630         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
631         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
633         [BZ #18610]
634         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
635         __ieee_instruction_pointer to __unused.
636         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
637         __ieee_instruction_pointer.
638         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
639         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
640         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
641         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
642         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
643         Mark dxc-field as reserved.
645 2015-08-25  Roland McGrath  <roland@hack.frob.com>
647         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
648         if the weak reference is not null.
650 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
652         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
654         [BZ #11214]
655         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
657 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
659         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
660         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
661         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
662         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
663         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
664         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
665         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
666         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
667         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
668         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
669         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
670         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
671         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
672         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
673         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
674         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
675         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
676         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
678 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
680         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
681         register other than r0 for tabort, it has special meaning.
682         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
683         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
684         transaction before starting syscall.
686 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
688         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
690 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
692         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
694         * sysdeps/x86_64/rtld-memcmp.c: Removed.
695         * sysdeps/x86_64/rtld-memset.S: Likewise.
696         * sysdeps/x86_64/rtld-strchr.S: Likewise.
697         * sysdeps/x86_64/rtld-strlen.S: Likewise.
698         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
699         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
701         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
703 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
705         * debug/strcpy_chk.c: Improve performance.
706         * debug/stpcpy_chk.c: Likewise.
707         * sysdeps/x86_64/strcpy_chk.S: Remove.
708         * sysdeps/x86_64/stpcpy_chk.S: Remove.
710         [BZ #18240]
711         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
713 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
715         [BZ #15128]
716         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
717         ifuncmain8.
718         (modules-names): Add ifuncmod8.
719         ($(objpfx)ifuncmain8): New rule.
720         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
721         <cpuid.h>.
722         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
723         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
724         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
725         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
726         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
727         * sysdeps/x86_64/dl-trampoline.h: Likewise.
728         * sysdeps/x86_64/ifuncmain8.c: New file.
729         * sysdeps/x86_64/ifuncmod8.c: Likewise.
730         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
731         Removed.
732         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
733         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
734         Change rtld_savespace_sse to __glibc_unused2.
735         (RTLD_CHECK_FOREIGN_CALL): Removed.
736         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
737         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
738         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
740 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
742         * sysdeps/aarch64/bzero.S (__bzero): Remove.
744 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
746         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
747         Unconditionally set __fpcr to avoid uninialized warning.
748         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
750 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
752         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
753         is corrupt.
755         * malloc/arena.c (arena_get2): Drop unused argument.
756         (arena_lock): Adjust.
757         (arena_get_retry): Likewise.
759 2015-08-24  Andreas Schwab  <schwab@suse.de>
761         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
762         Don't define.
763         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
764         (__ASSUME_IPC64): Don't undef.
765         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
766         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
767         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
768         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
769         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
770         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
771         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
772         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
773         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
774         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
775         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
776         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
777         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
778         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
779         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
780         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
781         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
782         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
783         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
784         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
785         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
787 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
789         * manual/Makefile (install): Only build manual when perl is available.
791 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
794         '#undef memcpy' by '#undef memchr'.
796 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
798         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
799         memchr not point to the internal __GI_memchr implementation.
801 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
803         * timezone/Makefile (CFLAGS-zdump.c): Remove
804         -Wno-strict-prototypes.
805         (CFLAGS-zic.c): Likewise.
806         (CFLAGS-ialloc.c): Likewise.
807         (CFLAGS-scheck.c): Likewise.
809         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
810         -Wno-error=undef.
812 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
814         * i386/i686/multiarch/strcasestr-c.c: Removed.
815         * x86_64/multiarch/strcasestr.c: Likewise.
816         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
817         Remove strcasestr.
819 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
821         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
823         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
824         variables for high and low parts before possibly modifying them.
826 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
828         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
829         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
830         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
831         of "multiarch/init-arch.h".
832         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
833         * sysdeps/x86/init-arch.h: This.
835 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
837         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
838         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
840 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
842         [BZ #17787]
843         * manual/macros.texi: Add twoexp macro.
844         * manual/filesys.texi: Fix exponents.
845         * manual/llio.texi: Likewise.
846         * manual/stdio.texi: Likewise.
848 2015-08-20  Florian Weimer  <fweimer@redhat.com>
850         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
851         incorrect use.
853 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
855         [BZ #18370]
856         * math/s_csqrt.c (__csqrt): Force underflow exception for results
857         whose real or imaginary part has small absolute value.
858         * math/s_csqrtf.c (__csqrtf): Likewise.
859         * math/s_csqrtl.c (__csqrtl): Likewise.
860         * math/auto-libm-test-in: Add more tests of csqrt.
861         * math/auto-libm-test-out: Regenerated.
862         * sysdeps/i386/fpu/libm-test-ulps: Update.
864 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
866         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
867         __ppc_set_ppr_very_low): New functions.
868         * manual/platform.texi: Add documentation about
869         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
871 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
873         * string/stpncpy.c (stpncpy): Improve performance using
874         __strnlen/memcpy/memset.
876 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
878         [BZ #18796]
879         * scripts/test-installation.pl: Don't add -lmvec to build options if
880         libmvec wasn't built.
882 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
884         [BZ #14341]
885         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
886         case when there is a gap between DT_REL and DT_JMPREL sections.
887         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
888         (LDFLAGS-tst-split-dynreloc): New.
889         (tst-split-dynreloc-ENV): Likewise.
890         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
891         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
893 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
895         [BZ #18822]
896         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
897         attribute_hidden.
898         (__xstat64_conv): Likewise.
899         (__xstat32_conv): Likewise.
901 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
903         [BZ #18822]
904         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
905         Don't load %ebx when calling __setcontext.  Call __setcontext
906         with HIDDEN_JUMPTARGET.
907         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
908         libc_hidden_def.
910 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
912         * sysdeps/i386/i686/Makefile
913         [$(subdir) == string] (sysdep_routines): Moved to ...
914         * sysdeps/i386/Makefile: Here.
915         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
916         * sysdeps/i386/cacheinfo.c: Here.
917         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
918         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
919         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
920         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
922 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
924         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
925         __i586__ is defined.
926         (HAS_I686): Defined to 1 if __i686__ is defined.
928 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
930         * elf/Makefile [$(have-z-execstack) = yes]
931         (CPPFLAGS-tst-execstack.c): New variable.
933         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
934         conditional to [defined UTMPX || _HAVE_UT_TYPE].
935         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
936         UTMPX || _HAVE_UT_TV].
937         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
938         UTMPX || _HAVE_UT_TV - 0].
940 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
942         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
943         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
944         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
946 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
948         * sysdeps/powerpc/dl-procinfo.c:
949         (_dl_powerpc_cap_flags): Added missing strings for some
950         hwcap features.
951         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
953 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
955         Port the 0x7efe...feff pattern to GCC 6.
956         See Steve Ellcey's bug report in:
957         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
958         * string/memrchr.c (MEMRCHR):
959         * string/rawmemchr.c (RAWMEMCHR):
960         * string/strchr.c (strchr):
961         * string/strchrnul.c (STRCHRNUL):
962         Rewrite code to avoid issues with signed shift overflow.
964 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
966         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
967         whether cpuid is available only if HAS_CPUID is 0.
968         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
969         (HAS_I586): Likewise.
970         (HAS_I686): Likewise.
972 2015-08-18  Zack Weinberg  <zackw@panix.com>
974         * misc/Versions (libc): Add GLIBC_2.23.
976 2015-08-18  Alan Modra  <amodra@gmail.com>
978         [BZ #18421]
979         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
980         .Lp__global.
981         (_start): Load %dp via .Lp__global.
982         [!SHARED]: Use .section .rodata.
984 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
986         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
987         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
989 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
991         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
992         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
994 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
996         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
997         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
999 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1001         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1002         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1004 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1006         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1007         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1009 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1011         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1012         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1014 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1016         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1018 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1020         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1021         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
1022         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1023         (__ASSUME_LWS_CAS): Delete.
1025 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1027         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1028         * sysdeps/hppa/configure: Regenerated.
1029         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1030         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1031         * sysdeps/hppa/nptl/tls.h: Likewise.
1033 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
1035         [BZ #18823]
1036         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1037         for scaling up small arguments.
1038         * math/s_csqrtf.c (__csqrtf): Likewise.
1039         * math/s_csqrtl.c (__csqrtl): Likewise.
1040         * math/auto-libm-test-in: Add more tests of csqrt.
1041         * math/auto-libm-test-out: Regenerated.
1043 2015-08-17  Andreas Schwab  <schwab@suse.de>
1045         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1046         version set GLIBC_2.19.
1048 2015-08-16  Zack Weinberg  <zackw@panix.com>
1050         [BZ #18681]
1051         * misc/regexp.h: This interface is no longer supported.
1052         Remove all contents, leaving only an #error directive.
1053         * misc/regexp.c (loc1, loc2, locs, step, advance):
1054         Demote to compatibility symbols.
1056 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
1058         [BZ #18084]
1059         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1060         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1061         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1062         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1063         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1064         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1065         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1066         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1067         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1069 2015-08-15  Zack Weinberg  <zackw@panix.com>
1071         [BZ #18795]
1072         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1073         buffer length is known to be too large, not if it's known to be
1074         small enough.
1075         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1076         overflow at runtime, involving a length parameter, twice: once
1077         with a compile-time constant length parameter, once without.
1079 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1081         [BZ #18824]
1082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1083         scaling x * y up instead of down.
1084         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1085         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1086         * math/auto-libm-test-in: Add more tests of fma.
1087         * math/auto-libm-test-out: Regenerated.
1089 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1093 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1095         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1096         unnecessary movq.
1097         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1098         Likewise.
1100 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1102         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1103         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1104         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1105         and tgamma.
1106         * math/auto-libm-test-out: Regenerated.
1107         * sysdeps/i386/fpu/libm-test-ulps: Update.
1108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1110         [BZ #16520]
1111         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1112         (__tanh): Force underflow exception for arguments with small
1113         absolute value.
1114         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1115         (__tanhf): Force underflow exception for arguments with small
1116         absolute value.
1117         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1118         (__tanhl): Force underflow exception for arguments with small
1119         absolute value.
1120         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1121         (__tanhl): Force underflow exception for arguments with small
1122         absolute value.
1123         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1124         (__tanhl): Force underflow exception for arguments with small
1125         absolute value.
1126         * math/auto-libm-test-in: Add more tests of tanh.
1127         * math/auto-libm-test-out: Regenerated.
1128         * sysdeps/i386/fpu/libm-test-ulps: Update.
1130 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1132         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1133         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1135 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1137         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1138         <cpuid.h>.
1140 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1142         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1143         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1145 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1147         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1148         Remove $(objpfx)init-arch.o.
1149         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1150         init-arch.
1151         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1152         (INIT_ARCH_EXT): Defined as empty.
1153         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1154         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1155         __init_cpu_features call.  Replace HAS_XXX with
1156         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1157         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1162         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1163         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1164         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1167         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1169         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1170         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1171         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1174         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1176         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1177         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1178         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1179         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1180         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1182         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1183         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1184         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1189         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1193 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1195         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1196         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1197         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1198         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1199         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1200         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1201         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1202         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1203         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1204         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1205         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1206         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1207         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1208         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1209         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1210         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1211         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1212         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1213         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1214         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1215         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1216         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1217         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1218         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1219         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1220         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1221         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1222         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1223         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1224         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1225         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1226         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1227         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1228         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1229         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1230         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1231         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1232         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1233         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1234         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1235         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1236         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1237         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1239 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1241         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1242         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1243         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1244         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1245         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1246         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1247         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1248         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1249         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1250         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1251         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1252         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1253         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1254         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1255         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1256         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1257         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1258         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1259         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1260         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1262         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1263         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1264         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1265         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1266         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1267         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1268         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1269         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1270         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1271         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1272         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1273         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1274         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1275         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1276         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1277         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1278         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1279         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1280         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1281         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1282         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1283         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1285 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1287         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1288         (dl_platform_init): Call init_cpu_features.
1289         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1290         * sysdeps/i386/i686/cacheinfo.c
1291         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1292         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1293         * sysdeps/i386/i686/multiarch/Versions: Removed.
1294         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1295         Removed.
1296         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1297         * sysdeps/unix/sysv/linux/x86/Makefile
1298         (libpthread-sysdep_routines): Remove init-arch.
1299         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1300         <sysdeps/x86_64/dl-procinfo.c> instead of
1301         sysdeps/generic/dl-procinfo.c>.
1302         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1303         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1304         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1305         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1306         [$(subdir) == elf] (tests-static): Add
1307         tst-get-cpu-features-static.
1308         * sysdeps/x86/Versions: New file.
1309         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1310         * sysdeps/x86/cpu-features.c: Likewise.
1311         * sysdeps/x86/cpu-features.h: Likewise.
1312         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1313         * sysdeps/x86/libc-start.c: Likewise.
1314         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1315         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1316         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1317         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1318         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1319         Assume USE_MULTIARCH is defined and don't check it.
1320         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1321         (is_amd): Likewise.
1322         (max_cpuid): Likewise.
1323         (intel_check_word): Likewise.
1324         (__cache_sysconf): Don't call __init_cpu_features.
1325         (__x86_preferred_memory_instruction): Removed.
1326         (init_cacheinfo): Don't call __init_cpu_features. Replace
1327         __cpu_features with GLRO(dl_x86_cpu_features).
1328         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1329         (dl_platform_init): Call init_cpu_features.
1330         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1331         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1332         * sysdeps/x86_64/multiarch/Versions: Removed.
1333         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1334         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1335         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1336         Removed.
1337         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1339 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1341         [BZ #18820]
1342         * libio/Makefile (test-fmemopen-mem): New test.
1343         * libio/test-fmemopen.c (do_bz18820): New test.
1344         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1345         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1347 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1349         [BZ #16734]
1350         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1351         (FREE_BUF): Delete.
1352         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1353         * libio/genops.c (_IO_setb): Use malloc and free directly.
1354         (_IO_default_doallocate, _IO_default_finish): Likewise.
1355         ( _IO_unbuffer_all): Likewise.
1356         ( libc_freeres_fn): Likewise.
1357         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1358         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1359         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1360         (_IO_wdefault_doallocate): Likewise.
1362 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1364         [BZ #18086]
1365         * sysdeps/posix/nice.c (nice): Restore old errno.
1366         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1368 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1372 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1374         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1375         __bcopy and add a weak_alias to bcopy.
1376         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1377         for static build.
1379         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1380         cleanup macro usage.
1381         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1384         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1386         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1387         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1388         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1389         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1392         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1393         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1394         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1396         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1397         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1398         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1399         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1401         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1402         libc_hidden_def.
1403         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1405         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1406         (sysdep_routines): Add strstr-ppc64.
1407         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1409 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1411         [BZ #18778]
1412         * elf/Makefile (tests): Add Add tst-nodelete2.
1413         (modules-names): Add tst-nodelete2mod.
1414         (tst-nodelete2mod.so-no-z-defs): New.
1415         ($(objpfx)tst-nodelete2): Likewise.
1416         ($(objpfx)tst-nodelete2.out): Likewise.
1417         (LDFLAGS-tst-nodelete2): Likewise.
1418         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1419         out of loop through all loaded libraries.
1420         * elf/tst-nodelete2.c: New file.
1421         * elf/tst-nodelete2mod.c: Likewise.
1423 2015-08-11  Andreas Schwab  <schwab@suse.de>
1425         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1426         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1427         (__openat64_nocancel): Likewise.
1429 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1431         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1432         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1433         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1434         * math/auto-libm-test-out: Regenerated.
1435         * sysdeps/i386/fpu/libm-test-ulps: Update.
1436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1438 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1440         [BZ #18790]
1441         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1442         threshold for returning +/- 1.
1443         * math/auto-libm-test-in: Add more tests of tanh.
1444         * math/auto-libm-test-out: Regenerated.
1445         * sysdeps/i386/fpu/libm-test-ulps: Update.
1447 2015-08-10  Andreas Schwab  <schwab@suse.de>
1449         [BZ #18781]
1450         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1451         MORE_OFLAGS to oflag.
1452         * io/test-lfs.c (do_test): Test openat64.
1454 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1456         [BZ #18789]
1457         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1458         smaller threshold for returning the argument.
1459         * math/auto-libm-test-in: Add more tests of sinh.
1460         * math/auto-libm-test-out: Regenerated.
1461         * sysdeps/i386/fpu/libm-test-ulps: Update.
1463 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1465         [BZ #18674]
1466         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1467         break.
1469 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1471         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1472         (generated): Don't add $(addprefix z.,$(tzfiles)).
1474 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1476         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1477         * scripts/sysd-rules.awk: Likewise.
1479 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1481         * iconvdata/tst-tables.sh: Change echo -n to printf.
1482         * nss/db-Makefile: Likewise.
1483         * posix/tst-getconf.sh: Likewise.
1484         * stdio-common/tst-unbputc.sh: Likewise.
1486 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1488         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1489         MADV_*_PAGES defines behind this feature check.
1491 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1493         [BZ #18480]
1494         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1495         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1496         Define.
1497         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1498         LOAD_REGS_5, LOAD_REGS_6): Update.
1499         (INTERNAL_SYSCALL): Update using new LOAD defines.
1500         (INTERNAL_SYSCALL_NCS): Likewise.
1501         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1503 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1505         [BZ #16734]
1506         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1508 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1510         [BZ #17905]
1511         * catgets/Makefile (tst-catgets-mem): New test.
1512         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1513         * catgets/open_catalog.c (__open_catalog): Likewise.
1514         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1516 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1518         [BZ #18787]
1519         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1520         clobber registers.
1521         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1522         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1523         Cast return to __typeof (oldval).
1525 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1527         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1528         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1529         and delete sys/syscall.h include.
1531 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1533         [BZ #16517]
1534         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1535         (tan): Force underflow exception for arguments with small absolute
1536         value.
1537         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1538         (__kernel_tanf): Force underflow exception for arguments with
1539         small absolute value.
1540         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1541         (__kernel_tanl): Force underflow exception for arguments with
1542         small absolute value.
1543         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1544         (__kernel_tanl): Force underflow exception for arguments with
1545         small absolute value.
1546         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1547         (__kernel_tanl): Force underflow exception for arguments with
1548         small absolute value.
1549         * math/auto-libm-test-in: Add more tests of tan.
1550         * math/auto-libm-test-out: Regenerated.
1552 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1554         Fix sysdeps/i386/fpu/s_scalbn.S build
1556         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1558 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1560         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1562 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1564         Fix gcrt0.o compilation
1566         When static-start-installed-name is different from
1567         start-installed-name, we must not use the shared objects.
1569         * csu/Makefile
1570         (extra-objs): Add gmon-start.o when building shared library and
1571         $(static-start-installed-name) is different from
1572         $(start-installed-name).
1573         $(objpfx)g$(static-start-installed-name): When building shared
1574         library and $(static-start-installed-name) is different from
1575         $(static-start-installed-name), revert to non-shared rule,
1576         i.e. using $(objpfx)% and gmon-start.o.
1578 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1580         [BZ #16519]
1581         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1582         (__ieee754_sinh): Force underflow exception for arguments with
1583         small absolute value.
1584         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1585         (__ieee754_sinhf): Force underflow exception for arguments with
1586         small absolute value.
1587         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1588         (__ieee754_sinhl): Force underflow exception for arguments with
1589         small absolute value.
1590         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1591         (__ieee754_sinhl): Force underflow exception for arguments with
1592         small absolute value.
1593         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1594         (__ieee754_sinhl): Force underflow exception for arguments with
1595         small absolute value.
1596         * math/auto-libm-test-in: Add more tests of sinh.
1597         * math/auto-libm-test-out: Regenerated.
1598         * sysdeps/i386/fpu/libm-test-ulps: Update.
1600 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1602         * libio/oldfileops.c: Include unistd.h.
1604 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1606         * stdlib/isomac.c: Include ctype.h.
1608 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1610         * dirent/tst-seekdir.c (main): Converted to ...
1611         (do_test): ... this.
1612         (TEST_FUNCTION): New macro.
1613         Include test-skeleton.c.
1614         * elf/tst-dlmodcount.c (main): Converted to ...
1615         (do_test): ... this.
1616         (TEST_FUNCTION): New macro.
1617         Include test-skeleton.c.
1618         * elf/tst-order-main.c (main): Converted to ...
1619         (do_test): ... this.
1620         (TEST_FUNCTION): New macro.
1621         Include test-skeleton.c.
1622         * elf/tst-pie2.c (main): Converted to ...
1623         (do_test): ... this.
1624         (TEST_FUNCTION): New macro.
1625         Include test-skeleton.c.
1626         * inet/tst-ether_aton.c (main): Converted to ...
1627         (do_test): ... this.
1628         (TEST_FUNCTION): New macro.
1629         Include test-skeleton.c.
1630         * misc/tst-mntent.c (main): Converted to ...
1631         (do_test): ... this.
1632         (TEST_FUNCTION): New macro.
1633         Include test-skeleton.c.
1634         * misc/tst-tsearch.c (main): Converted to ...
1635         (do_test): ... this.
1636         (TEST_FUNCTION): New macro.
1637         Include test-skeleton.c.
1638         * posix/tst-regexloc.c (main): Converted to ...
1639         (do_test): ... this.
1640         (TEST_FUNCTION): New macro.
1641         Include test-skeleton.c.
1642         * resolv/tst-aton.c (main): Converted to ...
1643         (do_test): ... this.
1644         (TEST_FUNCTION): New macro.
1645         Include test-skeleton.c.
1646         * stdio-common/test-fwrite.c (main): Converted to ...
1647         (do_test): ... this.
1648         (TEST_FUNCTION): New macro.
1649         Include test-skeleton.c.
1650         * stdio-common/tst-ferror.c (main): Converted to ...
1651         (do_test): ... this.
1652         (TEST_FUNCTION): New macro.
1653         Include test-skeleton.c.
1654         * stdio-common/tst-printf.c (main): Converted to ...
1655         (do_test): ... this.
1656         (TEST_FUNCTION): New macro.
1657         Include test-skeleton.c.
1658         * stdio-common/tst-printfsz.c (main): Converted to ...
1659         (do_test): ... this.
1660         (TEST_FUNCTION): New macro.
1661         Include test-skeleton.c.
1662         * stdlib/tst-strtod.c (main): Converted to ...
1663         (do_test): ... this.
1664         (TEST_FUNCTION): New macro.
1665         Include test-skeleton.c.
1666         * string/tst-strlen.c (main): Converted to ...
1667         (do_test): ... this.
1668         (TEST_FUNCTION): New macro.
1669         Include test-skeleton.c.
1670         * string/tst-svc.c (main): Converted to ...
1671         (do_test): ... this.
1672         (TEST_FUNCTION): New macro.
1673         Include test-skeleton.c.
1674         * time/tst-strptime.c (main): Converted to ...
1675         (do_test): ... this.
1676         (TEST_FUNCTION): New macro.
1677         Include test-skeleton.c.
1678         * timezone/tst-timezone.c (main): Converted to ...
1679         (do_test): ... this.
1680         (TEST_FUNCTION): New macro.
1681         Include test-skeleton.c.
1683 2015-08-05  Zack Weinberg  <zackw@panix.com>
1685         * misc/regexp.h: Update comments.
1687 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1689         [BZ #18635]
1690         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1691         before return label.
1693 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1695         [BZ #18661]
1696         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1697         when calling __errno_location.
1698         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1699         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1701 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1703         [BZ #18661]
1704         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1705         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1706         __gettimeofday.
1708 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1710         [BZ #18661]
1711         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1712         (__start_context): Don't use pop to restore %rdi so that stack
1713         is aligned to 16 bytes when calling __setcontext.
1715 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1717         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1718         only for libc.
1719         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1721 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1723         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1724         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1725         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1727 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1729         * string/memccpy.c (memccpy):
1730         Improve performance by using memchr/memcpy/__mempcpy.
1732 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1734         * string/strncpy.c (strncpy):
1735         Improve performance by using __strnlen/memcpy.
1737 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1739         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1740         Optimize to avoid an unnecessary FPCR read.
1742 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1744         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1745         Optimize to reduce FPCR/FPSR accesses.
1747 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1749         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1750         dead->data[category] != NULL.
1752 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1754         [BZ #18647]
1755         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1756         and |x| close to 1, use absolute value of x when computing log.
1757         * math/auto-libm-test-in: Add more tests of pow.
1758         * math/auto-libm-test-out: Regenerated.
1760 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1762         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1763         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1764         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1766 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1768         [BZ #18525]
1769         * locales/km_KH: Remove timezone definition.
1770         * locales/lo_LA: Likewise.
1771         * locales/my_MM: Likewise.
1772         * locales/nan_TW@latin: Likewise.
1773         * locales/th_TH: Likewise.
1774         * locales/uk_UA: Likewise.
1776 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1778         [BZ #18265]
1779         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1780         (wcsncat): Likewise.
1781         (wcscmp): Likewise.
1782         (wcsncmp): Likewise.
1784 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1786         * test-skeleton.c (usage): New function.
1787         (main): Call usage when opt is '?'.
1789 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1791         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1792         before first use.
1794 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1796         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1797         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1798         in there too.
1800 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1802         * version.h (RELEASE): Set to "development".
1803         (VERSION): Set to "2.22.90"
1805         * version.h (RELEASE): Set to "stable".
1806         (VERSION): Set to "2.22"
1807         * include/features.h (__GLIBC_MINOR__): Set to 22.
1809 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1811         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1812         Restructure macro to avoid "value computed is not used" warning.
1813         (atomic_compare_and_exchange_val_acq): Likewise.
1815 2015-08-04  Andreas Schwab  <schwab@suse.de>
1817         [BZ #18635]
1818         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1819         ret.
1820         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1822 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1824         * po/pl.po: Updated translation.
1825         * po/uk.po: Likewise.
1826         * po/fi.po: Likewise.
1827         * po/ko.po: Likewise.
1828         * po/ru.po: Likewise.
1829         * po/vi.po: Likewise.
1831 2015-07-31  Zack Weinberg  <zackw@panix.com>
1833         [BZ #18681]
1834         * regexp.h: Add unconditional #warning stating that this header
1835         will be removed soon.  Revise banner comment to match.
1836         (compile): Consistently use ERROR instead of RETURN to report
1837         errors (partial fix for bz#18681).
1838         * regexp.c: Don't include regexp.h. Remove some unnecessary
1839         declarations.
1841 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1843         * po/libc.pot: Regenerated.
1845 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1847         [BZ #18740]
1848         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1849         float-vlen4-arch-ext-cflags): Removed.
1850         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1851         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1853 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1855         [BZ #14113]
1856         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1857         aligned to __aligned__.
1858         (pthread_cond_t, pthread_rwlock_t): Likewise.
1860 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1862         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1864 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1866         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1867         (struct sigaction): Change sa_flags from a long to an int, and add
1868         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1870 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1872         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1873         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1874         sysdeps/generic/sysdep.h include.
1875         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1876         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1877         sysdeps/hppa/sysdep.h.
1878         (ENTRY, PSEUDO): Undefine before defining.
1880 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1882         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1883         from scratch to use INTERNAL_SYSCALL.
1885 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1887         [BZ #18078]
1888         * scripts/check-localplt.awk: Support alternate relocations.
1889         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1890         sections.
1891         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1892         malloc entries with + REL R_386_GLOB_DAT.
1893         * sysdeps/x86_64/localplt.data: New file.
1895 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1897         [BZ #18731]
1898         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1899         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1900         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1902 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1904         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1906 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1908         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1909         directly in terms of __sync_fetch_and_add and delete (int) cast.
1911 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1913         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1914         the -D_ASM_IA64_CURRENT_H flag.
1916 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1918         [BZ #18641]
1919         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1921 2015-07-27  Andreas Schwab  <schwab@suse.de>
1923         * conform/conformtest.pl (checknamespace): Filter out string
1924         literals while tokenizing.
1926 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1928         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1929         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1930         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1932 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1934         * nptl/tst-join7mod.c: Add #include <string.h>.
1936 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1938         * sysdeps/nios2/libm-test-ulps: Update.
1940 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1942         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1943         Fix order of arguments to the rt_sigprocmask syscall.
1944         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1945         Likewise.
1947 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1949         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1951 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1953         [BZ #18457]
1954         * nptl/Makefile (tests): New test case tst-join7.
1955         (modules-names): New test case module tst-join7mod.
1956         * nptl/tst-join7.c: New file.
1957         * nptl/tst-join7mod.c: New file.
1958         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1959         all translation units in libc.so, libpthread.so and rtld.
1961 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1965 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1967         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1969         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1970         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1971         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1973         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1976         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1979         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1980         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1981         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1982         implementation.
1984 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1986         [BZ #17711]
1987         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1988         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1989         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1990         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1991         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1992         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1994 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1996         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1997         instead of just saying load lock in the comments.
1999 2015-07-23  Roland McGrath  <roland@hack.frob.com>
2001         * sysdeps/unix/Subdirs: Moved ...
2002         * sysdeps/posix/Subdirs: ... here.
2003         * login/pty.h (struct termios, struct winsize): Add forward decls.
2004         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2005         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2006         * sysdeps/arm/nacl/libc.abilist: Updated.
2007         * sysdeps/nacl/libutil.abilist: New file.
2009         * bits/signum.h: Update comments to mention 1003.1-2013 too.
2010         (SIGWINCH): New macro.
2012         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2013         * sysdeps/arm/nacl/libc.abilist: Add it.
2015 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2017         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2019 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2021         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2022         Swap __glibc_reserved0 and sa_flags order.
2024 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2026         [BZ #18657]
2027         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2028         are pending TLS destructor calls.
2029         * include/link.h (struct link_map): Add concurrency note for
2030         L_TLS_DTOR_COUNT.
2031         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2032         Don't touch the link map flag.  Atomically increment
2033         l_tls_dtor_count.
2034         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2035         Avoid taking the load lock and don't touch the link map flag.
2036         * stdlib/tst-tls-atexit-nodelete.c: New test case.
2037         * stdlib/Makefile (tests): Use it.
2038         * stdlib/tst-tls-atexit.c (do_test): dlopen
2039         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
2040         to allow tst-tls-atexit-nodelete test case to use it.
2042 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2044         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2045         to bits/types.h.
2046         (msgqnum_t): New typedef.
2047         (msglen_t): Likewise.
2048         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
2049         and msg_qbytes type to msglen_t.
2051 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2053         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2054         pad0 to __glibc_reserved0.
2055         (struct stat64): Likewise.
2057 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2059         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2060         Change sa_flags from a long to an int and add __glibc_reserved0 before
2061         it for padding.
2063 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2065         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2066         anonymous by deleting "siginfo" name.
2068 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2070         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2071         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2072         rather than __nacl_irt_filename.
2073         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2075         * NEWS: New item for arm-nacl port.
2076         * sysdeps/arm/nacl/libc.abilist: New file.
2077         * sysdeps/nacl/ld.abilist: New file.
2078         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2079         * sysdeps/nacl/libanl.abilist: New file.
2080         * sysdeps/nacl/libcrypt.abilist: New file.
2081         * sysdeps/nacl/libdl.abilist: New file.
2082         * sysdeps/nacl/libm.abilist: New file.
2083         * sysdeps/nacl/libpthread.abilist: New file.
2084         * sysdeps/nacl/libresolv.abilist: New file.
2085         * sysdeps/nacl/librt.abilist: New file.
2087 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2089         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2090         __startcontext to initialize the new context.
2091         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2092         up CFI directive to forbid further backtracing.
2094 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2096         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2097         reference.
2098         * charmaps/ANSI_X3.4-1968: Likewise.
2099         * charmaps/BS_4730: Likewise.
2100         * charmaps/BS_VIEWDATA: Likewise.
2101         * charmaps/CP1250: Likewise.
2102         * charmaps/CP1251: Likewise.
2103         * charmaps/CP1252: Likewise.
2104         * charmaps/CP1253: Likewise.
2105         * charmaps/CP1254: Likewise.
2106         * charmaps/CP1255: Likewise.
2107         * charmaps/CP1256: Likewise.
2108         * charmaps/CSN_369103: Likewise.
2109         * charmaps/EBCDIC-DK-NO: Likewise.
2110         * charmaps/GB_1988-80: Likewise.
2111         * charmaps/GREEK-CCITT: Likewise.
2112         * charmaps/GREEK7: Likewise.
2113         * charmaps/INIS-8: Likewise.
2114         * charmaps/ISIRI-3342: Likewise.
2115         * charmaps/ISO_2033-1983: Likewise.
2116         * charmaps/ISO_5427-EXT: Likewise.
2117         * locales/POSIX: Likewise.
2118         * locales/ar_SA: Likewise.
2119         * locales/be_BY: Likewise.
2120         * locales/be_BY@latin: Likewise.
2121         * locales/ca_ES: Likewise.
2122         * locales/cs_CZ: Likewise.
2123         * locales/da_DK: Likewise.
2124         * locales/de_BE: Likewise.
2125         * locales/de_CH: Likewise.
2126         * locales/de_LU: Likewise.
2127         * locales/en_AU: Likewise.
2128         * locales/en_BW: Likewise.
2129         * locales/en_CA: Likewise.
2130         * locales/en_DK: Likewise.
2131         * locales/en_GB: Likewise.
2132         * locales/en_IE: Likewise.
2133         * locales/en_NZ: Likewise.
2134         * locales/en_ZA: Likewise.
2135         * locales/en_ZW: Likewise.
2136         * locales/es_AR: Likewise.
2137         * locales/es_BO: Likewise.
2138         * locales/es_CL: Likewise.
2139         * locales/es_CO: Likewise.
2140         * locales/es_DO: Likewise.
2141         * locales/es_EC: Likewise.
2142         * locales/es_ES: Likewise.
2143         * locales/es_HN: Likewise.
2144         * locales/es_MX: Likewise.
2145         * locales/es_PA: Likewise.
2146         * locales/es_PE: Likewise.
2147         * locales/es_PY: Likewise.
2148         * locales/es_SV: Likewise.
2149         * locales/es_US: Likewise.
2150         * locales/es_UY: Likewise.
2151         * locales/es_VE: Likewise.
2152         * locales/et_EE: Likewise.
2153         * locales/fa_IR: Likewise.
2154         * locales/fo_FO: Likewise.
2155         * locales/fr_CA: Likewise.
2156         * locales/fr_CH: Likewise.
2157         * locales/gv_GB: Likewise.
2158         * locales/he_IL: Likewise.
2159         * locales/hr_HR: Likewise.
2160         * locales/id_ID: Likewise.
2161         * locales/is_IS: Likewise.
2162         * locales/it_CH: Likewise.
2163         * locales/iw_IL: Likewise.
2164         * locales/kl_GL: Likewise.
2165         * locales/ko_KR: Likewise.
2166         * locales/kw_GB: Likewise.
2167         * locales/lg_UG: Likewise.
2168         * locales/lt_LT: Likewise.
2169         * locales/lv_LV: Likewise.
2170         * locales/mi_NZ: Likewise.
2171         * locales/nhn_MX: Likewise.
2172         * locales/nl_BE: Likewise.
2173         * locales/pl_PL: Likewise.
2174         * locales/sk_SK: Likewise.
2175         * locales/sl_SI: Likewise.
2176         * locales/sv_FI: Likewise.
2177         * locales/tl_PH: Likewise.
2178         * locales/tr_TR: Likewise.
2179         * locales/vi_VN: Likewise.
2181 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2183         [BZ #17475]
2184         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2185         of tu_IN and bh_IN.
2187 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2189         [BZ #18694]
2190         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2191         bits/wordsize.h.
2192         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2194 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2196         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2197         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2198         (spawn_thread): New function.
2199         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2200         (do_test): ... here.  Use IS_LOADED to test for its
2201         availability.
2203 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2205         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2207 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2209         [BZ #18696]
2210         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2211         si_addr_bnd.
2212         (si_lower): New.
2213         (si_upper): Likewise.
2215 2015-07-16  David S. Miller  <davem@davemloft.net>
2217         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2219 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2221         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2222         buffer.
2223         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2224         fail output information.
2226 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2229         and strstr-ppc64..
2230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2231         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2232         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2233         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2234         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2236 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2238         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2239         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2240         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2241         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2243 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2245         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2246         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2247         rtld_hidden_proto.
2248         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2250 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2252         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2253         the test can fail.
2255         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2257         [BZ #18676]
2258         * elf/tst-nodelete-opened.c: New test case.
2259         * elf/tst-nodelete-opened-lib.c: New test case module.
2260         * elf/Makefile (tests, modules-names): Use them.
2261         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2262         early.
2264 2015-07-15  David S. Miller  <davem@davemloft.net>
2266         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2267         futex-intenal.h
2268         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2269         * sysdeps/sparc/sparc64/Makefile: Likewise.
2270         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2271         Remove space from macro define.
2272         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2274 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2276         [BZ #17475]
2277         * locale/iso-639.def: Update Bhili and Tulu language codes as
2278         per iso639-3.
2280 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2282         * elf/tst-leaks1.c (main): Converted to ...
2283         (do_test): ... this.
2284         (TEST_FUNCTION): New macro.
2285         Include test-skeleton.c.
2286         * localedata/tst-langinfo.c (main): Converted to ...
2287         (do_test): ... this.
2288         (TEST_FUNCTION): New macro.
2289         Include test-skeleton.c.
2290         * math/test-fpucw.c (main): Converted to ...
2291         (do_test): ... this.
2292         (TEST_FUNCTION): New macro.
2293         Include test-skeleton.c.
2294         * math/test-tgmath.c (main): Converted to ...
2295         (do_test): ... this.
2296         (TEST_FUNCTION): New macro.
2297         Include test-skeleton.c.
2298         * math/test-tgmath2.c (main): Converted to ...
2299         (do_test): ... this.
2300         (TEST_FUNCTION): New macro.
2301         Include test-skeleton.c.
2302         * setjmp/tst-setjmp.c (main): Converted to ...
2303         (do_test): ... this.
2304         (TEST_FUNCTION): New macro.
2305         Include test-skeleton.c.
2306         * stdio-common/tst-sscanf.c (main): Converted to ...
2307         (do_test): ... this.
2308         (TEST_FUNCTION): New macro.
2309         Include test-skeleton.c.
2310         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2311         (do_test): ... this.
2312         (TEST_FUNCTION): New macro.
2313         Include test-skeleton.c.
2315         * elf/tst-audit9.c (main): Converted to ...
2316         (do_test): ... this.
2317         (TEST_FUNCTION): New macro.
2318         Include test-skeleton.c.
2320 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2322         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2324 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2326         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2327         New variable.
2329 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2331         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2333 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2335         * sysdeps/generic/dl-fileid.h: New file.
2336         * sysdeps/posix/dl-fileid.h: New file.
2337         * sysdeps/nacl/dl-fileid.h: New file.
2338         * include/link.h: Include <dl-fileid.h>.
2339         (struct link_map): Replace l_dev and l_ino with l_file_id.
2340         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2341         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2342         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2344 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2346         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2348 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2350         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2351         Add iff $CXX is set.
2352         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2353         Likewise.
2354         (tst-nodelete-zmodiff): Likewise.
2355         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2357 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2359         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2361 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2363         * sysdeps/aarch64/fpu/math_private.h
2364         (define math_opt_barrier): Add AArch64 version.
2365         (math_force_eval): Likewise.
2367 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2369         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2371 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2373         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2374         %ld with %jd and cast to intmax_t.
2375         (do_test_length_zero): Likewise.
2377 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2379         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2381 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2383         * sysdeps/tile/libm-test-ulps: Regenerated.
2385         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2386         Comment out the whole function, not just its body.
2388 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2390         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2391         locks.
2393         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2395 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2397         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2398         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2400 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2402         * sysdeps/nptl/futex-internal.h: New file.
2403         * sysdeps/nacl/futex-internal.h: New file.
2404         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2405         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2406         error checking.
2407         (setxid_unmark_thread): Likewise.
2408         (__nptl_setxid): Likewise.
2409         (__wait_lookup_done): Likewise.
2410         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2411         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2412         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2413         * nptl/pthread_once.c (clear_once_control): Likewise.
2414         (__pthread_once_slow): Likewise.
2415         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2416         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2417         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2418         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2419         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2420         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2421         Likewise.
2422         (__pthread_rwlock_rdlock): Likewise.
2423         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2424         Likewise.
2425         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2426         Likewise.
2427         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2428         Likewise.
2429         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2430         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2431         Likewise.
2432         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2433         __ASSUME_PRIVATE_FUTEX check.
2434         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2435         Check that shared futexes are supported.
2436         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2437         wrappers with error checking.
2438         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2439         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2440         * nptl/pthread_barrierattr_setpshared.c
2441         (pthread_barrierattr_setpshared): Check that shared futexes are
2442         supported.
2443         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2444         Likewise.
2445         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2446         Likewise.
2447         * nptl/sem_init.c (futex_private_if_supported): Remove.
2448         (__new_sem_init): Adapt and check that shared futexes are supported.
2449         * nptl/sem_open.c (sem_open): Likewise.
2450         * nptl/sem_post.c (futex_wake): Remove.
2451         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2452         (do_futex_wait): Use futex wrappers with error checking.
2453         * nptl/sem_wait.c: Include lowlevellock.h.
2454         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2455         Use futex_supports_pshared.
2456         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2457         Use futex wrappers with error checking.
2458         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2459         Likewise.
2460         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2461         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2462         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2463         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2464         (futex_wake): Likewise.
2465         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2466         (do_futex_wait): Use futex wrappers with error checking.
2467         (__new_sem_wait_slow): Update EINTR handling.
2468         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2470 2015-07-09  Martin Sebor  <msebor@redhat.com>
2472         [BZ #18435]
2473         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2474         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2475         * nptl/Makefile (test-xfail-tst-once5): Define.
2477 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2479         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2480         * elf/dl-minimal.c: For readability, reorder some definitions and
2481         introduce more page breaks.  Include <stdio.h>.
2482         (__libc_fatal): New function.
2484         * include/unistd.h: Add rtld_hidden_proto for _exit.
2485         * posix/_exit.c: Add rtld_hidden_def.
2486         * sysdeps/mach/hurd/_exit.c: Likewise.
2487         * sysdeps/nacl/_exit.c: Likewise.
2488         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2489         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2491 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2494         bndmov encoding with zero displacement.
2496 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2497             H.J. Lu  <hongjiu.lu@intel.com>
2499         [BZ #18134]
2500         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2501         * sysdeps/i386/configure: Regenerated.
2502         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2503         (_dl_runtime_profile): Save and restore Intel MPX return bound
2504         registers when calling _dl_call_pltexit.  Add
2505         PRESERVE_BND_REGS_PREFIX before return.
2506         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2507         (LRV_BND1_OFFSET): Likewise.
2508         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2509         lrv_bnd1.
2510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2511         typo in bndmov encoding.
2512         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2513         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2514         branch instructions to preserve bounds.
2516 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2519         [GLIBC_2.22]: Add fmemopen.
2521 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2523         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2524         returns an error, also try to use host port from __mach_host_self for
2525         the __vm_wire call.
2526         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2528 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2530         [BZ #18400]
2531         [BZ #18648]
2532         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2533         Fix pr_uid and pr_gid members.
2534         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2535         definition to elf_greg_t.
2537 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2539         [BZ #18383]
2540         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2541         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2542         * sysdeps/arm/configure: Regenerated.
2543         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2544         (test-xfail-tst-tlsalign-static): Variable removed.
2546         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2547         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2548         rather than explicit 'ln -s'.
2550         * resolv/rpc/netdb.h: New file.
2551         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2553 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2555         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2556         length buffers.
2557         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2558         test-skeleton.c.
2560         [BZ #6544]
2561         [BZ #11216]
2562         [BZ #12836]
2563         [BZ #13151]
2564         [BZ #13152]
2565         [BZ #14292]
2566         * include/stdio.h (fmemopen): Remove hidden prototype.
2567         (__fmemopen): Add new hidden prototype.
2568         * libio/Makefile: Add oldfmemopen object.
2569         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2570         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2571         compliance.
2572         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2573         symbol compatibility.
2574         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2575         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2576         fmemopen.
2577         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2578         on append and read mode.
2579         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2580         fmemopen.
2581         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2582         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2583         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2584         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2585         Likewise.
2586         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2587         [GLIBC_2.22]: Likewise.
2588         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2589         Likewise.
2590         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2591         Likewise.
2592         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2593         [GLIBC_2.22]: Likewise.
2594         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2595         [GLIBC_2.22]: Likewise.
2596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2597         [GLIBC_2.22]: Likewise.
2598         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2599         [GLIBC_2.22]: Likewise.
2600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2601         [GLIBC_2.22]: Likewise.
2602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2603         [GLIBC_2.22]: Likewise.
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2605         [GLIBC_2.22]: Likewise.
2606         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2607         Likewise.
2608         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2609         Likewise.
2610         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2611         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2612         [GLIBC_2.22]: Likewise.
2613         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2614         [GLIBC_2.22]: Likewise.
2615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2616         [GLIBC_2.22]: Likewise.
2617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2618         [GLIBC_2.22]: Likewise.
2619         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2620         Likewise.
2621         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2622         Likewise.
2623         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2624         Likewise.
2625         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2626         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2628 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2630         [BZ #18643]
2631         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2632         IPV6_PATHMTU, and IPV6_DONTFRAG.
2634 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2636         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2637         and _IO_UNBUFFERED.
2638         * libio/oldfileops.c: Likewise.
2639         * libio/wfileops.c: Likewise.
2641 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2643         * nscd/selinux.c: Delete selinux/flask.h include.
2645 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2647         [BZ #18641]
2648         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2649         (putpwent): Likewise.
2650         (getpwnam): Likewise.
2651         (getpwent_r): Likewise.
2652         (getpwuid_r): Likewise.
2653         (getpwnam_r): Likewise.
2654         (fgetpwent_r): Likewise.
2656 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2658         [BZ #18557]
2659         * inet/rcmd.c (__validuser2_sa): Check user first to
2660         short-circuit host check.
2662 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2663             Mikhail Ilin  <m.ilin@samsung.com>
2665         [BZ #17833]
2666         * elf/Makefile (tests): Add tst-nodelete.
2667         (modules-names): Add tst-nodelete-uniquemod.
2668         (tst-nodelete-uniquemod.so-no-z-defs): New.
2669         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2670         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2671         ($(objpfx)tst-nodelete): Likewise.
2672         ($(objpfx)tst-nodelete.out): Likewise.
2673         (LDFLAGS-tst-nodelete): Likewise.
2674         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2675         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2676         implement forced object deletion.
2677         (_dl_close): Pass false to _dl_close_worker.
2678         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2679         * elf/tst-nodelete.cc: New file.
2680         * elf/tst-nodeletelib.cc: Likewise.
2681         * elf/tst-znodeletelib.cc: Likewise.
2682         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2684 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2686         [BZ #18508]
2687         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2688         Depend on $(libdl).
2689         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2690         is not called infinitely times.
2691         (backtrace_helper): New function.
2692         (trace_arg): New struct.
2693         (st1): Enlarge stack size.
2694         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2695         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2696         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2697         Likewise.
2699 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2701         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2703 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2705         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2706         Include sys/types.h instead of bits/types.h.
2707         Remove inclusion of bits/wordsize.h.
2709 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2711         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2712         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2713         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2714         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2715         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2716         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2718 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2720         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2721         link-defines.sym.
2722         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2723         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2724         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2725         and LR_SIZE.
2726         * sysdeps/i386/link-defines.sym: New file.
2728 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2730         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2731         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2732         ($(objpfx)tst-audit3): New rule.
2733         ($(objpfx)tst-audit3.out): Likewise.
2734         * sysdeps/i386/tst-audit3.c: New file.
2735         * sysdeps/i386/tst-audit3.h: Likewise.
2736         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2737         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2739 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2741         [BZ #18633]
2742         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2743         pointer in C code.
2744         (__strcat_c): Likewise.
2745         (__strcat_g): Likewise.
2747 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2749         [BZ #18592]
2750         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2752 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2754         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2755         New function.  (__ieee754_sqrtf): New function.
2756         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2757         New function.
2758         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2759         New function.
2761 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2763         * sysdeps/ieee754/support.c: Remove unused file.
2765 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2767         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2768         registers instead of d ones so the layout is kernel abi compatible.
2769         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2770         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2771         Likewise.
2773 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2775         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2777 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2779         [BZ #18619]
2780         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2781         and return argument in case of subnormal argument.
2783 2015-07-01  Martin Sebor  <msebor@redhat.com>
2785         [BZ #18435]
2786         * nptl/Makefile: Add tst-once5.cc.
2787         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2788         Remove macro redefinitions.
2789         * nptl/tst-once5.cc: New test.
2791 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2793         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2795         * sysdeps/arm/libm-test-ulps: Regenerated.
2797         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2800 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2802         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2803         lll_lock_wait_private and lll_futex_wake probes.
2805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2807         Likewise.
2808         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2809         atomic_spin_nop.
2810         * sysdeps/x86_64/bits/atomic.h: Likewise.
2811         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2812         to atomic_spin_nop and move ...
2813         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2814         ... here and ...
2815         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2816         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2817         atomic_spin_nop instead of BUSY_WAIT_NOP.
2818         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2819         Likewise.
2820         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2821         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2822         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2823         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2824         instead of atomic_delay.
2826 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2828         [BZ #18613]
2829         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2830         X_ADJ not X when adjusting exponent.
2831         (__ieee754_gamma_r): Do intermediate computations in
2832         round-to-nearest then adjust overflowing and underflowing results
2833         as needed.
2834         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2835         of X_ADJ not X when adjusting exponent.
2836         (__ieee754_gammaf_r): Do intermediate computations in
2837         round-to-nearest then adjust overflowing and underflowing results
2838         as needed.
2839         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2840         log of X_ADJ not X when adjusting exponent.
2841         (__ieee754_gammal_r): Do intermediate computations in
2842         round-to-nearest then adjust overflowing and underflowing results
2843         as needed.  Use 1.0L not 1.0f as numerator of division.
2844         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2845         log of X_ADJ not X when adjusting exponent.
2846         (__ieee754_gammal_r): Do intermediate computations in
2847         round-to-nearest then adjust overflowing and underflowing results
2848         as needed.  Use 1.0L not 1.0f as numerator of division.
2849         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2850         of X_ADJ not X when adjusting exponent.
2851         (__ieee754_gammal_r): Do intermediate computations in
2852         round-to-nearest then adjust overflowing and underflowing results
2853         as needed.  Use 1.0L not 1.0f as numerator of division.
2854         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2855         to auto-libm-test-in.
2856         (tgamma_test): Use ALL_RM_TEST.
2857         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2858         tests of tgamma with spurious-overflow.
2859         * math/auto-libm-test-out: Regenerated.
2860         * math/gen-libm-have-vector-test.sh: Do not check for START.
2861         * sysdeps/i386/fpu/libm-test-ulps: Update.
2862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2864         [BZ #18612]
2865         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2866         arguments, just return 0.5 times the argument, with underflow
2867         forced as needed.
2868         * math/auto-libm-test-in: Add more tests of j1.
2869         * math/auto-libm-test-out: Regenerated.
2871         [BZ #16559]
2872         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2873         (__ieee754_j1): Force underflow exception for small results.
2874         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2875         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2876         (__ieee754_j1f): Force underflow exception for small results.
2877         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2878         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2880         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2881         (__ieee754_j1l): Force underflow exception for small results.
2882         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2883         * math/auto-libm-test-in: Add more tests of j1 and jn.
2884         * math/auto-libm-test-out: Regenerated.
2886         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2887         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2888         (PF_MPLS): Likewise.
2889         (AF_IB): Likewise.
2890         (AF_MPLS): Likewise.
2891         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2892         value and macro.
2893         (MS_RMT_MASK): Include MS_LAZYTIME.
2895 2015-06-26  Mel Gorman  <mgorman@suse.de>
2897         [BZ #18502]
2898         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2899         already minimal.
2901 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2903         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2904         (DT_MIPS_NUM): Update.
2905         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2906         DT_MIPS_RLD_MAP_REL.
2908 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2910         [BZ #16559]
2911         [BZ #18602]
2912         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2913         round-to-nearest internally then recompute results that
2914         underflowed to zero in the original rounding mode.
2915         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2916         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2918         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2919         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2920         * sysdeps/i386/fpu/libm-test-ulps: Update.
2921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2923 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2925         * NEWS: Fixed description of link with vector math library.
2927 2015-06-25  Andreas Schwab  <schwab@suse.de>
2929         [BZ #18549]
2930         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2931         * libio/test-fmemopen.c (do_test): Add test for it.
2933 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2935         [BZ #17841]
2936         * Makeconfig (no-pie-ldflag): New.
2937         (+link): Set to $(+link-pie) if default to PIE.
2938         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2939         * config.make.in (build-pie-default): New.
2940         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2941         is default.  AC_SUBST.
2942         * configure: Regenerated.
2943         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2945 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2947         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2948         to 'unsigned int'.
2950         * resolv/gai_misc.h (struct waitlist): Change type of field
2951         counterp to 'volatile unsigned int *'.
2952         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2953         FUTEXADDR and OLDVAL.
2954         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2955         Give local variable TOTAL type 'volatile unsigned int'.
2956         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2957         * resolv/gai_suspend.c (gai_suspend):
2958         Give local variable CNTR type 'unsigned int'.
2960         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2961         counterp to 'volatile unsigned int *'.
2962         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2963         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2964         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2965         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2966         Give local variable TOTAL type 'volatile unsigned int'.
2967         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2969 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2971         [BZ #18383]
2972         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2973         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2974         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2975         comment for i386/x86-64.
2976         (test-xfail-tst-tlsalign-extern-static): Removed.
2978 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2980         * math/test-double.h: New file.
2981         * math/test-float.h: Likewise.
2982         * math/test-ldouble.h: Likewise.
2983         * math/test-math-inline.h: Likewise.
2984         * math/test-math-no-inline.h: Likewise.
2985         * math/test-math-scalar.h: Likewise.
2986         * math/test-math-vector.h: Likewise.
2987         * math/test-vec-loop.h: Remove file.  Contents moved into
2988         test-math-vector.h.
2989         * math/libm-test.inc (MATHCONST): Do not document macro.
2990         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2991         and test-math-scalar.h.
2992         (FUNC): Remove macro.
2993         (FUNC_TEST): Likewise.
2994         (FLOAT): Likewise.
2995         (MATHCONST): Likewise.
2996         (PRINTF_EXPR): Likewise.
2997         (PRINTF_XEXPR): Likewise.
2998         (PRINTF_NEXPR): Likewise.
2999         (TEST_DOUBLE): Likewise.
3000         (TEST_MATHVEC): Likewise.
3001         (__NO_MATH_INLINES): Likewise.
3002         * math/test-float.c: Include test-float.h, test-math-no-inline.h
3003         and test-math-scalar.h.
3004         (FUNC): Remove macro.
3005         (FUNC_TEST): Likewise.
3006         (FLOAT): Likewise.
3007         (MATHCONST): Likewise.
3008         (PRINTF_EXPR): Likewise.
3009         (PRINTF_XEXPR): Likewise.
3010         (PRINTF_NEXPR): Likewise.
3011         (TEST_FLOAT): Likewise.
3012         (TEST_MATHVEC): Likewise.
3013         (__NO_MATH_INLINES): Likewise.
3014         * math/test-idouble.c: Include test-double.h, test-math-inline.h
3015         and test-math-scalar.h.
3016         (FUNC): Remove macro.
3017         (FUNC_TEST): Likewise.
3018         (FLOAT): Likewise.
3019         (MATHCONST): Likewise.
3020         (PRINTF_EXPR): Likewise.
3021         (PRINTF_XEXPR): Likewise.
3022         (PRINTF_NEXPR): Likewise.
3023         (TEST_DOUBLE): Likewise.
3024         (TEST_MATHVEC): Likewise.
3025         (TEST_INLINE): Likewise.
3026         (__NO_MATH_INLINES): Likewise.
3027         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3028         test-math-scalar.h.
3029         (FUNC): Remove macro.
3030         (FUNC_TEST): Likewise.
3031         (FLOAT): Likewise.
3032         (MATHCONST): Likewise.
3033         (PRINTF_EXPR): Likewise.
3034         (PRINTF_XEXPR): Likewise.
3035         (PRINTF_NEXPR): Likewise.
3036         (TEST_FLOAT): Likewise.
3037         (TEST_MATHVEC): Likewise.
3038         (TEST_INLINE): Likewise.
3039         (__NO_MATH_INLINES): Likewise.
3040         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3041         and test-math-scalar.h.
3042         (FUNC): Remove macro.
3043         (FUNC_TEST): Likewise.
3044         (FLOAT): Likewise.
3045         (MATHCONST): Likewise.
3046         (PRINTF_EXPR): Likewise.
3047         (PRINTF_XEXPR): Likewise.
3048         (PRINTF_NEXPR): Likewise.
3049         (TEST_LDOUBLE): Likewise.
3050         (TEST_MATHVEC): Likewise.
3051         (TEST_INLINE): Likewise.
3052         (__NO_MATH_INLINES): Likewise.
3053         * math/test-ldouble.c: Include test-ldouble.h,
3054         test-math-no-inline.h and test-math-scalar.h.
3055         (FUNC): Remove macro.
3056         (FUNC_TEST): Likewise.
3057         (FLOAT): Likewise.
3058         (MATHCONST): Likewise.
3059         (PRINTF_EXPR): Likewise.
3060         (PRINTF_XEXPR): Likewise.
3061         (PRINTF_NEXPR): Likewise.
3062         (TEST_LDOUBLE): Likewise.
3063         (TEST_MATHVEC): Likewise.
3064         (__NO_MATH_INLINES): Likewise.
3065         * math/test-double-vlen2.h: Include test-double.h,
3066         test-math-no-inline.h and test-math-vector.h.
3067         (FLOAT): Remove macro.
3068         (FUNC): Likewise.
3069         (MATHCONST): Likewise.
3070         (PRINTF_EXPR): Likewise.
3071         (PRINTF_XEXPR): Likewise.
3072         (PRINTF_NEXPR): Likewise.
3073         (TEST_DOUBLE): Likewise.
3074         (TEST_MATHVEC): Likewise.
3075         (__NO_MATH_INLINES): Likewise.
3076         (CNCT): Likewise.
3077         (CONCAT): Likewise.
3078         (WRAPPER_NAME): Likewise.
3079         (WRAPPER_DECL): Likewise.
3080         (WRAPPER_DECL_ff): Likewise.
3081         (WRAPPER_DECL_fFF): Likewise.
3082         (VECTOR_WRAPPER): Likewise.
3083         (VECTOR_WRAPPER_ff): Likewise.
3084         (VECTOR_WRAPPER_fFF): Likewise.
3085         (VEC_LEN): New macro.
3086         * math/test-double-vlen4.h: Include test-double.h,
3087         test-math-no-inline.h and test-math-vector.h.
3088         (FLOAT): Remove macro.
3089         (FUNC): Likewise.
3090         (MATHCONST): Likewise.
3091         (PRINTF_EXPR): Likewise.
3092         (PRINTF_XEXPR): Likewise.
3093         (PRINTF_NEXPR): Likewise.
3094         (TEST_DOUBLE): Likewise.
3095         (TEST_MATHVEC): Likewise.
3096         (__NO_MATH_INLINES): Likewise.
3097         (CNCT): Likewise.
3098         (CONCAT): Likewise.
3099         (WRAPPER_NAME): Likewise.
3100         (WRAPPER_DECL): Likewise.
3101         (WRAPPER_DECL_ff): Likewise.
3102         (WRAPPER_DECL_fFF): Likewise.
3103         (VECTOR_WRAPPER): Likewise.
3104         (VECTOR_WRAPPER_ff): Likewise.
3105         (VECTOR_WRAPPER_fFF): Likewise.
3106         (VEC_LEN): New macro.
3107         * math/test-double-vlen8.h: Include test-double.h,
3108         test-math-no-inline.h and test-math-vector.h.
3109         (FLOAT): Remove macro.
3110         (FUNC): Likewise.
3111         (MATHCONST): Likewise.
3112         (PRINTF_EXPR): Likewise.
3113         (PRINTF_XEXPR): Likewise.
3114         (PRINTF_NEXPR): Likewise.
3115         (TEST_DOUBLE): Likewise.
3116         (TEST_MATHVEC): Likewise.
3117         (__NO_MATH_INLINES): Likewise.
3118         (CNCT): Likewise.
3119         (CONCAT): Likewise.
3120         (WRAPPER_NAME): Likewise.
3121         (WRAPPER_DECL): Likewise.
3122         (WRAPPER_DECL_ff): Likewise.
3123         (WRAPPER_DECL_fFF): Likewise.
3124         (VECTOR_WRAPPER): Likewise.
3125         (VECTOR_WRAPPER_ff): Likewise.
3126         (VECTOR_WRAPPER_fFF): Likewise.
3127         (VEC_LEN): New macro.
3128         * math/test-float-vlen4.h: Include test-float.h,
3129         test-math-no-inline.h and test-math-vector.h.
3130         (FLOAT): Remove macro.
3131         (FUNC): Likewise.
3132         (MATHCONST): Likewise.
3133         (PRINTF_EXPR): Likewise.
3134         (PRINTF_XEXPR): Likewise.
3135         (PRINTF_NEXPR): Likewise.
3136         (TEST_FLOAT): Likewise.
3137         (TEST_MATHVEC): Likewise.
3138         (__NO_MATH_INLINES): Likewise.
3139         (CNCT): Likewise.
3140         (CONCAT): Likewise.
3141         (WRAPPER_NAME): Likewise.
3142         (WRAPPER_DECL): Likewise.
3143         (WRAPPER_DECL_ff): Likewise.
3144         (WRAPPER_DECL_fFF): Likewise.
3145         (VECTOR_WRAPPER): Likewise.
3146         (VECTOR_WRAPPER_ff): Likewise.
3147         (VECTOR_WRAPPER_fFF): Likewise.
3148         (VEC_LEN): New macro.
3149         * math/test-float-vlen8.h: Include test-float.h,
3150         test-math-no-inline.h and test-math-vector.h.
3151         (FLOAT): Remove macro.
3152         (FUNC): Likewise.
3153         (MATHCONST): Likewise.
3154         (PRINTF_EXPR): Likewise.
3155         (PRINTF_XEXPR): Likewise.
3156         (PRINTF_NEXPR): Likewise.
3157         (TEST_FLOAT): Likewise.
3158         (TEST_MATHVEC): Likewise.
3159         (__NO_MATH_INLINES): Likewise.
3160         (CNCT): Likewise.
3161         (CONCAT): Likewise.
3162         (WRAPPER_NAME): Likewise.
3163         (WRAPPER_DECL): Likewise.
3164         (WRAPPER_DECL_ff): Likewise.
3165         (WRAPPER_DECL_fFF): Likewise.
3166         (VECTOR_WRAPPER): Likewise.
3167         (VECTOR_WRAPPER_ff): Likewise.
3168         (VECTOR_WRAPPER_fFF): Likewise.
3169         (VEC_LEN): New macro.
3170         * math/test-float-vlen16.h: Include test-float.h,
3171         test-math-no-inline.h and test-math-vector.h.
3172         (FLOAT): Remove macro.
3173         (FUNC): Likewise.
3174         (MATHCONST): Likewise.
3175         (PRINTF_EXPR): Likewise.
3176         (PRINTF_XEXPR): Likewise.
3177         (PRINTF_NEXPR): Likewise.
3178         (TEST_FLOAT): Likewise.
3179         (TEST_MATHVEC): Likewise.
3180         (__NO_MATH_INLINES): Likewise.
3181         (CNCT): Likewise.
3182         (CONCAT): Likewise.
3183         (WRAPPER_NAME): Likewise.
3184         (WRAPPER_DECL): Likewise.
3185         (WRAPPER_DECL_ff): Likewise.
3186         (WRAPPER_DECL_fFF): Likewise.
3187         (VECTOR_WRAPPER): Likewise.
3188         (VECTOR_WRAPPER_ff): Likewise.
3189         (VECTOR_WRAPPER_fFF): Likewise.
3190         (VEC_LEN): New macro.
3191         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3192         test-vec-loop.h.
3193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3194         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3196         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3197         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3198         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3199         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3201 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3203         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3204         (__getlogin_r): ... this.
3206 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3208         [BZ #18594]
3209         * math/s_ccosh.c (__ccosh): Compare with least normal value
3210         instead of comparing class with FP_SUBNORMAL.
3211         * math/s_ccoshf.c (__ccoshf): Likewise.
3212         * math/s_ccoshl.c (__ccoshl): Likewise.
3213         * math/s_cexp.c (__cexp): Likewise.
3214         * math/s_cexpf.c (__cexpf): Likewise.
3215         * math/s_cexpl.c (__cexpl): Likewise.
3216         * math/s_csin.c (__csin): Likewise.
3217         * math/s_csinf.c (__csinf): Likewise.
3218         * math/s_csinh.c (__csinh): Likewise.
3219         * math/s_csinhf.c (__csinhf): Likewise.
3220         * math/s_csinhl.c (__csinhl): Likewise.
3221         * math/s_csinl.c (__csinl): Likewise.
3222         * math/s_ctan.c (__ctan): Likewise.
3223         * math/s_ctanf.c (__ctanf): Likewise.
3224         * math/s_ctanh.c (__ctanh): Likewise.
3225         * math/s_ctanhf.c (__ctanhf): Likewise.
3226         * math/s_ctanhl.c (__ctanhl): Likewise.
3227         * math/s_ctanl.c (__ctanl): Likewise.
3228         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3229         csin, csinh, ctan and ctanh.
3230         * math/auto-libm-test-out: Regenerated.
3231         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3232         * sysdeps/i386/fpu/libm-test-ulps: Update.
3233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3235 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3237         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3238         return value is wrong, print the expected value too.
3240 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3242         [BZ #18585]
3243         * elf/readlib.c (is_gdb_python_file): New.
3244         (process_file): Don't issue errors on filenames with -gdb.py
3245         suffix.
3247 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3249         * math/auto-libm-test-in: Add more tests of csin and csinh.
3250         * math/auto-libm-test-out: Regenerated.
3251         * math/libm-test.inc (csin_test_data): Remove tests moved to
3252         auto-libm-test-in.
3253         (csinh_test_data): Likewise.
3255         [BZ #18593]
3256         * math/s_csin.c (__csin): Negate before rather than after possibly
3257         overflowing multiplication.
3258         * math/s_csinf.c (__csinf): Likewise.
3259         * math/s_csinh.c (__csinh): Likewise.
3260         * math/s_csinhf.c (__csinhf): Likewise.
3261         * math/s_csinhl.c (__csinhl): Likewise.
3262         * math/s_csinl.c (__csinl): Likewise.
3263         * math/auto-libm-test-in: Add some tests of csin and csinh.
3264         * math/auto-libm-test-out: Regenerated.
3265         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3266         (csinh_test_data): Likewise.
3267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3269         [BZ #18586]
3270         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3271         underflow exception for small results.
3273 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3275         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3277         variable and included header.
3278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3279         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3286         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3287         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3288         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3289         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3290         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3291         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3292         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3293         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3295 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3297         [BZ #16526]
3298         [BZ #16538]
3299         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3300         (__sin): Force underflow exception for arguments with small
3301         absolute value.
3302         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3303         (__kernel_sinf): Force underflow exception for arguments with
3304         small absolute value.
3305         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3306         (__kernel_sincosl): Force underflow exception for arguments with
3307         small absolute value.
3308         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3309         (__kernel_sinl): Force underflow exception for arguments with
3310         small absolute value.
3311         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3312         (__kernel_sincosl): Force underflow exception for arguments with
3313         small absolute value.
3314         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3315         (__kernel_sinl): Force underflow exception for arguments with
3316         small absolute value.
3317         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3318         (__kernel_sinl): Force underflow exception for arguments with
3319         small absolute value.
3320         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3321         (__kernel_sinf): Force underflow exception for arguments with
3322         small absolute value.
3323         * math/auto-libm-test-in: Add more tests of sin and sincos.
3324         * math/auto-libm-test-out: Regenerated.
3326         [BZ #18245]
3327         [BZ #18583]
3328         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3329         (__kernel_standard_l): Use feholdexcept and fesetenv around
3330         conversion to double instead of special-casing overflow and
3331         underflow.
3332         * math/libm-test.inc (fmod_test_data): Add more tests.
3333         (remainder_test_data): Likewise.
3334         (sqrt_test_data): Likewise.
3336 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3338         [BZ #17403]
3339         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3340         atomic_read_barrier, atomic_write_barrier): Define.
3341         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3342         atomic_read_barrier, atomic_write_barrier): Define.
3344 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3346         * math/Makefile [$(PERL) != no]
3347         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3348         dependency on libm-test.stmp below the inclusion of Rules.
3350 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3352         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3354         and included header.
3355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3356         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3357         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3358         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3360         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3363         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3364         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3365         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3366         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3367         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3368         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3369         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3370         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3371         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3372         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3373         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3375 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3377         [BZ #18371]
3378         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3379         intermediate but not final result might underflow.
3380         * math/s_csqrtf.c (__csqrtf): Likewise.
3381         * math/s_csqrtl.c (__csqrtl): Likewise.
3382         * math/auto-libm-test-in: Add more tests of csqrt.
3383         * math/auto-libm-test-out: Regenerated.
3384         * sysdeps/i386/fpu/libm-test-ulps: Update.
3386         [BZ #18219]
3387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3388         threshold on absolute value of exponent for which scaling is used.
3389         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3390         * math/auto-libm-test-in: Add more tests of exp2.
3391         * math/auto-libm-test-out: Regenerated.
3393 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3395         [BZ #17977]
3396         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3397         when initializing interface list, based on the bug analysis
3398         and the patch proposed by Eric Newton.
3399         * resolv/tst-res_hconf_reorder.c: New test.
3400         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3401         tst-res_hconf_reorder.
3402         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3403         and $(shared-thread-library).
3404         (tst-res_hconf_reorder-ENV): New variable.
3406         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3407         in comment.
3409 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3411         [BZ #16353]
3412         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3413         (__expm1): Force underflow exception for arguments with small
3414         absolute value.
3415         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3416         (__expm1f): Force underflow exception for arguments with small
3417         absolute value.
3418         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3419         (__expm1): Force underflow exception for arguments with small
3420         absolute value.
3421         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3422         (__expm1f): Force underflow exception for arguments with small
3423         absolute value.
3424         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3425         Check for small arguments before calling __expm1.
3426         * math/auto-libm-test-in: Do not mark underflow exceptions as
3427         possibly missing for bug 16353.
3428         * math/auto-libm-test-out: Regenerated.
3430 2015-06-22  Andreas Schwab  <schwab@suse.de>
3432         [BZ #18513]
3433         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3434         PTR queries.
3436 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3438         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3440         * string/strcoll_l.c: Remove unused struct element idxnow.
3442 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3444         [BZ #18569]
3445         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3446         underflow and return argument in case of subnormal argument.
3447         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3448         Likewise.
3449         * math/auto-libm-test-in: Add more tests of expm1.
3450         * math/auto-libm-test-out: Regenerated.
3452         [BZ #16361]
3453         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3454         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3455         tiny results.
3456         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3457         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3458         tiny results.
3459         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3460         mark underflow exceptions as possibly missing for bug 16361.
3461         * math/auto-libm-test-out: Regenerated.
3463 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3465         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3466         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3467         Remove variable.
3468         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3469         (test-xfail-XOPEN2K8/utmpx.h/conform).
3471         * conform/conformtest.pl ($xerrors): New variable.
3472         (note_error): New function.
3473         (compiletest): New argument $xfail.  Use not_error.
3474         (runtest): Likewise.
3475         (top level): Handle xfail- lines.  Update calls to compiletest and
3476         runtest.  Handle xfail- and optional- in headers listed with
3477         allow-header.
3478         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3479         (O_EXEC): Likewise.
3480         (O_SEARCH): Likewise.
3481         * conform/data/stropts.h-data (ioctl): Likewise.
3482         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3483         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3484         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3485         (msghdr.msg_controllen): Likewise.
3486         (cmsghdr.cmsg_len): Likewise.
3487         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3488         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3489         variable.
3490         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3491         (test-xfail-XPG4/stropts.h/conform): Likewise.
3492         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3493         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3494         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3495         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3496         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3497         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3498         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3499         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3500         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3501         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3502         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3503         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3504         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3505         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3506         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3507         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3508         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3509         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3510         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3512 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3514         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3515         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3516         definitions for proper unfolding of __MATHDECL_VEC.
3518 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3520         * benchtests/bench-strcoll.c:
3521         Include string.h.
3522         (main): Remove unused variable res.
3524 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3526         * timezone/Makefile (%/UTC %/Universal):
3527         Generate test-result files for UTC and Universal.
3529 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3531         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3533 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3535         [BZ #16350]
3536         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3537         for arguments with small absolute value.
3538         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3539         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3540         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3541         (__asinh): Force underflow exception for arguments with small
3542         absolute value.
3543         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3544         (__asinhf): Force underflow exception for arguments with small
3545         absolute value.
3546         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3547         (__asinhl): Force underflow exception for arguments with small
3548         absolute value.
3549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3550         (__asinhl): Force underflow exception for arguments with small
3551         absolute value.
3552         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3553         (__asinhl): Force underflow exception for arguments with small
3554         absolute value.
3555         * math/auto-libm-test-in: Do not mark underflow exceptions as
3556         possibly missing for bug 16350.
3557         * math/auto-libm-test-out: Regenerated.
3559         * include/bits/ipc.h: Remove file.
3560         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3561         variable.
3562         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3563         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3564         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3565         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3566         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3567         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3568         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3569         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3570         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3572         * math/auto-libm-test-in: Remove spurious underflow allowance for
3573         tests of cexp.
3574         * math/auto-libm-test-out: Regenerated.
3576         [BZ #18558]
3577         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3578         unconditional definition.
3579         (MCAST_BLOCK_SOURCE): Likewise.
3580         (MCAST_UNBLOCK_SOURCE): Likewise.
3581         (MCAST_LEAVE_GROUP): Likewise.
3582         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3583         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3584         (MCAST_MSFILTER): Likewise.
3585         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3586         Remove variable.
3587         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3588         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3589         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3590         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3591         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3593 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3595         * NEWS: Mention addition of x86_64 vector sincosf.
3596         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3597         * math/test-float-vlen4.h: Likewise.
3598         * math/test-float-vlen8.h: Likewise.
3599         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3600         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3601         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3602         * sysdeps/x86_64/fpu/Versions: New versions added.
3603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3604         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3605         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3606         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3607         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3612         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3613         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3614         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3615         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3616         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3617         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3618         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3619         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3620         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3621         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3622         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3623         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3624         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3625         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3626         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3628         * NEWS: Mention addition of x86_64 vector sincos.
3629         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3630         * math/math.h (__MATHDECL_VEC): New macro.
3631         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3632         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3633         declaration under condition.
3634         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3635         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3636         TEST_VEC_LOOP change.
3637         * math/test-double-vlen4.h: Likewise.
3638         * math/test-double-vlen8.h: Likewise.
3639         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3640         * math/test-float-vlen4.h: Likewise.
3641         * math/test-float-vlen8.h: Likewise.
3642         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3643         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3644         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3645         * sysdeps/x86_64/fpu/Versions: New versions added.
3646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3648         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3649         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3650         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3652         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3655         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3656         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3657         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3658         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3659         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3660         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3661         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3662         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3663         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3664         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3665         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3666         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3667         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3668         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3669         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3673         redirections for powf.
3674         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3675         * sysdeps/x86_64/fpu/Versions: New versions added.
3676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3678         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3679         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3680         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3681         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3682         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3683         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3684         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3686         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3687         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3688         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3689         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3690         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3691         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3692         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3693         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3694         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3695         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3696         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3698         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3699         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3700         * math/test-float-vlen16.h: Fixed 2 argument macro.
3701         * math/test-float-vlen4.h: Likewise.
3702         * math/test-float-vlen8.h: Likewise.
3703         * NEWS: Mention addition of x86_64 vector powf.
3705 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3707         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3708         and redefine.
3709         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3710         and redefine.
3711         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3712         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3713         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3715         [BZ #18553]
3716         * resource/getpriority.c (getpriority): Rename to __getpriority
3717         and define as weak alias of __getpriority.
3718         * resource/setpriority.c (setpriority): Rename to __setpriority
3719         and define as weak alias of __setpriority.
3720         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3721         __getpriority and define as weak alias of __getpriority.
3722         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3723         __setpriority and define as weak alias of __setpriority.
3724         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3725         strong name.
3726         (setpriority): Use __setpriority as strong name.
3727         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3728         __getpriority and define as weak alias of __getpriority.
3729         * include/sys/resource.h (__getpriority): Declare.  Use
3730         libc_hidden_proto.
3731         (__setpriority): Likewise.
3732         (getpriority): Don't use libc_hidden_proto.
3733         (setpriority): Likewise.
3734         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3735         getpriority.  Call __setpriority instead of setpriority.
3736         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3737         Remove variable.
3739         [BZ #18547]
3740         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3741         as weak alias of __getttynam.  Use prototype function definition.
3742         Call __setttyent, __getttyent and __endttyent instead of
3743         setttyent, getttyent and endttyent.
3744         (getttyent): Rename to __getttyent and define as weak alias of
3745         __getttyent.  Call __setttyent instead of setttyent.  Call
3746         __fgets_unlocked instead of fgets_unlocked.
3747         (setttyent): Rename to __setttyent and define as weak alias of
3748         __setttyent.
3749         (endttyent): Rename to __endttyent and define as weak alias of
3750         __endttyent.
3751         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3752         (__setttyent): Likewise.
3753         (__endttyent): Likewise.
3754         (getttyent): Don't use libc_hidden_proto.
3755         (setttyent): Likewise.
3756         (endttyent): Likewise.
3757         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3758         __endttyent instead of setttyent, getttyent and endttyent.
3759         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3760         Remove variable.
3762         [BZ #18546]
3763         * socket/recv.c (__recv): Use libc_hidden_def.
3764         * socket/socket.c (__socket): Likewise.
3765         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3766         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3767         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3768         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3769         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3770         libc_hidden_def.
3771         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3772         libc_hidden_weak.
3773         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3774         Use libc_hidden_proto.
3775         (__recv): Likewise.
3776         * socket/Versions (libc): Export __recv and __socket at version
3777         GLIBC_PRIVATE.
3778         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3779         instead of recv.
3780         (init_mq_netlink): Call __socket instead of socket.
3781         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3782         Remove variable.
3784         [BZ #18545]
3785         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3786         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3787         hidden_weak.
3788         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3789         define as alias of __mq_timedsend.  Use hidden_weak.
3790         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3791         __mq_timedsend as strong name.
3792         (mq_timedreceive): Use __mq_timedreceive as strong name.
3793         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3794         (__mq_timedreceive): Likewise.
3795         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3796         __mq_timedreceive instead of mq_timedreceive.
3797         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3798         instead of mq_timedsend.
3799         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3800         Remove variable.
3802         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3803         hidden_def and hidden_weak instead of libc_hidden_def and
3804         libc_hidden_weak.
3805         (top level): Refer to hidden_def in comment.
3806         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3807         macro.  Use it instead of libc_hidden_def.
3808         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3809         specify __GI_* name explicitly.
3810         (mq_timedreceive): Likewise.
3811         (mq_setattr): Likewise.
3813         [BZ #18544]
3814         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3815         __pthread_barrier_init and define as weak alias of
3816         __pthread_barrier_init.
3817         * sysdeps/sparc/nptl/pthread_barrier_init.c
3818         (pthread_barrier_init): Likewise.
3819         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3820         __pthread_barrier_wait and define as weak alias of
3821         __pthread_barrier_wait.
3822         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3823         (pthread_barrier_wait): Likewise.
3824         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3825         (pthread_barrier_wait): Likewise.
3826         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3827         (pthread_barrier_wait): Likewise.
3828         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3829         (pthread_barrier_wait): Likewise.
3830         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3831         __pthread_barrier_wait at version GLIBC_PRIVATE.
3832         * include/pthread.h (__pthread_barrier_init): Declare.
3833         (__pthread_barrier_wait): Likewise.
3834         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3835         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3836         (helper_thread): Likewise.
3837         (init_mq_netlink): Call __pthread_barrier_init instead of
3838         pthread_barrier_init.
3840         [BZ #18542]
3841         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3842         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3843         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3844         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3845         vswscanf.
3846         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3847         Remove variable.
3849         [BZ #18540]
3850         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3851         strong alias of _IO_fflush.  Use libc_hidden_def.
3852         * libio/iofflush_u.c (fflush_unlocked): Rename to
3853         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3854         Use libc_hidden_weak.
3855         * include/stdio.h (__fflush_unlocked): Declare.  Use
3856         libc_hidden_proto.
3857         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3858         fflush_unlocked.
3859         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3860         Remove variable.
3862         [BZ #18539]
3863         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3864         define as weak alias of __addseverity.
3865         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3866         Remove variable.
3867         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3868         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3869         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3871         [BZ #18536]
3872         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3873         (__tfind): Likewise.
3874         (__tdelete): Likewise.
3875         (__twalk): Likewise.
3876         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3877         __twalk to GLIBC_PRIVATE.
3878         * include/search.h (__tsearch): Use libc_hidden_proto.
3879         (__tfind): Likewise.
3880         (__tdelete): Likewise.
3881         (__twalk): Likewise.
3882         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3883         Call __tdelete instead of tdelete.
3884         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3885         tfind.  Call __tsearch instead of tsearch.
3886         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3887         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3888         Remove variable.
3889         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3891         [BZ #18534]
3892         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3893         (dprintf): Define as a weak alias of __dprintf, not a strong
3894         alias.
3895         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3896         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3897         dprintf.
3898         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3899         Remove variable.
3900         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3901         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3903         [BZ #18533]
3904         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3905         not a strong alias.
3906         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3907         Remove variable.
3909         [BZ #18532]
3910         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3911         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3912         (in6addr_loopback): Rename to __in6addr_loopback and define as
3913         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3914         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3915         libc_hidden_proto.
3916         (__in6addr_any): Likewise.
3917         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3918         in6addr_any.
3919         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3920         variable.
3921         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3923 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3925         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3926         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3927         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3928         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3929         redirections for pow.
3930         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3931         * sysdeps/x86_64/fpu/Versions: New versions added.
3932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3933         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3934         build of SSE, AVX2 and AVX512 IFUNC versions.
3935         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3936         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3937         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3938         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3939         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3940         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3942         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3943         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3944         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3945         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3946         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3947         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3948         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3949         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3950         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3951         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3952         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3953         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3954         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3955         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3956         * NEWS: Mention addition of x86_64 vector pow.
3958         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3959         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3960         redirections for expf.
3961         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3962         * sysdeps/x86_64/fpu/Versions: New versions added.
3963         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3964         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3965         build of SSE, AVX2 and AVX512 IFUNC versions.
3966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3972         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3973         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3974         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3975         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3976         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3977         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3978         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3979         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3980         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3981         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3982         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3983         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3984         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3985         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3986         * NEWS: Mention addition of x86_64 vector expf.
3988         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3989         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3991         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3992         redirections for exp.
3993         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3994         * sysdeps/x86_64/fpu/Versions: New versions added.
3995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3996         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3997         build of SSE, AVX2 and AVX512 IFUNC versions.
3998         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3999         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4004         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4005         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4006         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4007         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4008         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4009         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4010         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4011         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4012         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4013         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4014         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4015         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4016         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4017         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4018         * NEWS: Mention addition of x86_64 vector exp.
4020         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4021         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4022         redirections for logf.
4023         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4024         * sysdeps/x86_64/fpu/Versions: New versions added.
4025         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4026         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4027         build of SSE, AVX2 and AVX512 IFUNC versions.
4028         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4029         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4034         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4035         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4036         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4037         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4038         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4039         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4040         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4041         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4042         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4043         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4044         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4045         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4046         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4047         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4048         * NEWS: Mention addition of x86_64 vector logf.
4050         * bits/libm-simd-decl-stubs.h: Added stubs for log.
4051         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4053         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4054         redirections for log.
4055         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4056         * sysdeps/x86_64/fpu/Versions: New versions added.
4057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4058         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4059         build of SSE, AVX2 and AVX512 IFUNC versions.
4060         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4061         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4062         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4063         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4064         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4065         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4066         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4067         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4068         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4069         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4070         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4071         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4072         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4073         test.
4074         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4075         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4077         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4078         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4079         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4080         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4081         * NEWS: Mention addition of x86_64 vector log.
4083 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4085         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4086         cfi_adjust_cfa_offset argument.
4087         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4088         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4090         [BZ #18034]
4091         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4092         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4093         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4094         ordering using ldar.
4095         (_dl_tlsdesc_dynamic): Likewise.
4096         (_dl_tlsdesc_return_lazy): Likewise.
4097         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4098         relaxed atomics instead of volatile and synchronize with release store.
4099         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4100         volatile.
4101         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4103 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4105         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4106         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4108         * sysdeps/x86_64/fpu/Versions: New versions added.
4109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4111         build of SSE, AVX2 and AVX512 IFUNC versions.
4112         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4113         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4118         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4119         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4120         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4121         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4122         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4123         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4124         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4125         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4126         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4127         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4128         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4130         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4131         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4132         * NEWS: Mention addition of x86_64 vector sinf.
4134 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4136         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4137         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4138         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4139         Remove variable.
4140         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4141         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4143 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4145         [BZ #18530]
4146         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4147         strong alias of _IO_fputs.  Use libc_hidden_def.
4148         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4149         and define as weak alias of __fputs_unlocked.  Use
4150         libc_hidden_weak.
4151         * include/stdio.h (__fputs_unlocked): Declare.  Use
4152         libc_hidden_proto.
4153         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4154         fputs_unlocked.
4156         [BZ #18529]
4157         * resolv/netdb.h [__USE_POSIX]: Change condition to
4158         [__USE_XOPEN2K].
4159         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4160         not expect.
4161         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4162         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4163         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4164         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4165         [XPG4 || UNIX98] (AI_ALL): Likewise.
4166         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4167         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4168         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4169         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4170         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4171         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4172         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4173         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4174         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4175         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4176         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4177         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4178         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4179         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4180         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4181         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4182         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4183         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4184         [XPG4 || UNIX98] (gai_strerror): Likewise.
4185         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4186         [XPG4 || UNIX98] (getnameinfo): Likewise.
4188         [BZ #18528]
4189         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4190         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4191         __USE_XOPEN2K8].
4192         (getgrent): Likewise.
4193         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4194         expect.
4195         [XPG3 || POSIX2008] (endgrent): Likewise.
4196         [XPG3] (setgrent): Likewise.
4197         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4198         variable.
4199         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4201         [BZ #18527]
4202         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4203         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4204         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4205         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4206         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4207         * include/unistd.h (__getlogin_r): Declare.  Use
4208         libc_hidden_proto.
4209         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4210         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4211         variable.
4212         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4213         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4214         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4216 2015-06-12  Martin Sebor  <msebor@redhat.com>
4218         [BZ #18512]
4219         * Makerules (check-install-supported): New target.
4220         (install): Add check-install-supported as a dependency.
4221         * manual/install.texi (Installing the C Library): Document
4222         that overriding prefix and exec_prefix is not supported.
4223         Mention DESTDIR.
4224         * INSTALL: Regenerate from the above.
4226 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4228         [BZ #18519]
4229         * posix/Versions (libc): Export __libc_pread at version
4230         GLIBC_PRIVATE.
4231         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4232         instead of pread.
4233         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4234         variable.
4236         [BZ #18522]
4237         * misc/efgcvt_r.c
4238         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4239         (cvt_symbol): Use weak_alias instead of strong_alias.
4240         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4241         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4242         Remove variable.
4243         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4244         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4246         [BZ #18520]
4247         * inet/herrno.c (h_errno): Rename to __h_errno.
4248         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4249         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4250         to __h_errno instead of h_errno.
4251         * nptl/herrno.c (h_errno): Rename to __h_errno.
4252         (__h_errno_location): Refer to __h_errno not h_errno.
4253         * resolv/Versions (h_errno): Rename to __h_errno.
4254         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4255         Remove variable.
4256         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4258 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4260         * configure.ac: More strict check for AVX512 assembler support.
4261         * configure: Regenerated.
4263         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4264         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4266         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4267         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4268         * sysdeps/x86_64/fpu/Versions: New versions added.
4269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4271         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4272         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4278         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4279         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4280         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4281         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4282         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4283         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4284         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4285         test.
4286         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4287         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4288         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4289         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4290         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4291         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4292         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4293         * NEWS: Mention addition of x86_64 vector sin.
4295 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4297         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4298         comment.
4300 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4302         [BZ #18479]
4303         * nptl/pt-interp.c: New file.
4304         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4305         Add pt-interp.
4306         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4307         $(common-objpfx)runtime-linker.h.
4309 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4311         * Makeconfig (+interp): Remove unused variable.
4312         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4313         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4314         $(elf-objpfx)runtime-linker.h.
4315         ($(elf-objpfx)runtime-linker.h): Rename to
4316         $(common-objpfx)runtime-linker.h and move ...
4317         * Makerules [$(build-shared) = yes]: ... here.
4318         * elf/interp.c: Include <runtime-linker.h> instead of
4319         <elf/runtime-linker.h>.
4321 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4323         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4324         (__gettimeofday_syscall): Remove vsyscall fallback.
4325         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4326         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4327         Add syscall fallback function.
4328         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4329         if vDSO is not present.
4330         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4331         fallback function.
4332         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4333         present.
4334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4335         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4337 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4339         [BZ #18497]
4340         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4341         of wcscmp.
4342         (wcscmp): Define as weak alias of WCSCMP.
4343         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4344         wcscoll.
4345         (USE_HIDDEN_DEF): Define.
4346         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4347         __wcscoll.  Don't use libc_hidden_weak.
4348         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4349         wcscmp.
4350         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4351         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4352         __GI_wcscmp.
4353         (weak_alias): Undefine and redefine.
4354         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4355         __wcscmp and define as weak alias of __wcscmp.
4356         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4357         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4358         (__wcscoll): Likewise.
4359         (wcscmp): Don't use libc_hidden_proto.
4360         (wcscoll): Likewise.
4361         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4362         wcscoll.
4363         * posix/regexec.c (check_node_accept_bytes): Likewise.
4364         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4365         variable.
4366         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4367         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4369         [BZ #18507]
4370         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4371         __fstatvfs and define as weak alias of __fstatvfs.  Use
4372         libc_hidden_weak.
4373         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4374         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4375         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4376         Define as alias of __fstatvfs, not fstatvfs.
4377         (fstatvfs64): Likewise.
4378         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4379         Define as alias of __statvfs, not statvfs.
4380         (statvfs64): Likewise.
4381         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4382         Remove variable.
4384 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4387         (HAVE_GETCPU_VSYSCALL): Define.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4389         (HAVE_GETCPU_VSYSCALL): Likewise.
4390         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4391         * sysdeps/unix/sysv/linux/sched_getcpu.c
4392         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4393         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4394         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4395         prototype.
4396         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4397         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4398         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4400         Define.
4401         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4402         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4403         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4404         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4406 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4408         * sysdeps/x86_64/fpu/Makefile: New file.
4409         * sysdeps/x86_64/fpu/Versions: New file.
4410         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4411         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4412         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4413         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4414         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4415         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4416         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4423         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4424         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4425         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4426         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4427         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4428         * sysdeps/x86_64/configure: Regenerated.
4429         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4431         * manual/install.texi (Configuring and compiling): Document
4432         --disable-mathvec.
4433         * INSTALL: Regenerated.
4434         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4436         * math/Makefile: Added rules for vector tests.
4437         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4438         declaration under condition.
4439         * math/test-double-vlen2.h: New file.
4440         * math/test-double-vlen4.h: New file.
4441         * math/test-double-vlen8.h: New file.
4442         * math/test-vec-loop.h: Added initialization macro.
4443         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4445         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4446         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4447         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4448         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4450         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4451         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4453         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4455         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4456         * sysdeps/x86_64/fpu/Versions: New versions added.
4457         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4458         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4460         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4461         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4464         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4466         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4467         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4468         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4469         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4471         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4472         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4473         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4474         * NEWS: Mention addition of x86_64 vector cosf.
4476         * math/Makefile: Added CFLAGS for new tests.
4477         * math/test-float-vlen16.h: New file.
4478         * math/test-float-vlen4.h: New file.
4479         * math/test-float-vlen8.h: New file.
4480         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4481         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4483         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4484         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4485         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4486         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4487         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4489         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4490         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4492 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4494         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4495         * locale/programs/ld-ctype.c: Likewise.
4497 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4499         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4500         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4501         bit_ZMM16_31_state): New macro.
4502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4503         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4505 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4507         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4509 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4511         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4513 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #18498]
4516         * libio/memstream.c (open_memstream): Rename to __open_memstream
4517         and define as weak alias of __open_memstream.
4518         * include/stdio.h (__open_memstream): Declare.  Use
4519         libc_hidden_proto.
4520         (open_memstream): Don't use libc_hidden_proto.
4521         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4522         open_memstream.
4523         * posix/getopt.c (_getopt_internal_r): Likewise.
4524         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4525         variable.
4526         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4527         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4528         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4530         [BZ #18496]
4531         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4532         instead of wcrtomb.
4534         [BZ #18483]
4535         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4536         [__USE_XOPEN2K8].  Remove redundant #endif.
4537         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4538         Remove redundant #if.
4539         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4540         Remove variable.
4541         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4542         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4544         [BZ #18495]
4545         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4546         (__iswlower): Likewise.
4547         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4548         (__iswlower): Likewise.
4549         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4550         instead of towlower.
4551         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4552         instead of iswlower.  Call __towupper instead of towupper.
4553         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4554         instead of iswalnum.
4556 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4558         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4559         errors to stderr.
4561 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4563         [BZ #15661]
4564         [BZ #17322]
4565         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4566         Check for overflow properly.  Check for O_APPEND.  Ignore large
4567         file system block sizes.  Add comments about problems.
4568         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4569         * manual/filesys.texi (Storage Allocation): New node.
4571 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4573         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4574         cancellable syscalls.
4575         (SYS_ify): Add guard to no redefine it.
4576         (INLINE_SYSCALL): Likewise.
4577         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4578         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4579         SYSCALL_CANCEL instead.
4580         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4581         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4582         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4583         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4584         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4585         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4586         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4587         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4588         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4589         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4590         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4591         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4592         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4593         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4594         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4598         (__libc_pread64): Likewise.
4599         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4600         (__libc_preadv): Likewise.
4601         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4602         (__libc_readv64): Likewise.
4603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4604         (__libc_pwrite): Likewise.
4605         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4606         (__libc_pwrite64): Likewise.
4607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4608         (__libc_pwritev): Likewise.
4609         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4610         (__libc_pwritev64): Likewise.
4611         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4612         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4613         (sync_file_range): Likewise.
4614         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4619         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4620         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4621         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4622         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4623         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4624         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4625         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4627         Likewise.
4628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4629         (__libc_read64): Likewise.
4630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4631         Likewise.
4632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4633         Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4635         Likewise.
4636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4637         Likewise.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4639         (__libc_pread64): Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4641         Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4643         (__libc_pwrite64): Likewise.
4644         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4645         (sync_file_range): Likewise.
4646         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4647         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4648         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4649         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4650         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4651         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4652         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4653         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4654         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4655         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4656         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4657         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4658         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4659         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4660         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4661         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4662         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4663         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4664         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4665         Likewise.
4666         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4667         Likewise.
4668         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4669         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4670         Likewise.
4671         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4672         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4673         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4674         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4675         Likewise.
4676         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4677         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4678         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4679         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4680         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4682 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4684         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4685         Include dl-vdso.
4686         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4687         Use VDSO routines for gettimeofday, clock_gettime if
4688         available.
4689         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4690         Declare VDSO symbols.
4691         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4692         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4693         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4694         * sysdeps/unix/sysv/linux/arm/Versions: Add
4695         __vdso_clock_gettime.
4697 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4699         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4700         be an inline implementation regardless of library is built within.
4701         (open_not_cancel_2): Likewise.
4702         (__read_nocancel): Likewise.
4703         (__write_nocancel): Likewise.
4704         (openat_not_cancel): Likewise.
4705         (openat_not_cancel_3): Likewise.
4706         (openat64_not_cancel): Likewise.
4707         (openat64_not_cancel_3): Likewise.
4708         (__close_nocancel): Likewise.
4709         (pause_not_cancel): Likewise.
4710         (nanosleep_not_cancel): Likewise.
4711         (sigsuspend_not_cancel): Likewise.
4713 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4715         [BZ #14958]
4716         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4717         wake-up.
4718         (__pthread_rwlock_rdlock_slow): Likewise.
4719         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4720         Likewise.
4721         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4722         Likewise.
4723         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4724         * nptl/tst-rwlock16.c: New file.
4725         * nptl/Makefile (tests): Add new test.
4727 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4729         [BZ #18324]
4730         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4731         missing wake-up of readers.
4732         * nptl/tst-rwlock15.c: New file.
4733         * nptl/Makefile (tests): Add new test.
4735 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4737         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4738         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4739         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4740         and __nacl_supply_interface_rtld.
4741         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4742         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4743         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4744         Add __nacl_supply_interface_rtld.
4745         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4747 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4749         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4750         isfinite.
4751         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4752         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4754 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4756         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4757         __signbit* with standard C99 macros.
4758         * math/e_exp10l.c: Likewise.
4759         * math/e_exp2l.c: Likewise.
4760         * math/e_scalb.c: Likewise.
4761         * math/e_scalbf.c: Likewise.
4762         * math/e_scalbl.c: Likewise.
4763         * math/s_ldexp.c: Likewise.
4764         * math/s_ldexpf.c: Likewise.
4765         * math/s_ldexpl.c: Likewise.
4766         * math/w_atan2.c: Likewise.
4767         * math/w_atan2f.c: Likewise.
4768         * math/w_atan2l.c: Likewise.
4769         * math/w_cosh.c: Likewise.
4770         * math/w_coshf.c: Likewise.
4771         * math/w_coshl.c: Likewise.
4772         * math/w_exp10.c: Likewise.
4773         * math/w_exp10f.c: Likewise.
4774         * math/w_exp10l.c: Likewise.
4775         * math/w_exp2.c: Likewise.
4776         * math/w_exp2f.c: Likewise.
4777         * math/w_exp2l.c: Likewise.
4778         * math/w_fmod.c: Likewise.
4779         * math/w_fmodf.c: Likewise.
4780         * math/w_fmodl.c: Likewise.
4781         * math/w_hypot.c: Likewise.
4782         * math/w_hypotf.c: Likewise.
4783         * math/w_hypotl.c: Likewise.
4784         * math/w_jnl.c: Likewise.
4785         * math/w_lgamma.c: Likewise.
4786         * math/w_lgamma_r.c: Likewise.
4787         * math/w_lgammaf.c: Likewise.
4788         * math/w_lgammaf_r.c: Likewise.
4789         * math/w_lgammal.c: Likewise.
4790         * math/w_lgammal_r.c: Likewise.
4791         * math/w_pow.c: Likewise.
4792         * math/w_powf.c: Likewise.
4793         * math/w_powl.c: Likewise.
4794         * math/w_remainder.c: Likewise.
4795         * math/w_remainderf.c: Likewise.
4796         * math/w_remainderl.c: Likewise.
4797         * math/w_scalb.c: Likewise.
4798         * math/w_scalbf.c: Likewise.
4799         * math/w_scalbl.c: Likewise.
4800         * math/w_scalbln.c: Likewise.
4801         * math/w_scalblnf.c: Likewise.
4802         * math/w_scalblnl.c: Likewise.
4803         * math/w_sinh.c: Likewise.
4804         * math/w_sinhf.c: Likewise.
4805         * math/w_sinhl.c: Likewise.
4806         * math/w_tgamma.c: Likewise.
4807         * math/w_tgammaf.c: Likewise.
4808         * math/w_tgammal.c: Likewise.
4809         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4810         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4811         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4813         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4815         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4816         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4817         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4819         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4820         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4821         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4822         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4823         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4825         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4826         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4833         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4835         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4837         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4840         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4841         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4842         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4843         * stdio-common/printf_fp.c: Likewise.
4844         * stdio-common/printf_fphex.c: Likewise.
4845         * stdio-common/printf_size.c: Likewise.
4847 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4849         [BZ #18470]
4850         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4851         strnlen.
4852         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4853         Remove variable.
4854         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4855         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4856         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4857         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4858         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4859         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4860         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4861         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4862         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4863         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4865         [BZ #18468]
4866         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4867         weak alias of __wmemchr.  Use libc_hidden_weak.
4868         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4869         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4870         instead of wmemchr.
4872 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4874         [BZ #18383]
4875         * elf/tst-tlsalign-extern.c: New file.
4876         * elf/tst-tlsalign-extern-static.c: New file.
4877         * elf/tst-tlsalign-vars.c: New file.
4878         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4879         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4880         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4881         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4882         (test-xfail-tst-tlsalign-extern-static): New variable.
4884 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4886         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4887         Use variable name _sc_err instead of err.
4888         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4889         instead of ret.
4890         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4891         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4892         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4893         (INLINE_SYSCALL): Likewise.
4895         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4896         * include/string.h (__strnlen): Use libc_hidden_proto.
4897         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4898         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4899         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4900         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4901         (libc_hidden_def): Undefine and redefine.
4902         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4903         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4904         __GI_strnlen.
4905         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4906         libc_hidden_def.
4907         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4909         [BZ #18469]
4910         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4911         weak alias of __towlower.  Use libc_hidden_weak.
4912         (towupper): Rename to __towupper and define as weak alias of
4913         __towupper.  Use libc_hidden_weak.
4914         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4915         (__towupper): Likewise.
4916         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4917         __towlower instead of towlower.
4919 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4921         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4922         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4924 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4926         * sysdeps/aarch64/libm-test-ulps: Update.
4928 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4930         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4931         Define.
4932         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4934         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4935         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4936         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4937         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4938         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4940 2015-06-01  Martin Sebor  <msebor@redhat.com>
4942         [BZ #18116]
4943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4944         (__setcontext): Use extended four-operand version of mtsf whenever
4945         possible.
4946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4947         (__novec_swapcontext): Likewise.
4949 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4951         * benchtests/scripts/compare_bench.py: New file.
4952         * benchtests/scripts/import_bench.py (mean): New function.
4953         (split_list): Likewise.
4954         (do_for_all_timings): Likewise.
4955         (compress_timings): Likewise.
4957         * benchtests/scripts/import_bench.py: New file.
4958         * benchtests/scripts/validate_benchout.py: Import import_bench
4959         instead of jsonschema.
4960         (validate_bench): Remove function.
4961         (main): Use import_bench.
4963 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4965         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4966         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4968 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4972 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4974         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4975         set THREAD_SELF->tid to a magic value and futex-wake it.
4976         Pass its address to the thread_exit system call.
4977         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4978         bit is clear.
4979         * sysdeps/nacl/lowlevellock.h: New file.
4980         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4982         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4983         Add TIMEOUT to current time, don't subtract it.
4985 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4987         [BZ #2981]
4988         [BZ #18422]
4989         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4990         ($(objpfx)tst-audit2.out): Also depend on
4991         $(objpfx)tst-auditmod9b.so.
4992         * elf/tst-audit2.c: Include <dlfcn.h>.
4993         (calloc_called): New.
4994         (calloc): Allow to be called more than once.
4995         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4997 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4999         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5000         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5002 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
5004         * stdlib/monetary.h: Fix comment.
5006 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
5008         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5009         Avoid using variables in #defines that might cause shadowing.
5010         (INTERNAL_VSYSCALL_CALL): Likewise.
5012 2015-05-26  Roland McGrath  <roland@hack.frob.com>
5014         * sysdeps/nacl/lll_timedlock_wait.c: New file.
5016         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5017         * nptl/lll_timedlock_wait.c: ... to this new file.
5018         * nptl/Makefile (libpthread-routines): Add it.
5019         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5020         * nptl/lll_timedwait_tid.c: ... to this new file.
5021         * nptl/Makefile (libpthread-routines): Add it.
5022         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5023         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5024         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5025         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5026         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5027         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5028         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5029         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5030         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5031         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5033 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5035         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5036         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5037         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5039         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5041         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5043         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5044         * sysdeps/unix/sysv/linux/tile/sysdep.h
5045         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5046         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5047         using vDSO syscall macro.
5049 2015-05-26  Andriy Rysin  <arysin@gmail.com>
5051         [BZ #17293]
5052         * uk_UA: Fix sorting order for Ukrainian locale
5054 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
5056         * stdlib/monetary.h: Fix comment.
5058 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5060         [BZ #18234]
5061         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5062         st_mtim and st_ctim members.
5063         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5064         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5065         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5066         (struct stat64): Likewise.
5067         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5068         (struct stat64): Likewise.
5069         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5070         (struct stat64): Likewise.
5072 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5074         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5075         Define and include sysdep-vdso.h.
5076         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5077         Likewise.
5078         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5079         Likewise.
5080         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5081         Define with VDSO_SYMBOL and use PTR_MANGLE.
5082         (__vdso_clock_gettime): Likewise.
5083         (__vdso_clock_getres): Likewise.
5084         (_libc_vdso_platform_setup): Likewise.
5085         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5086         Likewise.
5087         (_libc_vdso_platform_setup): Likewise.
5088         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5089         Likewise.
5090         (__vdso_clock_gettime): Likewise.
5091         (__vdso_clock_getres): Likewise.
5092         (__vdso_get_tbfreq): Likewise.
5093         (__vdso_getcpu): Likewise.
5094         (__vdso_time): Likewise.
5095         (__vdso_sigtramp_rt64): Likewise.
5096         (__vdso_signtramp32): Likewise.
5097         (__vdso_sigtramp_rt32): Likewise.
5098         (_libc_vdso_platform_setup): Likewise.
5099         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5100         Likewise.
5101         (__vdso_clock_gettime): Likewise.
5102         (__vdso_clock_getres): Likewise.
5103         (_libc_vdso_platform_setup): Likewise.
5104         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5105         Likewise.
5106         (__vdso_clock_gettime): Likewise.
5107         (_libc_vdso_platform_setup): Likewise.
5108         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5109         Likewise.
5110         (__vdso_getcpu): Likewise.
5111         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5112         Use VDSO_SYMBOL macro to define.
5113         (__vdso_clock_gettime): Likewise.
5114         (__vdso_clock_getres): Likewise.
5115         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5116         Likewise.
5117         (__vdso_clock_gettime): Likewise.
5118         (__vdso_clock_getres): Likewise.
5119         (__vdso_get_tbfreq): Likewise.
5120         (__vdso_getcpu): Likewise.
5121         (__vdso_time): Likewise.
5122         (__vdso_sigtramp_rt64): Likewise.
5123         (__vdso_signtramp32): Likewise.
5124         (__vdso_sigtramp_rt32): Likewise.
5125         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5126         Likewise.
5127         (__vdso_clock_gettime): Likewise.
5128         (__vdso_clock_getres): Likewise.
5129         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5130         Likewise.
5131         (__vdso_clock_gettime): Likewise.
5132         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5133         Likewise.
5134         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5135         macro.
5136         (INTERNAL_VSYSCALL): Likewise.
5137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5138         Remove macro.
5139         (INTERNAL_VSYSCALL): Likewise.
5140         (INTERNAL_VSYSCALL_NCS): Likewise.
5141         (INTERNAL_VSYSCALL_CALL): New macro.
5142         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5144         Likewise.
5145         (INTERNAL_VSYSCALL): Likewise.
5146         (INTERNAL_VSYSCALL_NCS): Likewise.
5147         (INTERNAL_VSYSCALL_CALL): New macro.
5148         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5150         (INLINE_VSYSCALL): Remove macro.
5151         (INTERNAL_VSYSCALL): Remove macro.
5152         (INTERNAL_VSYSCALL_NCS): Remove macro.
5153         (INTERNAL_VSYSCALL_CALL): New macro.
5154         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5155         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5156         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5157         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5158         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5160         (INLINE_VSYSCALL): Remove macro.
5161         (INTERNAL_VSYSCALL): Likewise.
5162         (INTERNAL_VSYSCALL_NCS): Likewise.
5163         (INTERNAL_VSYSCALL_CALL): New macro.
5164         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5165         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5166         PTR_DEMANGLE on vDSO pointer.
5167         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5168         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5169         macro.
5170         (INTERNAL_SYSCALL): Likewise.
5171         (INTERNAL_VSYSCALL_NCS): Remove macro.
5172         (INTERNAL_VSYSCALL_CALL): New macro.
5173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5174         Remove macro.
5175         (INTERNAL_VSYSCALL): Likewise.
5176         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5177         sysdep-vdso.h instead of libc-vdso.h.
5178         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5179         definition.
5180         (INLINE_VSYSCALL): Likewise.
5181         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5182         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5183         definition.
5184         (INLINE_VSYSCALL): Likewise.
5185         (INTERNAL_VSYSCALL): Likewise.
5186         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5187         * sysdeps/unix/sysv/linux/timespec_get.c
5188         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5189         (timespec_get): Use ANSI prototype.
5190         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5191         and definition for Linux.
5193 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5195         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5196         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5198 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5200         [BZ #2981]
5201         [BZ #18410]
5202         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5203         for missing DT_PLTRELSZ.
5205 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5207         Remove obsolete aliases that broke 'locale -a'
5208         [BZ #18412]
5209         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5210         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5211         breaking some applications that use 'locale -a' output.
5212         Change the encoding of this file from Latin-1 to ASCII to avoid
5213         other potential problems with people grepping this file.
5215 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5217         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5218         -fasynchronous-unwind-tables.
5219         (CFLAGS-sendto.c): Likewise.
5220         (CFLAGS-sendmsg.c): Likewise.
5221         (CFLAGS-connect.c): Likewise.
5222         (CFLAGS-recvmsg.c): Likewise.
5223         (CFLAGS-recvfrom.c): Likewise.
5224         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5225         (SOCKETCALL): New macro: non-cancellable socketcall.
5226         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5227         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5228         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5229         * sysdeps/unix/sysv/linux/accept.c: New file.
5230         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5231         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5232         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5233         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5234         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5235         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5236         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5237         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5238         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5239         * sysdeps/unix/sysv/linux/send.c: Likewise.
5240         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5241         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5242         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5243         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5244         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5245         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5246         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5247         prototype.
5248         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5249         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5250         instead of __internal_xxx function.
5251         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5252         prototype.
5253         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5254         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5255         instead of __internal_xxx function.
5256         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5257         prototype.
5258         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5259         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5260         instead of __internal_xxx function.
5261         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5262         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5263         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5264         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5265         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5266         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5267         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5268         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5269         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5270         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5271         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5272         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5273         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5274         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5275         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5276         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5277         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5278         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5279         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5280         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5283         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5284         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5285         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5286         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5287         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5288         * sysdeps/unix/sysv/linux/send.S: Likewise.
5289         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5290         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5291         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5292         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5293         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5294         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5295         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5296         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5297         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5298         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5299         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5300         socketcall is implemented in GLIBC.
5302 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5304         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5305         (__fma): Ignore uninitialized warnings around packing.
5306         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5307         (__fmaf): Ignore uninitialized warnings around packing.
5308         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5309         (__fmal): Ignore uninitialized warnings around packing.
5311         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5312         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5313         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5314         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5316         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5317         switch statement into default case.
5318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5320         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5321         a conditional in forcing "inexact".
5322         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5323         Likewise.
5325 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5327         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5328         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5329         for each INTERNAL_SYSCALL use.
5331 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5333         [BZ #438]
5334         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5335         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5336         variable.
5338         [BZ #18444]
5339         * string/basename.c (basename): Rename to __basename and define as
5340         weak alias of __basename.  Use libc_hidden_weak.
5341         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5342         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5343         __basename instead of basename.
5344         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5345         Remove variable.
5346         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5348 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5350         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5351         (_IO_JUMPS_FILE_plus): New.
5352         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5353         _IO_CAST_FIELD_ACCESS.
5354         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5355         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5356         * libio/freopen.c (freopen): Likewise.
5357         * libio/freopen64.c (freopen64): Likewise.
5358         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5359         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5360         * libio/iofwide.c (_IO_fwide): Likewise.
5361         * libio/memstream.c (open_memstream): Likewise.
5362         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5363         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5364         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5366 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5368         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5369         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5370         NADJ.
5371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5372         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5373         NADJ.
5374         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5375         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5376         NADJ.
5378         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5379         (p == 4) case.
5381         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5382         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5383         Remove variable.
5384         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5385         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5386         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5388 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5390         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5391         Adjust jump table label generation macros.
5393 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5395         * stdio-common/vfprintf.c (vfprintf): Move local variables
5396         args_malloced, specs, specs_malloced, and the code after
5397         do_positional to the printf_positional function.
5398         (printf_positional): New function.
5400 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5402         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5403         function.
5404         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5405         STEP4_TABLE, process_arg): Move macro definitions
5406         out of the vfprintf function.  (Cosmetic change only.)
5408 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5410         * benchtests/Makefile (stdio-common-bench): Define.
5411         (benchset): Add stdio-common-bench.
5412         * sprintf-inputs: New file.
5413         * sprintf-source.c: New file.
5415 2015-05-21  Andreas Schwab  <schwab@suse.de>
5417         [BZ #13028]
5418         [BZ #17053]
5419         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5420         of struct __res_state.
5421         * resolv/res_send.c (__libc_res_nsend): Likewise.
5422         (get_nsaddr): New function.
5423         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5424         statp directly.
5426 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5428         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5429         -D_POSIX_C_SOURCE=199506L.
5431         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5433         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5434         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5435         Do not mention otherwise.
5436         [POSIX] (_XOPEN_VERSION): Do not expect.
5437         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5438         [POSIX] (_POSIX2_C_BIND): Likewise.
5439         [POSIX] (_POSIX2_VERSION): Likewise.
5440         [POSIX] (_XOPEN_XPG2): Likewise.
5441         [POSIX] (_XOPEN_XPG3): Likewise.
5442         [POSIX] (_XOPEN_XPG4): Likewise.
5443         [POSIX] (_XOPEN_UNIX): Likewise.
5444         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5445         [POSIX] (_POSIX_BARRIERS): Likewise.
5446         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5447         [POSIX] (_POSIX_CPUTIME): Likewise.
5448         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5449         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5450         [POSIX] (_POSIX_SHELL): Likewise.
5451         [POSIX] (_POSIX_SPAWN): Likewise.
5452         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5453         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5454         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5455         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5456         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5457         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5458         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5459         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5460         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5461         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5462         [POSIX] (_POSIX2_PBS): Likewise.
5463         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5464         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5465         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5466         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5467         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5468         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5469         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5470         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5471         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5472         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5473         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5474         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5475         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5476         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5477         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5478         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5479         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5480         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5481         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5482         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5483         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5484         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5485         [POSIX] (_SC_2_C_BIND): Likewise.
5486         [POSIX] (_SC_2_C_VERSION): Likewise.
5487         [POSIX] (_SC_2_PBS): Likewise.
5488         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5489         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5490         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5491         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5492         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5493         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5494         [POSIX] (_SC_BARRIERS): Likewise.
5495         [POSIX] (_SC_BASE): Likewise.
5496         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5497         [POSIX] (_SC_DEVICE_IO): Likewise.
5498         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5499         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5500         [POSIX] (_SC_FD_MGMT): Likewise.
5501         [POSIX] (_SC_FIFO): Likewise.
5502         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5503         [POSIX] (_SC_FILE_LOCKING): Likewise.
5504         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5505         [POSIX] (_SC_IOV_MAX): Likewise.
5506         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5507         [POSIX] (_SC_NETWORKING): Likewise.
5508         [POSIX] (_SC_PAGE_SIZE): Likewise.
5509         [POSIX] (_SC_PASS_MAX): Likewise.
5510         [POSIX] (_SC_PIPE): Likewise.
5511         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5512         [POSIX] (_SC_REGEXP): Likewise.
5513         [POSIX] (_SC_SHELL): Likewise.
5514         [POSIX] (_SC_SIGNALS): Likewise.
5515         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5516         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5517         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5518         [POSIX] (_SC_USER_GROUPS): Likewise.
5519         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5520         [POSIX] (_SC_STREAMS): Likewise.
5521         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5522         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5523         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5524         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5525         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5526         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5527         [POSIX] (_PC_FILESIZEBITS): Likewise.
5528         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5529         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5530         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5531         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5532         [POSIX] (uid_t): Likewise.
5533         [POSIX] (gid_t): Likewise.
5534         [POSIX] (off_t): Likewise.
5535         [POSIX] (pid_t): Likewise.
5536         [POSIX] (cuserid): Allow.
5537         (_SC_2_CHAR_TERM): Require constant.
5538         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5539         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5540         variable.
5542 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5544         * sysdeps/nacl/pthread-pids.h: New file.
5545         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5546         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5548         * nptl/pthread-pids.h: New file.
5549         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5550         * nptl/nptl-init.c: Include <pthread-pids.h>.
5551         (__pthread_initialize_minimal_internal):
5552         Call __pthread_initialize_pids instead of set_tid_address syscall.
5554         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5555         * sysdeps/posix/usleep.c: ... here.
5557 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5559         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5560         call_pselect6 object.
5561         [$(subdir) = io]: Remove call_sync_file_range object.
5562         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5563         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5564         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5565         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5567 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5569         * math/s_cproj.c: Add include "math_private.h".
5570         * math/s_cprojf.c: Likewise.
5571         * math/s_cprojl.c: Likewise.
5573 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5575         [BZ #18244]
5576         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5577         high mantissa bit when testing whether P is a NaN.
5578         * math/libm-test.inc (remainder_test_data): Add more tests.
5579         (remquo_test_data): Likewise.
5581         [BZ #18049]
5582         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5583         below -32, return the argument, with underflow if subnormal.
5584         * math/auto-libm-test-in: Add more tests of atanh.
5585         * math/auto-libm-test-out: Regenerated.
5587 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5589         [BZ #18434]
5590         * nptl/tst-sem15.c: New file.
5591         * nptl/Makefile (tests): Add it.
5592         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5593         s/<</>>/ to fix typo in EOVERFLOW check.
5594         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5596 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5598         * manual/strings.texi (envz_remove): Fix typo in safety
5599         annotations.
5601 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5602             Steve Ellcey  <sellcey@imgtec.com>
5604         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5605         in order to avoid strict alias warnings.
5606         (iruserok_af): Ditto for ra.
5608 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5610         [BZ #17581]
5611         * malloc/hooks.c
5612         (magicbyte): Convert to a function and avoid returning 0x01.
5613         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5614         (mem2chunk_check): Fix unsigned comparisons to zero.
5615         Hoist defs of sz and magic.
5617 2015-05-19  Richard Henderson  <rth@redhat.com>
5619         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5621         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5623 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5625         [BZ #16159]
5626         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5627         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5628         (reused_arena): Find a non-corrupt arena.
5629         (heap_trim): Pass arena to unlink.
5630         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5631         malloc_printerr.
5632         (top_check): Likewise.
5633         (free_check): Likewise.
5634         (realloc_check): Likewise.
5635         * malloc/malloc.c (malloc_printerr): Add arena argument.
5636         (unlink): Likewise.
5637         (munmap_chunk): Adjust.
5638         (ARENA_CORRUPTION_BIT): New macro.
5639         (arena_is_corrupt): Likewise.
5640         (set_arena_corrupt): Likewise.
5641         (sysmalloc): Use mmap if there are no usable arenas.
5642         (_int_malloc): Likewise.
5643         (__libc_malloc): Don't fail if arena_get returns NULL.
5644         (_mid_memalign): Likewise.
5645         (__libc_calloc): Likewise.
5646         (__libc_realloc): Adjust for additional argument to
5647         malloc_printerr.
5648         (_int_free): Likewise.
5649         (malloc_consolidate): Likewise.
5650         (_int_realloc): Likewise.
5651         (_int_memalign): Don't touch corrupt arenas.
5652         * malloc/tst-malloc-backtrace.c: New test case.
5654         * Makefile (summarize-tests): Fix return value on success.
5656         * manual/string.texi (Envz Functions): Add envz_remove.
5658 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5660         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5661         (invalid_name): New function, broken out of ...
5662         (__opendirat): ... here.  Call it.
5663         (need_isdir_precheck): New function, broken out of ...
5664         (__opendirat): ... here.  Call it.
5665         Use __fxstatat64, not __xstatat64.
5666         (opendir_oflags): New function, broken out of ...
5667         (__opendirat): ... here.  Call it.
5668         (opendir_tail): New function, broken out of ...
5669         (__opendirat): ... here.  Call it.
5670         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5671         opendir_tail, rather than punting to __opendirat.
5672         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5674 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5676         * .gitignore: Ignore generated *.pyc.
5678 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5680         * include/stdio.h: Define __need_wint_t.
5681         * test-skeleton.c: Avoid `for' loop initial declaration.
5682         * nptl/tst-initializers1.c: Use test-skeleton.c.
5684 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5686         [BZ #18418]
5687         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5689 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5691         [BZ #16352]
5692         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5693         (__ieee754_atanh): Force underflow exception for results with
5694         small absolute value.
5695         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5696         (__ieee754_atanhf): Force underflow exception for results with
5697         small absolute value.
5698         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5699         (__ieee754_atanh): Force underflow exception for results with
5700         small absolute value.
5701         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5702         (__ieee754_atanhf): Force underflow exception for results with
5703         small absolute value.
5704         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5705         (__ieee754_atanhl): Force underflow exception for results with
5706         small absolute value.
5707         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5708         (__ieee754_atanhl): Force underflow exception for results with
5709         small absolute value.
5710         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5711         (__ieee754_atanhl): Force underflow exception for results with
5712         small absolute value.
5713         * math/auto-libm-test-in: Do not allow missing underflow
5714         exceptions from atanh.
5715         * math/auto-libm-test-out: Regenerated.
5717         [BZ #18221]
5718         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5719         2**-28 as threshold for returning x or +/- 1/x.
5720         * math/auto-libm-test-in: Add more tests of tan.
5721         * math/auto-libm-test-out: Regenerated.
5723         [BZ #18220]
5724         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5725         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5726         * math/auto-libm-test-in: Add another test of lgamma.
5727         * math/auto-libm-test-out: Regenerated.
5729 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5731         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5732         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5733         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5734         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5735         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5736         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5737         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5738         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5740         (log1): Use fabs.  (my_log2): Use fabs.
5741         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5742         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5743         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5744         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5746         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5747         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5748         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5749         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5750         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5751         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5753 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5755         [BZ #18217]
5756         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5757         as threshold for returning 1 - x.
5758         * math/auto-libm-test-in: Add more tests of erfc.
5759         * math/auto-libm-test-out: Regenerated.
5761 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5763         [BZ #18196]
5764         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5765         threshold for large arguments.
5766         * math/auto-libm-test-in: Add another test of atan.
5767         * math/auto-libm-test-out: Regenerated.
5769         [BZ #16339]
5770         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5771         (__log1p): Force underflow exception for results with small
5772         absolute value.
5773         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5774         (__log1pf): Force underflow exception for results with small
5775         absolute value.
5776         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5777         (__log1p): Force underflow exception for results with small
5778         absolute value.
5779         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5780         (__log1pf): Force underflow exception for results with small
5781         absolute value.
5782         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5783         (__log1pl): Force underflow exception for results with small
5784         absolute value.
5785         * math/auto-libm-test-in: Do not allow missing underflow
5786         exceptions from log1p.
5787         * math/auto-libm-test-out: Regenerated.
5789 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5790             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5792         [BZ #16704]
5793         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5795 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5797         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5798         (libmvec): New variable.
5799         * configure.ac: Added option for mathvec build.
5800         * configure: Regenerated.
5801         * mathvec/Depend: New file.
5802         * mathvec/Makefile: New file.
5803         * shlib-versions: Added libmvec.
5804         * math/Makefile: Added rule for libm.so installation.
5806         * bits/math-vector.h: New file.
5807         * bits/libm-simd-decl-stubs.h: New header.
5808         * math/Makefile (headers): Added new header
5809         libm-simd-decl-stubs.h.
5810         * math/math.h (__MATHCALL_VEC): New macro.
5812         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5813         for conditions in testing functions.
5814         * math/Makefile: Added call of libm-have-vector-test.sh.
5815         * math/libm-test.inc (HAVE_VECTOR): New macros.
5817         * math/libm-test.inc: START refactored.
5818         * math/test-double.c (TEST_MATHVEC): Add define.
5819         * math/test-float.c: Likewise.
5820         * math/test-idouble.c: Likewise.
5821         * math/test-ifloat.c: Likewise.
5822         * math/test-ildoubl.c: Likewise.
5823         * math/test-ldouble.c: Likewise.
5824         * sysdeps/generic/math-tests-arch.h
5825         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5826         architecture check.
5828         * math/test-double.c (FUNC_TEST): New macro.
5829         * math/test-float.c: Likewise.
5830         * math/test-idouble.c: Likewise.
5831         * math/test-ifloat.c: Likewise.
5832         * math/test-ildoubl.c: Likewise.
5833         * math/test-ldouble.c: Likewise.
5834         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5836 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5838         * sysdeps/nacl/fdopendir.c: New file.
5840         * dirent/scandir-tail.c: New file.
5841         * dirent/scandir64-tail.c: New file.
5842         * dirent/Makefile (routines): Add them.
5843         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5844         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5845         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5846         [!SCANDIR] (SCANDIR_TAIL): New macro.
5847         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5848         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5849         (SCANDIRAT): Macro removed.
5850         (SCANDIR_TAIL): New macro.
5851         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5852         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5853         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5854         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5855         (READDIR): Macro removed.
5856         (SCANDIR_TAIL): New macro.
5857         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5858         (SCANDIR_TAIL): New macro.
5860         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5861         * dirent/scandir-cancel.c: ... to this new file.
5862         * dirent/Makefile (routines): Add it.
5863         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5864         * sysdeps/unix/sysv/linux/i386/scandir64.c
5865         (SKIP_SCANDIR_CANCEL): Macro removed.
5866         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5868         * dirent/tst-scandir.c: New file.
5869         * dirent/tst-scandir64.c: New file.
5870         * dirent/Makefile (tests): Add them.
5872 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5874         [BZ #18409]
5875         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5877 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5879         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5880         list.
5882 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5884         * benchtests/bench-strcoll.c: New benchmark.
5885         * benchtests/Makefile: Generate locales and run benchmark.
5886         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5887         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5888         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5889         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5890         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5891         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5892         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5893         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5894         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5895         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5896         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5897         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5898         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5899         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5900         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5901         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5902         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5903         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5904         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5905         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5906         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5907         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5908         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5909         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5911 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5913         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5914         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5916 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5918         * posix/uname-values.h: New file.
5919         * posix/uname.c: Include that instead of <config-name.h>.
5920         * sysdeps/nacl/uname-values.h: New file.
5921         * sysdeps/arm/nacl/uname-values.h: New file.
5923 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5925         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5926         splitting into fields.
5928 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5930         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5931         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5932         * locale/localeinfo.h: Add enum collation_encoding_type.
5933         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5934         * programs/ld-collate.c (collate_output): Add encoding type info.
5935         * string/strcoll_l.c (STRDIFF): New function.
5936         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5937         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5939 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5941         [BZ #18397]
5942         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5943         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5944         <fpu_control.h> instead of <math/fpu_control.c>.
5945         * sysdeps/mips/mips32/fpu/Makefile: New file.
5947 2015-05-11  Andreas Schwab  <schwab@suse.de>
5949         [BZ #18007]
5950         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5951         nss_endgrent.
5952         (_nss_compat_endgrent): Call nss_endgrent.
5953         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5954         nss_endpwent.
5955         (_nss_compat_endpwent): Call nss_endpwent.
5956         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5957         needent, call nss_setspent only if non-zero.
5958         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5959         (internal_endspent): Don't call nss_endspent.
5960         (_nss_compat_endspent): Call nss_endspent.
5961         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5962         Remove.  All uses removed.
5963         (internal_setent): Remove parameter stayopen, add parameter
5964         stream.  Use it instead of global variable.
5965         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5966         (internal_endent, internal_getent): Add parameter stream.  Use it
5967         instead of global variable.
5968         (CONCAT(_nss_files_end,ENTNAME))
5969         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5970         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5971         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5972         uses removed.
5973         (internal_setent, internal_endent): Add parameter stream.  Use it
5974         instead of global variable.
5975         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5976         stream.
5977         (get_next_alias): Add parameter stream.
5978         (_nss_files_getaliasent_r): Pass global stream.
5979         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5980         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5981         (_nss_files_gethostbyname4_r): Pass local stream to
5982         internal_setent, internal_getent and internal_endent.  Remove
5983         locking.
5985 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5987         * tst-strfmon1.c (tests): Update expected currency symbol.
5989 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5991         * sysdeps/nacl/gethostname.c: New file.
5993 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5995         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5996         and sinh.
5997         * math/auto-libm-test-out: Regenerated.
5998         * sysdeps/i386/fpu/libm-test-ulps: Update.
5999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
6003         [BZ #18125]
6004         * stdlib/tst-setcontext3.c: New file.
6005         * stdlib/tst-setcontext3.sh: New file.
6006         * stdlib/Makefile (tests): Add tst-setcontext3.
6007         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6008         to verify test program created output file.
6009         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6010         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6011         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6012         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6014 2015-05-06  Roland McGrath  <roland@hack.frob.com>
6016         [BZ #18383]
6017         * elf/tst-tlsalign.c: New file.
6018         * elf/tst-tlsalign-static.c: New file.
6019         * elf/tst-tlsalign-lib.c: New file.
6020         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6021         (tests-static): Add tst-tlsalign-static.
6022         (modules-names): Add tst-tlsalign-lib.
6023         (test-xfail-tst-tlsalign): New variable.
6024         (test-xfail-tst-tlsalign-static): New variable.
6026         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6027         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6029 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
6031         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6032         csqrt, erfc, sin and sincos.
6033         * math/auto-libm-test-out: Regenerated.
6034         * sysdeps/i386/fpu/libm-test-ulps: Update.
6035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6037 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6039         * sysdeps/aarch64/libm-test-ulps: Update.
6041 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
6043         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6044         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6045         * math/auto-libm-test-out: Regenerated.
6046         * sysdeps/i386/fpu/libm-test-ulps: Update.
6047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6049 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6051         [BZ #18265]
6052         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6053         (wcsncpy): Likewise.
6055 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6057         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6058         Assume __ASSUME_FALLOCATE is always true.
6059         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6060         (__posix_fallocate64_l64): Likweise.
6061         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6062         (posix_fallocate): Likewise.
6063         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6064         (__posix_fallocate64_l64): Likewise.
6065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6066         [!__ASSUME_FALLOCATE]: Add comment.
6068 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6070         * sysdeps/unix/sysv/linux/i386/Makefile
6071         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6072         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6073         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6074         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6075         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6076         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6077         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6079 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6081         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6082         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6083         tgamma.
6084         * math/auto-libm-test-out: Regenerated.
6085         * sysdeps/i386/fpu/libm-test-ulps: Update.
6086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6088 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6090         * math/auto-libm-test-in: Add more tests of tgamma.
6091         * math/auto-libm-test-out: Regenerated.
6092         * sysdeps/i386/fpu/libm-test-ulps: Update.
6093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095         * math/auto-libm-test-in: Add more tests of tanh.
6096         * math/auto-libm-test-out: Regenerated.
6097         * sysdeps/i386/fpu/libm-test-ulps: Update.
6098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6100         * math/auto-libm-test-in: Add more tests of tan.
6101         * math/auto-libm-test-out: Regenerated.
6102         * sysdeps/i386/fpu/libm-test-ulps: Update.
6103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6105         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6106         * math/auto-libm-test-out: Regenerated.
6107         * sysdeps/i386/fpu/libm-test-ulps: Update.
6108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6110         * math/auto-libm-test-in: Add another test of pow.
6111         * math/auto-libm-test-out: Regenerated.
6112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6114         * math/auto-libm-test-in: Add more tests of lgamma.
6115         * math/auto-libm-test-out: Regenerated.
6116         * sysdeps/i386/fpu/libm-test-ulps: Update.
6117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6120         log1p.
6121         * math/auto-libm-test-out: Regenerated.
6122         * sysdeps/i386/fpu/libm-test-ulps: Update.
6123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6125 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6127         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6128         Elf64_Chdr structs and ELFCOMPRESS constants.
6130 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6132         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6133         expm1.
6134         * math/auto-libm-test-out: Regenerated.
6135         * sysdeps/i386/fpu/libm-test-ulps: Update.
6136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138         * math/auto-libm-test-in: Add more tests of erf and erfc.
6139         * math/auto-libm-test-out: Regenerated.
6140         * sysdeps/i386/fpu/libm-test-ulps: Update.
6141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6143 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6145         * config.h.in (HAVE_AARCH64_BE): Add.
6147 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6149         * math/auto-libm-test-in: Add more tests of csqrt.
6150         * math/auto-libm-test-out: Regenerated.
6151         * sysdeps/i386/fpu/libm-test-ulps: Update.
6152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6154         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6155         * math/auto-libm-test-out: Regenerated.
6156         * sysdeps/i386/fpu/libm-test-ulps: Update.
6157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6159         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6161 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6163         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6164         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6166         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6167         (euidaccess, eaccess): Define as weak aliases.
6169         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6170         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6171         but __suseconds_t is often 'long int' so some sources assume that
6172         type is being used (e.g. they use %ld to print tv_usec).
6174 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6176         [BZ #18007]
6177         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6178         (CVE-2014-8121)
6179         * nss/tst-nss-getpwent.c: New file.
6180         * nss/Makefile (tests): Add new test.
6182 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6184         [BZ #18346]
6185         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6186         exponents less than 48 as cases where high part of mantissa needs
6187         examining to determine whether argument is integral.
6188         * math/libm-test.inc (round_test_data): Add more tests.
6190 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6192         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6194 2015-04-27  David S. Miller  <davem@davemloft.net>
6196         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6197         __tls_get_addr.
6198         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6200 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6202         [BZ#18333]
6203         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6205 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6207         [BZ#18333]
6208         * time/tzset.c (parse_tzname): Return error on memory allocation
6209         failure.
6210         * test-skeleton.c (struct temp_name_list): Change type of name
6211         member to non-const.
6212         (add_temp_file): Create a copy of the file name.
6213         (delete_temp_files): Deallocate memory.
6214         (create_temp_file): Add comment.
6216 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6218         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6219         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6221 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6223         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6224         * sysdeps/arm/configure: Regenerated.
6226 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6228         [BZ #17715]
6229         * time/tzfile.c (__tzfile_read): Check for large values of
6230         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6231         * time/tzset.c (__tzstring_len): New function, based on the old
6232         __tzstring function.
6233         (__tzstring): Call __tzstring_len.
6234         (parse_tzname): New helper function extracted from
6235         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6236         the input string.
6237         (parse_offset): New helper function extracted from
6238         __tzset_parse_tz.  Replace switch with fallthrough with
6239         initialization before sscanf.
6240         (parse_rule): Likewise.
6241         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6242         new-style function definition.
6243         * timezone/Makefile (tests): Add tst-tzset.
6244         (tst-tzset.out): Dependencies on time zone files.
6245         (tst-tzset-ENV): Set TZDIR.
6246         (testdata/XT%): Copy crafted time zone files.
6247         * timezone/README: Mention crafted time zone files.
6248         * timezone/testdata/XT1, timezone/testdata/XT2,
6249         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6250         files.
6251         * timezone/tst-tzset.c: New test.
6253 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6255         * Makeconfig (+gccwarn): Remove -Winline.
6257 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6259         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6261 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263         * NEWS: Mention sysconf() cache information support for s390.
6264         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6266 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6268         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6269         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6270         (__nearbyint): Likewise.
6271         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6272         (copysignl): Likewise.
6274 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6276         [BZ #18287]
6277         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6278         based on padding.  (CVE-2015-1781)
6280 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6282         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6283         libc-vdso.h.
6284         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6285         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6286         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6287         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6288         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6289         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6290         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6291         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6292         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6293         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6294         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6295         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6296         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6297         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6298         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6299         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6300         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6302         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6303         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6304         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6305         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6306         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6308 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6310         * stdlib/setenv.c (__add_to_environ):
6311         Dump core quickly if setenv (..., NULL, ...) is called.
6312         This time, do it the right way, and pacify GCC with a pragma.
6314 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6316         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6317         IMAP->l_prev cannot be null, and #if out the code for the contrary
6318         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6319         believe that NS (&_dl_ns[NSID]) could point outside the array.
6321         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6322         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6323         before using NSID as an index.
6325 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6327         [BZ #17825]
6328         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6329         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6330         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6332 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6334         Add preliminary port to Google Native Client on ARM.
6335         * abi-tags (.*-.*-nacl.*): New entry.
6336         * sysdeps/arm/nacl: New directory.
6337         * sysdeps/nacl: New directory.
6339 2015-04-16  David S. Miller  <davem@davemloft.net>
6341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6342         lowlevellock-futex.h
6344 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6346         * sysdeps/tile/configure.ac: New file.
6347         * sysdeps/tile/configure: Regenerated.
6349 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6351         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6352         conditionals for weak_alias and libc_hidden_weak.
6353         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6354         libc_hidden_weak and weak_alias.
6355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6356         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6357         and weak_alias for static one.
6359 2015-04-15  David S. Miller  <davem@davemloft.net>
6361         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6363 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6365         [BZ #18206]
6366         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6367           Use signed comparision instead of substraction to avoid
6368           overflow bug.
6369         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6370           Take the sign of ret.
6371         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6372           Do not expect precise return values. Only the sign matters.
6373         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6374         * wcsmbs/test-wcsncmp.c: New File.
6375         * string/test-strncmp.c: Add wcsncmp support.
6377 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6379         [BZ #6792]
6380         * math/w_log1p.c: New file.
6381         * math/w_log1pf.c: Likewise.
6382         * math/w_log1pl.c: Likewise.
6383         * math/Makefile (libm-calls): Add w_log1p.
6384         * math/s_log1pl.c (log1pl): Remove weak_alias.
6385         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6386         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6387         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6388         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6389         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6390         [NO_LONG_DOUBLE] (log1pl): Likewise.
6391         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6392         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6393         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6394         (log1p): Remove long_double_symbol.
6395         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6396         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6397         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6398         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6399         remove weak_alias for corresponding log1p function.
6400         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6401         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6402         * sysdeps/ia64/fpu/w_log1p.c: New file.
6403         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6404         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6405         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6407 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6409         [BZ #18247]
6410         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6411         decimal exponent by 1.
6412         * stdlib/tst-strtod-round-data: Add more tests.
6413         * stdlib/tst-strtod-round.c (tests): Regenerated.
6415 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6417         * math/auto-libm-test-in: Add more tests of clog and clog10.
6418         * math/auto-libm-test-out: Regenerated.
6419         * sysdeps/i386/fpu/libm-test-ulps: Update.
6420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6424         * Makeconfig (module-cppflags): Exclude all .v.i files.
6425         (skip-module-cppflags): Variable removed.
6427         * configure.ac (libc_config_ok): Initialize before reading
6428         preconfigure scripts, not after.
6429         * configure: Regenerated.
6431         * test-skeleton.c (TIMEOUT): Move #define to top level.
6432         (main): Grok environment variable TEST_DIRECT.  If set, print
6433         test expectation details into that file and then behave as if
6434         given --direct.
6436 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6438         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6439         warning on 32-bit.
6441 2015-04-08  David S. Miller  <davem@davemloft.net>
6443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6445 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6447         * math/auto-libm-test-in: Add more tests of atanh.
6448         * math/auto-libm-test-out: Regenerated.
6449         * sysdeps/i386/fpu/libm-test-ulps: Update.
6450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452         * math/auto-libm-test-in: Add more tests of atan.
6453         * math/auto-libm-test-out: Regenerated.
6454         * sysdeps/i386/fpu/libm-test-ulps: Update.
6455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6457 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6459         * elf/pldd.c (main): Rewrite to use struct
6460         scratch_buffer instead of extend_alloca.
6461         * elf/pldd-xx.c (find_maps): Likewise.
6462         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6463         <alloca.h>.
6464         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6465         scratch_buffer instead of extend_alloca.
6466         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6467         grp/compat-initgroups.c.
6468         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6469         Rewrite to use struct scratch_buffer instead of extend_alloca.
6470         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6471         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6473 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6475         * math/auto-libm-test-in: Add more tests of cbrt.
6476         * math/auto-libm-test-out: Regenerated.
6477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6479         * math/auto-libm-test-in: Add more tests of cabs.
6480         * math/auto-libm-test-out: Regenerated.
6481         * sysdeps/i386/fpu/libm-test-ulps: Update.
6482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6484         [BZ #18210]
6485         [BZ #18211]
6486         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6487         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6488         computations.
6489         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6490         clog10.
6491         * math/auto-libm-test-out: Regenerated.
6492         * sysdeps/i386/fpu/libm-test-ulps: Update.
6493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6495         [BZ #18197]
6496         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6497         (atan): Set FE_TONEAREST mode for internal computations.
6498         * math/auto-libm-test-in: Add more tests of atan.
6499         * math/auto-libm-test-out: Regenerated.
6501 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6503         [BZ #17930]
6504         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6506 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6508         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6510 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6512         * include/scratch_buffer.h: New file.
6513         * malloc/scratch_buffer_grow.c: Likewise.
6514         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6515         * malloc/scratch_buffer_set_array_size.c: Likewise.
6516         * malloc/tst-scratch_buffer.c: Likewise.
6517         * malloc/Makefile (routines): Add scratch_buffer_grow.
6518         (tests): Add test case.
6519         * malloc/Versions (GLIBC_PRIVATE): Export
6520         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6521         __libc_scratch_buffer_set_array_size.
6523 2015-04-06  Richard Henderson  <rth@redhat.com>
6525         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6526         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6528         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6529         unsigned int before printing.
6531 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6533         [BZ #17596]
6534         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6535         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6537 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6539         * include/libc-internal.h (libc_max_align_t): Define.
6541 2015-04-02  Andreas Schwab  <schwab@suse.de>
6543         [BZ #16850]
6544         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6546 2015-04-02  Mel Gorman  <mgorman@suse.de>
6548         [BZ #17195]
6549         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6550         as well as the main arena.
6552 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6554         [BZ #18185]
6555         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6556         sharing L2 cache to 2 for Silvermont/Knights Landing.
6558 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6560         [BZ #17711]
6561         * config.make.in (have-protected-data): New.
6562         * configure.ac: Check linker support for protected data symbol.
6563         * configure: Regenerated.
6564         * elf/Makefile (modules-names): Add tst-protected1moda and
6565         tst-protected1modb if $(have-protected-data) is yes.
6566         (tests): Add tst-protected1a and tst-protected1b if
6567         $(have-protected-data) is yes.
6568         ($(objpfx)tst-protected1a): New.
6569         ($(objpfx)tst-protected1b): Likewise.
6570         (tst-protected1modb.so-no-z-defs): Likewise.
6571         * elf/tst-protected1a.c: New file.
6572         * elf/tst-protected1b.c: Likewise.
6573         * elf/tst-protected1mod.h: Likewise.
6574         * elf/tst-protected1moda.c: Likewise.
6575         * elf/tst-protected1modb.c: Likewise.
6577 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6579         [BZ #17711]
6580         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6581         indicates it is called from do_lookup_x on relocation against
6582         protected data, skip the data definion in the executable from
6583         copy reloc.
6584         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6585         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6586         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6587         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6588         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6589         otherwise to 0.
6590         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6591         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6592         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6593         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6594         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6595         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6597 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6599         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6600         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6602 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6604         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6605         THREAD_SETMEM_NC.
6606         * sysdeps/x86_64/nptl/tls.h: Ditto.
6608 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6610         * dlfcn/tststatic.c (main): Converted to ...
6611         (do_test): ... this.
6612         (TEST_FUNCTION): New macro.
6613         Include test-skeleton.c.
6615 2015-03-26  Alan Modra  <amodra@gmail.com>
6617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6618         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6619         zero for undefined weak.
6620         (elf_machine_plt_conflict): Similarly.
6622 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6624         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6625         atanh.
6626         * math/auto-libm-test-out: Regenerated.
6627         * sysdeps/i386/fpu/libm-test-ulps: Update.
6628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630         * math/auto-libm-test-in: Add another test of asin.
6631         * math/auto-libm-test-out: Regenerated.
6632         * sysdeps/i386/fpu/libm-test-ulps: Update.
6633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6635         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6636         Remove macro.
6637         (LLL_EBX_REG): Likewise.
6638         (LLL_ENTER_KERNEL): Likewise.
6640         * math/auto-libm-test-in: Add more tests of asin.
6641         * math/auto-libm-test-out: Regenerated.
6642         * sysdeps/i386/fpu/libm-test-ulps: Update.
6643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6645         [BZ #18138]
6646         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6647         libc_do_syscall_args): New structure.
6648         (INTERNAL_SYSCALL_MAIN_0): New macro.
6649         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6650         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6651         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6652         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6653         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6654         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6655         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6656         Replace conditional definitions by conditional definitions of ....
6657         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6658         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6659         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6660         (libpthread-sysdep_routines): Add libc-do-syscall.
6661         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6662         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6663         to __NR_futex not 240.
6665 2015-03-25  Alan Modra  <amodra@gmail.com>
6667         * NEWS: Advertise TLS optimization.
6668         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6669         (DT_PPC_NUM): Increment.
6670         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6671         (CHECK_STATIC_TLS): Use here.
6672         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6673         TLS descriptors.
6674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6675         * sysdeps/powerpc/dl-tls.c: New file.
6676         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6677         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6678         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6679         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6684 2015-03-25  Alan Modra  <amodra@gmail.com>
6686         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6687         for overlapping .opd entries" to "support...".
6688         * sysdeps/powerpc/powerpc64/configure: Regenerate
6690 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6692         * math/auto-libm-test-in: Add more tests of acos.
6693         * math/auto-libm-test-out: Regenerated.
6694         * sysdeps/i386/fpu/libm-test-ulps: Update.
6695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6697         * math/auto-libm-test-in: Add more tests of expm1.
6698         * math/auto-libm-test-out: Regenerated.
6699         * sysdeps/i386/fpu/libm-test-ulps: Update.
6700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6702 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6704         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6705         * math/auto-libm-test-out: Regenerated.
6706         * sysdeps/i386/fpu/libm-test-ulps: Update.
6707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6709         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6712         * math/auto-libm-test-in: Add more tests of log2.
6713         * math/auto-libm-test-out: Regenerated.
6714         * sysdeps/i386/fpu/libm-test-ulps: Update.
6715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6717 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6719         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6720         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6721         _IO_IS_APPENDING bit in READ_WRITE instead.
6723 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6725         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6726         (__determine_cpumask_size): Replace extend_alloca with a
6727         variable-length array.  Do not treat res == 0 as an error.
6729 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6731         [BZ #18100]
6732         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6733         and integer overflow.
6734         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6735         (main): Add integer overflow tests.
6736         * manual/pattern.texi (Calling Wordexp): Document additional use
6737         for WRDE_SYNTAX.
6739 2015-03-23  Alan Modra  <amodra@gmail.com>
6741         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6742         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6743         and false branch of conditional.
6744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6745         Likewise.
6747 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6749         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6750         libc-modules.h
6751         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6752         unused declaration of _hurd_intr_rpc_msg_in_trap.
6753         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6754         defined instead of whether it is non-zero.
6755         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6756         input constraint instead of both input and output constraint.  Use ecx
6757         clobber instead of %ecx.
6758         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6759         mutex_unlock): Use a statement expression instead of an expression list.
6760         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6761         type to vm_size_t instead of vm_address_t.
6762         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6763         defined instead of whether it is non-zero.
6764         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6765         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6766         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6767         comparisons with mapaddr.
6768         * nscd/nscd-client.h: Include <time.h>.
6769         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6770         9th parameter to __vm_region instead of int.
6771         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6772         * scripts/check-local-headers.sh (exclude): Add device/,
6773         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6774         cthreads.h.
6776 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6778         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6779         to account for alignment padding.
6780         * sysdeps/arm/memmove.S: Likewise.
6782 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6784         * sysdeps/unix/sysv/linux/generic/README: New file.
6786 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6788         [BZ #18138]
6789         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6790         (futex_abstimed_wait)
6791         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6792         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6793         of lll_futex_timed_wait.
6795 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6797         [BZ #17542]
6798         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6800 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6802         [BZ #17090]
6803         [BZ #17620]
6804         [BZ #17621]
6805         [BZ #17628]
6806         * NEWS: Update.
6807         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6808         entries with Static TLS too.  Skip entries past the end of the
6809         allocated DTV, from Alan Modra.
6810         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6811         Static TLS DTV entry set up from...
6812         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6813         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6814         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6815         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6816         for Static TLS.
6817         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6818         that the slot we find is associated with the given map before
6819         using its generation count.
6820         * nptl_db/db_info.c: Include ldsodefs.h.
6821         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6822         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6823         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6824         (link_map::l_tls_offset): New struct field.
6825         (dtv_t::counter): Likewise.
6826         (rtld_global): New struct.
6827         (_rtld_global): New rtld variable.
6828         (dl_tls_dtv_slotinfo_list): New rtld global field.
6829         (dtv_slotinfo_list): New struct.
6830         (dtv_slotinfo): Likewise.
6831         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6832         (td_lookup): Rename to...
6833         (td_mod_lookup): ... this.  Use new mod parameter instead of
6834         LIBPTHREAD_SO.
6835         * nptl_db/td_thr_tlsbase.c: Include link.h.
6836         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6837         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6838         addresses even if the DTV is out of date or missing them.
6839         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6840         index zero-length arrays.
6841         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6842         (td_lookup): Make it a macro implemented in terms of...
6843         (td_mod_lookup): ... this declaration.
6844         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6845         (DB_MAIN_VARIABLE): Likewise.
6847 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6849         [BZ #18134]
6850         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6852 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6854         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6856 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6858         [BZ #18128]
6859         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6860         (atomic_add, atomic_increment_and_test)
6861         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6863 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6865         * stdlib/setenv.c (__add_to_environ):
6866         Dump core quickly if setenv (..., NULL, ...) is called.
6868 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6870         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6871         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6872         all the necessary asm magic in one place.
6873         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6874         using those.
6876 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6878         [BZ #14906]
6879         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6880         traced file mtime. Use consistent log message.
6881         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6882         (register_traced_file): Call install_watches. Always set mtime.
6883         (invalidate_cache): Iterate over all trace files. Call install_watches.
6884         (inotify_check_files): Don't inline. Handle watching parent
6885         directories and configuration file movement in and out.
6886         (handle_inotify_events): New function.
6887         (main_loop_poll): Call handle_inotify_events.
6888         (main_loop_epoll): Likewise.
6889         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6890         (struct traced_file): Use array of inotify fds. Add parent directory,
6891         and basename.
6892         (struct database_dyn): Remove unused file_mtime.
6893         (init_traced_file): New inline function.
6894         (define_traced_file): New macro.
6895         * nss/nss_db/db-init.c: Use define_traced_file.
6896         (_nss_db_init): Use init_traced_file.
6897         * nss/nss_files/files-init.c: Use define_traced_file.
6898         (_nss_files_init): Use init_traced_file.
6900 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6902         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6903         [_LIBC]: Do not include <stdlib.h>.
6904         [!_LIBC] (abort): Remove declaration.
6905         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6906         _FP_STATIC_ASSERT instead of conditionally calling abort.
6907         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6908         (_FP_EXTEND_CNAN): Likewise.
6909         (FP_TRUNC): Likewise.
6910         (__FP_CLZ): Likewise.
6911         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6913 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6915         * manual/string.texi (XPG basename): Fix prototype.
6917 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6919         [BZ #18080]
6920         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6921         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6922         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6923         (__setcontext): Likewise.
6924         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6925         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6926         Call rt_sigprocmask syscall one time to set new signal mask
6927         and retrieve the current signal mask instead of two calls.
6928         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6929         (__swapcontext): Likewise.
6930         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6931         * stdlib/tst-setcontext2.c: New file.
6933 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6935         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6937 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6939         [BZ #18093]
6940         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6941         the wrong size.
6943 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6945         [BZ #18043]
6946         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6948 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6950         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6951         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6952         Remove define.
6953         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6954         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6955         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6956         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6957         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6958         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6959         define.
6960         * nptl_db/td_symbol_list.c (td_lookup): Remove
6961         HAVE_ASM_GLOBAL_DOT_NAME code.
6962         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6963         HAVE_ASM_GLOBAL_DOT_NAME check.
6964         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6965         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6966         (DOT_LABEL): Remove define.
6967         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6968         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6969         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6970         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6971         (__TLS_GET_ADDR): Likewise.
6972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6973         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6975 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6977         [BZ #18111]
6978         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6979         (_FPU_SETCW): Initialize cw from fpsr before storing.
6980         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6981         (fesetexceptflag): Rewrite using fpu_control.h.
6982         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6984 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6986         [BZ #18110]
6987         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6988         asms.
6989         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6991 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6993         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6994         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6995         abort.
6996         (_FP_FMA): Likewise.
6997         (_FP_DIV): Likewise.
6999 2015-03-10  Roland McGrath  <roland@hack.frob.com>
7001         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7002         with 0 in that case.
7003         * Makefile (summarize-tests): New canned sequence, factored out of
7004         commands for targets tests and xtests.  Display summary lines that
7005         don't start with PASS: or XFAIL: rather than ones that do start with
7006         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
7007         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7008         do start with ERROR: or FAIL:.
7009         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7010         (except for [$(build-shared) = yes]).
7011         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7012         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7013         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7014         * nptl/Makefile: Revert 2015-03-04 changes.
7015         [$(CXX) empty] (tests-unsupported): New variable.
7016         * debug/Makefile: Likewise.
7018         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7019         gnulib file.  Replace __attribute with __attribute__ throughout.
7021 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
7023         * sysdeps/hppa/fpu/libm-test-ulps: Update.
7025 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7027         [BZ #18104]
7028         * math/auto-libm-test-in: Add another test of pow.
7029         * math/auto-libm-test-out: Regenerated.
7031 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7033         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7034         $(config-cflags-nofma).
7036 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7038         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7039         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7040         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7041         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7042         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7043         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7044         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7045         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7046         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7047         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7048         Add comment on closing #endif.
7050 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7052         * posix/wordexp.c (CHAR_IN_SET): New macro.
7053         (parse_param): Use it.
7055 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7057         * sysdeps/powerpc/fpu/libm-test-ulps: update.
7059 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7061         [BZ #18043]
7062         * posix/wordexp.c (parse_param): Fix buffer overflow.
7063         * posix/wordexp-test.c (test_case): Add test case.
7065 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7067         [BZ #18042]
7068         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7069         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7071 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7073         [BZ #18043]
7074         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7075         (do_bz18043): Delete.
7076         (at_page_end): New.
7077         (testit): Refactor to have words at the edge of unreadable page.
7079 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7081         [BZ #16734]
7082         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7083         Cleanup read-only streams as well.
7084         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7086 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7088         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7089         <bits/libc-lockP.h>
7091 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7093         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7094         on [__KERNEL__].
7095         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7096         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7097         * soft-fp/op-common.h (_FP_DECL): Likewise.
7099 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7101         * elf/ifuncdep2.c (global): Replace
7102         __attribute__((visibility("protected"))) with
7103         asm (".protected global").
7104         * elf/ifuncmod1.c (global): Likewise.
7105         * elf/ifuncmod5.c (global): Likewise.
7107 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7109         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7110         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7112 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7114         * manual/install.texi (Configuring and compiling):
7115         Document test-wrapper-env-only.
7116         * INSTALL: Regenerated.
7118 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7120         [BZ #18043]
7121         * posix/wordexp.c (parse_param): Fix buffer overflow.
7122         * posix/wordexp-test.c (do_bz18043): Add test case.
7124 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7126         * time/tst-strptime2.c (do_test): Ensure failing tests are
7127         reported correctly.
7128         * time/tst-strptime3.c (do_test): Likewise.
7130 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7132         Fix aio_error thread-safety.
7133         * sysdeps/pthread/aio_error.c: New file
7134         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7135         synchronization.
7137 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7139         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7140         (group_number, vfprintf): Use it.
7141         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7142         (JUMP, REF): Use it.
7143         (WORK_BUFFER_SIZE): New enum constant.
7144         (process_arg, vfprintf): Use it.
7146 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7148         * manual/errno.texi (Error Messages): Complete example function
7149         by adding missing #define.
7150         (program_invocation_name): Add statement indicating GNU
7151         extension and reference which header file declares the variable.
7152         (program_invocation_short_name): Likewise.
7154 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7156         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7157         compatibility note.
7159 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7161         * Makeconfig (test-wrapper-env-only): New variable.
7162         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7163         then use that with $(test-wrapper-env-only) rather than using
7164         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7166 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7168         [BZ #18082]
7169         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7170         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7171         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7172         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7173         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7174         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7175         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7176         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7177         Likewise.
7178         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7179         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7180         Likewise.
7181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7182         Likewise.
7183         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7184         Likewise.
7185         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7186         Likewise.
7187         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7189         Likewise.
7190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7191         Likewise.
7192         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7193         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7195 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7197         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7198         (ETH_ALEN): New macro.
7199         (struct ether_addr): Use it for length of ether_addr_octet.
7201         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7202         (setdb): Don't call __nss_configure_lookup for "rpc".
7203         (do_test): Don't call test_rpc.
7204         (output_rpcent, test_rpc): Functions moved ...
7205         * sunrpc/test-rpcent.c: ... to this new file.
7206         * sunrpc/Makefile (tests): Add it.
7208         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7209         __xpg_sigpause.
7210         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7211         * nptl/tst-signal6.c: Likewise.
7212         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7213         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7215         * configure.ac (libc_cv_cxx_link_ok): New check.
7216         Reset CXX to empty if it fails to link.
7217         * configure: Regenerated.
7218         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7219         bug-atexit3-lib only if $(CXX) is nonempty.
7220         * nptl/Makefile (tests): Likewise for tst-cancel24.
7221         (tests, tests-static): Likewise for tst-cancel24-static.
7222         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7223         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7224         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7225         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7227 2015-03-04  Andreas Schwab  <schwab@suse.de>
7229         [BZ #17631]
7230         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7231         for non-GCC compilers.
7232         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7233         Likewise.
7235 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7237         [BZ #17776]
7238         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7239         integer before bitwise and assembly operations.
7240         (feclearexcept): Likewise.
7241         * math/test-fenvinline.c: New file.
7242         * math/Makefile: Add test-fenvinline test.
7244 2015-03-03  Alan Modra  <amodra@gmail.com>
7246         [BZ #16512]
7247         * scripts/localplt.awk: Strip off symbol version.
7248         * NEWS: Mention bug fix.
7250 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7252         * sysdeps/pthread/timer_routines.c
7253         (timer_free_list, thread_free_list, thread_active_list): Make static.
7255 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7257         [BZ #17779]
7258         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7259         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7260         Undefine.
7261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7262         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7263         Likewise.
7264         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7265         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7266         Likewise.
7268 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7270         [BZ #18036]
7271         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7272         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7274 2015-03-02  Andreas Schwab  <schwab@suse.de>
7276         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7277         variable name.
7279 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7281         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7282         Return error status.
7284 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7286         [BZ #15969]
7287         * locale/findlocale.c (_nl_find_locale): Introduce const
7288         version of loc_name and drop unsafe type casts.
7290 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7292         * dlfcn/tststatic2.c (main): Converted to ...
7293         (do_test): ... this.
7294         (TEST_FUNCTION): New macro.
7295         Include test-skeleton.c.
7297 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7299         [BZ #17711]
7300         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7301         (tests-pie): Add vismain.
7302         (CFLAGS-vismain.c): New.
7303         * elf/vismain.c: Add comments for PIE requirement.
7305 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7307         [BZ #18046]
7308         [BZ #18047]
7309         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7310         0x1p-56L as threshold for just returning the argument.
7311         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7312         0x1p-32L as threshold for just returning the argument.
7313         * math/auto-libm-test-in: Add more tests of atanh.
7314         * math/auto-libm-test-out: Regenerated.
7315         * sysdeps/i386/fpu/libm-test-ulps: Update.
7316         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7318 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7320         * string/bcopy.c (bcopy): Call memmove for performance.
7322 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7324         * string/bzero.c (__bzero): Call memset for performance.
7326 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7328         [BZ #18068]
7329         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7330         to 00100000.
7332 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7334         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7336 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7338         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7339         (__kernel_standard): Use CSTR macro when setting exc.name.
7340         * sysdeps/ieee754/Makefile [$(subdir) = math]
7341         (CFLAGS-k_standard.c): Remove variable.
7343         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7344         setting p and q from "else if" to "else".
7345         (qzero): Likewise.
7346         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7347         (qone): Likewise.
7348         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7349         (qzerof): Likewise.
7350         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7351         (qonef): Likewise.
7352         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7353         (qzero): Likewise.
7354         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7355         (qone): Likewise.
7357         [BZ #18038]
7358         [BZ #18039]
7359         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7360         return pi/2 for arguments below 0x1p-113L.
7361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7362         return pi/2 for arguments below 0x1p-106L.
7363         * math/auto-libm-test-in: Add more tests of acos.
7364         * math/auto-libm-test-out: Regenerated.
7366         [BZ #16351]
7367         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7368         (MO): New macro.
7369         (__ieee754_asin): Force underflow exception for results with small
7370         absolute value.
7371         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7372         (MO): New macro.
7373         (__ieee754_asinf): Force underflow exception for results with
7374         small absolute value.
7375         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7376         (__ieee754_asin): Force underflow exception for results with small
7377         absolute value.
7378         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7379         (__ieee754_asinf): Force underflow exception for results with
7380         small absolute value.
7381         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7382         (__ieee754_asinl): Force underflow exception for results with
7383         small absolute value.
7384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7385         (__ieee754_asinl): Force underflow exception for results with
7386         small absolute value.
7387         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7388         (__ieee754_asinl): Force underflow exception for results with
7389         small absolute value.
7390         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7391         Include <math.h>.
7392         * math/auto-libm-test-in: Do not mark underflow exceptions as
7393         possibly missing for bug 16351.
7394         * math/auto-libm-test-out: Regenerated.
7396         [BZ #18030]
7397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7398         of power of 2 down when low part has opposite sign.
7399         * math/libm-test.inc (logb_test_data): Add more tests.
7401 2015-02-26  Andreas Schwab  <schwab@suse.de>
7403         [BZ #18032]
7404         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7405         over collating symbol inside a bracket expression.  Minor cleanup.
7406         * posix/tst-fnmatch3.c (do_test): Add test case.
7408 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7410         [BZ #18029]
7411         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7412         Adjust exponent of power of 2 down when low part has opposite
7413         sign.
7414         * math/libm-test.inc (ilogb_test_data): Add more tests.
7416 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7418         [BZ #15969]
7419         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7420         the previous change.
7422         [BZ #15969]
7423         * locale/findlocale.c (_nl_find_locale): Retry archive search
7424         after alias expansion.
7426 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7428         * iconv/tst-iconv3.c (main): Converted to ...
7429         (do_test): ... this.
7430         (TEST_FUNCTION): New macro.
7431         Include test-skeleton.c.
7433         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7434         (convert): Make function static.
7435         (test_unalign): Likewise.  Add const to argument pointee types.
7436         (main): Replace with static function do_test.
7437         Print "Succeeded." only if RET is zero.
7438         (TEST_FUNCTION): New macro.
7439         Include test-skeleton.c.
7441         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7442         returns a null pointer.
7444 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7446         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7447         to __memcpy_ppc only for static builds.
7449 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7451         [BZ #18020]
7452         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7453         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7454         * math/auto-libm-test-in: Add more tests of asinh.
7455         * math/auto-libm-test-out: Regenerated.
7456         * sysdeps/i386/fpu/libm-test-ulps: Update.
7457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7461         [BZ #15850]
7462         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7463         and ip6_mtuinfo definitions here.
7464         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7465         in this define too.  Update comment.
7467 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7469         * elf/sprof.c (load_shobj): Tweak error message to match others.
7471 2015-02-24  Kevin Easton  <kevin@guarana.org>
7473         [BZ #16145] (partial fix)
7474         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7475         to reduce lock contention.
7477 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7479         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7480         (struct timex): Update time comment.
7481         (ADJ_SETOFFSET): Define.
7483 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7485         [BZ #18019]
7486         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7487         2**56 not 2**28 as threshold for log (2x) formula.
7488         * math/auto-libm-test-in: Add more tests of acosh.
7489         * math/auto-libm-test-out: Regenerated.
7490         * sysdeps/i386/fpu/libm-test-ulps: Update.
7491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7493 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7495         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7496         parenthesis around the buf assignment.
7497         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7499 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7501         [BZ #16783]
7502         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7503         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7504         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7505         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7506         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7507         * math/libm-test.inc (scalb_test_data): Add more tests.
7509 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7511         [BZ #17916]
7512         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7513         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7515 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7517         [BZ #17523]
7518         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7519         * io/bits/fcntl2.h (open): Use it.
7520         (openat): Likewise.
7521         * io/open.c (__libc_open): Likewise.
7522         * io/open64.c (__libc_open64): Likewise.
7523         * io/open64_2.c (__open64_2): Likewise.
7524         * io/open_2.c (__open_2): Likewise.
7525         * io/openat.c (__openat): Likewise.
7526         * io/openat64.c (__openat64): Likewise.
7527         * io/openat64_2.c (__openat64_2): Likewise.
7528         * io/openat_2.c (__openat_2): Likewise.
7529         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7530         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7531         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7532         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7533         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7534         (__open_nocancel): Likewise.
7535         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7536         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7537         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7539 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7541         [BZ #14841]
7542         * resolv/gethnamaddr.c (getanswer): Skip logging if
7543         RES_USE_DNSSEC is set.
7544         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7546 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7548         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7550 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7552         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7553         201304L, for Unicode 7.
7555 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7557         [BZ #17836]
7558         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7559         shared library.  Add gmon-start.os otherwise.
7560         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7561         $(objpfx)gmon-start.os if builing shared library.
7562         ($(objpfx)g$(static-start-installed-name)): Likewise.
7564 2015-02-23  Andreas Schwab  <schwab@suse.de>
7566         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7568 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7570         [BZ #17269]
7571         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7572         (enlarge_userbuf): Likewise.
7574 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7576         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7577         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7578         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7579         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7581 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7583         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7584         expression inside statement expression.
7586 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7588         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7589         <sysdeps/nptl/lowlevellock.h> and remove macros and
7590         functions that are now defined there.
7591         (SYS_futex): Remove.
7592         (lll_compare_and_swap): Remove.
7593         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7595 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7597         [BZ #17999]
7598         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7599         instead of scandirat.
7600         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7601         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7602         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7603         __scandirat.
7604         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7605         (__scandirat): Declare.  Use libc_hidden_proto.
7606         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7607         Remove variable.
7608         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7610 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7612         [BZ #15319]
7613         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7614         (MO): New macro.
7615         (__ieee754_atan2): For results with small absolute value, force
7616         underflow exception and remove excess range and precision from
7617         return value.
7618         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7619         (MO): New macro.
7620         (__ieee754_atan2f): For results with small absolute value, force
7621         underflow exception and remove excess range and precision from
7622         return value.
7623         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7624         (MO): New macro.
7625         (__atan): For results with small absolute value, force underflow
7626         exception and remove excess range and precision from return value.
7627         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7628         (MO): New macro.
7629         (__atanf): For results with small absolute value, force underflow
7630         exception and remove excess range and precision from return value.
7631         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7632         <math.h>.
7633         (__ieee754_atan2): Force underflow exception for results with
7634         small absolute value.
7635         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7636         <math_private.h>.
7637         (atan): Force underflow exception for results with small absolute
7638         value.
7639         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7640         (__atanf): Force underflow exception for results with small
7641         absolute value.
7642         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7643         <math.h>.
7644         (__atanl): Force underflow exception for results with small
7645         absolute value.
7646         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7647         (__atanl): Force underflow exception for results with small
7648         absolute value.
7649         * sysdeps/x86/fpu/bits/mathinline.h
7650         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7651         (__ieee754_atan2): Only define inline for long double.
7652         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7653         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7654         * math/auto-libm-test-in: Do not mark underflow exceptions as
7655         possibly missing for bug 15319.  Add more tests of atan2.
7656         * math/auto-libm-test-out: Regenerated.
7657         * math/libm-test.inc (casin_test_data): Do not mark underflow
7658         exceptions as possibly missing for bug 15319.
7659         (casinh_test_data): Likewise.
7660         * sysdeps/i386/fpu/libm-test-ulps: Update.
7662 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7664         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7665         * sysdeps/mips/bits/endian.h: Fix comments.
7667 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7669         [BZ #17996]
7670         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7671         (hdestroy_r): Likewise.
7672         (hsearch_r): Likewise.
7673         (__hcreate_r): Declare and use libc_hidden_proto.
7674         (__hdestroy_r): Likewise.
7675         (__hsearch_r): Likewise.
7676         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7677         (hcreate): Call __hcreate_r instead of hcreate_r.
7678         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7679         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7680         as weak alias of __hcreate_r.
7681         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7682         __hdestroy_r.
7683         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7684         __hsearch_r.
7685         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7686         Remove variable.
7687         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7688         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7689         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7690         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7692 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7694         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7695         arena_lock into a single arena_get.
7697 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7699         * dl-reloc.c: Inlucde libc-internal.h.
7700         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7701         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7702         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7703         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7704         (grow_heap): Likewise.
7705         * malloc/malloc.c: Include libc-internal.h.
7706         (do_check_malloc): Call powerof2.
7707         (sysmalloc): Use pagesize. Call ALIGN_UP.
7708         (systrim): Use pagesize.
7709         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7710         (__libc_valloc): Use pagesize.
7711         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7713 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #17991]
7716         * include/sys/resource.h (__getrlimit64): Declare.  Use
7717         libc_hidden_proto.
7718         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7719         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7720         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7721         getrlimit64.
7722         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7723         __getrlimit64.
7724         [!getrlimit64] (getrlimit64): Define as weak alias of
7725         __getrlimit64.  Use libc_hidden_weak.
7726         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7727         using __getrlimit64 not __new_getrlimit64.
7728         (__GI_getrlimit64): Likewise.
7729         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7730         Likewise.
7731         (__GI_getrlimit64): Likewise.
7732         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7734         (getrlimit): Add __getrlimit64 alias.
7735         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7736         Likewise.
7737         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7738         Remove variable.
7739         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7740         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7742 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7744         * libio/fileops.c: Add missing sys/mman.h
7745         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7747 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7749         * manual/math.texi (Errors in Math Functions): Clarify goals
7750         regarding inexact and underflow exceptions.
7752 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7754         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7755         * sysdeps/mips/memset.S: Ditto.
7757 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7759         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7761 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7763         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7764         (__v1longjmp): Remove versioned symbol.
7765         (__v1siglongjmp): Remove alias and versioned symbol.
7766         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7767         (__v2siglongjmp): Likewise.
7769 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7771         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7773 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7775         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7777 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7779         [BZ #17987]
7780         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7781         zero result does not depend on the sign resulting from
7782         subtraction.
7783         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7784         Likewise.
7785         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7786         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7787         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7788         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7789         * math/libm-test.inc (remquo_test_data): Add more tests.
7791 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7793         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7794         Problem reported by J William Piggott.
7796 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7798         [BZ #17978]
7799         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7800         products 4 * y and 2 * y where those would overflow.
7801         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7802         Likewise.
7803         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7804         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7805         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7806         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7807         * math/libm-test.inc (remquo_test_data): Add more tests.
7809         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7811         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7812         [defined _COMPILING_NEWLIB].
7813         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7814         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7816         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7817         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7819 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7821         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7822         acquired.
7824 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7826         [BZ #17792]
7827         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7828         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7829         HOST_STACK_END_ADDR): Likewise.
7831 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7833         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7834         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7835         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7837 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7839         * sysdeps/generic/c++-types.data: New file.
7840         * sysdeps/generic/ld.abilist: New file.
7841         * sysdeps/generic/libBrokenLocale.abilist: New file.
7842         * sysdeps/generic/libanl.abilist: New file.
7843         * sysdeps/generic/libc.abilist: New file.
7844         * sysdeps/generic/libcrypt.abilist: New file.
7845         * sysdeps/generic/libdl.abilist: New file.
7846         * sysdeps/generic/libm.abilist: New file.
7847         * sysdeps/generic/libpthread.abilist: New file.
7848         * sysdeps/generic/libresolv.abilist: New file.
7849         * sysdeps/generic/librt.abilist: New file.
7851 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7853         [BZ #17569]
7854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7855         Compute absolute value of x as modified by fmod, not original
7856         value of x.
7857         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7858         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7859         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7860         RUN_TEST_ffI_f1_mod8.
7861         (remquo_test_data): Add more tests.
7863 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7865         * sysdeps/init_array/pt-crti.S: New file.
7867 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7869         [BZ #17967]
7870         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7871         __builtin_fmaf instead of relying on contraction of a * b + c.
7873 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7875         [BZ #17969]
7876         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7877         node.
7879 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7881         [BZ #17964]
7882         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7883         __builtin_fma instead of relying on contraction of a * b + c.
7885 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7887         * Makeconfig (ASFLAGS): Add -Werror=undef.
7888         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7889         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7890         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7892         * Makeconfig (after-link): New variable.
7893         (+link-pie, +link-pie-tests): Use it.
7894         (+link-static, +link-static-tests): Likewise.
7895         (+link, +link-tests): Likewise.
7896         * Makerules (build-module, build-module-asneeded): Likewise.
7897         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7898         Likewise.
7899         * elf/Makefile ($(objpfx)ld.so): Likewise.
7901 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7903         [BZ #17965]
7904         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7905         both struct timeval and struct timespec.
7907 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7909         [BZ #16560]
7910         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7911         and redefine.
7912         (__ieee754_exp2l): Do not multiply small fractional parts by
7913         M_LN2l.
7914         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7915         small argument.
7916         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7917         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7918         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7919         * math/auto-libm-test-in: Add more tests of exp2.
7920         * math/auto-libm-test-out: Regenerated.
7922 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7924         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7925         unaligned path.
7927 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7929         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7930         little endian.
7932 2015-02-12  Andreas Schwab  <schwab@suse.de>
7934         [BZ #15790]
7935         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7936         Filter out elision flags from value returned in kind.
7937         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7938         * nptl/tst-pthread-mutexattr.c: New file.
7940 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7942         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7943         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7944         into gnu-gnu, and update comment to refer to abi-tags.
7946 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7948         [BZ #15467]
7949         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7950         (__sincos): Set errno to EDOM for infinite argument.
7951         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7952         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7953         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7954         (__sincosl): Set errno to EDOM for infinite argument.
7955         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7956         (__sincosl): Set errno to EDOM for infinite argument.
7957         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7958         (__sincosl): Set errno to EDOM for infinite argument.
7959         * math/libm-test.inc (sincos_test_data): Test errno setting.
7961 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7963         * string/strxfrm_l.c: Remove #define STRCMP.
7964         * string/strcoll_l.c: Remove #define STRLEN.
7965         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7966         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7968 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7970         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7971         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7972         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7973         * sysdeps/mips/mips64/Makefile: ... here.
7974         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7975         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7976         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7977         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7978         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7979         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7980         * sysdeps/mips/mips64/n64/Implies: Likewise.
7982 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7984         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7985         <sys/time.h>, <string.h>, and <errno.h>.
7986         (dest_offset, dest_address, value, zero): Remove unused variables.
7987         (ldouble): Remove typedef.
7988         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7989         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7990         1).  Fix code style.
7991         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7992         (check): Function removed.
7993         (CHECK): New macro.
7994         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7995         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7996         Don't call set_sigaction_FP and remove_sigaction_FP here.
7997         (ldouble_test): Just use 'long double' as macro argument, no need for
7998         the 'ldouble' typedef.
7999         (do_test): Set up SIGFPE handler at start, using plain signal rather
8000         than sigaction.  Fix code style.
8002 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
8004         [BZ #17949]
8005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8006         jump label.
8008 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8010         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8011         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8013         * sysdeps/powerpc/configure.ac: Remove file.
8014         * sysdeps/powerpc/configure: Likewise.
8016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8017         [sysdep_routines]: Remove wordcopy-power6 object.
8018         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8019         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8020         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8021         (__memmove_ppc32): Likewise.
8022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8023         file.
8024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8025         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8026         Remove preprocessor.
8028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8029         [sysdep_routines]: Remove wide chars objects.
8030         [wcsmbs]: New rule for wide char objects.
8032         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8033         Remove wordcopy-power6 obejct.
8034         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8035         Use local call for wordcopy and memcpy symbols.
8036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8038         implementation for loader.
8039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8041         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8042         Remove wordcopy-power7 object.
8043         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8044         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8045         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8046         (_wordcopy_fwd_dest_aligned): Likewise.
8047         (_wordcopy_bwd_aligned): Likewise.
8048         (_wordcopy_bwd_dest_aligned): Likewise.
8050         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8051         Rewrite to call __memmove_ppc instead of include default
8052         implementation.
8054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8055         Remove wide chars objects.
8056         [wcsmbs]: New rule for wide char objects.
8058 2015-02-09  Andreas Schwab  <schwab@suse.de>
8060         [BZ #17912]
8061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8062         in terms of __O_DIRECTORY.
8064 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8066         * time/getdate.c: Include <stdbool.h>.
8067         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8068         call PTR_MANGLE.
8069         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8070         PTR_DEMANGLE.
8072 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8074         Add ersatz _Static_assert on older C hosts
8075         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8076         pre-C11 C platform that is not known to support _Static_assert.
8078 2015-02-07  Richard Braun  <rbraun@sceen.net>
8080         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8081         sigstate.
8082         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8084 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8086         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8087         priority against unexistent AIO_PRIO_DELTA_MAX.
8088         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8089         instead of int.
8090         * misc/fchflags.c (fchflags): Likewise.
8091         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8092         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8093         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8094         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8095         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8096         Declare macros.
8097         [__USE_MISC] (chflags, fchflags): Declare functions.
8098         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8099         EINVAL when nfds is greater than FD_SETSIZE.
8100         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8101         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8102         45.
8103         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8104         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8105         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8106         MACH_RCV_TIMED_OUT.
8107         * hurd/hurd/signal.h (_hurd_self_sigstate,
8108         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8109         Explicit casts from void *.
8110         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8111         * abi-tags: Rename gnu-gnu os into gnu.
8113         [BZ #4719]
8114         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8115         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8116         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8117         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8118         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8119         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8121         [BZ #17944]
8122         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8123         duplicates ADDR->sun_path with sockaddr LEN limitation.
8124         * sysdeps/mach/hurd/connect.c: Include <string.h>
8125         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8126         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8127         * sysdeps/mach/hurd/sendto.c: Likewise.
8128         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8129         implementing it by hand.
8131 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8133         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8134         Use sfi_breg on ldr.
8135         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8136         Likewise.
8138         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8139         it's defined.
8140         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8141         Test SIGSETXID only if it's defined.
8143         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8145         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8146         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8148         * nptl/tst-align2.c: Moved ...
8149         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8150         * nptl/Makefile (tests): Remove tst-align2.
8151         * sysdeps/unix/sysv/linux/Makefile
8152         [$(subdir) = nptl] (tests): Add tst-align-clone.
8153         * nptl/tst-getpid1.c: Moved ...
8154         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8155         * nptl/tst-getpid2.c: Moved ...
8156         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8157         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8158         * sysdeps/unix/sysv/linux/Makefile
8159         [$(subdir) = nptl] (tests): ... here.
8160         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8161         * sysdeps/unix/sysv/linux/Makefile
8162         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8164         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8165         Drop trailing \n from perror argument.  Use return rather than exit.
8167         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8168         on [SA_SIGINFO].
8169         * nptl/tst-cancel21.c (do_test): Likewise.
8170         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8171         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8172         [!SA_SIGINFO]: Make it a stub test.
8174         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8175         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8177         * posix/tst-getlogin.c: Move to ...
8178         * login/tst-getlogin.c: ... here.
8179         * posix/Makefile (tests): Move tst-getlogin to ...
8180         * login/Makefile (tests): ... here.
8182         * libio/tst-atime.c (do_test): Move local variables SV and E
8183         inside [ST_NOATIME] conditional.
8185         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8187         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8189         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8190         (wait_code): New function replaces macro.
8191         Call nanosleep rather than syscall.
8193         * nptl/pt-system.c: Rewritten.  Put everything under
8194         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8195         Use IFUNC to redirect when possible.
8197         * nptl/pt-longjmp.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-fork.c: Rewritten.  Put everything under
8202         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8203         Use IFUNC to redirect when possible.
8204         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8207         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8208         unconditionally nowadays.  This included the only reference to
8209         __vdso_clock_gettime that appears outside libc proper.
8210         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8211         Remove version set (containing only __vdso_clock_gettime).
8212         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8213         Add attribute_hidden.
8214         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8215         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8216         libc_hidden_data_def.
8217         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8218         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8220         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8221         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8222         setrpcent, and getrpcport to ...
8223         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8224         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8225         getrpcbynumber_r, and getrpcent_r to ...
8226         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8227         * inet/getrpcbyname.c: Moved ...
8228         * sunrpc/getrpcbyname.c: ... here.
8229         * inet/getrpcbyname_r.c: Moved ...
8230         * sunrpc/getrpcbyname_r.c: ... here.
8231         * inet/getrpcbynumber.c: Moved ...
8232         * sunrpc/getrpcbynumber.c: ... here.
8233         * inet/getrpcbynumber_r.c: Moved ...
8234         * sunrpc/getrpcbynumber_r.c: ... here.
8235         * inet/getrpcent.c: Moved ...
8236         * sunrpc/getrpcent.c: ... here.
8237         * inet/getrpcent_r.c: Moved ...
8238         * sunrpc/getrpcent_r.c: ... here.
8239         * inet/Makefile (routines): Move those to ...
8240         * sunrpc/Makefile (routines): ... here.
8241         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8242         the $(subdirs) list.
8243         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8244         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8245         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8246         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8248         * elf/Makefile (routines): Include $(all-dl-routines), not just
8249         $(dl-routines).
8250         (rtld-routines): Likewise.  Use = rather than :=.
8251         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8252         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8253         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8254         * sysdeps/arm/Makefile: Likewise.
8255         * sysdeps/i386/Makefile: Likewise.
8256         * sysdeps/x86_64/Makefile: Likewise.
8257         * sysdeps/hppa/Makefile [$(subdir) = elf]
8258         (sysdep_routines, sysdep-rtld-routines): Don't add
8259         $(sysdep-dl-routines) to these.
8260         * sysdeps/ia64/Makefile: Likewise.
8261         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8262         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8263         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8264         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8265         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8266         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8267         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8268         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8269         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8270         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8271         these; sysdep-dl-routines alone is enough.
8273 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8275         [BZ #17932]
8276         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8277         where multiplication results in zero and third argument is finite
8278         and nonzero.
8279         * math/auto-libm-test-in: Add more tests of fma.
8280         * math/auto-libm-test-out: Regenerated.
8282         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8283         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8284         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8285         (_FP_CMP_EQ): Likewise.
8286         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8288         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8289         extra argument CHECK_NAN.  Redefine as wrapper around
8290         _FP_EXTEND_CNAN.
8292 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8294         * version.h (RELEASE): Set to "stable".
8295         (VERSION): Set to "2.21"
8296         * include/features.h (__GLIBC_MINOR__): Set to 21.
8298         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8300 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8301             Paul Eggert  <eggert@cs.ucla.edu>
8303         [BZ #16618]
8304         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8306         size in bytes. Store needed elements in wpmax. Use needed size
8307         in bytes for extend_alloca.
8309 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8311         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8312         binutls 2.25, and texinfo 5.2.
8313         * INSTALL: Regenerate.
8314         * sysdeps/nios2/configure: Regenerate.
8315         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8316         * manual/contrib.texi: Update.
8317         * po/be.po: Update.
8318         * po/bg.po: Update.
8319         * po/ca.po: Update.
8320         * po/cs.po: Update.
8321         * po/da.po: Update.
8322         * po/de.po: Update.
8323         * po/el.po: Update.
8324         * po/eo.po: Update.
8325         * po/es.po: Update.
8326         * po/fi.po: Update.
8327         * po/fr.po: Update.
8328         * po/gl.po: Update.
8329         * po/hr.po: Update.
8330         * po/hu.po: Update.
8331         * po/ia.po: Update.
8332         * po/id.po: Update.
8333         * po/it.po: Update.
8334         * po/ja.po: Update.
8335         * po/ko.po: Update.
8336         * po/lt.po: Update.
8337         * po/nb.po: Update.
8338         * po/nl.po: Update.
8339         * po/pl.po: Update.
8340         * po/pt_BR.po: Update.
8341         * po/ru.po: Update.
8342         * po/rw.po: Update.
8343         * po/sk.po: Update.
8344         * po/sl.po: Update.
8345         * po/sv.po: Update.
8346         * po/tr.po: Update.
8347         * po/uk.po: Update.
8348         * po/vi.po: Update.
8349         * po/zh_CN.po: Update.
8350         * po/zh_TW.po: Update.
8352         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8353         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8354         * sysdeps/hppa/dl-irel.h: Remove #warning.
8355         * sysdeps/hppa/entry.h: Provide prototype for
8356         __canonicalize_funcptr_for_compare and cast argument.
8357         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8358         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8359         * sysdeps/hppa/sotruss-lib.c: New file.
8360         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8361         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8362         (atomic_compare_and_exchange_bool_acq): Likewise.
8363         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8364         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8366         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8367         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8368         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8370 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8372         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8373         called function in non-PIC case.
8375 2015-01-31  David S. Miller  <davem@davemloft.net>
8377         * sysdeps/sparc/sparc32/bits/atomic.h
8378         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8379         unlock not after it.
8380         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8381         volatile register usage warnings from the compiler.
8383         * sysdeps/sparc/nptl/sem_init.c: Delete.
8384         * sysdeps/sparc/nptl/sem_post.c: Delete.
8385         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8386         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8387         * sysdeps/sparc/sparc32/sem_init.c: New file.
8388         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8389         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8390         padding explicitly initialized.
8391         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8392         padding for in-semaphore spinlock.
8393         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8394         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8395         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8396         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8397         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8398         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8399         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8400         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8401         version.
8402         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8403         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8405 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8407         [BZ #17801]
8408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8409         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8410         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8411         New.
8412         (index_AVX_Fast_Unaligned_Load): Likewise.
8413         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8414         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8415         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8416         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8417         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8418         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8419         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8420         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8421         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8423 2015-01-29  Andreas Schwab  <schwab@suse.de>
8425         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8427 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8429         [BZ #17892]
8430         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8432 2015-01-28  Martin Sebor  <msebor@redhat.com>
8434         * math/README.libm-test: Clarify. Add "How to read the test output."
8436 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8438         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8439         Define to 0.
8441 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8443         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8444         (__HAVE_64B_ATOMICS): Define to 0.
8446 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8448         [BZ #17885]
8449         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8450         value to set as new flag.
8452         [BZ #16576]
8453         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8454         and use _ARCH_PPCSQ instead.
8455         (__ieee754_sqrt): Likewise.
8456         (__ieee754_sqrtf): Likewise.
8457         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8458         _ARCH_PPCSQ is defined.
8459         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8460         fsqrt instruction.
8461         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8462         _ARCH_PPCSQ is defined.
8463         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8464         fsqrts instruction.
8465         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8467 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8469         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8470         bug (GCC BZ #64739).
8472 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8474         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8475         Mark _retval as used.
8476         (lll_futex_wake_unlock): Likewise.
8477         (lll_futex_timed_wait_requeue_pi): Likewise.
8479         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8480         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8481         register variables.
8483         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8484         libm_hidden_def.
8486         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8487         (__bswap_64): Mark as __always_inline.
8489 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8491         [BZ #15378]
8492         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8493         when none of the search directories exist.
8495 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8497         [BZ #17869]
8498         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8499         power8 in .machine directive.
8501         [BZ #17868]
8502         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8503         set dependency from opd value.
8505 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8508         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8509         architecture.
8511 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8513         [BZ #17870]
8514         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8515         with uint64_t.
8516         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8517         (uint64_t) 1.
8518         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8519         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8520         Replace 1UL with (uint64_t) 1.
8521         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8522         int with uint64_t.
8524 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8526         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8527         (if_freenameindex): Likewise.
8529         * resource/getrlimit64.c: Add missing libc_hidden_def.
8531 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8533         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8534         __label__.
8535         (_FP_FMA): Likewise.
8536         (_FP_TO_INT_ROUND): Likewise.
8537         (_FP_FROM_INT): Likewise.
8539 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8541         [BZ #16418]
8542         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8543         Make code racy and cancel safe.
8545 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8547         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8548         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8549         attribution.
8551         * pwd/tst-getpw.c: Rewrite.
8553         [BZ #17702]
8554         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8555         (modules-names): Add moddummy1 and moddummy2.
8556         ($(objpfx)tst-rec-dlopen): Define.
8557         * dlfcn/moddummy1.c: New file.
8558         * dlfcn/moddummy2.c: New file.
8559         * dlfcn/tst-rec-dlopen.c: New file.
8560         * elf/dl-cache.c (_dl_load_cache_lookup):
8561         Return char*. Copy result with alloca/strcpy/strdup.
8562         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8563         returns char*. Free cached. If not saving realname
8564         free cached.
8565         * elf/dl-open.c (dl_open_worker): Do not assert that
8566         _r_debug->r_state is RT_CONSISTENT.
8567         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8568         returns char*.
8570 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8571             Carlos O'Donell  <carlos@redhat.com>
8573         [BZ #12674]
8574         * nptl/sem_waitcommon.c: New file.
8575         * nptl/sem_wait.c: Include sem_waitcommon.c.
8576         (__sem_wait_cleanup, do_futex_wait): Remove.
8577         (__new_sem_wait): Adapt.
8578         (__new_sem_trywait): New function.
8579         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8580         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8581         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8582         (sem_timedwait): Adapt.
8583         * nptl/sem_post.c (__new_sem_post): Adapt.
8584         (futex_wake): New function.
8585         (__old_sem_post): Add release MO fence.
8586         * nptl/sem_open.c (sem_open): Adapt.
8587         * nptl/sem_init.c (__new_sem_init): Adapt.
8588         (futex_private_if_supported): New function.
8589         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8590         (__old_sem_getvalue): Add using previous code.
8591         * sysdeps/nptl/internaltypes.h: Adapt.
8592         * nptl/tst-sem13.c (do_test): Adapt.
8593         * nptl/tst-sem11.c (main): Adapt.
8594         * nptl/sem_trywait.c: Remove.
8595         * nptl/DESIGN-sem.txt: Remove.
8596         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8597         (gen-as-const-headers): Remove structsem.sym.
8598         * nptl/structsem.sym: Remove.
8599         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8600         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8601         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8602         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8603         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8604         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8605         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8606         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8607         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8608         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8609         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8610         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8611         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8612         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8613         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8614         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8615         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8616         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8617         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8618         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8619         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8620         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8622 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8624         * INSTALL: Regenerated.
8626         * po/libc.pot: Regenerated.
8628 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8629             Sandra Loosemore  <sandra@codesourcery.com>
8630             Andrew Jenner  <andrew@codesourcery.com>
8631             Joseph Myers  <joseph@codesourcery.com>
8632             Nathan Sidwell  <nathan@codesourcery.com>
8634         * NEWS: Mention new Nios II port.
8635         * sysdeps/nios2/Implies: New file.
8636         * sysdeps/nios2/Makefile: New file.
8637         * sysdeps/nios2/Subdirs: New file.
8638         * sysdeps/nios2/Versions: New file.
8639         * sysdeps/nios2/__longjmp.S: New file.
8640         * sysdeps/nios2/abort-instr.h: New file.
8641         * sysdeps/nios2/backtrace.c: New file.
8642         * sysdeps/nios2/bits/endian.h: New file.
8643         * sysdeps/nios2/bits/fenv.h: New file.
8644         * sysdeps/nios2/bits/link.h: New file.
8645         * sysdeps/nios2/bits/setjmp.h: New file.
8646         * sysdeps/nios2/bsd-_setjmp.S: New file.
8647         * sysdeps/nios2/bsd-setjmp.S: New file.
8648         * sysdeps/nios2/configure: New generated file.
8649         * sysdeps/nios2/configure.ac: New file.
8650         * sysdeps/nios2/crti.S: New file.
8651         * sysdeps/nios2/crtn.S: New file.
8652         * sysdeps/nios2/dl-init.c: New file.
8653         * sysdeps/nios2/dl-machine.h: New file.
8654         * sysdeps/nios2/dl-sysdep.h: New file.
8655         * sysdeps/nios2/dl-tls.h: New file.
8656         * sysdeps/nios2/dl-trampoline.S: New file.
8657         * sysdeps/nios2/gccframe.h: New file.
8658         * sysdeps/nios2/gmp-mparam.h: New file.
8659         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8660         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8661         * sysdeps/nios2/ldsodefs.h: New file.
8662         * sysdeps/nios2/libc-tls.c: New file.
8663         * sysdeps/nios2/libm-test-ulps: New file.
8664         * sysdeps/nios2/machine-gmon.h: New file.
8665         * sysdeps/nios2/math-tests.h: New file.
8666         * sysdeps/nios2/math_private.h: New file.
8667         * sysdeps/nios2/memusage.h: New file.
8668         * sysdeps/nios2/nptl/Makefile: New file.
8669         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8670         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8671         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8672         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8673         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8674         * sysdeps/nios2/nptl/tls.h: New file.
8675         * sysdeps/nios2/preconfigure: New file.
8676         * sysdeps/nios2/s_fma.c: New file.
8677         * sysdeps/nios2/s_fmaf.c: New file.
8678         * sysdeps/nios2/setjmp.S: New file.
8679         * sysdeps/nios2/sfp-machine.h: New file.
8680         * sysdeps/nios2/sotruss-lib.c: New file.
8681         * sysdeps/nios2/stackguard-macros.h: New file.
8682         * sysdeps/nios2/stackinfo.h: New file.
8683         * sysdeps/nios2/start.S: New file.
8684         * sysdeps/nios2/sysdep.h: New file.
8685         * sysdeps/nios2/tls-macros.h: New file.
8686         * sysdeps/nios2/tst-audit.h: New file.
8687         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8688         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8689         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8690         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8691         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8692         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8693         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8694         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8695         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8696         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8697         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8698         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8699         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8700         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8701         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8702         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8703         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8704         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8705         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8706         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8707         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8708         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8709         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8710         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8711         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8712         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8713         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8714         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8715         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8716         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8717         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8718         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8719         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8720         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8721         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8722         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8723         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8724         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8725         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8726         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8727         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8728         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8729         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8730         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8732 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8734         [BZ #17844]
8735         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8736         (getutent): Use weak_alias in non SHARED case
8737         and default_symbol_version in SHARED case.
8738         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8739         (getutent_r, pututline): Likewise.
8740         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8741         (getutid): Likewise.
8742         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8743         (getutid_r): Likewise.
8744         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8745         (getutline): Likewise.
8746         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8747         (getutline_r): Likewise.
8748         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8749         (updwtmp): Likewise.
8751 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8753         [BZ #17848]
8754         * sysdeps/s390/s390-32/memcmp.S
8755         (memcmp_g5): Rename to __memcmp_g5.
8756         * sysdeps/s390/s390-32/memcpy.S
8757         (memcpy_g5): Rename to __memcpy_g5.
8758         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8759         (memcpy_mvcle) Rename to __memcpy_mvcle.
8760         * sysdeps/s390/s390-32/memset.S
8761         (memset_g5): Rename to __memset_g5.
8762         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8763         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8764         and use prefixed functions.
8765         * sysdeps/s390/s390-32/multiarch/memcmp.S
8766         (memcmp_z196): Rename to __memcmp_z196.
8767         (memcmp_z10): Rename to __memcmp_z10.
8768         (memcmp): Set alias to __memcmp_g5.
8769         (bcmp): Set alias to __memcmp_g5.
8770         * sysdeps/s390/s390-32/multiarch/memcpy.S
8771         (memcpy_z196): Rename to __memcpy_z196.
8772         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8773         (memcpy_z10): Rename to __memcpy_z10.
8774         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8775         (memcpy): Set alias to __memcpy_g5.
8776         * sysdeps/s390/s390-32/multiarch/memset.S
8777         (memset_z196): Rename to __memset_z196.
8778         Jump to __memset_mvcle instead of memset_mvcle.
8779         (memset_z10): Rename to __memset_z10.
8780         Jump to __memset_mvcle instead of memset_mvcle.
8781         (memset_mvcle) Rename to __memset_mvcle.
8782         (memset): Set alias to __memset_g5.
8783         * sysdeps/s390/s390-64/memcmp.S
8784         (memcmp_z900): Rename to __memcmp_z900.
8785         * sysdeps/s390/s390-64/memcpy.S
8786         (memcpy_z900): Rename to __memcpy_z900.
8787         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8788         (memcpy_mvcle) Rename to __memcpy_mvcle.
8789         * sysdeps/s390/s390-64/memset.S
8790         (memset_z900): Rename to __memset_z900.
8791         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8792         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8793         and use prefixed functions.
8794         * sysdeps/s390/s390-64/multiarch/memcmp.S
8795         (memcmp_z196): Rename to __memcmp_z196.
8796         (memcmp_z10): Rename to __memcmp_z10.
8797         (memcmp): Set alias to __memcmp_z900.
8798         (bcmp): Set alias to __memcmp_z900.
8799         * sysdeps/s390/s390-64/multiarch/memcpy.S
8800         (memcpy_z196): Rename to __memcpy_z196.
8801         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8802         (memcpy_z10): Rename to __memcpy_z10.
8803         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8804         (memcpy): Set alias to __memcpy_z900.
8805         * sysdeps/s390/s390-64/multiarch/memset.S
8806         (memset_z196): Rename to __memset_z196.
8807         Jump to __memset_mvcle instead of memset_mvcle.
8808         (memset_z10): Rename to __memset_z10.
8809         Jump to __memset_mvcle instead of memset_mvcle.
8810         (memset_mvcle) Rename to __memset_mvcle.
8811         (memset): Set alias to __memset_z900.
8813 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8815         [BZ #17748]
8816         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8817         __fesetenv instead of fesetenv.
8819 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8821         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8822         macro.
8824 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8826         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8827         regression on LE.
8829         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8830         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8831         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8832         strncmp-power8 object.
8833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8834         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8835         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8836         * NEWS: Update.
8838 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8839             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8841         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8842         trailing byte check.
8844 2015-01-13  David S. Miller  <davem@davemloft.net>
8846         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8848 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8850         * login/logout.c (logout): Use memset rather than bzero.
8851         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8852         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8853         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8854         (_gethtbyaddr): Likewise.
8855         * locale/programs/simple-hash.c (bcopy): Macro removed.
8857 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8859         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8860         Add strcmp-power8 object.
8861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8862         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8863         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8864         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8865         __strcmp_power8 implementation.
8866         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8867         * NEWS: Update.
8869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8870         Add strncpy-power8 and stpncpy-power8 objects.
8871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8872         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8873         implementations.
8874         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8875         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8876         __stpncpy_power8 implementation.
8877         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8878         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8879         __strncpy_power8 implementation.
8880         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8881         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8882         * NEWS: Update.
8884         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8885         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8886         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8888         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8889         strncat-power8 object.
8890         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8891         __strcat_power8 implementation.
8892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8893         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8894         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8895         optimized strcat for power8.
8897         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8898         strcpy-power8 and stpcpy-power8 objects.
8899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8900         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8901         implementations.
8902         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8903         multiarch stpcpy implementation for POWER8.
8904         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8905         multiarch strcpy implementation for POWER8.
8906         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8907         __strcpy_power8 function.
8908         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8909         stpcpy for POWER8.
8910         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8911         strcpy for POWER8.
8912         * NEWS: Update.
8914 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8916         [BZ #16009]
8917         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8918         weights and rules. Use do_xfrm_cached if data fits in cache,
8919         do_xfrm otherwise.  Moved former main loop to...
8920         * (do_xfrm_cached): New function.
8921         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8922         find_idx, find_position and stack_push.
8923         * (find_idx): New function.
8924         * (find_position): Likewise.
8925         * localedata/sort-test.sh: Added test run for do_xfrm.
8926         * localedata/xfrm-test.c (main): Added command line option
8927         -nocache to run the test with strings that are too large for
8928         the STRXFRM cache.
8930 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8932         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8933         variable to lll_futex_wake call, not the value itself.
8935 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8937         [BZ #17803]
8938         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8939         twom64.  Adjust value to 0x1p-64L.
8940         (__scalblnl): Only return standard underflowing result for K <=
8941         -64 not K <= -63; adjust exponent for underflowing result by 64
8942         not 63.
8943         * math/libm-test.inc (scalbn_test_data): Add more tests.
8944         (scalbln_test_data): Likewise.
8946         [BZ #17834]
8947         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8948         0x1p63L.
8949         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8950         not HX.
8951         * math/libm-test.inc (scalbn_test_data): Add more tests.
8952         (scalbln_test_data): Likewise.
8954 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8955             Stefani Seibold  <stefani@seibold.net>
8957         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8958         (sysdep_routines): Add dl-vdso here, ...
8959         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8960         (sysdep_routines): ... not here.
8961         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8962         fallback when vDSO is not presented.
8963         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8964         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8965         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8966         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8967         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8968         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8969         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8970         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8971         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8972         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8973         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8974         fallback configurable symbol when vDSO is not available.
8975         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8976         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8977         be able to redefine fallback symbol when vDSO is not available.
8978         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8979         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8981 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8983         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8984         (TLS_INIT_TP): Add tm_capable initialization.
8985         (TLS_DEFINE_INIT_TP): Likewise.
8986         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8987         TCB.
8988         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8989         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8990         calculation.
8991         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8992         transactoion is lock elision is built and TCB tm_capable is set.
8993         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8995         (INTERNAL_SYSCALL_NCS): Likewise.
8996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8997         (INTERNAL_SYSCALL_NCS): Likewise.
8998         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9000         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9001         for powerpc.
9002         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9003         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9004         and remove it for 32 bits case.
9005         [pthread_rwlock_t] (__rwelision): New field for lock elision.
9006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9007         initialization.
9008         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9009         Disable lock elision with rdlocks if elision is not available.
9011         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9012         (sysdep_routines): Add lock elision objects.
9013         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9014         [pthread_mutex_t] (__spins): Rework to add lock elision field.
9015         [pthread_mutex_t] (__elision): Add field.
9016         [__PTHREAD_SPINS]: Adjust to init lock elision field.
9017         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9018         elision definitions for powerpc.
9019         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9020         implementation of lock elision for powerpc.
9021         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9022         implementation of timed lock elision for powerpc.
9023         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9024         implementation of trylock with lock elision for powerpc.
9025         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9026         implementaion of unlock for lock elision for powerpc.
9027         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9028         automatic enable lock elision for mutexes.
9029         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9030         transaction execution definitions for powerpc.
9031         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9032         definitions.
9033         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9034         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9035         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9036         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9037         * NEWS: Update.
9039 2015-01-09  Roland McGrath  <roland@hack.frob.com>
9041         * sysdeps/posix/shm-directory.c: Use <> rather than ""
9042         for #include of <shm-directory.h>.
9044 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
9046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9047         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9049 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
9051         [BZ #17791]
9052         * NEWS: Mention bug fix.
9053         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9054         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9055         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9057 2015-01-09  Torvald Riegel <triegel@redhat.com>
9059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9061 2015-01-09  Torvald Riegel <triegel@redhat.com>
9063         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9065 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9067         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9068         pointer and cast to uintptr_t.
9070 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9072         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9073         removed.
9074         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9076 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9078         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9079         of 0.
9081 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9083         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9084         <nptl/pthreadP.h> instead.
9085         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9087         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9088         already defined.
9089         [__SIGRTMIN] (init): Function removed.
9090         [__SIGRTMIN] (initialized): Variable removed.
9091         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9092         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9093         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9094         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9095         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9096         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9097         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9098         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9099         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9100         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9101         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9102         * sysdeps/nptl/allocrtsig.c: New file.
9103         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9104         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9105         * sysdeps/generic/testrtsig.h: File removed.
9107         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9108         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9110         * nptl/nptl-init.c (pthread_functions): Conditionalize
9111         .ptr__nptl_setxid initialization on [SIGSETXID].
9113         * sysdeps/nptl/sys/procfs.h: New file.
9114         * nptl_db/Makefile (headers): Add it.
9115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9117         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9118         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9119         * nptl/pthread_attr_setaffinity.c: Include it.
9120         * nptl/pthread_setattr_default_np.c: Likewise.
9121         * nptl/check-cpuset.h: New file.
9123 2015-01-08  Richard Henderson  <rth@redhat.com>
9125         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9126         (CFLAGS-tst-execstack-prog.c): Likewise.
9127         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9129 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9130             Sandra Loosemore  <sandra@codesourcery.com>
9131             Andrew Jenner  <andrew@codesourcery.com>
9132             Joseph Myers  <joseph@codesourcery.com>
9133             Nathan Sidwell  <nathan@codesourcery.com>
9135         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9136         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9137         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9138         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9139         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9140         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9141         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9142         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9143         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9144         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9145         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9146         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9147         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9148         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9149         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9150         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9151         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9153 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9155         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9156         timespec struct member in syscall macro.
9157         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9158         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9159         first timeval struct member in syscall macro.
9160         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9162 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9164         [BZ #17748]
9165         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9166         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9167         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9168         __feupdateenv and define as weak alias of __feupdateenv.  Use
9169         libm_hidden_weak.
9170         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9171         libm_hidden_def.
9172         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9173         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9174         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9175         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9176         libm_hidden_def.
9177         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9178         __feupdateenv and define as weak alias of __feupdateenv.  Use
9179         libm_hidden_weak.
9180         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9181         libm_hidden_def.
9182         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9183         __feupdateenv and define as weak alias of __feupdateenv.  Use
9184         libm_hidden_weak.
9185         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9186         libm_hidden_def.
9187         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9188         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9189         (__feupdateenv): Likewise.
9190         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9191         __feupdateenv and define as weak alias of __feupdateenv.  Use
9192         libm_hidden_weak.
9193         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9194         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9195         libm_hidden_def.
9196         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9197         function.
9198         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9199         libm_hidden_def.
9200         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9201         __feupdateenv instead of feupdateenv.
9202         (default_libc_feupdateenv_test): Likewise.
9203         (libc_feresetround_ctx): Likewise.
9205 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9207         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9208         prototype.
9210 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9212         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9213         COLL_SYM in a couple of places to avoid uninitialized variable
9214         wanings on tilegx gcc 4.8.2.
9216 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9218         * sysdeps/aarch64/strcpy.S: New file.
9219         * sysdeps/aarch64/stpcpy.S: New file.
9220         * NEWS: Updated.
9222 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9224         * sysdeps/aarch64/strrchr.S: New file.
9225         * NEWS: Updated.
9227 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9229         [BZ #17658]
9230         * stdlib/setenv.c: Fix memory leak when setting large,
9231         duplicate string.
9233 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9235         [BZ #17273]
9236         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9237         and tabs from buffer before parsing fstab entry.
9238         * misc/tst-mntent.c (main): Add test for mount entry with
9239         trailing spaces and tabs.
9241 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #17748]
9244         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9245         * math/fesetround.c (fesetround): Rename to __fesetround and
9246         define as weak alias of __fesetround.  Use libm_hidden_weak.
9247         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9248         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9249         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9250         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9251         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9252         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9253         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9254         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9255         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9256         __fesetround_inline.
9257         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9258         __fesetround_inline instead of __fesetround.
9259         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9260         __fesetround and define as weak alias of __fesetround.  Use
9261         libm_hidden_weak.  Call __fesetround_inline instead of
9262         __fesetround.
9263         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9264         __fesetround and define as weak alias of __fesetround.  Use
9265         libm_hidden_weak.
9266         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9267         Likewise.
9268         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9269         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9270         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9271         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9272         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9273         __fesetround and define as weak alias of __fesetround.  Use
9274         libm_hidden_weak.
9275         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9276         __fesetround instead of fesetround.
9277         (default_libc_feholdexcept_setround): Likewise.
9278         (libc_feholdsetround_ctx): Likewise.
9279         (libc_feholdsetround_noex_ctx): Likewise.
9281         [BZ #17748]
9282         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9283         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9284         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9285         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9286         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9287         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9288         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9289         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9290         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9291         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9292         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9293         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9294         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9295         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9296         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9297         libm_hidden_def.
9298         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9299         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9300         Likewise.
9301         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9302         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9303         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9304         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9305         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9306         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9307         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9308         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9309         __fesetenv instead of fesetenv.
9310         (libc_feresetround_noex_ctx): Likewise.
9311         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9312         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9313         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9314         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9315         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9316         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9317         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9318         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9319         (__feupdateenv): Likewise.
9320         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9322         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9323         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9325 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9327         [BZ #17806]
9328         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9329         addresses have been freed.
9331 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9333         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9334         and nservall.
9336 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9338         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9339         Clean up check_pf allocation pattern. addresses
9341 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9343         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9344         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9345         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9346         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9347         * nptl/pthread_join.c (pthread_join): Likewise.
9348         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9349         * sysdeps/posix/waitid.c (__waitid): Likewise.
9350         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9351         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9352         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9353         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9355         Likewise.
9356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9357         (__libc_pread64): Likewise.
9358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9359         (__libc_pwrite): Likewise.
9360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9361         (__libc_pwrite64): Likewsie.
9362         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9363         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9364         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9365         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9366         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9367         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9368         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9370         Likewise.
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9372         (__libc_pread64): Likewise.
9373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9374         Likewise.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9376         (__libc_pwrite64): Likewise.
9377         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9378         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9379         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9380         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9381         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9382         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9383         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9384         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9385         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9386         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9387         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9388         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9389         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9390         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9391         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9392         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9393         Likewise.
9395 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9397         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9398         (CFLAGS-test-double.c): Likewise.
9399         (CFLAGS-test-ldouble.c): Likewise.
9400         (CPPFLAGS-test-ifloat.c): Likewise.
9401         (CPPFLAGS-test-idouble.c): Likewise.
9402         (CPPFLAGS-test-ildoubl.c): Likewise.
9403         (CFLAGS-test-test-fenv.c): Remove variable.
9404         (CFLAGS-test-misc.c): Likewise.
9406 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9408         [BZ #17797]
9409         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9410         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9411         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9412         CLOCKS_PER_SEC == 1000000.
9413         * time/clocktest.c (main): Replace %ld with %jd and cast to
9414         intmax_t.
9416 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9418         * sysdeps/generic/unwind-resume.h: New file.
9419         * sysdeps/gnu/unwind-resume.c: Include it.
9420         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9421         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9422         argument list.
9423         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9424         global rather than static.
9425         (_Unwind_Resume): Update user.
9426         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9427         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9428         rather than static.  Add __attribute__ ((cold)).
9429         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9430         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9431         * sysdeps/arm/arm-unwind-resume.S: New file.
9432         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9433         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9434         * sysdeps/arm/Makefile [$(subdir) = csu]
9435         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9436         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9437         Add rt-arm-unwind-resume.
9438         [$(subdir) = nptl]
9439         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9440         Add pt-arm-unwind-resume.
9441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9442         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9444 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #17748]
9447         * include/fenv.h (__feholdexcept): Declare.  Use
9448         libm_hidden_proto.
9449         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9450         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9451         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9452         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9453         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9454         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9455         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9456         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9457         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9458         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9459         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9460         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9461         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9462         (feholdexcept): Likewise.
9463         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9464         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9465         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9466         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9467         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9468         __feholdexcept instead of feholdexcept.
9469         (default_libc_feholdexcept_setround): Likewise.
9471 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9473         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9474         to avoid using stl/str to align destination.
9476 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9478         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9480 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9482         [BZ #17796]
9483         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9484         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9485         Define as weak alias not strong alias.
9487 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9489         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9490         bltzal with addiupc.
9491         (RTLD_START): Ditto.
9493 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9495         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9496         for __vdso_* functions in declarations.
9497         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9498         definitions.
9499         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9500         INTERNAL_VSYSCALL): Use struct return types to check for error.
9502         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9503         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9504         function with cast from llround().
9505         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9506         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9507         Define.
9509 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9511         [BZ #17793]
9512         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9513         Define as weak alias not strong alias.
9515         [BZ #17635]
9516         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9517         ...
9518         * ctype/ctype-extn.c: ... here.
9519         (__isblank_l): Move to ...
9520         * ctype/ctype-c99_l.c: ... here.  New file.
9521         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9522         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9523         Remove variable.
9524         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9525         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9526         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9527         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9528         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9530         [BZ #17777]
9531         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9532         (posix_fadvise64): Define as weak alias not strong alias.
9533         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9534         (posix_fallocate64): Likewise.
9535         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9536         Remove variable.
9537         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9538         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9539         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9540         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9541         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9543 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9545         [BZ #16191]
9546         * NEWS: Mention bug fix.
9547         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9548         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9549         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9550         (HOST_STACK_END_ADDR): Likewise.
9552 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9554         [BZ #17748]
9555         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9556         * math/fegetround.c (fegetround): Rename to __fegetround and
9557         define as weak alias of __fegetround.  Use libm_hidden_weak.
9558         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9559         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9560         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9561         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9562         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9563         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9564         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9565         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9566         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9567         Undefine after rather than before function definition; use
9568         parentheses around function name in definition.
9569         (__fegetround): Also undefine macro after function definition.
9570         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9571         __fegetround and define as weak alias of __fegetround.  Use
9572         libm_hidden_weak.  Do not undefine as macro.
9573         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9574         Likewise.
9575         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9576         __fegetround and define as weak alias of __fegetround.  Use
9577         libm_hidden_weak.
9578         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9579         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9580         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9581         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9582         __fegetround and define as weak alias of __fegetround.  Use
9583         libm_hidden_weak.
9584         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9585         __fegetround instead of fegetround.
9587         [BZ #17782]
9588         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9589         Condition macro definition on [__USE_MISC].
9591         [BZ #17781]
9592         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9593         (struct sigaction): Change type of sa_flags field to int.
9595         [BZ #17780]
9596         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9597         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9598         __glibc_reserved0.
9600         * nptl/version.c (banner): Use single year in copyright notice.
9602         * NEWS: Update copyright dates.
9603         * catgets/gencat.c (print_version): Likewise.
9604         * csu/version.c (banner): Likewise.
9605         * debug/catchsegv.sh: Likewise.
9606         * debug/pcprofiledump.c (print_version): Likewise.
9607         * debug/xtrace.sh (do_version): Likewise.
9608         * elf/ldconfig.c (print_version): Likewise.
9609         * elf/ldd.bash.in: Likewise.
9610         * elf/pldd.c (print_version): Likewise.
9611         * elf/sotruss.sh: Likewise.
9612         * elf/sprof.c (print_version): Likewise.
9613         * iconv/iconv_prog.c (print_version): Likewise.
9614         * iconv/iconvconfig.c (print_version): Likewise.
9615         * locale/programs/locale.c (print_version): Likewise.
9616         * locale/programs/localedef.c (print_version): Likewise.
9617         * login/programs/pt_chown.c (print_version): Likewise.
9618         * malloc/memusage.sh (do_version): Likewise.
9619         * malloc/memusagestat.c (print_version): Likewise.
9620         * malloc/mtrace.pl: Likewise.
9621         * manual/libc.texinfo: Likewise.
9622         * nptl/version.c (banner): Likewise.
9623         * nscd/nscd.c (print_version): Likewise.
9624         * nss/getent.c (print_version): Likewise.
9625         * nss/makedb.c (print_version): Likewise.
9626         * posix/getconf.c (main): Likewise.
9627         * scripts/test-installation.pl: Likewise.
9628         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9630 2015-01-02  Will Newton  <will.newton@linaro.org>
9632         * sysdeps/arm/armv7/configure: Removed.
9633         * sysdeps/arm/armv7/configure.ac: Likewise.
9635 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9637         * All files with FSF copyright notices: Update copyright dates
9638         using scripts/update-copyrights.
9639         * intl/plural.c: Regenerated.
9640         * locale/programs/charmap-kw.h: Likewise.
9641         * locale/programs/locfile-kw.h: Likewise.
9643 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9645         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9647 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9649         [BZ #17748]
9650         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9651         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9652         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9653         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9654         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9655         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9656         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9657         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9658         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9659         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9660         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9661         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9662         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9663         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9664         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9665         libm_hidden_def.
9666         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9667         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9668         Likewise.
9669         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9670         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9671         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9672         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9673         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9674         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9675         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9676         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9677         __fegetenv instead of fegetenv.
9678         (libc_feholdsetround_noex_ctx): Likewise.
9680 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9682         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9683         (Elf_MIPS_ABIFlags_v0): New structure.
9684         (EF_MIPS_FP64): Define.
9685         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9686         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9687         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9688         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9689         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9690         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9691         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9692         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9693         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9694         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9695         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9696         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9697         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9698         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9699         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9700         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9701         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9702         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9703         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9704         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9705         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9706         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9707         field.
9708         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9709         EF_MIPS_FP64.
9710         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9711         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9712         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9713         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9714         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9715         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9716         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9717         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9718         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9719         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9720         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9721         record the current FP ABI extension.
9722         (mips-mode-switch): Define to show if kernel headers support mode
9723         switching.
9724         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9725         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9726         supported SYSV ABI version to 3.
9727         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9728         feature.
9730 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9733         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9734         path.
9735         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9737 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9739         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9740         __fegetround and redefine to call __fegetround.  Remove condition
9741         on [!__NO_MATH_INLINES].
9742         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9743         function.
9744         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9745         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9746         Remove macro.
9747         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9748         instead of <fenv_libc.h>.
9749         (__llrintl): Call fegetround instead of __fegetround.
9750         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9751         instead of <fenv_libc.h>.
9752         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9753         (__lrintl): Call fegetround instead of __fegetround.
9754         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9755         instead of <fenv_libc.h>.
9756         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9757         (__rintl): Call fegetround instead of __fegetround.
9759 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9761         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9762         arrays.
9764 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9766         [BZ #17775]
9767         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9768         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9769         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9771 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9773         * sysdeps/i386/tls-macros.h: Include <features.h>.
9774         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9775         (TLS_IE): Likewise.
9776         (TLS_LD): Likewise.
9777         (TLS_GD): Likewise.
9778         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9779         define for GCC >= 5.0.
9781 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9783         * math/test-fenv.c (test_single_exception, set_single_exc,
9784         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9785         feexcp_mask_test, feenable_test, fe_single_test): Add
9786         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9787         case where they are not used.
9788         * math/libm-test.inc: Likewise.
9789         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9790         unused in the absence of FP rounding/exception support.
9791         * stdio-common/tst-printf-round.c: Likewise.
9792         * stdlib/tst-strtod-round.c: Likewise.
9793         * stdlib/tst-strtod-underflow.c: Likewise.
9795 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9797         [BZ #17723]
9798         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9799         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9800         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9801         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9802         libm_hidden_weak.
9803         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9804         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9805         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9806         libm_hidden_def.
9807         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9808         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9809         libm_hidden_weak.
9810         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9811         Likewise.
9812         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9813         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9814         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9815         libm_hidden_weak.
9816         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9817         libm_hidden_def.
9818         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9820         (__feraiseexcept): Likewise.
9821         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9822         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9823         libm_hidden_weak.
9824         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9825         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9826         libm_hidden_def.
9827         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9828         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9829         Use libm_hidden_def.
9830         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9831         libm_hidden_def.
9832         (feraiseexcept): Define as weak not strong alias.  Use
9833         libm_hidden_weak.
9834         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9835         New inline function.  Factored out of ...
9836         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9837         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9838         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9839         feraiseexcept.
9840         * math/w_acos.c (__acos): Likewise.
9841         * math/w_asin.c (__asin): Likewise.
9842         * math/w_ilogb.c (__ilogb): Likewise.
9843         * math/w_j0.c (y0): Likewise.
9844         * math/w_j1.c (y1): Likewise.
9845         * math/w_jn.c (yn): Likewise.
9846         * math/w_log.c (__log): Likewise.
9847         * math/w_log10.c (__log10): Likewise.
9848         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9849         * sysdeps/aarch64/fpu/math_private.h
9850         (libc_feupdateenv_test_aarch64): Likewise.
9851         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9852         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9853         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9854         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9855         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9856         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9857         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9858         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9859         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9860         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9862 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9864         [BZ #17732]
9865         * io/test-utime.c (main): Replace %ld with %jd and cast to
9866         intmax_t.
9867         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9868         * nptl/tst-mutex5.c: Include <stdint.h>.
9869         (do_test): Replace %ld with %jd and cast to intmax_t.
9870         * posix/tst-regex.c (run_test): Likewise.
9871         (run_test_backwards): Likewise.
9872         * rt/tst-clock.c: Include <stdint.h>.
9873         (clock_test): Replace %ld with %jd and cast to intmax_t.
9874         * rt/tst-cpuclock1.c: Include <stdint.h>.
9875         (do_test): Replace %lu with %ju and cast to uintmax_t.
9876         * rt/tst-cpuclock2.c: Include <stdint.h>.
9877         (do_test): Replace %lu with %ju and cast to uintmax_t.
9878         * rt/tst-mqueue1.c: Include <stdint.h>.
9879         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9880         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9881         intmax_t.
9882         * rt/tst-mqueue4.c (do_test): Likewise.
9883         * rt/tst-timer4.c: Include <stdint.h>.
9884         (check_ts): Replace %ld with %jd and cast to intmax_t.
9885         (do_test): Likewise.
9886         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9887         and cast to intmax_t.
9888         * sysdeps/pthread/tst-timer.c (main): Likewise.
9889         * time/clocktest.c (main): Likewise.
9890         * time/tst-posixtz.c (do_test): Likewise.
9891         * timezone/tst-timezone.c (main): Likewise.
9893 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9894             H.J. Lu  <hongjiu.lu@intel.com>
9896         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9897         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9898         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9899         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9900         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9901         version if bit_Fast_Unaligned_Load is set.
9902         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9903         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9904         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9905         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9906         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9907         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9908         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9909         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9910         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9911         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9912         to 4.
9913         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9914         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9915         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9916         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9918 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9920         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9921         instead of #if to avoid a Wundef warning.
9922         * stdlib/tst-limits.c (do_test): Likewise.
9924         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9925         parallel other exception macros.
9926         (fegetenv): Convert from macro to extern inline so that it applies
9927         retroactively to inline functions already seen by the compiler.
9928         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9930         * posix/Makefile (before-compile): Use $(objpfx) for
9931         posix-conf-vars-def.h.
9933 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9935         * posix/getconf.c (main): Use size_t for type of I.
9936         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9937         NSPEC.
9939         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9940         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9941         * posix/posix-envs.def: Likewise.
9942         * sysdeps/posix/sysconf.c: Likewise.
9943         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9944         (specs): Remove array.
9945         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9946         array.
9948         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9949         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9950         (__sysconf): Use CONF_IS_* macros.
9952         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9953         ($(objpfx)posix-conf-vars-def.h): New target.
9954         * posix/posix-conf-vars.list: New file.
9955         * posix/posix-conf-vars.h: New file.
9956         * posix/confstr.c: Include posix-conf-vars.h.
9957         (confstr): Use CONF_IS_* macros.
9958         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9959         CONF_IS_* macros.
9960         * scripts/gen-posix-conf-vars.awk: New file.
9962 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9964         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9965         fegetround): Add no-op macros to avoid linknamespace issues.
9967         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9968         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9970         * sysdeps/unix/sysv/linux/tile/sysdep.h
9971         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9972         assembly-specific section to avoid a redefinition warning.
9974         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9975         long before casting to pointer to avoid a cast warning.
9977 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9979         * sysdeps/tile/tilegx/Implies: New file.
9981 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9983         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9985 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9987         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9989 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9991         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9992         not define.
9993         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9994         <kernel-features.h>.
9995         (__utimes) [__NR_utimes]: Make code unconditional.
9996         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9997         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9998         (__ASSUME_UTIMES): Do not undefine.
9999         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10000         (__ASSUME_UTIMES): Likewise.
10001         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10002         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10003         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10004         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10006 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10008         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10010 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
10012         [BZ #17747]
10013         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10014         alias to weak alias for j0l, y0l.
10015         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10016         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10018         [BZ #17746]
10019         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10020         conversion.
10022 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10024         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10025         to zero if not already defined.
10027 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10029         [BZ #17724]
10030         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10031         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
10032         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
10033         (char *) casts added.
10034         * sysdeps/ieee754/k_standardf.c: New file.
10035         * sysdeps/ieee754/k_standardl.c: Likewise.
10036         * math/Makefile (libm-support): Remove k_standard.
10037         (libm-calls): Add k_standard.
10039 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10041         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10042         Optimize to avoid an unnecessary FPCR read.
10044 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10047         Optimize to reduce FPCR/FPSR accesses.
10049 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10051         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10052         Call libc_fetestexcept_aarch64.
10054 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10056         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10057         Call libc_fesetround_aarch64.
10059 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10061         [BZ #17733]
10062         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10063         (__bind): Do not define as weak alias.
10064         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10065         define.
10066         (__getsockname): Do not define as weak alias.
10068 2014-12-22  Will Newton  <will.newton@linaro.org>
10070         * manual/install.texi: Document that we require bison 2.7
10071         or above.
10072         * INSTALL: Regenerate.
10073         * configure.ac: Use AC_CHECK_PROG_VER instead of
10074         AC_PATH_PROG when checking for bison and check for
10075         version 2.7 or above.
10076         * configure: Regenerate.
10078 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10080         [BZ #17745]
10081         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10082         * sysdeps/tile/ffsll.c (ffsll): To here.
10084         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10086 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10088         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10089         if not defined.
10090         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10091         definition.
10092         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10093         hidden ___tls_get_addr.
10094         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10095         hidden __tls_get_addr.
10096         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10097         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10098         Likewise.
10100 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10102         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10103         _dl_init call.
10105 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10107         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10108         from "call _dl_init@PLT".
10109         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10111 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10113         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10114         guarantees.
10116 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10118         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10120 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10122         [BZ #17744]
10123         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10124         strnlen.
10126 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10128         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10129         of multu on MIPSr6.
10130         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10131         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10132         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10133         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10134         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10136 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10138         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10139         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10140         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10141         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10142         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10143         mips32r6/mips64r6.
10144         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10146 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10148         * string/strncat.c (STRNCAT): Simplify implementation.
10150 2014-12-19  David S. Miller  <davem@davemloft.net>
10152         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10153         access the quad as both a long double and as a series of 4 words.
10155         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10156         link_map->l_info array access.
10158 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10160         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10162         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10163         * math/atest-exp2.c (TIMEOUT): Likewise.
10164         * math/atest-sincos.c (TIMEOUT): Likewise.
10166 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10168         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10169         -Wno-error with -fno-builtin-lround.
10171 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10173         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10174         Contains futex constants and functions moved over from ...
10175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10176         <lowlevellock-futex.h>.
10177         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10178         (lll_timedwait_tid): Add comments and parentheses around macro
10179         arguments.
10181 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10183         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10184         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10185         (__lll_private_flag): Remove.
10186         (lll_futex_wait): Likewise.
10187         (lll_futex_timed_wait): Likewise.
10188         (lll_futex_wake): Likewise.
10189         (lll_futex_requeue): Likewise.
10190         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10191         (__lll_timedwait_tid): Spell out argument names.
10192         (lll_timedwait_tid): Add comments and parentheses around macro
10193         arguments.
10194         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10195         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10197 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10199         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10200         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10202         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10203         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10204         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10205         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10206         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10207         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10208         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10210         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10213         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10214         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10215         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10216         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10217         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10219 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10221         * sysdeps/x86_64/x32/Makefile: New file.
10223 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10225         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10226         1L with (mp_limb_t) 1.
10228 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10230         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10231         * nptl/libc_pthread_init.c: ... here.
10232         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10233         * nptl/register-atfork.c: ... here.
10235         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10236         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10237         Use assert_perror to check its return value.
10238         (__gai_create_helper_thread): Likewise.
10240         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10242         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10244 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10246         [BZ #17725]
10247         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10248         __profil_counter.
10249         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10250         Likewise.
10251         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10252         Likewise.
10253         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10254         Likewise.
10255         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10256         (profil_counter): Likewise.
10257         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10258         (profil_counter): Likewise.
10259         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10260         Likewise.
10261         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10262         Likewise.
10263         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10264         (profil_counter): Likewise.
10265         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10266         Likewise.
10267         [!__profil_counter] (profil_counter): Define as weak alias of
10268         __profil_counter.
10269         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10270         (profil_counter): Rename to __profil_counter.
10271         [!__profil_counter] (profil_counter): Define as weak alias of
10272         __profil_counter.
10273         * sysdeps/unix/sysv/linux/sparc/sparc64/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/posix/profil.c: Update comment referring to
10278         profil_counter.
10279         (__profil): Use __profil_counter instead of profil_counter.
10280         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10281         __profil_counter.  Use __profil_counter_ushort and
10282         __profil_counter_uint in definitions.
10283         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10284         instead of profil_counter_uint and profil_counter_ushort.
10286         [BZ #17722]
10287         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10288         define as weak alias of __inet_makeaddr.
10289         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10290         as weak alias of __inet_addr.
10291         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10292         as weak alias of __inet_pton.  Use libc_hidden_weak.
10293         * include/arpa/inet.h (__inet_pton): Declare.  Use
10294         libc_hidden_proto.
10295         (inet_makeaddr): Don't use libc_hidden_proto.
10296         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10297         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10298         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10299         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10300         Remove variable.
10301         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10302         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10304 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10306         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10308 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10310         * stdio-common/bug-vfprintf-nargs.c (do_test):
10311         Cast value to intptr_t to avoid format warning
10312         for usage with PRIdPTR printing macro.
10314 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10316         * libio/tst-widetext.c (do_test):
10317         Use format type %td instead of %Zd for ptrdiff_t
10318         in order to avoid format warning.
10320 2014-12-17  Andreas Schwab  <schwab@suse.de>
10322         * nscd/mem.c (gc): Add size_t cast to match printf format.
10324 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10326         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10327         (init): Apply PTR_MANGLE to pointers before storing them.
10328         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10329         before using them.
10331 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10333         [BZ #17719]
10334         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10335         define as weak alias of __memrchr.
10336         (__memrchr): Do not define as strong alias of memrchr.
10337         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10338         Remove variable.
10339         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10340         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10341         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10343         [BZ #17717]
10344         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10345         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10346         (if_indextoname): Rename to __if_indextoname and define as weak
10347         alias of __if_indextoname.  Use libc_hidden_weak.
10348         (if_freenameindex): Rename to __if_freenameindex and define as
10349         weak alias of __if_freenameindex.
10350         (if_nameindex): Rename to __if_nameindex and define as weak alias
10351         of __if_nameindex.
10352         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10353         __if_nametoindex and define as weak alias of __if_nametoindex.
10354         Use libc_hidden_weak.
10355         (if_freenameindex): Rename to __if_freenameindex and define as
10356         weak alias of __if_freenameindex.
10357         (if_nameindex): Rename to __if_nameindex and define as weak alias
10358         of __if_nameindex.
10359         (if_indextoname): Rename to __if_indextoname and define as weak
10360         alias of __if_indextoname.  Use libc_hidden_weak.
10361         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10362         __if_nametoindex and define as weak alias of __if_nametoindex.
10363         Use libc_hidden_weak.
10364         (if_freenameindex): Rename to __if_freenameindex and define as
10365         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10366         (if_nameindex_netlink): Use __if_freenameindex instead of
10367         if_freenameindex.
10368         (if_nameindex): Rename to __if_nameindex and define as weak alias
10369         of __if_nameindex.  Use libc_hidden_weak.
10370         (if_indextoname): Rename to __if_indextoname and define as weak
10371         alias of __if_indextoname.  Use libc_hidden_weak.
10372         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10373         libc_hidden_proto.
10374         [!_ISOMAC] (__if_freenameindex): Likewise.
10375         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10376         if_nametoindex.
10377         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10378         variable.
10379         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10380         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10381         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10382         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10383         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10384         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10385         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10387         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10388         Remove variable.
10389         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10390         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10392 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10394         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10395         subscript above bounds'
10397         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10398         bounds.
10400 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10402         * libio/tst-fopenloc.c: Use test-skeleton.c.
10404         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10405         (entry): Rename to ITEM.
10406         (do_test, comp): Adjust.
10408         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10410 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10412         * string/tester.c: Include <libc-internal.h>.
10413         (test_memset): Ignore -Wmemset-transposed-args.
10415 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10417         * misc/tst-mntent2.c (do_test): Fix warning.
10419 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10421         * elf/tst-unique4lib.cc(a): Mark as used.
10423 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10425         [BZ #17630]
10426         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10427         names.
10429 2014-12-16  Allan McRae  <allan@archlinux.org>
10431         * stdio-common/Makefile (tests): Re-add bug26.
10433 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10435         [BZ #17657]
10436         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10437         static array.
10439 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10441         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10442         (__lll_lock_wait): Likewise.
10443         (__lll_timedlock_wait): Likewise.
10444         (__lll_timedwait_tid): Likewise.
10445         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10446         (__lll_robust_timedlock_wait): Likewise.
10447         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10448         (lll_cond_trylock): Likewise.
10449         (__lll_lock): Likewise.
10450         (__lll_robust_lock): Likewise.
10451         (__lll_cond_lock): Likewise.
10452         (lll_robust_cond_lock): Likewise.
10453         (__lll_timedlock): Likewise.
10454         (__lll_robust_timedlock): Likewise.
10455         (__lll_unlock): Likewise.
10456         (__lll_robust_unlock): Likewise.
10457         (lll_wait_tid): Likewise.
10458         (lll_timedwait_tid): Likewise.
10460 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10462         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10464 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10466         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10468 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10470         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10471         * stdio-common/tst-sprintf.c: Likewise.
10473 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10475         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10477 2014-12-15  Jeff Law  <law@redhat.com>
10479         [BZ #16617]
10480         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10481         on the heap.  (CVE-2012-3406)
10482         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10483         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10484         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10486 2014-12-15  Will Newton  <will.newton@linaro.org>
10488         * manual/install.texi: Bump required version of texinfo
10489         to 4.7 from 4.5.
10490         * INSTALL: Regenerated.
10491         * configure.ac: Check for makeinfo version 4.7 and above.
10492         * configure: Regenerated.
10494 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10496         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10497         PREFIX, string constant to insert between directory and name.
10498         * sysdeps/posix/shm_open.c: Update caller.
10499         * sysdeps/posix/shm_unlink.c: Likewise.
10500         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10501         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10502         (SEM_SHM_PREFIX): New macro.
10503         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10504         [$(have-thread-library) = no].
10505         * nptl/Makefile (libpthread-routines): Add shm-directory.
10506         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10507         * sysdeps/nptl/shm-directory.h: New file.
10508         * sysdeps/posix/shm-directory.c
10509         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10510         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10511         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10512         INTERNAL_SYSCALL.
10513         (__where_is_shmfs): Function removed.
10514         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10515         Variables removed.
10516         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10517         Use SHM_GET_NAME.
10518         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10520         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10521         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10522         unconditional for use inside libpthread.
10523         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10525 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10527         * nptl/pthread_getaffinity.c: New file.
10528         * nptl/pthread_setaffinity.c: New file.
10529         * nptl/pthread_getname.c: New file.
10530         * nptl/pthread_setname.c: New file.
10532         * nptl/pthread_create.c (START_THREAD_DEFN)
10533         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10535 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10536             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10538         * resolv/res_send.c (send_vc): Disable warning resplen may
10539         be used uninitialized.
10541 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10543         * nptl/tst-mutex6.c
10544         (ATTR_NULL): New define checks ATTR against NULL.
10545         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10546         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10548 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10550         [BZ #17581]
10551         * malloc/hooks.c
10552         (mem2mem_check): Revert my previous change.
10553         (malloc_check_get_size): Revert my previous change.
10554         (mem2chunk_check): Revert my previous change.
10556 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10558         * sysdeps/posix/shm-directory.c: New file.
10559         * sysdeps/posix/shm-directory.h: New file.
10560         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10561         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10562         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10563         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10564         Transmute EPERM to EACCES.
10565         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10566         from ...
10567         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10568         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10570 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10572         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10573         pointer and cast to uintptr_t.
10574         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10575         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10576         Add cast to avoid warning.
10577         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10579 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10581         * nptl/semaphore.h: Move to ...
10582         * sysdeps/pthread/semaphore.h: ... here.
10583         * Makefile (installed-headers): Change nptl/semaphore.h to
10584         sysdeps/pthread/semaphore.h.
10586 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10588         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10589         generated error format strings.
10591         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10592         -Wformat-extra-args warnings for scanf formats.
10593         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10594         test of zero-length format (duh).
10595         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10596         corner-case scanf format test.
10597         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10598         generated fprintf format string.
10599         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10600         corner-case sprintf format tests.
10601         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10602         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10603         -Wformat-extra-args warnings throughout.
10604         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10605         (CFLAGS-scanf4.c): Likewise.
10606         (CFLAGS-scanf7.c): Likewise.
10607         (CFLAGS-tst-sprintf.c): Likewise.
10608         (CFLAGS-tst-printf.c): Likewise.
10609         (CFLAGS-tst-printfsz.c): Likewise.
10611 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10613         * include/cpio.h: New file.
10614         * include/fmtmsg.h: Likewise.
10616         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10617         corresponding format argument to size_t.
10618         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10619         arguments.
10620         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10621         corresponding format argument to size_t.
10622         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10623         arguments.
10624         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10625         corresponding format argument to size_t.
10626         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10627         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10628         (CFLAGS-tst-mbswcs2.c): Likewise.
10629         (CFLAGS-tst-mbswcs3.c): Likewise.
10630         (CFLAGS-tst-mbswcs4.c): Likewise.
10631         (CFLAGS-tst-mbswcs5.c): Likewise.
10632         (CFLAGS-tst-trans.c): Likewise
10634 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10636         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10637         rather than assuming they won't contain any '%'s.
10639 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10641         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10642         inhibit_loop_to_libcall to avoid recursive calls.
10643         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10644         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10646 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10648         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10649         prototype.
10651 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10653         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10654         integer value instead of boolean.
10656 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10658         * malloc/malloc.c: Fix powerof2 check.
10660 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10662         * locale/programs/locfile.h (maybe_swap_uint32):
10663         Remove inline and add unused attribute.
10665 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10668         Truncating assembler expression to a .long expression.
10670 2014-12-11  Andreas Schwab  <schwab@suse.de>
10672         * elf/rtld.c (struct map_args): Constify str member.
10673         (do_preload): Constify fname argument.
10675 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10678         constants definition.
10680 2014-12-11  Andreas Schwab  <schwab@suse.de>
10682         [BZ #16657]
10683         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10684         FORCE_ELISION instead of DO_ELISION.
10685         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10686         Remove.
10687         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10688         Likewise.
10690         * iconvdata/gconv-modules: Remove duplicate entry.
10692 2014-12-11  Will Newton  <will.newton@linaro.org>
10694         Merge gettext 0.19.3 into intl/.
10696         This involves a number of cosmetic changes to comments
10697         and ANSI function definitions and prototypes throughout
10698         all the files. The gettext copyright header is used but
10699         with the date ranges taken from the glibc copy.
10701         * NEWS: Add gettext merge to 2.21.
10702         * intl/bindtextdom.c: Switch to gettext copyright.
10703         Use ANSI definitions and prototypes.
10704         Use gl_* locking primitives rather than __libc_* ones.
10705         Use __builtin_expect rather than __glibc_likely/unlikely.
10706         * intl/dcgettext.c: Switch to gettext copyright.
10707         Use ANSI definitions and prototypes.
10708         * intl/dcigettext.c: Switch to gettext copyright.
10709         Use ANSI definitions and prototypes.
10710         (INTDIV0_RAISES_SIGFPE): New define.
10711         Use gl_* locking primitives rather than __libc_* ones.
10712         Include eval-plural.h instead of plural-eval.c.
10713         Use __builtin_expect rather than __glibc_likely/unlikely.
10714         * intl/dcngettext.c: Switch to gettext copyright.
10715         Use ANSI definitions and prototypes.
10716         * intl/dgettext.c: Likewise.
10717         * intl/dngettext.c: Likewise.
10718         * intl/plural-eval.c: Renamed to...
10719         * intl/eval-plural.h: ...this.
10720         * intl/explodename.c: Switch to gettext copyright.
10721         Use ANSI definitions and prototypes.
10722         (_nl_explode_name): Use strchr instead of __rawmemchr.
10723         * intl/finddomain.c: Switch to gettext copyright.
10724         Use ANSI definitions and prototypes.
10725         Use gl_* locking primitives rather than __libc_* ones.
10726         (_nl_find_domain): Use malloc rather than alloca for
10727         allocation of temporary locale name.
10728         * intl/gettext.c: Switch to gettext copyright.
10729         Use ANSI definitions and prototypes.
10730         * intl/gettextP.h: Switch to gettext copyright.
10731         Use ANSI definitions and prototypes.
10732         Use gl_* locking primitives rather than __libc_* ones.
10733         * intl/gmo.h: Switch to gettext copyright.
10734         (struct sysdep_string): Move struct segment_pair outside of
10735         struct definition.
10736         * intl/hash-string.c: Use ANSI definitions and prototypes.
10737         * intl/hash-string.h: Switch to gettext copyright.
10738         Use ANSI definitions and prototypes.
10739         * intl/l10nflist.c: Switch to gettext copyright.
10740         Use ANSI definitions and prototypes.
10741         (_nl_normalize_codeset): Avoid integer overflow.
10742         * intl/loadinfo.h: Switch to gettext copyright.
10743         Use ANSI definitions and prototypes.
10744         (LIBINTL_DLL_EXPORTED): New define.
10745         (PATH_SEPARATOR): New define.
10746         * intl/loadmsgcat.c: Switch to gettext copyright.
10747         * intl/localealias.c: Switch to gettext copyright.
10748         Use ANSI definitions and prototypes.
10749         (_nl_expand_alias): Use PATH_SEPARATOR.
10750         * intl/ngettext.c: Switch to gettext copyright.
10751         Use ANSI definitions and prototypes.
10752         * intl/plural-exp.c: Likewise.
10753         * intl/plural-exp.h: Switch to gettext copyright.
10754         Use ANSI definitions and prototypes.
10755         (struct expression): Move definition of enum operator outside
10756         of struct definition.
10757         * intl/plural.c: Regenerate.
10758         * intl/plural.y: Switch to gettext copyright.
10759         Use ANSI definitions and prototypes.
10760         Port to bison 3.0.
10761         * intl/textdomain.c: Switch to gettext copyright.
10762         Use ANSI definitions and prototypes.
10763         Use gl_* locking primitives rather than __libc_* ones.
10765 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10767         * debug/warning-nop.c: Add used atrribute.
10769 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10771         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10773         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10774         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10775         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10777 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10778             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10780         [BZ #17634]
10781         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10782         Undefine after defining function.  Define as weak alias of
10783         __wcschr.  Use libc_hidden_weak.
10784         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10785         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10786         (libc_hidden_def): Also define __GI___wcschr alias.
10787         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10788         __wcschr and define as weak alias of __wcschr.
10789         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10790         __wcschr.
10791         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10792         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10793         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10794         libc_hidden_weak.  Do not use libc_hidden_def.
10795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10796         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10797         __GI___wcschr alias.
10798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10799         [IS_IN (libc)] (wcschr): Define as macro expanding to
10800         __redirect_wcschr.
10801         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10802         [IS_IN (libc)] (__wcschr_power6): Likewise.
10803         [IS_IN (libc)] (__wcschr_power7): Likewise.
10804         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10805         instead of wcschr.
10806         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10807         __libc_wcschr.
10808         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10809         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10810         __wcschr and define as weak alias of __wcschr.  Use
10811         libc_hidden_builtin_def.
10812         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10813         as weak alias of __wcschr.  Use libc_hidden_weak.
10814         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10815         wcschr.
10816         * time/era.c (_nl_init_era_entries): Likewise.
10817         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10818         variable.
10819         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10820         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10822 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10824         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10825         format for long int variable.
10827 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10829         [BZ #10672]
10830         * manual/search.texi: (Array Sort Function): Remove claim how to make
10831         qsort stable.
10833 2014-12-10  Andreas Schwab  <schwab@suse.de>
10835         [BZ #12847]
10836         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10837         user-controlled locks.
10839 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10841         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10842         register.
10844 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10846         * configure.ac (--disable-werror): New configure option.
10847         (enable_werror): New AC_SUBST.
10848         * configure: Regenerated.
10849         * config.make.in (enable-werror): New variable.
10850         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10851         -Wno-error=undef.
10852         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10853         * manual/install.texi (Configuring and compiling): Document
10854         --disable-werror.
10855         * INSTALL: Regenerated.
10856         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10857         (CFLAGS-tst-chk2.c): Likewise.
10858         (CFLAGS-tst-chk3.c): Likewise.
10859         (CFLAGS-tst-chk4.cc): Likewise.
10860         (CFLAGS-tst-chk5.cc): Likewise.
10861         (CFLAGS-tst-chk6.cc): Likewise.
10862         (CFLAGS-tst-lfschk1.c): Likewise.
10863         (CFLAGS-tst-lfschk2.c): Likewise.
10864         (CFLAGS-tst-lfschk3.c): Likewise.
10865         (CFLAGS-tst-lfschk4.cc): Likewise.
10866         (CFLAGS-tst-lfschk5.cc): Likewise.
10867         (CFLAGS-tst-lfschk6.cc): Likewise.
10869         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10870         (main): Disable -Wdeprecated-declarations around calls to
10871         register_printf_function.
10873         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10874         (do_test): Disable -Wdiv-by-zero around some calls to
10875         fwrite_unlocked and fread_unlocked.
10877         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10878         (DIAG_POP_NEEDS_COMMENT): Likewise.
10879         (_DIAG_STR1): Likewise.
10880         (_DIAG_STR): Likewise.
10881         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10882         * stdio-common/bug21.c: Include <libc-internal.h>.
10883         (do_test): Disable -Wformat around call to sscanf.
10884         * stdio-common/scanf14.c: Include <libc-internal.h>.
10885         (main): Disable -Wformat around some calls to scanf functions.
10887 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10889         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10891 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10893         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10894         stack variable alignment.
10896 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10898         [BZ #17682]
10899         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10900         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10901         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10902         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10903         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10904         __getrlimit instead of getrlimit.
10905         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10906         __gettimeofday instead of gettimeofday.
10907         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10908         Likewise.
10909         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10910         Likewise.
10911         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10912         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10913         Remove variable.
10914         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10915         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10917 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10919         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10920         for wide-character tests.
10922 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10924         * io/openat64.c: #include <libc-internal.h>
10925         (__openat64): Prototypify.  Use ignore_value on MODE.
10926         * io/openat.c: Likewise.
10927         * misc/reboot.c: #include <libc-internal.h>
10928         (reboot): Prototypify.  Use ignore_value on HOWTO.
10929         * misc/ptrace.c: #include <libc-internal.h>
10930         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10932 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10934         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10935         XPG4, UNIX98 and XOPEN2K.
10936         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10937         Remove variable.
10938         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10940 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10942         * libio/fileops.c: Use ISO C style for function definitions.
10943         * libio/iofopen.c: Likewise.
10944         * libio/wfileops.c: Likewise.
10946         [BZ #17653]
10947         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10948         offset on EOF.
10949         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10950         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10951         (fgets_func): Function pointer to fgets and fgetws.
10952         (do_ftell_test): Add test to verify ftell value after read
10953         EOF.
10954         (do_test): Set fgets_func.
10956         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10957         O_TRUNC flag for w and w+ modes.
10958         (do_rewind_test): Likewise.
10959         (do_ftell_test): Likewise.
10960         (do_write_test): Likewise.
10962         [BZ #17647]
10963         * libio/fileops.c (do_ftell): Seek only when there are
10964         unflushed writes.
10965         * libio/wfileops.c (do_ftell_wide): Likewise.
10966         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10967         test case.
10968         (do_one_test): Call it.
10970 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10972         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10973         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10974         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10975         Remove variable.
10976         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10977         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10978         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10980 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10982         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10983         Remove variable.
10984         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10986         [BZ #17668]
10987         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10988         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10989         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10990         __freeifaddrs.  Use libc_hidden_weak.
10991         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10992         define 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/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10996         __getifaddrs and define as weak alias of __getifaddrs.  Use
10997         libc_hidden_weak.
10998         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10999         __freeifaddrs.  Use libc_hidden_weak.
11000         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11001         Remove variable.
11002         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11003         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11005 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11007         [BZ #17601]
11008         * sysdeps/mips/start.S (__start): Use indirect jump to call
11009         __libc_start_main.
11011 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11013         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11015         * nptl/tst-mutex1.c: Include <stdbool.h>.
11016         [!ATTR] (ATTR_NULL): New macro.
11017         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11018         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11019         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11021         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11022         to char *.
11024         [BZ #17665]
11025         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11026         Change conditional to [__USE_MISC].
11028         [BZ #17664]
11029         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11030         fgets_unlocked.
11031         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11032         __fgets_unlocked.
11033         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11034         fgets_unlocked.
11035         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11036         Remove variable.
11037         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11038         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11039         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11040         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11041         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11042         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11043         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11044         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11045         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11047         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11049 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11052         Remove strpbrk objects.
11053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11054         (__libc_ifunc_impl_list): Remove strpbrk implementation.
11055         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11056         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11057         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11058         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11061         Remove strcspn objects.
11062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11063         (__libc_ifunc_impl_list): Remove strcspn implementation.
11064         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11065         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11066         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11067         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11069         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11070         Remove strspn objetcs.
11071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11072         (__libc_ifunc_impl_list): Remove strspn implementation.
11073         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11074         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11075         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11076         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11078 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11080         [BZ #17581]
11081         * malloc/hooks.c
11082         (mem2mem_check): Add a terminator to the chain of checking blocks.
11083         (malloc_check_get_size): Use it here.
11084         (mem2chunk_check): Ditto.
11086 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11088         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11089         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11091 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11093         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11095         * nptl/nptl-init.c: Include libc-internal.h.
11096         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11098         * elf/ldconfig.c (search_dir): Expand comment.
11100 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11102         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11103         variable.
11104         (linknamespace-symlist-stdlibs-tests): Likewise.
11105         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11106         instead of $(objpfx)symlist-stdlibs.
11107         (linknamespace-libs-isoc): New variable.
11108         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11109         (linknamespace-libs-ISO): New variable.
11110         (linknamespace-libs-ISO99): Likewise.
11111         (linknamespace-libs-ISO11): Likewise.
11112         (linknamespace-libs-XPG3): Likewise.
11113         (linknamespace-libs-XPG4): Likewise.
11114         (linknamespace-libs-POSIX): Likewise.
11115         (linknamespace-libs-UNIX98): Likewise.
11116         (linknamespace-libs-XOPEN2K): Likewise.
11117         (linknamespace-libs-POSIX2008): Likewise.
11118         (linknamespace-libs-XOPEN2K8): Likewise.
11119         ($(objpfx)symlist-stdlibs): Replace by
11120         $(linknamespace-symlist-stdlibs-tests).  Use
11121         $(linknamespace-libs-$*) as set of libraries.
11122         ($(linknamespace-header-tests)): Update dependencies.  Use
11123         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11124         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11125         * conform/linknamespace.pl: Remove comment about considering
11126         definitions of symbols from irrelevant libraries.
11128 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11130         [BZ #13862]
11131         * elf/dl-tls.c: Include <atomic.h>.
11132         (oom): Remove #ifdef SHARED/#endif.
11133         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11134         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11135         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11136         big enough.
11137         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11138         * nptl/Makefile (tests): Add tst-stack4.
11139         (modules-names): Add tst-stack4mod.
11140         ($(objpfx)tst-stack4): New.
11141         (tst-stack4mod.sos): Likewise.
11142         ($(objpfx)tst-stack4.out): Likewise.
11143         ($(tst-stack4mod.sos)): Likewise.
11144         (clean): Likewise.
11145         * nptl/tst-stack4.c: New file.
11146         * nptl/tst-stack4mod.c: Likewise.
11148 2014-11-27  J. Brown  <jb999@gmx.de>
11150         * sysdeps/x86/bits/string.h: Add recent CPUs.
11152 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11154         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11155         sigblock.
11157         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11158         feof.
11160         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11161         variable.
11163 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11165         * nscd/connections.c: Include libc-internal.h because of macro
11166         usage ignore_value.
11168 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170         * string/bits/string3.h (__warn_memset_zero_len): Don't
11171         declare for gcc newer than 5.0.
11172         (memset): Don't test for zero-length __LEN for gcc newer than
11173         5.0.
11175 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11177         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11178         size_t for %zu format.
11180         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11181         difference, not %ju.
11183 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11185         * include/libc-internal.h (ignore_value): New macro.
11186         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11187         with ignore_value.
11189         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11190         definition.
11192         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11193         pthread_cleanup_push to void *.
11195         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11196         Undefine.
11198         [BZ #16619]
11199         [BZ #16740]
11200         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11201         instead of 1L << 52.
11203         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11204         * libio/bug-rewind2.c (do_test): Likewise.
11206         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11207         * debug/test-strcpy_chk-ifunc.c: Likewise.
11208         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11209         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11210         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11211         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11212         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11213         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11214         * Rules [$(multi-arch) = no] (tests): Do not filter out
11215         $(tests-ifunc).
11216         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11217         * debug/Makefile (tests-ifunc): Remove variable.
11218         (tests): Do not add $(tests-ifunc).
11219         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11220         (tests): Do not add $(tests-ifunc).
11221         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11222         [TEST_IFUNC]: Remove conditionals.
11223         * string/test-string.h (TEST_IFUNC): Remove macro.
11224         [TEST_IFUNC]: Remove conditionals.
11226         * string/test-strchr.c [!WIDE] (L): New macro.
11227         [WIDE] (L): Likewise.
11228         (check1): Use CHAR instead of char.  Use L on string and character
11229         constants.
11231 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11233         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11234         tests.
11235         * sysdeps/powerpc/bits/atomic.h
11236         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11237         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11238         (atomic_exchange_and_add_acq): Likewise.
11239         (atomic_exchange_and_add_rel): Likewise.
11240         * sysdeps/powerpc/powerpc32/bits/atomic.h
11241         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11242         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11243         * sysdeps/powerpc/powerpc64/bits/atomic.h
11244         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11245         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11247 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11249         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11250         Change synchronization of __sched_fifo_min_prio and
11251         __sched_fifo_max_prio.
11252         * nptl/pthread_mutexattr_getprioceiling.c
11253         (pthread_mutexattr_getprioceiling): Likewise.
11254         * nptl/pthread_mutexattr_setprioceiling.c
11255         (pthread_mutexattr_setprioceiling): Likewise.
11256         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11257         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11258         Likewise.
11260 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11262         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11263         void.
11265 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11267         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11268         third argument const.
11270 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11272         fnmatch: work around GCC compiler warning bug with uninit var
11273         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11274         This works around a bug with x86-64 GCC 4.9.2 and earlier
11275         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11276         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11277         used uninitialized in this function [-Wmaybe-uninitialized]".
11279 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11281         * posix/bug-regex31.c (main): Return RES not 0.
11283 2014-11-25  Anton Blanchard <anton@samba.org>
11285         * sysdeps/powerpc/bits/atomic.h
11286         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11288 2014-11-24  Sterling Augustine  <saugustine@google.com>
11290         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11292 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11294         [BZ #17608]
11295         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11297 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11299         [BZ #17633]
11300         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11301         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11302         variable.
11303         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11304         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11306 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11308         * string/strncpy.c (strncpy): Improve performance by using memset.
11310 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11312         * string/strcpy.c (strcpy):
11313         Improve performance by using strlen and memcpy.
11315 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11317         * string/strcoll_l.c (get_next_seq): __always_inline.
11318         * string/strcoll_l.c (do_compare): __always_inline.
11320 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11322         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11323         defined.
11324         * include/mqueue.h: Likewise.
11325         * include/stdlib.h: Likewise.
11327         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11328         (get_null_defines): Adjust.
11329         * sunrpc/Makefile: Adjust comment.
11330         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11331         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11332         (CFLAGS-interp.c): Likewise.
11333         (CFLAGS-ldconfig.c): Likewise.
11334         (CPPFLAGS-.os): Likewise.
11335         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11336         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11337         * extra-modules.mk (extra-modules.mk): Likewise.
11338         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11339         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11340         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11341         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11342         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11343         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11344         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11345         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11346         * iconvdata/Makefile (CPPFLAGS): Likewise.
11347         (cpp-srcs-left): Add libof for all iconvdata routines.
11348         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11349         * include/assert.h: Likewise.
11350         * include/ctype.h: Likewise.
11351         * include/errno.h: Likewise.
11352         * include/libc-symbols.h: Likewise.
11353         * include/math.h: Likewise.
11354         * include/netdb.h: Likewise.
11355         * include/resolv.h: Likewise.
11356         * include/stdio.h: Likewise.
11357         * include/stdlib.h: Likewise.
11358         * include/string.h: Likewise.
11359         * include/sys/stat.h: Likewise.
11360         * include/wctype.h: Likewise.
11361         * intl/l10nflist.c: Likewise.
11362         * libidn/idn-stub.c: Likewise.
11363         * libio/libioP.h: Likewise.
11364         * nptl/libc_multiple_threads.c: Likewise.
11365         * nptl/pthreadP.h: Likewise.
11366         * posix/regex_internal.h: Likewise.
11367         * resolv/res_hconf.c: Likewise.
11368         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11369         * sysdeps/arm/memmove.S: Likewise.
11370         * sysdeps/arm/sysdep.h: Likewise.
11371         * sysdeps/generic/_itoa.h: Likewise.
11372         * sysdeps/generic/symbol-hacks.h: Likewise.
11373         * sysdeps/gnu/errlist.awk: Likewise.
11374         * sysdeps/gnu/errlist.c: Likewise.
11375         * sysdeps/i386/i586/memcpy.S: Likewise.
11376         * sysdeps/i386/i586/memset.S: Likewise.
11377         * sysdeps/i386/i686/memcpy.S: Likewise.
11378         * sysdeps/i386/i686/memmove.S: Likewise.
11379         * sysdeps/i386/i686/mempcpy.S: Likewise.
11380         * sysdeps/i386/i686/memset.S: Likewise.
11381         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11382         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11383         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11384         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11385         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11386         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11387         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11388         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11389         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11391         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11392         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11393         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11394         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11395         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11396         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11397         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11398         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11399         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11400         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11401         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11402         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11403         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11404         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11405         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11406         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11407         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11408         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11409         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11410         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11411         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11412         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11413         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11414         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11417         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11418         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11419         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11420         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11421         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11422         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11423         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11424         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11425         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11426         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11427         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11428         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11429         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11430         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11431         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11432         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11433         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11434         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11435         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11436         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11437         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11438         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11439         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11440         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11441         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11442         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11443         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11444         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11445         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11446         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11447         * sysdeps/posix/closedir.c: Likewise.
11448         * sysdeps/posix/opendir.c: Likewise.
11449         * sysdeps/posix/readdir.c: Likewise.
11450         * sysdeps/posix/rewinddir.c: Likewise.
11451         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11452         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11453         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11454         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11455         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11459         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11462         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11463         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11464         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11465         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11466         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11467         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11468         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11469         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11470         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11471         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11472         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11473         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11474         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11475         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11476         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11479         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11487         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11488         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11489         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11490         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11491         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11492         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11493         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11494         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11495         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11497         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11499         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11500         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11502         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11505         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11507         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11508         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11509         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11510         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11511         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11512         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11513         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11514         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11515         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11516         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11517         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11518         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11519         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11520         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11521         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11522         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11523         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11524         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11525         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11526         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11527         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11528         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11529         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11530         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11531         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11532         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11533         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11534         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11535         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11537         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11538         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11539         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11540         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11541         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11542         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11543         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11544         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11545         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11546         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11547         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11548         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11549         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11550         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11551         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11552         * sysdeps/unix/alpha/sysdep.S: Likewise.
11553         * sysdeps/unix/alpha/sysdep.h: Likewise.
11554         * sysdeps/unix/make-syscalls.sh: Likewise.
11555         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11557         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11558         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11559         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11560         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11561         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11562         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11563         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11564         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11565         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11566         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11567         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11568         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11569         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11570         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11572         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11573         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11574         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11575         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11576         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11577         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11578         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11579         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11580         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11584         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11585         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11589         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11593         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11594         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11595         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11596         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11597         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11598         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11599         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11602         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11604         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11605         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11606         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11607         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11608         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11611         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11613         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11614         * sysdeps/x86_64/memcpy.S: Likewise.
11615         * sysdeps/x86_64/memmove.c: Likewise.
11616         * sysdeps/x86_64/memset.S: Likewise.
11617         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11618         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11619         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11620         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11621         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11622         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11623         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11624         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11625         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11626         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11627         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11628         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11629         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11630         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11631         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11632         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11633         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11634         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11635         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11636         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11637         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11638         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11639         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11640         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11641         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11642         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11643         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11644         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11645         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11646         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11647         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11648         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11649         * sysdeps/x86_64/strcmp.S: Likewise.
11651         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11653         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11654         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11655         * elf/rtld-Rules: Likewise.
11656         * elf/setup-vdso.h: Likewise.
11657         * include/assert.h: Likewise.
11658         * include/bits/stdlib-float.h: Likewise.
11659         * include/errno.h: Likewise.
11660         * include/sys/stat.h: Likewise.
11661         * include/unistd.h: Likewise.
11662         * sysdeps/aarch64/setjmp.S: Likewise.
11663         * sysdeps/alpha/setjmp.S: Likewise.
11664         * sysdeps/arm/__longjmp.S: Likewise.
11665         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11666         * sysdeps/arm/setjmp.S: Likewise.
11667         * sysdeps/arm/sysdep.h: Likewise.
11668         * sysdeps/generic/_itoa.h: Likewise.
11669         * sysdeps/generic/dl-sysdep.h: Likewise.
11670         * sysdeps/generic/ldsodefs.h: Likewise.
11671         * sysdeps/i386/dl-tls.h: Likewise.
11672         * sysdeps/i386/setjmp.S: Likewise.
11673         * sysdeps/m68k/setjmp.c: Likewise.
11674         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11675         * sysdeps/mach/hurd/opendir.c: Likewise.
11676         * sysdeps/posix/getcwd.c: Likewise.
11677         * sysdeps/posix/opendir.c: Likewise.
11678         * sysdeps/posix/profil.c: Likewise.
11679         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11680         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11681         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11682         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11683         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11684         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11685         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11686         * sysdeps/s390/dl-tls.h: Likewise.
11687         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11688         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11689         * sysdeps/sh/sh3/setjmp.S: Likewise.
11690         * sysdeps/sh/sh4/setjmp.S: Likewise.
11691         * sysdeps/unix/alpha/sysdep.h: Likewise.
11692         * sysdeps/unix/arm/sysdep.S: Likewise.
11693         * sysdeps/unix/i386/sysdep.S: Likewise.
11694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11695         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11696         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11697         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11699         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11700         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11701         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11702         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11703         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11704         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11705         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11706         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11709         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11712         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11713         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11718         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11719         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11721         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11722         * sysdeps/x86_64/setjmp.S: Likewise.
11724         * include/math.h: Use IS_IN instead of IS_IN_libm.
11725         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11726         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11728         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11730         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11731         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11732         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11733         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11734         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11736         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11737         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11738         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11739         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11740         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11741         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11742         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11743         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11745         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11746         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11747         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11748         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11749         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11750         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11751         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11752         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11753         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11754         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11755         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11756         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11757         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11759         Likewise.
11760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11761         Likewise.
11762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11763         Likewise.
11764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11765         Likewise.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11767         Likewise.
11768         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11769         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11770         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11771         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11772         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11773         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11779         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11780         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11781         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11782         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11783         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11784         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11785         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11786         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11787         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11788         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11789         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11792         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11794         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11796         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11797         * nptl/pthreadP.h: Likewise.
11798         * nptl_db/structs.def: Likewise.
11799         * sysdeps/arm/sysdep.h: Likewise.
11800         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11801         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11802         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11803         * sysdeps/unix/alpha/sysdep.h: Likewise.
11804         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11805         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11806         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11807         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11808         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11809         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11810         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11811         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11812         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11813         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11814         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11815         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11816         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11817         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11821         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11822         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11825         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11826         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11827         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11828         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11829         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11831         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11832         * nptl/pthreadP.h: Likewise.
11833         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11834         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11835         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11836         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11837         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11838         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11839         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11840         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11841         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11842         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11843         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11844         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11846         Likewise.
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11848         Likewise.
11849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11851         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11854         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11855         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11856         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11858         * dlfcn/dladdr.c: Use IS_IN.
11859         * dlfcn/dladdr1.c: Likewise.
11860         * dlfcn/dlclose.c: Likewise.
11861         * dlfcn/dlerror.c: Likewise.
11862         * dlfcn/dlinfo.c: Likewise.
11863         * dlfcn/dlmopen.c: Likewise.
11864         * dlfcn/dlopen.c: Likewise.
11865         * dlfcn/dlsym.c: Likewise.
11866         * dlfcn/dlvsym.c: Likewise.
11868         * include/ifaddrs.h: Use IS_IN.
11869         * inet/check_pf.c: Likewise.
11870         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11871         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11873         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11874         IS_IN_ldconfig.
11875         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11876         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11878         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11879         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11880         IS_IN (libc).
11882         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11884         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11885         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11886         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11887         * include/libc-symbols.h (IS_IN_LIB): New macro.
11888         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11889         * include/netdb.h: Likewise.
11890         * include/stap-probe.h: Remove all uses of IN_LIB.
11892         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11893         instead of IN_MODULE.
11894         * include/libc-symbols.h (IN_MODULE): Define using
11895         MODULE_NAME.
11896         (PASTE_NAME, PASTE_NAME1): New macros.
11897         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11898         of IN_LIB.
11899         (STAP_PROBE_ASM): Likewise.
11901 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11903         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11904         __mach_init in dlopened libc.
11906 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11908         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11909         * sysdeps/arm/preconfigure: Regenerate.
11911 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11913         * nptl/pthread_create.c (__pthread_create_2_1): Set
11914         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11915         when copying values from IATTR into PD.
11917 2014-11-21  Will Newton  <will.newton@linaro.org>
11918             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11920         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11921         Refactor inline-asm.  Also add comment.
11923         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11924         ElfW macro instead of hardcoded Elf64 types.
11925         (la_aarch64_gnu_pltenter): Likewise.
11926         * sysdeps/aarch64/dl-machine.h
11927         (elf_machine_runtime_setup): Use ElfW(Addr).
11929         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11930         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11931         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11932         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11933         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11934         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11935         (R_AARCH64_TLS_DTPMOD): This.
11936         (R_AARCH64_TLS_DTPREL64): Rename to ...
11937         (R_AARCH64_TLS_DTPREL): This.
11938         (R_AARCH64_TLS_TPREL64): Rename to ...
11939         (R_AARCH64_TLS_TPREL): This.
11940         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11941         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11942         R_AARCH64_TLS_TPREL64.
11943         (elf_machine_rela): Likewise.
11945 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11947         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11948         by setting it to 0.  64b atomics are not supported currently.
11950 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11952         [BZ #16469]
11953         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11954         search domain names.
11956 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11958         [BZ #16469]
11959         * NEWS: Update.
11960         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11961         trailing dot.
11962         * posix/tst-getaddrinfo5.c: New.
11963         * posix/Makefile (tests): Add it.
11965 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11967         [BZ #14498]
11968         * NEWS: Fixed.
11969         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11970         after parsing line but before break_if_match.
11971         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11972         if there is a protocol mismatch.
11974 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11976         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11977         because the potential race is on the user-supplied stream.
11979 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11981         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11982         string literal if not passed a buffer.
11983         * manual/job.texi (ctermid): Update reasoning, note deviation
11984         from posix, suggest mtasurace when not passed a buffer, for
11985         future non-preliminary safety notes.
11987 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11989         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11990         of not passing it a buffer.
11991         Reported by Peng Haitao.
11993 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11995         * manual/Makefile ($(objpfx)stamp-summary): Require
11996         check-safety.sh to pass.
11997         * manual/check-safety.sh: Wish for verification that every
11998         @deftypefn and @deftypefun is followed by a @safety remark.
12000 2014-11-20  Roland McGrath  <roland@hack.frob.com>
12002         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12004         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12005         PTHREAD_CANCEL_ASYNCHRONOUS.
12006         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12007         send SIGCANCEL.
12009         * nptl/default-sched.h: New file.
12010         * sysdeps/unix/sysv/linux/default-sched.h: New file.
12011         * nptl/pthread_create.c: Include it.
12012         (__pthread_create_2_1): Use collect_default_sched instead of making
12013         Linux syscalls here directly.
12015 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12017         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12018         __pthread_once): Use C11 atomics.
12020 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12022         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12024 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12026         * include/atomic.h (__atomic_link_error, __atomic_check_size,
12027         atomic_thread_fence_acquire, atomic_thread_fence_release,
12028         atomic_thread_fence_seq_cst, atomic_load_relaxed,
12029         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12030         atomic_compare_exchange_weak_relaxed,
12031         atomic_compare_exchange_weak_acquire,
12032         atomic_compare_exchange_weak_release,
12033         atomic_exchange_acquire, atomic_exchange_release,
12034         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12035         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12036         atomic_fetch_and_acquire,
12037         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12039 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12041         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12042         USE_ATOMIC_COMPILER_BUILTINS): Define.
12043         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12045         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12047         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12049         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12051         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12053         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12055         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12057         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12059         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12061         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12063         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12065         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12067         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12069         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12071         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12073         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12075         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12077         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12078         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12079         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12081         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12084 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12086         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12087         the sched_priority value here.  It was already checked when the user
12088         called pthread_attr_setschedparam.
12090         * nptl/tst-bad-schedattr.c: New file.
12091         * nptl/Makefile (tests): Add it.
12093 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12094             Florian Weimer  <fweimer@redhat.com>
12095             Joseph Myers  <joseph@codesourcery.com>
12096             Adam Conrad  <adconrad@0c3.net>
12097             Andreas Schwab  <schwab@suse.de>
12098             Brooks  <bmoses@google.com>
12100         [BZ #17625]
12101         * wordexp-test.c (__dso_handle): Add prototype.
12102         (__register_atfork): Likewise.
12103         (__app_register_atfork): New function.
12104         (registered_forks): New global.
12105         (register_fork): New function.
12106         (test_case): Add 3 new tests for WRDE_CMDSUB.
12107         (main): Call __app_register_atfork.
12108         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12109         fork count is non-zero fail the test.
12110         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12111         is set.
12112         (parse_dollars): Remove check for WRDE_NOCMD.
12113         (parse_dquote): Likewise.
12115 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12117         * Makeconfig (built-modules): List non-library modules to be
12118         built.
12119         (module-cppflags): Include libc-modules.h for
12120         everything except shlib-versions.v.i.
12121         (CPPFLAGS): Use it.
12122         (before-compile): Add libc-modules.h.
12123         ($(common-objpfx)libc-modules.h,
12124         $(common-objpfx)libc-modules.stmp): New targets.
12125         (common-generated): Add libc-modules.h and libc-modules.stmp.
12126         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12127         * include/libc-symbols.h: Don't include libc-modules.h.
12128         * include/libc-modules.h: Remove file.
12129         * scripts/gen-libc-modules.awk: New script to generate
12130         libc-modules.h.
12131         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12132         Depend on libc-modules.stmp.
12134         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12136         * Makeconfig (in-module): Get value of libof set for the
12137         translation unit.
12138         (CPPFLAGS): Use $(in-module).
12139         * Makerules: Don't suffix routine names for nonlib.
12140         * include/libc-modules.h: New file.
12141         * include/libc-symbols.h: Include libc-modules.h
12142         (IS_IN): New macro to replace IS_IN_* macros.
12143         * elf/Makefile: Set libof-* for each routine.
12144         * elf/rtld-Rules: Likewise.
12145         * extra-modules.mk: Likewise.
12146         * iconv/Makefile: Likewise.
12147         * iconvdata/Makefile: Likewise.
12148         * locale/Makefile: Likewise.
12149         * malloc/Makefile: Likewise.
12150         * nss/Makefile: Likewise.
12151         * sysdeps/gnu/Makefile: Likewise.
12152         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12153         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12154         * sysdeps/s390/s390-64/Makefile: Likewise.
12155         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12156         CPPFLAGS for nscd instead of nonlib.
12158 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12160         * nptl/createthread.c: New file.
12162         * nptl/createthread.c: Moved ...
12163         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12165         * nptl/createthread.c: Add proper top-line comment.
12166         (do_clone): Folded into ...
12167         (create_thread): ... here.  Take new arguments STOPPED_START and
12168         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12169         increment __nptl_threads, do event-reporting logic, do
12170         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12171         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12172         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12173         just send SIGCANCEL.
12174         * nptl/pthread_create.c: Forward-declare create_thread before
12175         including createthread.c.
12176         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12177         declaration, and new macro START_THREAD_SELF to replace argument.
12178         Remove return statement.
12179         (report_thread_creation): New function.
12180         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12181         synchronization logic, and __nptl_nthreads increment here, around
12182         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12183         PD->parent_cancelhandling here, before create_thread.  When
12184         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12185         __deallocate_stack, and ENOMEM translation here.
12187 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12189         [BZ #17616]
12190         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12191         (mptwo): Rename to __mptwo.
12192         (__inv): Use __mptwo instead of mptwo.
12193         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12194         (mptwo): Rename to __mptwo.
12195         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12196         of mpone and __mptwo instead of mptwo.
12197         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12198         instead of mpone.
12199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12200         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12201         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12202         of mpone and __mptwo instead of mptwo.
12203         (__mpranred): Use __mpone instead of mpone.
12204         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12205         variable.
12206         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12207         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12208         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12209         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12210         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12211         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12212         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12213         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12214         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12215         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12216         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12217         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12218         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12219         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12220         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12221         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12222         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12223         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12224         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12226 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12228         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12229         replace BSD Handler xref with BSD Signal Handling.
12231 2014-11-17  Richard Henderson  <rth@redhat.com>
12233         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12234         (_FP_PACK_RAW_2): Remove.
12235         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12236         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12237         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12238         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12239         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12240         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12241         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12242         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12243         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12244         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12245         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12246         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12247         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12248         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12249         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12250         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12252 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12254         * signal/signal.h [__USE_MISC]
12255         (struct sigvec): Remove type.
12256         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12257         (sigvec): Remove declaration.
12258         * sysdeps/posix/sigvec.c: Moved ...
12259         * signal/sigvec.c: ... here, replacing old file.
12260         (struct sigvec): New type, copied from old signal.h definition.
12261         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12262         (__sigvec): Convert definition to prototype.
12263         (sigvec): Replace weak_alias with compat_symbol.
12264         * signal/Versions (libc: GLIBC_2.21): New version set.
12265         * include/signal.h: Remove __sigvec declaration.
12266         * sysdeps/unix/bsd/sigvec.c: Remove file.
12267         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12268         * manual/signal.texi (BSD Handler): Remove subsection.
12269         Move siginterrupt up to ...
12270         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12271         (Blocking in BSD): Fold subsection into its parent.
12272         * NEWS: Mention sigvec removal.
12274 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12276         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12277         (DLA_FMS): Make definition conditional only on [__FMA4__].
12278         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12279         definition.
12281         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12282         Make definition conditional only on [PROF].
12283         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12284         definition.
12285         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12286         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12288         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12289         !__GNUC__].
12290         * include/signal.h (__sigpause): Move declaration above call to
12291         libc_hidden_proto.
12292         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12293         variable.
12294         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12295         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12297 2014-11-14  David S. Miller  <davem@davemloft.net>
12299         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12300         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12302 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12304         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12305         * configure: Regenerated.
12306         * manual/install.texi (Tools for Compilation): Document a
12307         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12308         compiler verified to work.
12309         * INSTALL: Regenerated.
12311         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12312         redeclare with asm name.
12313         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12314         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12315         including <string.h>.
12316         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12317         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12318         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12319         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12320         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12322         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12324 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12326         * stdlib/strtol.c (__strtol): Use prototype definition.
12328         [BZ #17594]
12329         * stdlib/strtol.c (SYM__): New macro.
12330         (SYM__1): Likewise.
12331         (__strtol): Likewise.
12332         (strtol): Rename to __strtol and define as weak alias of
12333         __strtol.  Use libc_hidden_weak.
12335 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12337         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12338         Use numbered labels in inline assembly.
12340 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12342         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12343         Add setjmp LIBC_PROBE.
12344         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12345         Likewise.
12346         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12347         Add longjmp, longjmp_target LIBC_PROBE.
12348         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12349         Likewise.
12351 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12354         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12355         to get rid of unused variable warning.
12357 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12359         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12360         Check for unwind_backtrace ==  NULL only in SHARED case.
12361         (__backchain_backtrace): Compile only in SHARED case.
12362         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12363         Likewise.
12364         (__backchain_backtrace): Declare as static.
12366 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12368         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12369         (__libc_multiple_threads_ptr): Variable moved ...
12370         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12372 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12374         * conform/GlibcConform.pm: New file.
12375         * conform/conformtest.pl: Use GlibcConform module.
12376         * conform/linknamespace.pl: New file.
12377         * conform/list-header-symbols.pl: Likewise.
12378         * conform/Makefile (linknamespace-symlists-base): New variable.
12379         (linknamespace-symlists-tests): Likewise.
12380         (linknamespace-header-base): Likewise.
12381         (linknamespace-header-tests): Likewise.
12382         (tests-special): Add new tests.
12383         ($(linknamespace-symlists-tests)): New rule.
12384         (linknamespace-libs): New variable.
12385         ($(objpfx)symlist-stdlibs): New rule.
12386         ($(linknamespace-header-tests)): Likewise.
12387         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12388         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12389         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12390         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12391         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12392         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12393         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12394         (test-xfail-ISO/math.h/linknamespace): Likewise.
12395         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12396         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12397         (test-xfail-ISO/time.h/linknamespace): Likewise.
12398         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12399         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12400         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12401         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12402         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12403         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12404         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12405         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12406         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12407         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12408         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12409         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12410         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12411         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12412         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12413         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12414         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12415         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12416         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12417         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12418         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12419         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12420         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12421         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12422         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12423         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12424         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12425         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12426         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12427         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12428         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12429         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12430         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12431         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12432         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12433         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12434         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12435         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12436         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12437         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12438         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12439         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12440         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12441         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12442         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12443         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12444         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12445         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12446         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12447         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12448         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12449         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12450         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12451         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12452         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12453         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12454         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12455         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12456         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12457         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12458         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12459         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12460         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12461         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12462         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12463         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12464         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12465         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12466         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12467         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12468         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12469         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12470         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12471         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12472         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12473         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12474         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12475         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12476         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12477         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12478         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12479         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12480         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12481         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12482         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12483         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12484         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12485         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12486         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12487         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12488         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12489         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12490         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12491         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12492         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12493         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12494         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12495         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12496         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12497         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12498         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12499         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12500         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12501         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12502         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12503         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12504         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12505         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12506         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12507         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12508         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12509         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12510         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12511         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12512         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12513         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12514         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12515         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12516         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12517         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12518         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12519         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12520         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12521         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12522         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12523         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12524         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12525         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12526         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12527         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12528         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12529         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12530         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12531         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12532         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12533         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12534         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12535         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12536         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12537         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12538         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12539         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12540         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12541         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12542         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12543         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12544         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12545         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12546         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12547         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12549         [BZ #17589]
12550         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12551         of fgets_unlocked.
12553         [BZ #17585]
12554         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12555         (memmem): Rename to __memmem and define as weak alias of
12556         __memmem.  Use libc_hidden_weak.
12557         (__memmem): Use libc_hidden_def.
12558         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12559         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12560         memmem.
12562         [BZ #17582]
12563         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12564         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12565         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12566         and define as weak alias of __fgets_unlocked.  Use
12567         libc_hidden_weak.
12568         (__fgets_unlocked): Use libc_hidden_def.
12569         * include/stdio.h (__fgets_unlocked): Declare.  Use
12570         libc_hidden_proto.
12571         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12572         __fgets_unlocked instead of fgets_unlocked.
12573         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12574         (GET_NPROCS_CONF_PARSER): Likewise.
12575         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12576         (GET_NPROCS_CONF_PARSER): Likewise.
12578         [BZ #17574]
12579         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12580         weak alias of __wmemset.  Use libc_hidden_weak.
12581         (__wmemset): Use libc_hidden_def.
12582         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12583         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12584         of wmemset.
12586         [BZ #17573]
12587         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12588         with asm name __mempcpy.
12589         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12591         [BZ #17572]
12592         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12593         and define as weak alias of __rawmemchr.
12594         (__rawmemchr): Do not define as strong alias of rawmemchr.
12596         [BZ #17571]
12597         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12598         alias of __qsort_r.
12599         (qsort): Call __qsort_r instead of qsort_r.
12600         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12601         (__qsort_r): Declare.  Call libc_hidden_proto.
12602         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12603         instead of qsort_r.
12604         * nscd/gai.c (__qsort_r): Define to qsort_r.
12605         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12606         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12607         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12609         [BZ #17570]
12610         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12611         define as weak alias of __malloc_info.
12613         [BZ #17584]
12614         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12615         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12616         (__rewinddir): Use libc_hidden_def.
12617         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12618         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12619         (__rewinddir): Use libc_hidden_def.
12620         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12621         weak alias of __rewinddir.  Don't use libc_hidden_def.
12622         (__rewinddir): Use libc_hidden_def.
12623         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12624         (__rewinddir): Use libc_hidden_proto.
12625         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12626         rewinddir.
12627         (__getcwd): Use __rewinddir instead of rewinddir.
12629         [BZ #17583]
12630         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12631         alias of __fileno.  Use libc_hidden_weak.
12632         (__fileno): Use libc_hidden_def.
12633         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12634         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12635         alias of __ftello.
12636         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12637         __ftello.
12638         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12639         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12640         libc_hidden_def.
12641         (fread_unlocked): Don't use libc_hidden_ver.
12642         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12643         and define as weak alias of __fread_unlocked.  Don't use
12644         libc_hidden_def.
12645         (__fread_unlocked): Use libc_hidden_def.
12646         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12647         (ftello): Don't use libc_hidden_proto.
12648         (__ftello): Declare.  Use libc_hidden_proto.
12649         (fread_unlocked): Don't use libc_hidden_proto.
12650         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12651         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12652         and __ftello instead of fileno, fread_unlocked and ftello.
12654 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12656         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12657         GOT12.
12658         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12659         Likewise.
12660         (_dl_start_user): Likewise.
12661         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12663 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12664             Siddhesh Poyarekar  <siddhesh@redhat.com>
12666         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12667         Move argv and envp down instead of moving argc up.
12668         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12670 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12672         [BZ #17506]
12673         * test-skeleton.c (main): Return successful if one of
12674         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12675         * string/tst-strcoll-overflow.c: Define expected status.
12677 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12679         [BZ #17475]
12680         * locale/iso-639.def: Define Bhili and Tulu language codes.
12682 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12684         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12686 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12688         [BZ #17555]
12689         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12691 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12693         * configure.ac: Updated check of minimal required version to
12694         2.22.
12695         * manual/install.texi (Tools for Compilation): Updated version
12696         number.
12697         * configure: Regenerated.
12698         * INSTALL: Likewise.
12700 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12702         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12703         __tls_get_addr.
12705 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12707         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12708         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12709         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12710         libc_hidden_weak.
12711         (waitpid): Define as alias of __waitpid.
12712         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12713         __waitpid.
12714         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12715         libc_hidden_weak.
12716         (waitpid): Define as alias of __waitpid.
12717         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12718         __libc_waitpid alias.
12719         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12720         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12721         Likewise.
12722         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12723         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12724         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12725         alias.
12726         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12727         __waitpid.
12728         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12729         libc_hidden_weak.
12730         (waitpid): Define as alias of __waitpid.
12732 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12734         * manual/llio.texi: Add comment that write safety has been
12735         fixed in Linux.
12737         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12738         (localplt-build-dso): Add elf/ld.so.
12739         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12740         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12741         and free for ld.so.
12742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12743         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12745         Likewise.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12747         Likewise.
12748         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12749         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12750         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12751         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12752         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12753         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12754         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12755         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12756         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12757         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12758         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12760 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12762         [BZ #14132]
12763         * include/libc-symbols.h (INTUSE): Remove macro.
12764         (INTDEF): Likewise.
12765         (INTVARDEF): Likewise.
12766         (_INTVARDEF): Likewise.
12767         (INTDEF2): Likewise.
12768         (INTVARDEF2): Likewise.
12769         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12770         rtld_hidden_def instead of INTVARDEF.
12771         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12772         (_dl_starting_up_internal): Remove declaration.
12773         (_dl_starting_up): Use rtld_hidden_proto.
12774         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12775         declaration.
12776         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12777         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12778         _dl_starting_up.
12779         * elf/dl-writev.h (_dl_writev): Likewise.
12780         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12781         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12782         _dl_starting_up_internal.
12784 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12786         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12787         test-skeleton.c.
12789 2014-11-05  Will Newton  <will.newton@linaro.org>
12791         * benchtests/Makefile: (bench-malloc): Add malloc thread
12792         scalability benchmark.
12793         * benchtests/bench-malloc-threads.c: New file.
12795 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12797         * sysdeps/aarch64/strchrnul.S: New file.
12799 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12801         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12802         definition.
12803         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12804         Likwise.
12805         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12806         Likewise.
12807         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12808         Likewise.
12809         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12810         Likewise.
12811         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12812         Likewise.
12814 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12816         * catgets/test-gencat.c: Use test-skeleton.c.
12817         * catgets/tst-catgets.c: Likewise.
12818         * csu/tst-empty.c: Likewise.
12819         * elf/tst-audit2.c: Likewise.
12820         * elf/tst-global1.c: Likewise.
12821         * elf/tst-pathopt.c: Likewise.
12822         * elf/tst-piemod1.c: Likewise.
12823         * elf/tst-tls10.c: Likewise.
12824         * elf/tst-tls11.c: Likewise.
12825         * elf/tst-tls12.c: Likewise.
12826         * gnulib/tst-gcc.c: Likewise.
12827         * iconvdata/tst-e2big.c: Likewise.
12828         * iconvdata/tst-loading.c: Likewise.
12829         * iconv/tst-iconv1.c: Likewise.
12830         * iconv/tst-iconv2.c: Likewise.
12831         * inet/test-inet6_opt.c: Likewise.
12832         * inet/tst-gethnm.c: Likewise.
12833         * inet/tst-network.c: Likewise.
12834         * inet/tst-ntoa.c: Likewise.
12835         * intl/tst-codeset.c: Likewise.
12836         * intl/tst-gettext2.c: Likewise.
12837         * intl/tst-gettext3.c: Likewise.
12838         * intl/tst-ngettext.c: Likewise.
12839         * intl/tst-translit.c: Likewise.
12840         * io/test-stat.c: Likewise.
12841         * libio/test-fmemopen.c: Likewise.
12842         * libio/tst-freopen.c: Likewise.
12843         * libio/tst-sscanf.c: Likewise.
12844         * libio/tst-ungetwc1.c: Likewise.
12845         * libio/tst-ungetwc2.c: Likewise.
12846         * libio/tst-widetext.c: Likewise.
12847         * localedata/tst-ctype.c: Likewise.
12848         * localedata/tst-digits.c: Likewise.
12849         * localedata/tst-leaks.c: Likewise.
12850         * localedata/tst-mbswcs1.c: Likewise.
12851         * localedata/tst-mbswcs2.c: Likewise.
12852         * localedata/tst-mbswcs3.c: Likewise.
12853         * localedata/tst-mbswcs4.c: Likewise.
12854         * localedata/tst-mbswcs5.c: Likewise.
12855         * localedata/tst-setlocale.c: Likewise.
12856         * localedata/tst-trans.c: Likewise.
12857         * localedata/tst-wctype.c: Likewise.
12858         * localedata/tst-xlocale1.c: Likewise.
12859         * login/tst-grantpt.c: Likewise.
12860         * malloc/tst-calloc.c: Likewise.
12861         * malloc/tst-malloc.c: Likewise.
12862         * malloc/tst-mallocstate.c: Likewise.
12863         * malloc/tst-mcheck.c: Likewise.
12864         * malloc/tst-mtrace.c: Likewise.
12865         * malloc/tst-obstack.c: Likewise.
12866         * math/atest-exp2.c: Likewise.
12867         * math/atest-exp.c: Likewise.
12868         * math/atest-sincos.c: Likewise.
12869         * math/test-matherr.c: Likewise.
12870         * math/test-misc.c: Likewise.
12871         * math/test-powl.c: Likewise.
12872         * math/tst-definitions.c: Likewise.
12873         * misc/tst-dirname.c: Likewise.
12874         * misc/tst-efgcvt.c: Likewise.
12875         * misc/tst-fdset.c: Likewise.
12876         * misc/tst-hsearch.c: Likewise.
12877         * misc/tst-mntent2.c: Likewise.
12878         * nptl/tst-sem7.c: Likewise.
12879         * nptl/tst-sem8.c: Likewise.
12880         * nptl/tst-sem9.c: Likewise.
12881         * nss/test-netdb.c: Likewise.
12882         * posix/tst-fnmatch.c: Likewise.
12883         * posix/tst-getlogin.c: Likewise.
12884         * posix/tst-gnuglob.c: Likewise.
12885         * posix/tst-mmap.c: Likewise.
12886         * pwd/tst-getpw.c: Likewise.
12887         * resolv/tst-inet_ntop.c: Likewise.
12888         * rt/tst-timer.c: Likewise.
12889         * stdio-common/test-fseek.c: Likewise.
12890         * stdio-common/test-popen.c: Likewise.
12891         * stdio-common/test-vfprintf.c: Likewise.
12892         * stdio-common/tst-cookie.c: Likewise.
12893         * stdio-common/tst-fileno.c: Likewise.
12894         * stdio-common/tst-gets.c: Likewise.
12895         * stdio-common/tst-obprintf.c: Likewise.
12896         * stdio-common/tst-perror.c: Likewise.
12897         * stdio-common/tst-sprintf2.c: Likewise.
12898         * stdio-common/tst-sprintf3.c: Likewise.
12899         * stdio-common/tst-sprintf.c: Likewise.
12900         * stdio-common/tst-swprintf.c: Likewise.
12901         * stdio-common/tst-tmpnam.c: Likewise.
12902         * stdio-common/tst-unbputc.c: Likewise.
12903         * stdio-common/tst-wc-printf.c: Likewise.
12904         * stdlib/tst-environ.c: Likewise.
12905         * stdlib/tst-fmtmsg.c: Likewise.
12906         * stdlib/tst-limits.c: Likewise.
12907         * stdlib/tst-rand48-2.c: Likewise.
12908         * stdlib/tst-rand48.c: Likewise.
12909         * stdlib/tst-random2.c: Likewise.
12910         * stdlib/tst-random.c: Likewise.
12911         * stdlib/tst-strtol.c: Likewise.
12912         * stdlib/tst-strtoll.c: Likewise.
12913         * stdlib/tst-tls-atexit.c: Likewise.
12914         * stdlib/tst-xpg-basename.c: Likewise.
12915         * string/test-ffs.c: Likewise.
12916         * string/tst-bswap.c: Likewise.
12917         * string/tst-inlcall.c: Likewise.
12918         * string/tst-strtok.c: Likewise.
12919         * string/tst-strxfrm.c: Likewise.
12920         * sysdeps/x86_64/tst-audit10.c: Likewise.
12921         * sysdeps/x86_64/tst-audit3.c: Likewise.
12922         * sysdeps/x86_64/tst-audit4.c: Likewise.
12923         * sysdeps/x86_64/tst-audit5.c: Likewise.
12924         * time/tst-ftime_l.c: Likewise.
12925         * time/tst-getdate.c: Likewise.
12926         * time/tst-mktime3.c: Likewise.
12927         * time/tst-mktime.c: Likewise.
12928         * time/tst-posixtz.c: Likewise.
12929         * time/tst-strptime2.c: Likewise.
12930         * time/tst-strptime3.c: Likewise.
12931         * wcsmbs/tst-btowc.c: Likewise.
12932         * wcsmbs/tst-mbrtowc.c: Likewise.
12933         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12934         * wcsmbs/tst-wchar-h.c: Likewise.
12935         * wcsmbs/tst-wcpncpy.c: Likewise.
12936         * wcsmbs/tst-wcrtomb.c: Likewise.
12937         * wcsmbs/tst-wcsnlen.c: Likewise.
12938         * wcsmbs/tst-wcstof.c: Likewise.
12940 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12942         [BZ #14132]
12943         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12944         INTDEF.
12945         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12946         declaration.
12947         (_dl_mcount): Use rtld_hidden_proto.
12948         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12949         _dl_mcount.
12950         * elf/rtld.c (_rtld_global_ro): Likewise.
12952         [BZ #14132]
12953         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12954         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12955         of _dl_init_internal.
12956         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12957         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12958         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12959         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12960         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12961         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12962         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12963         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12964         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12965         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12966         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12967         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12968         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12969         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12970         * sysdeps/tile/dl-start.S (_start): Likewise.
12971         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12972         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12974         [BZ #14132]
12975         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12976         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12977         (rtld_progname): Make macro definition unconditional.
12978         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12979         INTDEF.
12980         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12981         (dl_main): Likewise.
12982         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12983         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12984         instead of _dl_argv_internal.
12985         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12986         __GI__dl_argv instead of INTUSE(_dl_argv).
12987         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12988         __GI__dl_argv instead of _dl_argv_internal.
12990         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12991         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12992         macro.
12993         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12994         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12995         New macro.
12996         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12997         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12998         macro.
12999         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13000         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13002 2014-11-04  Andreas Schwab  <schwab@suse.de>
13004         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13006 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13008         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13009         mtvsrd instruction in binary form.
13011 2014-11-03  Andreas Schwab  <schwab@suse.de>
13013         [BZ #17522]
13014         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13015         for less than MB_LEN_MAX use a local buffer of that size.
13016         * libio/tst-fputws.c: New file.
13017         * libio/Makefile (tests): Add tst-fputws.
13019 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
13021         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13022         the size of the fpu_fr.fpu_dregs[] array.
13024 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
13026         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13027         (__nanosleep): Do not define as alias.
13028         (nanosleep): Define as alias of __nanosleep.
13029         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13030         __libc_nanosleep name.
13032 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13034         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13035         install.texi in comment.
13037 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13039         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13040         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13041         ... add here and use lwsync or sync ...
13042         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13043         ... and add here using lwsync.
13045 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13047         * elf/dl-machine-reject-phdr.h: New file.
13048         * elf/dl-load.c: #include that.
13049         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13050         if that returned true.
13052 2014-10-31  Roland McGrath  <roland@hack.frob.com>
13054         [BZ #17496]
13055         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13056         gen-as-const-headers chunk.  Add a big scare comment after the last
13057         safe place to touch before-compile.
13059 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13061         * manual/install.texi (Tools for Compilation): Update autoconf
13062         version requirements.
13063         * INSTALL: Regenerated.
13065         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13066         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13067         (__libc_pselect): Likewise.
13069         [BZ #14138]
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13075 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13077         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13078         correct barrier instruction.
13079         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13080         Likewise.
13081         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13082         Likewise.
13084 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13086         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13087         after defining inlines.  Instead, just use parens to defeat macro
13088         expansion of __isctype in its declaration.
13090 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13092         * include/sys/uio.h (__libc_readv): Remove declaration.
13093         (__libc_writev): Likewise.
13094         * misc/readv.c (__libc_readv): Rename to __readv.
13095         (__readv): Do not define as alias.
13096         (readv): Define as alias of __readv.
13097         * misc/writev.c (__libc_writev): Rename to __writev.
13098         (__writev): Do not define as alias.
13099         (writev): Define as alias of __writev.
13100         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13101         (__readv): Do not define as alias.
13102         (readv): Define unconditionally as alias of __readv.
13103         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13104         (__writev): Do not define as alias.
13105         (writev): Define unconditionally as alias of __writev.
13106         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13107         name.
13108         (writev): Do not define __libc_writev name.
13110 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13112         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13113         (convert_charseq): New function, broken out of ...
13114         (use_from_charmap): ... here.  Call it.
13115         (use_to_charmap): Use convert_charseq and free instead of duplicating
13116         its code with a variable-length stack struct.
13118 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13120         * include/fcntl.h (__libc_creat): Remove declaration.
13121         * io/creat.c (__libc_creat): Rename to creat.
13122         (creat): Do not define as alias.
13123         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13124         of creat instead of __libc_creat.
13125         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13126         to creat.
13127         (creat): Do not define as alias.
13128         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13129         __libc_creat.
13130         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13131         __libc_creat name.
13132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13133         Likewise.
13135 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13137         * manual/llio.texi: Add comments discussing why write() may be
13138         considered MT-unsafe on Linux.
13140 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13142         * dl-load.c (local_strdup): Remove.
13143         (expand_dynamic_string_token): Use __strdup.
13144         (decompose_rpath): Likewise.
13145         (_dl_map_object): Likewise.
13147 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #14132]
13150         * sysdeps/generic/unwind-dw2-fde.c
13151         (__register_frame_info_bases_internal): Do not declare.
13152         (__register_frame_info_table_bases_internal): Likewise.
13153         (__deregister_frame_info_bases_internal): Likewise.
13154         (__register_frame_info_bases): Declare and use hidden_proto before
13155         definition.  Use hidden_def instead of INTDEF.
13156         (__register_frame_info_table_bases): Likewise.
13157         (__deregister_frame_info_bases): Likewise.
13158         (__register_frame_info): Do not use INTUSE.
13159         (__register_frame): Likewise.
13160         (__register_frame_info_table): Likewise.
13161         (__register_frame_table): Likewise.
13162         (__deregister_frame_info): Likewise.
13163         (__deregister_frame): Likewise.
13165 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13167         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13168         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13169         not undefine.
13170         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13171         Likewise.
13172         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13173         Likewise.
13175 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13177         [BZ #14138]
13178         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13179         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13180         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13181         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13182         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13183         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13184         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13185         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13186         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13187         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13188         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13189         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13190         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13191         syscall.
13192         (setfsuid): Likewise.
13193         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13194         (setfsuid): Likewise.
13195         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13196         (setfsuid): Likewise.
13197         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13198         Likewise.
13199         (setfsuid): Likewise.
13200         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13201         (setfsuid): Likewise.
13202         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13203         Likewise.
13204         (setfsuid): Likewise.
13206 2014-10-27  Andreas Schwab  <schwab@suse.de>
13208         [BZ #17501]
13209         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13210         check for Slow_SSE4_2 feature bit.
13211         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13212         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13213         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13214         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13216 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13218         * configure.ac: Validate compiler version with a empirical test of
13219         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13220         $CC -v output.
13221         * configure: Regenerated.
13223         * inet/htons.c (htons): Prototypify.
13224         * inet/htonl.c (htonl): Likewise.
13226 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13228         * string/strncat.c (strncat): Improve performance by using strlen.
13230 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13232         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13234 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13236         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13237         Call libc_fetestexcept_aarch64.
13239 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13241         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13242         Call libc_feholdexcept_aarch64.
13244 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13246         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13247         Call get_rounding_mode.
13249 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13251         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13252         Simplify logic.
13254 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13256         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13257         Simplify logic.
13259 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13261         [BZ #14138]
13262         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13263         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13264         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13265         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13266         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13267         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13268         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13269         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13270         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13271         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13272         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13273         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13275         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13276         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13277         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13278         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13279         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13280         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13281         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13282         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13283         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13284         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13285         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13286         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13287         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13288         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13289         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13290         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13291         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13292         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13293         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13294         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13295         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13296         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13298         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13299         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13300         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13301         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13302         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13303         syscall.
13304         (geteuid): Likewise.
13305         (getgid): Likewise.
13306         (getuid): Likewise.
13307         (getresgid): Likewise.
13308         (getresuid): Likewise.
13309         (getgroups): Likewise.
13310         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13311         (geteuid): Likewise.
13312         (getgid): Likewise.
13313         (getuid): Likewise.
13314         (getresgid): Likewise.
13315         (getresuid): Likewise.
13316         (getgroups): Likewise.
13317         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13318         (geteuid): Likewise.
13319         (getgid): Likewise.
13320         (getuid): Likewise.
13321         (getresgid): Likewise.
13322         (getresuid): Likewise.
13323         (getgroups): Likewise.
13324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13325         Likewise.
13326         (geteuid): Likewise.
13327         (getgid): Likewise.
13328         (getuid): Likewise.
13329         (getresgid): Likewise.
13330         (getresuid): Likewise.
13331         (getgroups): Likewise.
13332         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13333         (geteuid): Likewise.
13334         (getgid): Likewise.
13335         (getuid): Likewise.
13336         (getresgid): Likewise.
13337         (getresuid): Likewise.
13338         (getgroups): Likewise.
13339         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13340         Likewise.
13341         (geteuid): Likewise.
13342         (getgid): Likewise.
13343         (getuid): Likewise.
13344         (getgroups): Likewise.
13346         [BZ #14138]
13347         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13348         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13349         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13350         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13351         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13352         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13353         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13354         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13355         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13356         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13357         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13358         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13359         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13360         __chown.
13361         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13362         (lchown): Likewise.
13363         (fchown): Likewise.
13364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13365         Likewise.
13366         (lchown): Likewise.
13367         (fchown): Likewise.
13368         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13369         (lchown): Likewise.
13370         (fchown): Likewise.
13371         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13372         Likewise.
13373         (lchown): Likewise.
13374         (fchown): Likewise.
13376 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13378         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13379         Simplify logic.
13381 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13383         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13384         Cleanup logic.
13386 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13388         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13389         Remove unused include.
13391 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13393         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13394         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13395         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13396         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13398 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13399             Helge Deller <deller@gmx.de>
13401         [BZ #17508]
13402         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13403         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13404         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13406 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13408         [BZ #14132]
13409         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13410         Remove macro definition.
13411         (__ashrdi3_v_glibc20): Likewise.
13412         (__lshrdi3_v_glibc20): Likewise.
13413         (__cmpdi2_v_glibc20): Likewise.
13414         (__ucmpdi2_v_glibc20): Likewise.
13415         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13416         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13417         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13418         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13419         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13420         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13422 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13424         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13425         old GNU extension [0] syntax.
13426         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13427         alloca rather than an array member with variable length.
13428         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13429         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13430         (parse_opt): ... here.  Likewise use alloca there.
13431         Validate the -i argument before checking for rootness.
13432         (send_shutdown): New function, broken out of ...
13433         (parse_opt): ... here.
13435 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13437         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13438         macro to get at the _rt_local_ro field.
13439         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13440         ([PIC] case) or _dl_hwcap ([!PIC] case).
13441         * sysdeps/arm/setjmp.S: Likewise.
13443         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13444         * sysdeps/arm/configure.ac: New check to define it.
13445         * sysdeps/arm/configure: Regenerated.
13446         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13447         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13448         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13449         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13450         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13451         Use move/movt pair instead of a load.
13452         (LDST_GLOBAL): Macro removed.
13453         (LDR_GLOBAL): New macro replaces it.
13454         (LDR_HIDDEN): New macro.
13455         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13456         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13458         * setjmp/tst-setjmp-static.c: New file.
13459         * setjmp/Makefile (tests): Add it.
13460         (tests-static): New variable.
13462 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13464         [BZ #17485]
13465         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13467 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13469         [BZ #14132]
13470         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13472 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13474         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13476 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13478         * io/fts.c (dirent_not_directory): New function.
13479         (fts_build): Call it.
13481 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13483         * nptl/version.c (__nptl_main): Use normal __write rather than
13484         INTERNAL_SYSCALL.
13485         (banner): Update copyright years.
13487         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13488         gettimeofday.
13489         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13490         * nptl/pthread_cond_timedwait.c: Likewise.
13491         * nptl/pthread_mutex_timedlock.c: Likewise.
13492         * nptl/sem_timedwait.c: Likewise.
13494         * sysdeps/nptl/bits/libc-lock.h
13495         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13496         (__libc_lock_init_recursive): Return void, not 0.
13497         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13498         (__libc_rwlock_init): Likewise.
13499         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13501 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13503         [BZ #15215]
13504         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13505         (__pthread_once_slow): ... here.
13506         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13507         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13509 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13511         [BZ #15215]
13512         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13513         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13514         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13515         * nptl/pthread_once.c (__pthread_once): Likewise.
13516         Update comments.
13518 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13520         [BZ #14138]
13521         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13522         name.
13523         (writev): Use __libc_writev as strong name.
13524         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13525         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13527 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13529         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13531         * sysdeps/i386/nptl/tls.h
13532         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13533         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13534         New macros.
13535         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13536         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13537         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13538         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13539         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13540         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13542         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13543         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13544         on [__NR_futex].
13545         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13546         broken out of ...
13547         (__pthread_mutex_init): ... here.  Call it.
13548         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13549         Conditionalize PI cases on [__NR_futex].
13550         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13551         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13552         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13554         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13555         conditional on [SIGSETXID].
13556         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13557         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13558         is defined.  Likewise for SIGSETXID.
13559         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13560         Conditionalize definitions on [SIGSETXID].
13561         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13562         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13563         unblocking on [SIGCANCEL].
13565         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13566         [__NR_set_robust_list].
13568 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13570         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13571         (do_compare): Likewise.
13573 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13575         [BZ #15884]
13576         * string/strcoll_l.c: Don't include stdio.h.
13577         (coll_seq): Remove members idxarr and rulearr.
13578         (get_next_seq_cached): Remove function.
13579         (get_next_seq): Likewise.
13580         (get_next_seq_nocache): Rename to get_next_seq.
13581         (do_compare): Remove function.
13582         (do_compare_nocache): Rename to do_compare.
13583         (STRCOLL): Remove weight and rules cache.
13585 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13587         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13588         * sysdeps/arm/sfp-machine.h: ... to here.
13589         * sysdeps/arm/Implies: Remove arm/soft-fp.
13591 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13593         * conform/data/sys/utsname.h-data (*_t): Allow.
13594         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13595         [POSIX] (WEXITED): Do not expect constant.
13596         [POSIX] (WSTOPPED): Likewise.
13597         [POSIX] (WNOHANG): Likewise.
13598         [POSIX] (WNOWAIT): Likewise.
13599         [POSIX] (siginfo_t): Do not expect type or elements.
13600         [POSIX] (pid_t): Do not expect type.
13601         [POSIX] (signal.h): Do not allow header.
13602         [POSIX] (sys/resource.h): Likewise.
13603         [POSIX] (si_*): Do not allow pattern.
13604         [POSIX] (W*): Likewise.
13605         [POSIX] (P_*): Likewise.
13606         [POSIX] (BUS_*): Likewise.
13607         [POSIX] (CLD_*): Likewise.
13608         [POSIX] (FPE_*): Likewise.
13609         [POSIX] (ILL_*): Likewise.
13610         [POSIX] (POLL_*): Likewise.
13611         [POSIX] (SEGV_*): Likewise.
13612         [POSIX] (SI_*): Likewise.
13613         [POSIX] (TRAP_*): Likewise.
13614         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13615         variable.
13617 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13619         [BZ #12926]
13620         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13621         infinite loop when __recvmsg returns 0.
13623 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13625         * CANCEL-FCT-WAIVE: Remove file.
13626         * CANCEL-FILE-WAIVE: Likewise.
13628         [BZ #14132]
13629         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13630         instead of INTVARDEF.
13631         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13632         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13633         rtld_hidden_data_def instead of INTVARDEF.
13634         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13635         * elf/dl-deps.c (expand_dst): Likewise.
13636         * elf/dl-load.c (_dl_dst_count): Likewise.
13637         (_dl_dst_substitute): Likewise.
13638         (decompose_rpath): Likewise.
13639         (_dl_init_paths): Likewise.
13640         (open_path): Likewise.
13641         (_dl_map_object): Likewise.
13642         * elf/rtld.c (dl_main): Likewise.
13643         (process_dl_audit): Likewise.
13644         (process_envvars): Likewise.
13645         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13646         Remove declaration.
13647         (__libc_enable_secure): Use rtld_hidden_proto.
13649 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13651         * elf/dl-load.c
13652         (add_path): New function broken out of _dl_rtld_di_serinfo.
13653         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13655 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13657         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13658         parentheses around macro arguments.
13659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13670         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13671         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13672         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13673         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13674         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13675         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13688         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13689         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13690         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13691         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13692         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13693         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13694         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13695         Likewise.
13696         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13697         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13702         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13703         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13704         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13705         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13706         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13707         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13708         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13710         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13711         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13712         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13713         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13714         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13715         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13717         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13718         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13719         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13720         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13721         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13722         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13723         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13724         (_FP_FRAC_SRS_1): Likewise.
13725         (_FP_FRAC_CLZ_1): Likewise.
13726         (_FP_MUL_MEAT_1_imm): Likewise.
13727         (_FP_MUL_MEAT_1_wide): Likewise.
13728         (_FP_MUL_MEAT_1_hard): Likewise.
13729         (_FP_SQRT_MEAT_1): Likewise.
13730         (_FP_FRAC_ASSEMBLE_1): Likewise.
13731         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13732         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13733         (__FP_CLZ_2): Likewise.
13734         (_FP_MUL_MEAT_2_wide): Likewise.
13735         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13736         (_FP_MUL_MEAT_2_gmp): Likewise.
13737         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13738         (_FP_SQRT_MEAT_2): Likewise.
13739         (_FP_FRAC_ASSEMBLE_2): Likewise.
13740         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13741         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13742         (_FP_FRAC_CLZ_4): Likewise.
13743         (_FP_MUL_MEAT_4_wide): Likewise.
13744         (_FP_MUL_MEAT_4_gmp): Likewise.
13745         (_FP_SQRT_MEAT_4): Likewise.
13746         (_FP_FRAC_ASSEMBLE_4): Likewise.
13747         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13748         * soft-fp/op-common.h (_FP_CMP): Likewise.
13749         (_FP_CMP_EQ): Likewise.
13750         (_FP_CMP_UNORD): Likewise.
13751         (_FP_TO_INT): Likewise.
13752         (_FP_FROM_INT): Likewise.
13753         [!__FP_CLZ] (__FP_CLZ): Likewise.
13754         (_FP_DIV_HELP_imm): Likewise.
13755         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13756         Likewise.
13757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13760         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13761         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13765         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13768         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13769         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13770         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13772         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13773         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13783         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13786         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13787         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13788         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13790         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13791         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13792         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13793         (FP_UNPACK_RAW_SP): Likewise.
13794         (FP_PACK_RAW_S): Likewise.
13795         (FP_PACK_RAW_SP): Likewise.
13796         (FP_UNPACK_S): Likewise.
13797         (FP_UNPACK_SP): Likewise.
13798         (FP_UNPACK_SEMIRAW_S): Likewise.
13799         (FP_UNPACK_SEMIRAW_SP): Likewise.
13800         (FP_PACK_S): Likewise.
13801         (FP_PACK_SP): Likewise.
13802         (FP_PACK_SEMIRAW_S): Likewise.
13803         (FP_PACK_SEMIRAW_SP): Likewise.
13804         (_FP_SQRT_MEAT_S): Likewise.
13805         (FP_CMP_S): Likewise.
13806         (FP_CMP_EQ_S): Likewise.
13807         (FP_CMP_UNORD_S): Likewise.
13808         (FP_TO_INT_S): Likewise.
13809         (FP_FROM_INT_S): Likewise.
13811         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13813         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13814         (FP_EX_INVALID_IMZ): Likewise.
13815         (FP_EX_INVALID_IMZ_FMA): Likewise.
13816         (FP_EX_INVALID_ISI): Likewise.
13817         (FP_EX_INVALID_ZDZ): Likewise.
13818         (FP_EX_INVALID_IDI): Likewise.
13819         (FP_EX_INVALID_SQRT): Likewise.
13820         (FP_EX_INVALID_CVI): Likewise.
13821         (FP_EX_INVALID_VC): Likewise.
13822         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13823         "invalid" exceptions.
13824         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13825         (_FP_ADD_INTERNAL): Likewise.
13826         (_FP_MUL): Likewise.
13827         (_FP_FMA): Likewise.
13828         (_FP_DIV): Likewise.
13829         (_FP_CMP_CHECK_NAN): Likewise.
13830         (_FP_SQRT): Likewise.
13831         (_FP_TO_INT): Likewise.
13832         (FP_EXTEND): Likewise.
13834 2014-10-09  Allan McRae  <allan@archlinux.org>
13836         * po/fr.po: Update French translation from translation project.
13838 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #14132]
13841         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13842         of INTDEF.
13843         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13844         (__cxa_atexit): Use libc_hidden_proto.
13845         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13847         [BZ #14132]
13848         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13849         declaration.
13850         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13851         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13852         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13853         [!_ISOMAC] (__iswctype_internal): Likewise.
13854         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13855         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13856         alias.
13857         (fcntl): Remove __fcntl_internal alias.
13858         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13859         __connect_internal alias.
13860         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13861         Likewise.
13863         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13864         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13865         FP_DENORM_ZERO.
13866         (_FP_CHECK_FLUSH_ZERO): New macro.
13867         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13868         (_FP_CMP): Likewise.
13869         (_FP_CMP_EQ): Likewise.
13870         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13871         FP_DENORM_ZERO.
13872         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13873         (FP_TRUNC): Likewise.
13875         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13876         treated as invalid conversion, not as normal exponent.
13878         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13879         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13880         (_FP_CMP_EQ): Likewise.
13881         (_FP_CMP_UNORD): Likewise.
13882         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13883         (FP_CMP_EQ_D): Likewise.
13884         (FP_CMP_UNORD_D): Likewise.
13885         * soft-fp/extended.h (FP_CMP_E): Likewise.
13886         (FP_CMP_EQ_E): Likewise.
13887         (FP_CMP_UNORD_E): Likewise.
13888         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13889         (FP_CMP_EQ_Q): Likewise.
13890         (FP_CMP_UNORD_Q): Likewise.
13891         * soft-fp/single.h (FP_CMP_S): Likewise.
13892         (FP_CMP_EQ_S): Likewise.
13893         (FP_CMP_UNORD_S): Likewise.
13894         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13895         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13896         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13897         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13898         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13899         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13900         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13901         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13902         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13903         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13904         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13905         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13906         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13907         to FP_CMP_Q.
13908         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13909         FP_CMP_Q.
13910         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13911         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13912         FP_CMP_EQ_Q.
13913         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13914         FP_CMP_Q.
13915         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13916         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13917         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13918         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13919         FP_CMP_EQ_Q.
13920         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13921         FP_CMP_Q.
13922         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13923         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13924         FP_CMP_EQ_Q.
13925         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13926         FP_CMP_Q.
13927         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13928         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13929         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13930         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13931         FP_CMP_EQ_Q.
13933         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13934         a subnormal result, set the underflow exception if trapping on
13935         underflow is enabled.
13936         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13937         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13938         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13939         redefine to 0.
13940         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13941         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13942         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13943         * soft-fp/extendxftf2.c (__extendxftf2): Use
13944         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13946         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13947         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13948         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13949         FP_HANDLE_EXCEPTIONS.
13950         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13951         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13952         FP_HANDLE_EXCEPTIONS.
13953         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13954         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13955         FP_HANDLE_EXCEPTIONS.
13956         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13957         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13958         FP_HANDLE_EXCEPTIONS.
13960 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13962         [BZ #14132]
13963         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13964         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13965         use INTUSE.
13966         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13967         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13968         Remove alias.
13969         (__adjtimex): Define using libc_hidden_ver.
13970         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13971         Remove declaration.
13972         (ntp_gettime): Call __adjtimex directly.
13973         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13974         Remove declaration.
13975         (ntp_gettimex): Call __adjtimex directly.
13976         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13977         __adjtimex_internal alias.
13979 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13981         [BZ #17460]
13982         * nscd/nscd.c (more_help): Rewrite list of tables collection
13983         using xstrdup and asprintf.
13985         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13987 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13988             Roland McGrath  <roland@hack.frob.com>
13990         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13991         (do_lookup_unique): ... local function 'enter' here; update callers.
13993 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13995         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13996         compat_symbol calls on [SHARED].
13997         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13998         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13999         Remove.
14000         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14001         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14002         (oldsetrlimit): Remove.
14003         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14005         (lchown): New syscall entry.
14006         (oldsetrlimit): Remove.
14007         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14008         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14009         (oldsetrlimit): Remove.
14010         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14012         [BZ #14138]
14013         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14014         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14015         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14016         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14017         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14018         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14019         (fchown): Likewise.
14020         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14021         (fchown): Likewise.
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14023         Likewise.
14025 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14027         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14028         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14029         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14030         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14031         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14032         Likewise.
14033         (__old_sem_post): Likewise.
14035 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
14037         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14038         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14039         HAVE_CLOCK_GETTIME_VSYSCALL macros.
14040         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14041         Use INLINE_VSYSCALL macro.
14042         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14043         __vdso_clock_gettime.
14044         * sysdeps/unix/sysv/linux/tile/init-first.c
14045         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14046         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14047         __vdso_clock_gettime.
14049         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14050         to set up frame more cleanly.
14052         * sysdeps/tile/memcmp.c: New file.
14054         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14056         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14057         * sysdeps/tile/tilegx/strcasestr.c: New file.
14058         * sysdeps/tile/tilegx/strnlen.c: New file.
14059         * sysdeps/tile/tilegx/strstr.c: New file.
14061         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14063 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
14065         * nptl/tst-setuid3.c: Write errors to stdout.
14067 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14069         * elf/dl-deps.c
14070         (preload): New functions broken out of _dl_map_object_deps.
14071         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14073 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14075         [BZ #14138]
14076         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14077         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14079 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14081         * sysdeps/mips/strcmp.S: New.
14083 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #14138]
14086         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14087         (linkat): Likewise.
14088         (mkdirat): Likewise.
14089         (readlinkat): Likewise.
14090         (renameat): Likewise.
14091         (symlinkat): Likewise.
14092         (unlinkat): Likewise.
14093         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14094         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14095         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14096         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14097         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14098         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14099         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14101 2014-09-30  Will Newton  <will.newton@linaro.org>
14103         * math/math.h: Define long double math functions if
14104         _LIBC_TEST is defined.
14105         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14107         * localedata/Makefile: Move assignment to tests-special
14108         into an ifdef testing run-built-tests.
14109         * timezone/Makefile: Likewise.
14111 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14113         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14114         with $(BASH) not $(SHELL).
14116 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14117             Matthew LeGendre  <legendre1@llnl.gov>
14119         [BZ #17411]
14120         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14121         l_reloc_result.
14123 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14125         * stdio-common/printf_fp.c
14126         (hack_digit): New function, broken out of ...
14127         (__printf_fp): ... local function here.  Update call sites.
14128         hack_digit now takes an additional parameter that is a pointer
14129         to a struct of the referenced locals.  Those locals moved inside
14130         the struct and references updated.
14132 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14134         * aclocal.m4: Require autoconf 2.69.
14135         * configure: Regenerated.
14136         * sysdeps/aarch64/configure: Likewise.
14137         * sysdeps/alpha/configure: Likewise.
14138         * sysdeps/arm/armv7/configure: Likewise.
14139         * sysdeps/arm/configure: Likewise.
14140         * sysdeps/ia64/configure: Likewise.
14141         * sysdeps/mach/configure: Likewise.
14142         * sysdeps/mips/configure: Likewise.
14143         * sysdeps/s390/configure: Likewise.
14144         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14147         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14148         file.
14149         * sysdeps/ia64/configure.ac: Likewise.
14151 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14154         specify symbol version for ld.so.  Do not include entry for
14155         libpthread.
14156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14157         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14158         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14160         [BZ #14171]
14161         * Makeconfig [$(build-shared) = yes]
14162         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14163         makefiles.
14164         [$(build-shared) = yes && $(soversions.mk-done) = t]
14165         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14166         [$(build-shared) = yes && $(soversions.mk-done) = t]
14167         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14168         to Makerules.
14169         [$(build-shared) = yes && $(soversions.mk-done) = t]
14170         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14171         here.
14172         [$(build-shared) = yes && $(soversions.mk-done) = t]
14173         (common-generated): Don't append gnu/lib-names.h and
14174         gnu/lib-names.stmp here.
14175         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14176         (lib-names-h-abi): New variable.
14177         [$(build-shared) = yes && $(soversions.mk-done) = t]
14178         (lib-names-stmp-abi): Likewise.
14179         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14180         abi-variants] (before-compile): Append
14181         $(common-objpfx)$(lib-names-h-abi).
14182         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14183         abi-variants] (common-generated): Append gnu/lib-names.h.
14184         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14185         abi-variants] (install-others-nosubdir): Depend on
14186         $(inst_includedir)/$(lib-names-h-abi).
14187         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14188         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14189         [$(build-shared) = yes && $(soversions.mk-done) = t]
14190         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14191         [$(build-shared) = yes && $(soversions.mk-done) = t]
14192         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14193         [$(build-shared) = yes && $(soversions.mk-done) = t]
14194         (common-generated): Append $(lib-names-h-abi) and
14195         $(lib-names-stmp-abi).
14196         * scripts/lib-names.awk: Do not handle multi being set.
14197         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14198         Remove variable.
14199         (abi-lp64_be-ld-soname): Likewise.
14200         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14201         Likewise.
14202         (abi-hard-ld-soname): Likewise.
14203         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14204         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14205         Remove variable.
14206         (abi-o32_hard-ld-soname): Likewise.
14207         (abi-o32_soft_2008-ld-soname): Likewise.
14208         (abi-o32_hard_2008-ld-soname): Likewise.
14209         (abi-n32_soft-ld-soname): Likewise.
14210         (abi-n32_hard-ld-soname): Likewise.
14211         (abi-n32_soft_2008-ld-soname): Likewise.
14212         (abi-n32_hard_2008-ld-soname): Likewise.
14213         (abi-n64_soft-ld-soname): Likewise.
14214         (abi-n64_hard-ld-soname): Likewise.
14215         (abi-n64_soft_2008-ld-soname): Likewise.
14216         (abi-n64_hard_2008-ld-soname): Likewise.
14217         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14218         Likewise.
14219         (abi-64-v2-ld-soname): Likewise.
14220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14221         ld.so entries.
14222         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14223         variable.
14224         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14225         entry.
14226         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14227         variable.
14228         (abi-64-ld-soname): Likewise.
14229         (abi-x32-ld-soname): Likewise.
14230         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14231         entry.
14232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14234 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14236         [BZ #14138]
14237         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14238         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14239         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14240         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14241         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14242         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14243         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14244         syscall entry for GLIBC_2.2 symbol version.
14245         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14246         Likewise.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14248         (setrlimit): Likewise.
14249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14250         Likewise.
14252 2014-09-23  Will Newton  <will.newton@linaro.org>
14254         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14255         _LINUX_ARM_SYSDEP_H include guard too.
14256         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14257         define.
14259 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14261         * sysdeps/unix/sysv/linux/eventfd.c:
14262         Make first argument unsigned.
14263         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14264         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14266 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14268         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14269         * socket/sys/socket.h: Likewise
14270         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14272 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14274         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14276 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14278         * time/tst-ftime.c: New test.
14279         * time/Makefile (tests): Add tst-ftime.
14281 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14283         * soft-fp/extended.h: Fix comment formatting.
14284         * soft-fp/op-1.h: Likewise.
14285         * soft-fp/op-2.h: Likewise.
14286         * soft-fp/op-4.h: Likewise.
14287         * soft-fp/op-8.h: Likewise.
14288         * soft-fp/op-common.h: Likewise.
14289         * soft-fp/soft-fp.h: Likewise.
14291         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14293 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14295         [BZ #6652]
14296         * Makeconfig (soversions-default-setname): Remove variable.
14297         ($(common-objpfx)soversions.i): Don't pass default_setname to
14298         soversions.awk.
14299         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14300         oldest_abi to abi-versions.awk.
14301         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14302         * config.make.in (oldest-abi): Remove variable.
14303         * configure.ac (--enable-oldest-abi): Remove configure option.
14304         * configure: Regenerated.
14305         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14306         text.
14307         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14308         * scripts/soversions.awk: Do not handle default_setname variable.
14309         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14310         variable.
14311         * sysdeps/mach/hurd/configure: Regenerated.
14312         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14313         variable.
14314         * sysdeps/unix/sysv/linux/configure: Regenerated.
14316 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14318         * elf/Makefile (CFLAGS-interp.c): Remove.
14319         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14320         path string.
14321         * elf/interp.c: Include generated runtime-linker.h
14323         * Makerules (lib%.so): Don't include $(+interp) in
14324         prerequisites.
14325         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14326         * dlfcn/eval.c: Remove file.
14328         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14329         macros.
14331         [BZ #17266]
14332         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14333         4.2 and newer.
14335         [BZ #17370]
14336         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14338 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14339             Jakub Jelinek  <jakub@redhat.com>
14341         [BZ #17266]
14342         * libio/stdio.h: Check definition of __fortify_function
14343         instead of __extern_always_inline to include bits/stdio2.h.
14344         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14345         check if __extern_always_inline is defined.
14346         [__USE_MISC || __USE_XOPEN]: Likewise.
14347         [__USE_ISOC99] Likewise.
14348         * misc/sys/cdefs.h (__fortify_function): Define only if
14349         __extern_always_inline is defined.
14350         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14351         __extern_always_inline and __extern_inline only for g++-4.3
14352         and newer or a compatible gcc.
14354 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14356         [BZ #17371]
14357         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14358         last change to handle zero prefix length.
14360 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14362         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14363         _SC_REGEX_VERSION.
14365         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14366         _POSIX_RAW_SOCKETS.
14368 2014-09-13  Allan McRae  <allan@archlinux.org>
14370         * po/ru.po: Update Russian translation from translation project.
14372 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14374         * locale/programs/locale.c (show_locale_vars): Inline local function
14375         into its sole call site.  Clean up some style nits.
14376         (print_item): New function, broken out of ...
14377         (show_info): ... local function here.  Clean up style nits.
14379         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14380         out of ...
14381         (set_class_defaults): ... local function set_default here.
14382         Define set_default as a macro locally to pass constant parameters.
14383         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14384         rather than a shared local.
14386         * stdlib/rpmatch.c (try): New function, broken out of ...
14387         (rpmatch): ... local function here.  Also, prototypify definition.
14389 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14391         * scripts/soversions.awk: Do not handle configuration names.
14392         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14393         vendor and os variables to soversions.awk.
14394         * configure.ac: Do not modify gnu-* host_os.
14395         * configure: Regenerated
14396         * shlib-versions: Remove first column with configuration names.
14397         * nptl/shlib-versions: Likewise.
14398         * nptl_db/shlib-versions: Likewise.
14399         * sysdeps/hppa/shlib-versions: Likewise.
14400         * sysdeps/m68k/shlib-versions: Likewise.
14401         * sysdeps/mach/hurd/shlib-versions: Likewise.
14402         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14403         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14404         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14405         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14406         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14407         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14408         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14409         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14411         Likewise.
14412         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14413         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14414         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14415         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14416         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14417         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14418         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14419         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14422         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14424         Regenerated.
14425         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14427         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14429         * shlib-versions: Remove OS-specific entries.  Moved to files in
14430         sysdeps.
14431         * sysdeps/mach/hurd/shlib-versions: New file.
14432         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14434         * nptl/shlib-versions: Remove architecture-specific entries.
14435         Moved to files in sysdeps.
14436         * shlib-versions: Likewise.
14437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14438         file.
14439         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14440         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14441         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14442         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14444         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14445         (UDP_NO_CHECK6_RX): Likewise.
14447 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14449         * sysdeps/posix/sysconf.c (__sysconf): Spell
14450         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14452 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14454         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14455         loading.
14456         * iconv/Versions (__gconv_transliterate): Export for use from
14457         gconv modules.
14458         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14459         (struct __gconv_trans_data, __gconv_trans_fct,
14460         __gconv_trans_context_fct, __gconv_trans_query_fct,
14461         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14462         definitions.
14463         (struct __gconv_step_data): Remove __trans member.
14464         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14465         longer hidden.  Remove unused trans_data argument.
14466         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14467         (__gconv_translit_find): Remove declaration.
14468         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14469         prototype.
14470         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14471         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14472         trans_data argument.  Add hidden definition.
14473         (__gconv_translit_find): Remove.
14474         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14475         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14476         * iconv/skeleton.c: Remove transliteration initialization.
14477         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14478         __gconv_step_data initialization.
14479         * libio/iofwide.c (__libio_translit_): Remove.
14480         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14481         * wcsmbs/btowc.c (__btowc): Likewise.
14482         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14483         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14484         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14485         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14486         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14487         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14488         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14489         * wcsmbs/wctob.c (wctob): Likewise.
14491 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14493         [BZ #16194]
14494         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14495         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14496         register usage.
14497         * sysdeps/x86/Makefile: Adjust.
14499 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14500             Roland McGrath  <roland@hack.frob.com>
14502         * locale/weight.h: Add include guard.
14503         (findidx): Make static rather than auto; take new parameters
14504         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14505         * locale/weightwc.h: Likewise.
14506         * posix/fnmatch_loop.c
14507         (FCT): Change type of EXTRA from int32_t to wint_t.
14508         Don't include either header inside the function.
14509         Call FINDIDX rather than findidx, and pass new arguments.
14510         #undef FINDIDX at the end of the file.
14511         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14512         FINDIDX before including fnmatch_loop.c for the non-wide version.
14513         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14514         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14515         for the wide version.
14516         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14517         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14518         Pass new arguments to findidx.
14519         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14520         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14521         Don't #include it inside the function.  Pass new arguments to findidx.
14522         * posix/regex_internal.h
14523         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14524         (re_string_elem_size_at): Don't #include it inside the function.
14525         Pass new arguments to findidx.
14526         * string/strcoll_l.c: #include WEIGHT_H at top level.
14527         (get_next_seq): Don't #include it inside the function.
14528         Pass new arguments to findidx.
14529         (get_next_seq_nocache): Likewise.
14530         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14531         (STRXFRM): Don't #include it inside the function.
14532         Pass new arguments to findidx.
14534 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14536         [BZ #17344]
14537         * malloc/malloc.c (unlink): Turn asserts into a call to
14538         malloc_printerr.
14540 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14542         [BZ #17370]
14543         * libio/wfileops (do_ftell_wide): Free OUT.
14545 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14547         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14549 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14551         [BZ #17363]
14552         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14553         group if the current group is empty.
14555 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14557         * benchtests/bench-memset.c (test_main): Add more test from size
14558         from 32 to 512 bytes.
14559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14560         Add POWER8 memset object.
14561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14562         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14563         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14564         implementation.
14565         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14566         Likewise.
14567         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14568         multiarch POWER8 memset optimization.
14569         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14570         POWER8 memset optimization.
14572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14573         Remove bzero multiarch objects.
14574         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14575         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14576         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14577         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14578         Remove define.
14579         [__bzero]: Redefine to specific name.
14580         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14581         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14582         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14583         define.
14584         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14585         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14587 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14589         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14590         warnings into errors.
14592         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14593         __cxa_thread_atexit_impl prototype.
14595 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14597         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14598         Fix capitalization of error message.
14600 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14602         * sysdeps/mips/preconfigure: Modify ABI tests.
14604 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14606         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14608 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14609             Carlos O'Donell  <carlos@systemhalted.org>
14611         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14612         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14613         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14614         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14615         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14616         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14617         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14618         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14619         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14620         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14621         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14622         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14623         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14624         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14625         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14626         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14627         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14628         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14629         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14630         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14631         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14632         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14633         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14634         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14635         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14636         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14637         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14638         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14639         Deconditionalize the code that was previously under [RESET_PID].
14640         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14641         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14642         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14643         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14644         include sysdep.h.
14646 2014-09-08  Allan McRae  <allan@archlinux.org>
14648         * version.h (RELEASE): Set to "development".
14649         (VERSION): Set to "2.20.90"
14651 2014-09-07  Allan McRae  <allan@archlinux.org
14653         * version.h (RELEASE): Set to "stable".
14654         (VERSION): Set to "2.20"
14655         * include/features.h (__GLIBC_MINOR__): Set to 20.
14657         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14658         Liebler.
14660         * po/ko.po: Update Korean translation from translation project.
14662 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14664         [BZ #17354]
14665         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14666         macro for handling signed relocations.
14668 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14670         [BZ #17325]
14671         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14672         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14673         assert.
14674         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14675         * iconvdata/ibm935.c (BODY): Likewise.
14676         * iconvdata/ibm937.c (BODY): Likewise.
14677         * iconvdata/ibm939.c (BODY): Likewise.
14678         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14679         assert.
14680         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14681         script.
14682         * iconvdata/run-iconv-test.sh: New test loop for checking for
14683         decoder crashers.
14685 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14687         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14688         libm_hidden_ver.
14690 2014-09-01  Allan McRae  <allan@archlinux.org>
14692         * po/eo.po: Update Esperanto translation from translation project.
14694         * po/ca.po: Update Catalan translation from translation project.
14696 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14698         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14699         __proc_dostop call.
14701 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14703         [BZ #17319]
14704         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14705         to call set_thread_area instead of hand written asm.
14706         (__NR_set_thread_area): Removed define.
14707         (TLS_FLAG_WRITABLE): Likewise.
14708         (__ASSUME_SET_THREAD_AREA): Remove check.
14709         (TLS_EBX_ARG): Remove define.
14710         (TLS_LOAD_EBX): Likewise.
14712 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14714         Simplify atomicity of socket creation in bind.
14716         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14717         looking up the name after linking the file.
14719 2014-08-27  Allan McRae  <allan@archlinux.org>
14721         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14723 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14725         [BZ #17187]
14726         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14727         trans_compare, open_translit, __gconv_translit_find):
14728         Remove module loading code.
14730 2014-08-26  Allan McRae  <allan@archlinux.org>
14732         * po/vi.po: Update Vietnamese translation from translation project.
14734         * po/uk.po: Update Ukrainian translation from translation project.
14736         * po/fr.po: Update French translation from translation project.
14738         * po/ru.po: Update Russian translation from translation project.
14740         * po/pl.po: Update Polish translation from translation project.
14742         * po/cs.po: Update Czech translation from translation project.
14744         * po/de.po: Update German translation from translation project.
14746         * po/bg.po: Update Bulgarian translation from translation project.
14748         * po/sv.po: Update Sweedish translation from translation project.
14750         * po/nl.po: Update Dutch translation from translation project.
14752         * po/es.po: Update Spanish translation from translation project.
14754 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14756         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14758         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14759         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14760         (CPPFLAGS-iconvconfig): Likewise.
14761         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14763         * include/libc-symbols.h: Remove unnecessary check for
14764         NOT_IN_libc.
14765         * nptl/pthreadP.h: Likewise.
14766         * sysdeps/aarch64/setjmp.S: Likewise.
14767         * sysdeps/alpha/setjmp.S: Likewise.
14768         * sysdeps/arm/sysdep.h: Likewise.
14769         * sysdeps/i386/setjmp.S: Likewise.
14770         * sysdeps/m68k/setjmp.c: Likewise.
14771         * sysdeps/posix/getcwd.c: Likewise.
14772         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14773         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14774         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14775         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14776         * sysdeps/sh/sh3/setjmp.S: Likewise.
14777         * sysdeps/sh/sh4/setjmp.S: Likewise.
14778         * sysdeps/unix/alpha/sysdep.h: Likewise.
14779         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14780         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14781         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14782         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14787         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14788         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14790         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14792         * sysdeps/x86_64/setjmp.S: Likewise.
14794 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14796         [BZ #17263]
14797         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14798         <stdint.h>.
14799         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14800         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14802 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14806         [BZ #17262]
14807         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14808         and __x86_64__ when disabling x87 inline functions.
14810 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14812         [BZ #17259]
14813         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14814         asm statement with __cpuid_count.
14816 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14818         * configure.ac: Change __ehdr_start code to dereference the struct.
14819         Run readelf on the output to look for relocations.
14820         * configure: Regenerated.
14822 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14824         [BZ #17261]
14825         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14826         value to 0.
14827         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14829 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14831         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14833 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14835         [BZ #16892]
14836         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14837         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14839 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14841         * malloc/malloc.c: Fix typo in comment.
14843 2014-08-09  Allan McRae  <allan@archlinux.org>
14845         * Regenerate libc.po.
14847 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14849         * intl/tst-gettext2.sh: Check every lang file for creation.
14851 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14853         * sysdeps/aarch64/fpu/math_private.h
14854         (libc_feholdsetround_noex_aarch64_ctx): New function.
14856 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14858         * sysdeps/arm/armv6/strcpy.S (strcpy):
14859         Fix performance issue in misaligned cases.
14861 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14863         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14864         Move definition from termios.h.
14865         (struct termio): Likewise.
14866         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14867         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14868         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14869         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14870         Likewise.
14871         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14872         Move definition to ioctl-types.h
14873         (struct termio): Likewise.
14874         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14875         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14876         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14877         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14878         Likewise.
14880 2014-08-05  Richard Henderson  <rth@redhat.com>
14882         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14883         exceptions.
14884         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14885         Add fraiseexcpt.
14886         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14887         Use __feraiseexcept.
14888         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14889         Protect libm symbols with IS_IN_libm.
14891         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14893 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14895         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14897 2014-08-04  Will Newton  <will.newton@linaro.org>
14899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14900         file.
14902 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14904         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14905         variants for each function.
14907 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14909         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14910         appended ...
14911         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14912         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14913         appended ...
14914         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14915         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14916         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14917         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14918         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14919         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14920         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14921         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14922         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14923         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14924         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14925         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14926         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14927         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14928         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14929         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14930         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14931         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14932         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14933         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14934         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14935         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14936         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14937         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14938         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14939         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14940         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14941         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14942         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14944         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14945         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14946         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14947         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14948         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14950         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14951         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14952         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14953         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14954         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14955         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14956         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14957         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14958         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14960         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14962         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14964         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14965         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14966         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14967         Update #include.
14968         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14969         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14971 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14973         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14974         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14975         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14976         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14977         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14978         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14980 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14982         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14983         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14984         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14985         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14987 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14989         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14990         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14991         (__libc_vfork): Define function under this name.
14992         (__vfork): Define as an alias.
14993         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14994         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14996 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14998         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14999         that was previously under [RESET_PID].
15000         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15002 2014-08-04  Andreas Schwab  <schwab@suse.de>
15004         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15006 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
15008         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15009         (main): Likewise.
15011 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15013         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15015 2014-08-01  Richard Henderon  <rth@redhat.com>
15017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15018         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15019         typo in exact zero test.
15020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15021         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15024 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15026         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15027         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15028         * sysdeps/arm/sysdep.h: ... here.
15029         [!__ASSEMBLER__]: Include <stdint.h>.
15031 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15033         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15034         (HAVE_WCTYPE_H): Likewise.
15035         (HAVE_ISWCTYPE): Likewise.
15036         (ENABLE_NLS): Likewise.
15037         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15038         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15040         * posix/regex_internal.c: Check if DEBUG is defined and is
15041         set.
15043         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15044         (HAVE_MBSRTOWCS): Likewise.
15045         * posix/fnmatch.c: Include string.h unconditionally.
15047 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15049         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15050         reversal.
15052 2014-07-31  Roland McGrath  <roland@hack.frob.com>
15054         * sysdeps/generic/safe-fatal.h: New file.
15055         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15056         * nptl/forward.c: Include it.
15057         (__pthread_unwind): Use __safe_fatal as default action, rather
15058         than a bogus use of INTERNAL_SYSCALL that could never work.
15060         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15061         * configure.ac (libc_cv_builtin_trap): New test.
15062         * configure: Regenerated.
15063         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15064         (ABORT_INSTRUCTION): Define using __builtin_trap.
15066         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15067         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15068         * sysdeps/nptl/nptl-signals.h: New file.
15069         * nptl/pthreadP.h: Include <nptl-signals.h>.
15071 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15073         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15074         (ONE_DIRECTION): Define.
15075         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15076         (ONE_DIRECTION): Define.
15077         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15078         (ONE_DIRECTION): Define.
15080 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15082         * sysdeps/s390/Makefile: Delete file.
15083         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15084         * sysdeps/s390/__longjmp.c: Delete file.
15085         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15086         Remove fields __flags and __reserved.
15087         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15088         and add versioning.
15089         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15090         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15091         * sysdeps/s390/rtld-setjmp.S: Likewise.
15092         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15093         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15094         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15095         * sysdeps/s390/s390-32/setjmp.S: ... here.
15096         Add versioning.
15097         (__sigsetjmp): Remove setting __flags field.
15098         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15099         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15100         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15101         * sysdeps/s390/s390-64/setjmp.S: ... here.
15102         Add versioning.
15103         (__sigsetjmp): Remove setting __flags field.
15104         * sysdeps/s390/setjmp.S: Delete file.
15105         * sysdeps/s390/sigjmp.c: Likewise.
15106         * sysdeps/s390/v1-longjmp.c: Likewise.
15107         * sysdeps/s390/v1-setjmp.h: Likewise.
15108         * sysdeps/s390/v1-sigjmp.c: Likewise.
15109         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15110         Remove v1-longjmp_chk.
15111         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15112         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15113         Include debug/longjmp_chk.c and add versioning.
15114         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15115         Include nptl/pt-longjmp.c and add versioning.
15116         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15118         Include __longjmp.c.
15119         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15120         Move to ...
15121         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15122         (__getcontext): Remove setting __flags field.
15123         Add versioning.
15124         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15125         Don't restore upper high grps.
15126         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15127         Likewise.
15128         (__swapcontext): Remove setting uc_flags field.
15129         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15130         Delete file.
15131         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15132         Include __longjmp.c.
15133         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15134         Move to ...
15135         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15136         (__getcontext): Remove setting __flags field.
15137         Add versioning.
15138         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15139         (__swapcontext): Remove setting uc_flags field.
15140         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15141         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15142         Remove fields uc_high_gprs and __reserved.
15143         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15144         New file with reverted content.
15145         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15147         Regenerated.
15148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15149         Regenerated.
15151 2014-07-31  Andreas Schwab  <schwab@suse.de>
15153         * config.h.in (HAVE_IFUNC): Define to 0.
15154         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15155         definedness.
15157 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15160         memmove-avx-unaligned, memcpy-avx-unaligned and
15161         mempcpy-avx-unaligned.
15162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15163         Add tests for AVX memcpy functions.
15164         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15166         memcpy_chk.
15167         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15168         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15169         memmove_chk.
15170         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15172         mempcpy_chk.
15173         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15174         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15175         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15177 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15179         [BZ #17213]
15180         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15181         powerpc64le.
15183 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15185         [BZ #16839]
15186         * manual/llio.texi: Add section about open file description locks.
15187         * manual/examples/ofdlocks.c: Example of open file description
15188         lock usage.
15189         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15190         F_OFD_SETLK, and F_OFD_SETLKW.
15192 2014-07-23  Allan McRae  <allan@archlinux.org>
15194         * po/es.po: Update Spanish translation from translation project.
15196 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15198         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15200 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15202         [BZ #17078]
15203         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15204         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15205         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15207 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15209         [BZ #17088]
15210         * math/fesetenv.c (__fesetenv)
15211         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15212         * math/feupdateenv.c (__feupdateenv)
15213         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15215         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15216         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15217         (__ASSUME_SOCKETCALL): Do not define.
15219         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15220         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15221         (__ASSUME_SOCKETCALL): Do not define.
15222         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15223         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15224         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15225         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15226         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15227         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15228         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15229         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15231         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15232         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15233         (__ASSUME_SOCKETCALL): Do not define.
15234         (__ASSUME_IPC64): Define unconditionally.
15235         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15236         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15237         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15238         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15239         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15240         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15241         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15242         Likewise.
15244         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15245         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15246         (__ASSUME_SOCKETCALL): Do not define.
15247         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15248         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15249         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15250         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15251         (__ASSUME_REQUEUE_PI): Define unconditionally.
15252         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15253         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15254         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15255         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15257         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15259         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15260         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15261         (__ASSUME_SOCKETCALL): Do not define.
15262         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15263         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15264         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15265         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15267         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15269         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15270         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15271         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15272         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15273         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15274         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15275         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15276         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15277         (__ASSUME_GETCPU_SYSCALL): Likewise.
15279         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15280         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15281         cases for individual architectures.
15282         * sysdeps/gnu/configure: Regenerated.
15283         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15284         LIBC_SLIBDIR_RTLDDIR.
15285         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15286         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15287         LIBC_SLIBDIR_RTLDDIR.
15288         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15290         LIBC_SLIBDIR_RTLDDIR.
15291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15292         Regenerated.
15293         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15294         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15295         file.
15296         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15297         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15298         file.
15299         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15300         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15301         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15302         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15304         * sysdeps/aarch64/shlib-versions: Move to ...
15305         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15306         * sysdeps/alpha/shlib-versions: Move to ...
15307         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15308         * sysdeps/arm/shlib-versions: Move to ...
15309         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15310         * sysdeps/hppa/shlib-versions: Move all contents except for
15311         libgcc_s entry to ...
15312         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15313         entry from ...
15314         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15315         * sysdeps/ia64/shlib-versions: Move to ...
15316         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15317         entry from ...
15318         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15319         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15320         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15321         * sysdeps/microblaze/shlib-versions: Move to ...
15322         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15323         * sysdeps/mips/shlib-versions: Move to ...
15324         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15325         entry from ...
15326         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15327         * sysdeps/tile/shlib-versions: Move to ...
15328         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15329         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15330         from ...
15331         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15332         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15333         entry from ...
15334         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15336 2014-07-17  Will Newton  <will.newton@linaro.org>
15338         * sysdeps/arm/bits/atomic.h
15339         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15340         (__arch_compare_and_exchange_bool_16_int): Likewise.
15341         (__arch_compare_and_exchange_bool_64_int): Likewise.
15343         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15344         into an #else block.
15346 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15348         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15349         just Linux configurations.  Test empirically that the compiler sets
15350         __ARM_EABI__, rather than using the tuple to decide.
15351         * sysdeps/arm/preconfigure: Regenerated.
15352         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15353         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15354         contents appended ...
15355         * sysdeps/arm/configure.ac: ... here.
15356         * sysdeps/arm/configure: Regenerated.
15358 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15360         * nptl/pthread_kill.c: New file.
15361         * nptl/pthread_sigmask.c: New file.
15362         * nptl/pthread_sigqueue.c: New file.
15364         * sysdeps/nptl/lowlevellock.h: New file.
15365         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15366         * sysdeps/nptl/lowlevellock-futex.h: New file.
15368         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15369         Remove dead declarations.
15371 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15373         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15374         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15375         config-cflags-avx2.
15376         * sysdeps/x86_64/configure.ac: Likewise.
15377         * sysdeps/i386/configure: Regenerated.
15378         * sysdeps/x86_64/configure: Likewise.
15379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15380         memset-avx2 only if config-cflags-avx2 is yes.
15381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15382         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15383         defined.
15384         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15385         only if HAVE_AVX2_SUPPORT is defined.
15386         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15388 2014-07-14  Alan Modra  <amodra@gmail.com>
15390         [BZ #17153]
15391         * elf/elf.h (DT_PPC64_NUM): Correct value.
15392         * NEWS: Add to fixed bug list.
15394 2014-07-13  Jim Meyering  <meyering@fb.com>
15396         [BZ 17150]
15397         regex: don't deref NULL upon heap allocation failure
15398         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15399         failure in one more place.
15400         To trigger the segfault, configure grep -with-included-regex,
15401         build it, and run these commands:
15402         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15404 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15406         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15408 2014-07-11  Richard Henderson  <rth@redhat.com>
15410         * sysdeps/aarch64/libm-test-ulps: Update.
15412 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15414         [BZ #17135]
15415         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15416         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15417         (__nptl_setxid): Initialize error member.  Call
15418         __nptl_setxid_error.
15419         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15420         * nptl/descr.h (struct xid_command): Add error member.
15421         * nptl/tst-setuid3.c: New file.
15422         * nptl/Makefile (tests): Add it.
15424 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15426         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15427         New define.
15428         (__lll_trylock): Use __lll_base_trylock.
15429         (__lll_cond_trylock): Likewise.
15431 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15433         * nptl/pthread_create.c (start_thread): Use atomic_or and
15434         lll_futex_wake directly rather than lll_robust_dead.
15435         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15436         (lll_robust_dead): Macro removed.
15437         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15438         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15439         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15440         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15441         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15442         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15443         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15444         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15445         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15446         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15447         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15448         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15449         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15450         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15451         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15453         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15454         Use atomic_compare_and_exchange_val_acq directly rather than
15455         lll_robust_trylock.
15456         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15457         (__lll_robust_trylock, lll_robust_trylock): Removed.
15458         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15459         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15460         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15461         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15462         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15463         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15464         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15465         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15467         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15468         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15470         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15473 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15475         * manual/locale.texi (Locale Names): New section documenting
15476         locale name syntax.  Adjust menu and node chaining accordingly.
15477         (Choosing Locale): Reference Locale Names, Locale Categories.
15478         Mention setting LC_ALL=C.  Reflect that name syntax is now
15479         documented.
15480         (Locale Categories): New section title.  Reference Locale Names.
15481         LC_ALL is an environment variable, but not a category.
15482         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15483         description, now in Locale Name.  Reference that section.  Locale
15484         name syntax is now documented.
15486 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15488         [BZ #17137]
15489         * locale/findlocale.c (name_present, valid_locale_name): New
15490         functions.
15491         (_nl_find_locale): Use the loc_name variable to store name
15492         candidates.  Call name_present and valid_locale_name to check and
15493         validate locale names.  Return an error if the locale is invalid.
15495 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15497         * locale/setlocale.c (setlocale): Use strdup for allocating
15498         composite name copy.
15500 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15502         Sync up with gnulib.
15503         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15504         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15505         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15506         and _GL_ARG_NONNULL.
15507         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15508         [!_LIBC]: Include code for Windows and Cygwin.
15509         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15510         Include prototype for int strerror_r.
15511         [!_LIBC] (is_open): New function.
15512         (flush_stdout): New function.
15513         (print_errno_message): Use it.
15514         (error): Likewise.
15515         (error_at_line): Likewise.
15516         (error_tail) Add function attribute macros.  Use
15517         __builtin_expect.
15519         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15521         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15523         * io/ftw.c: Include sys/param.h unconditionally.
15525         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15527         [BZ #17125]
15528         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15529         libc_freeres_ptr.
15530         (freecache): New function to free CACHE on exit.
15532         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15533         initialization.
15535 2014-07-09  David S. Miller  <davem@davemloft.net>
15537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15539         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15540         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15541         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15542         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15543         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15544         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15545         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15546         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15547         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15548         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15549         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15550         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15551         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15553 2014-07-09  Andreas Schwab  <schwab@suse.de>
15555         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15556         output.
15557         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15558         (do_test): Likewise.
15560         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15562 2014-07-09  Will Newton  <will.newton@linaro.org>
15564         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15565         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15566         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15567         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15568         * sysdeps/hppa/start.S (_start): Likewise.
15570 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15572         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15574         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15575         defined.
15577 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15579         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15580         after checking that it is non-NULL.
15582         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15584 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15586         * sysdeps/powerpc/memmove.c: Remove file.
15587         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15588         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15589         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15590         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15591         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15592         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15593         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15594         string memmove instead of removed powerpc one.
15596         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15597         [weak_alias]: Fix compiler warning due trailing data.
15598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15599         [weak_alias]: Likewise.
15600         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15601         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15604         (__libc_ifunc_impl_list): Add memmove functions.
15606 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15608         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15609         Remove code.
15610         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15611         Likewise
15612         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15613         Likewise
15614         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15615         Likewise
15616         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15617         Likewise
15618         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15619         Likewise
15620         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15621         Likewise
15622         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15623         Likewise
15624         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15625         Likewise
15626         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15627         Likewise
15628         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15629         Likewise
15630         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15631         Likewise
15632         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15633         Likewise
15634         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15635         Likewise
15636         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15637         Likewise
15638         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15639         Likewise
15640         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15641         Likewise
15643 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15645         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15646         to avoid alignment traps in non-cacheable memory.
15647         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15650         multiarch objects.
15651         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15652         file: multiarch power7 memmove.
15653         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15654         multiarch default memmove.
15655         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15656         multiarch memove for powerpc32/power4.
15658         * string/bcopy.c: Use full path to include memmove.c.
15659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15660         multiarch objects.
15661         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15662         bcopy for powerpc64.
15663         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15664         bcopy for powerpc64.
15665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15666         and memmove implementations.
15667         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15668         optimized multiarch memmove for POWER7/powerpc64.
15669         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15670         default multiarch memmove for powerpc64.
15671         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15672         multiarch for powerpc64.
15673         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15674         for POWER7/powerpc64.
15675         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15676         memmove for POWER7/powerpc64.
15678         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15679         glibc default one.
15681         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15682         __ELF_NATIVE_CLASS equal to 64.
15684 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15686         * sysdeps/nptl/lowlevellock.h: File removed.
15688         * NEWS: NPTL is no longer an add-on!
15689         * nptl/internaltypes.h: Moved ...
15690         * sysdeps/nptl/internaltypes.h: ... here.
15691         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15692         * sysdeps/nptl/fork.c: Likewise.
15693         * sysdeps/nptl/gai_misc.h: Likewise.
15694         * sysdeps/nptl/librt-cancellation.c: Likewise.
15695         * sysdeps/nptl/jmp-unwind.c: Likewise.
15696         * sysdeps/nptl/setxid.h: Likewise.
15697         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15698         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15699         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15700         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15701         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15702         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15703         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15704         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15705         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15706         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15707         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15708         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15709         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15710         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15711         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15712         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15713         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15714         * nptl/Makeconfig: Moved ...
15715         * sysdeps/nptl/Makeconfig: ... here.
15716         * nptl/configure: File removed.
15717         * nptl/ANNOUNCE: File removed.
15718         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15719         * sysdeps/unix/sysv/linux/configure: Regenerated.
15721         * nptl/Makefile (routines): Add libc_pthread_init,
15722         libc_multiple_threads, register-atfork and unregister-atfork.
15723         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15724         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15725         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15726         pthread-pi-defines.sym, structsem.sym.
15727         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15728         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15729         [$(subdir) = nptl] (tests): Add tst-setgetname.
15730         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15731         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15732         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15733         [!LIBC_SIGACTION]: Remove aliases.
15734         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15735         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15736         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15737         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15738         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15739         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15740         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15741         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15742         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15743         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15744         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15745         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15746         __libc_allocate_rtsig_private.
15747         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15748         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15749         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15750         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15751         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15752         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15753         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15754         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15755         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15756         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15757         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15758         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15759         * nptl/internaltypes.h: ... here.
15760         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15761         * sysdeps/nptl/jmp-unwind.c: ... here.
15762         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15763         * nptl/libc-lowlevellock.c: ... here.
15764         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15765         * nptl/libc_multiple_threads.c: ... here.
15766         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15767         * nptl/libc_pthread_init.c: ... here.
15768         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15769         * nptl/lowlevelbarrier.sym: ... here.
15770         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15771         * nptl/lowlevelcond.sym: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15773         * nptl/lowlevellock.c: ... here.
15774         * nptl/lowlevellock.h: Moved ...
15775         * sysdeps/nptl/lowlevellock.h: ... here.
15776         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15777         * nptl/lowlevelrobustlock.c: ... here.
15778         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15779         * nptl/lowlevelrobustlock.sym: ... here.
15780         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15781         * nptl/lowlevelrwlock.sym: ... here.
15782         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15783         * nptl/pt-fork.c: ... here.
15784         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15785         * nptl/pthread-pi-defines.sym: ... here.
15786         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15787         * nptl/pthread_attr_getaffinity.c: ... here.
15788         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15789         * nptl/pthread_attr_setaffinity.c: ... here.
15790         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15791         * nptl/pthread_mutex_cond_lock.c: ... here.
15792         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15793         Update #include.
15794         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15795         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15796         * nptl/pthread_once.c: ... here, replacing old file.
15797         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15798         * nptl/pthread_yield.c: ... here.
15799         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15800         * nptl/register-atfork.c: ... here.
15801         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15802         * nptl/sem_post.c: ... here.
15803         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15804         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15805         * nptl/sem_timedwait.c: ... here.
15806         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15807         * nptl/sem_trywait.c: ... here.
15808         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15809         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15810         * nptl/sem_wait.c: ... here.
15811         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15812         * nptl/structsem.sym: ... here.
15813         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15814         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15815         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15816         * nptl/unregister-atfork.c: ... here.
15817         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15818         * nptl/unwindbuf.sym: ... here.
15819         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15820         * sysdeps/nptl/fork.c: ... here.
15821         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15822         * sysdeps/nptl/fork.h: ... here.
15823         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15824         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15825         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15826         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15827         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15828         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15829         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15830         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15831         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15832         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15833         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15834         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15835         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15836         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15837         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15838         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15839         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15840         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15841         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15842         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15843         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15845         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15846         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15847         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15848         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15849         * sysdeps/unix/sysv/linux/raise.c: ... here.
15850         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15851         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15852         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15853         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15854         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15855         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15856         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15857         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15858         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15859         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15860         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15861         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15862         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15863         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15864         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15866 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15868         * sysdeps/generic/memcopy.h: Add comment for
15869         MEMCPY_OK_FOR_FWD_MEMMOVE.
15871 2014-07-04  Will Newton  <will.newton@linaro.org>
15873         * string/memchr.c: Merge from gnulib.
15874         [_LIBC]: Remove conditionals.
15875         (__ptr_t): Remove define.
15876         (LONG_MAX_32_BITS): Likewise.
15877         (LONG_MAX): Likewise.
15878         (MEMCHR): Use ANSI prototype and optimize algorithm.
15880         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15882 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15884         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15885         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15887         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15888         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15889         in a bare environment with no <stdlib.h> installed.
15890         * sysdeps/nptl/configure: Regenerated.
15892         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15894         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15895         AC_EGREP_CPP for kernel header checks, so they only succeed if
15896         including <linux/version.h> actually works right.
15897         * sysdeps/unix/sysv/linux/configure: Regenerated.
15899         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15900         value so it's not diagnosed as unused.
15902         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15903         thing) with "ifeq ($(subdir),rt)".
15905 2014-07-03  Richard Henderson  <rth@redhat.com>
15907         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15908         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15909         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15911         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15912         (math_force_eval): New.
15914         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15915         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15917         * sysdeps/alpha/fpu/s_round.c: Remove file.
15918         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15920         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15921         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15922         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15923         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15924         (_dl_start, print_statistics): Likewise.
15925         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15926         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15928         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15929         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15930         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15931         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15933         (HP_SMALL_TIMING_AVAIL): Define.
15934         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15935         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15936         (HP_SMALL_TIMING_AVAIL): Define.
15937         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15938         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15940         * sysdeps/aarch64/hp-timing.h: New file.
15942         * sysdeps/generic/hp-timing.h: Remove dead comment.
15943         * sysdeps/generic/hp-timing-common.h: New file.
15944         * sysdeps/alpha/hp-timing.h: Include it.
15945         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15946         * sysdeps/i386/i686/hp-timing.h: Likewise.
15947         * sysdeps/ia64/hp-timing.h: Likewise.
15948         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15949         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15950         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15951         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15952         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15953         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15954         (hp_timing_t): New.
15956         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15957         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15958         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15959         * elf/rtld.c (_dl_start_final): Likewise.
15960         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15961         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15962         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15963         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15964         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15965         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15966         (HP_TIMING_DIFF_INIT): Remove.
15967         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15969         (HP_TIMING_DIFF_INIT): Remove.
15970         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15971         * sysdeps/i386/i686/hp-timing.c: Remove file.
15972         * sysdeps/x86_64/hp-timing.c: Remove file.
15973         * sysdeps/ia64/hp-timing.c: Remove file.
15974         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15975         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15976         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15977         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15979         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15980         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15981         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15982         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15984         (HP_TIMING_ACCUM): Remove.
15985         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15986         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15987         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15989         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15990         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15991         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15992         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15994         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15995         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15996         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15998         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16000 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
16002         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16004 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16006         Sync up with gettext.
16007         * intl/loadmsgcat.c: Define O_BINARY if not defined.
16008         [_MSC_VER]: Include malloc.h
16009         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16010         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16011         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
16012         TEMP_FAILURE_RETRY.  Cast return of alloca.
16013         [!_LIBC] Call gl_rwlock_init.
16014         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16016 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16018         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16019         before checking its value.
16021 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16023         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16025         * debug/memcpy_chk.c: Don't include pagecopy.h.
16026         * debug/mempcpy_chk.c: Likewise.
16027         * string/memcpy.c: Likewise.
16028         * string/memmove.c: Likewise.
16029         * sysdeps/powerpc/memmove.c: Likewise.
16030         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
16031         definition of PAGE_COPY_FWD_MAYBE here...
16032         * sysdeps/generic/pagecopy.h: ... from here.
16033         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16035 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16036             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16038         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16040         optimizations.
16041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16042         (__libc_ifunc_impl_list): Likewise.
16043         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16044         multiarch strcat for PPC64.
16045         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16046         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16048 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16050         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16052 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16054         * intl/loadmsgcat.c: Remove declaration of
16055         get_sysdep_segment_value.
16056         (get_sysdep_segment_value): Use ISO C style.
16057         (_nl_load_domain): Use ISO C style.  Get rid of redundant
16058         semicolon.  Fix typo and formatting in comment.
16059         (_nl_unload_domain): Use ISO C style.
16061         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16063 2014-07-02  Will Newton  <will.newton@linaro.org>
16065         * malloc/obstack.c: Merge from gnulib master.
16066         [HAVE_CONFIG_H]: Remove conditional code.
16067         [!_LIBC]: Include config.h.
16068         [!ELIDE_CODE]: Don't include inttypes.h, include
16069         stdint.h unconditionally.
16070         (print_and_abort): Mark as _Noreturn.
16071         (_obstack_allocated_p): Mark as __attribute_pure__.
16072         (obstack_free): Rename to __obstack_free.
16073         [!__attribute__]: Remove conditional code.
16074         * malloc/obstack.h: Merge from gnulib master.
16075         [__cplusplus]: Move conditional down.
16076         [!__attribute_pure__]: Define __attribute_pure__ here
16077         if it is not already defined.
16078         (_obstack_memory_used): Mark as __attribute_pure__.
16079         [!__obstack_free]: Define as obstack_free.
16080         [__GNUC__]: Remove check for ancient NeXT gcc.
16082 2014-07-02  Will Newton  <will.newton@linaro.org>
16083             Paul Eggert  <eggert@cs.ucla.edu>
16085         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16087 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16089         * resolv/gethnamaddr.c: Add comment warning that the file is
16090         not maintained.
16092 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16094         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16095         entries.
16097         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16098         entry for aio_cancel and aio_cancel64.
16099         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16100         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16101         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16102         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16103         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16104         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16105         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16106         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16107         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16108         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16109         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16110         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16111         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16113 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16115         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16116         * nptl/pthread_mutex_lock.c: Likewise.
16117         * nptl/pthread_mutex_timedlock.c: Likewise.
16118         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16120 2014-07-01  Richard henderson  <rth@redhat.com>
16122         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16123         (__isnan, __isnanl): Remove.
16124         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16126         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16128 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16130         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16132 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16134         * resolv/nss_dns/dns-host.c (getanswer_r)
16135         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16137 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16140         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16141         undefine.
16142         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16143         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16145 2014-07-01  Roland McGrath <roland@hack.frob.com>
16147         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16148         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16150         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16151         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16153         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16154         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16155         ... here.
16156         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16157         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16159         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16160         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16161         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16162         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16164         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16165         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16166         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16167         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16168         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16169         Moved ...
16170         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16171         ... here.
16172         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16173         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16174         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16175         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16176         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16177         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16178         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16179         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16180         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16181         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16182         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16183         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16184         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16185         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16186         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16187         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16189         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16190         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16191         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16192         ... here.
16193         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16194         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16195         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16196         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16197         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16198         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16199         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16200         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16202 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16204         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16205         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16206         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16207         Add sysdep.
16209 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16213 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16215         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16216         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16218         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16220         * sysdeps/arm/libm-test-ulps: Regenerated.
16222 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16223             Roland McGrath <roland@hack.frob.com>
16225         * test-skeleton.c (signal_handler): Kill the whole process group
16226         before killing the child individually.
16227         (main): Report any failure on `setpgid'.
16229 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16231         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16232         from _TLS_H to _ARM_NPTL_TLS_H.
16233         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16234         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16236 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16238         [BZ #16539]
16239         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16240         (__expm1l): Return argument unchanged when small but not
16241         subnormal.
16243         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16244         include macro name.
16245         (_FP_UNPACK_RAW_1_P): Likewise.
16246         (_FP_PACK_RAW_1): Likewise.
16247         (_FP_PACK_RAW_1_P): Likewise.
16248         (_FP_MUL_MEAT_1_wide): Likewise.
16249         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16250         (_FP_MUL_MEAT_1_hard): Likewise.
16251         (_FP_DIV_MEAT_1_imm): Likewise.
16252         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16253         (_FP_DIV_MEAT_1_udiv): Likewise.
16254         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16255         (_FP_UNPACK_RAW_2): Likewise.
16256         (_FP_UNPACK_RAW_2_P): Likewise.
16257         (_FP_PACK_RAW_2): Likewise.
16258         (_FP_PACK_RAW_2_P): Likewise.
16259         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16260         (_FP_MUL_MEAT_2_wide): Likewise.
16261         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16262         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16263         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16264         (_FP_MUL_MEAT_2_gmp): Likewise.
16265         (_FP_DIV_MEAT_2_udiv): Likewise.
16266         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16267         (_FP_FRAC_SRL_4): Likewise.
16268         (_FP_FRAC_SRST_4): Likewise.
16269         (_FP_FRAC_SRS_4): Likewise.
16270         (_FP_UNPACK_RAW_4): Likewise.
16271         (_FP_UNPACK_RAW_4_P): Likewise.
16272         (_FP_PACK_RAW_4): Likewise.
16273         (_FP_PACK_RAW_4_P): Likewise.
16274         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16275         (_FP_MUL_MEAT_4_wide): Likewise.
16276         (_FP_MUL_MEAT_4_gmp): Likewise.
16277         (umul_ppppmnnn): Likewise.
16278         (_FP_DIV_MEAT_4_udiv): Likewise.
16279         (__FP_FRAC_ADD_4): Likewise.
16280         (__FP_FRAC_SUB_3): Likewise.
16281         (__FP_FRAC_SUB_4): Likewise.
16282         (__FP_FRAC_DEC_3): Likewise.
16283         (__FP_FRAC_DEC_4): Likewise.
16284         (__FP_FRAC_ADDI_4): Likewise.
16285         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16286         (_FP_FRAC_SRL_8): Likewise.
16287         (_FP_FRAC_SRS_8): Likewise.
16289         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16290         include macro name.
16291         (FP_UNPACK_RAW_EP): Likewise.
16292         (FP_PACK_RAW_E): Likewise.
16293         (FP_PACK_RAW_EP): Likewise.
16294         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16295         (_FP_ISSIGNAN): Likewise.
16296         (_FP_ADD_INTERNAL): Likewise.
16297         (_FP_FMA): Likewise.
16298         (_FP_CMP): Likewise.
16299         (_FP_SQRT): Likewise.
16300         (_FP_TO_INT): Likewise.
16301         (_FP_FROM_INT): Likewise.
16302         (FP_EXTEND): Likewise.
16303         (_FP_DIV_MEAT_N_loop): Likewise.
16305 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16307         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16308         throughout.
16310 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16312         [BZ #17097]
16313         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16314         result with correct sign in case of exponents that produce
16315         overflow except for X very close to 1.
16317 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16319         mktime: merge #if/#ifdef usage from glibc
16320         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16321         as that works with both Glibc's and Gnulib's style.
16322         See thread starting at Siddhesh Poyarekar's bug report at:
16323         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16325 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16327         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16328         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16329         * sysdeps/tile/tilegx/memmove.c: Remove file.
16331 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16333         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16334         abi-name definition.
16335         * scripts/soversions.awk: Do not handle or generate ABI lines.
16336         * shlib-versions: Remove ABI entries.
16337         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16338         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16340 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16343         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16344         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16345         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16347         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16349         Moved ...
16350         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16351         ... here.
16352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16353         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16355         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16357         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16359         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16361         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16363         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16365         Moved ...
16366         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16370         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16371         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16372         Moved ...
16373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16375         Moved ...
16376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16378         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16380         Moved ...
16381         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16383         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16384         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16385         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16387         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16389         Moved ...
16390         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16392         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16393         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16394         Moved ...
16395         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16397         Moved ...
16398         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16400         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16402         Moved ...
16403         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16404         ... here.
16405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16406         Identical file removed.
16407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16408         Moved ...
16409         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16411         Identical file removed.
16412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16413         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16415         Moved ...
16416         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16418         Identical file removed.
16419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16420         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16421         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16422         Identical file removed.
16423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16424         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16426         Identical file removed.
16427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16428         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16430         Identical file removed.
16431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16432         Moved ...
16433         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16435         Identical file removed.
16436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16437         Moved ...
16438         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16440         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16441         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16442         Identical file removed.
16443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16444         Moved ...
16445         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16446         ... here.
16447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16448         Identical file removed.
16449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16450         Moved ...
16451         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16453         Identical file removed.
16454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16455         Moved ...
16456         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16458         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16460         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16462         Moved ...
16463         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16464         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16465         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16467         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16468         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16469         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16470         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16471         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16473 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16475         [BZ #17092]
16476         * nscd/nscd.c (monitor_child): Return exit status of child
16477         instead of return value from wait syscall.
16479 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16481         * configure.ac (libc_commonpagesize): Remove variable.
16482         (libc_relro_required): Likewise.
16483         (libc_cv_z_relro): Remove configure test.
16484         * configure: Regenerated.
16485         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16486         variable.
16487         (libc_relro_required): Likewise.
16488         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16489         (libc_relro_required): Likewise.
16490         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16491         (libc_relro_required): Likewise.
16492         * sysdeps/arm/preconfigure: Regenerated.
16493         * sysdeps/ia64/preconfigure: Remove file.
16494         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16495         variable.
16496         (libc_relro_required): Likewise.
16498         [BZ #16561]
16499         [BZ #16562]
16500         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16501         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16502         recompute overflowing results in original rounding mode.
16503         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16504         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16505         recompute overflowing results in original rounding mode.
16506         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16507         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16508         recompute overflowing results in original rounding mode.
16509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16510         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16511         recompute overflowing results in original rounding mode.
16512         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16513         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16514         recompute overflowing results in original rounding mode.
16515         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16516         (libc_feholdsetround_ctx): New macro.
16517         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16518         * sysdeps/i386/fpu/libm-test-ulps: Update.
16519         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16521 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16523         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16524         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16525         corresponding .cpsetup call.
16527 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16529         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16530         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16531         * sysdeps/arm/Makefile [$(subdir) = csu]
16532         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16533         (static-only-routines): Add aeabi_read_tp here.
16534         (shared-only-routines): Add libc-aeabi_read_tp here.
16535         (CFLAGS-libc-start.c): Add -fexceptions here.
16536         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16537         (sysdep_routines, static-only-routines, shared-only-routines):
16538         Don't add to these here.
16539         (CFLAGS-libc-start.c): Likewise.
16541         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16542         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16543         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16544         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16545         * sysdeps/arm/Makefile [$(subdir) = rt]
16546         (librt-sysdep_routines, librt-shared-only-routines):
16547         Append rt-aeabi_unwind_cpp_pr1 here.
16548         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16549         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16550         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16551         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16552         Append nptl-aeabi_unwind_cpp_pr1 here.
16553         (tests): Filter out tst-cleanupx4 here.
16554         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16555         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16556         Don't do those here.
16558 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16560         * scripts/list-sources.sh: Do not handle ports specially.
16562 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16564         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16565         * sysdeps/arm/feupdateenv.c: Likewise.
16567         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16569 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16571         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16572         trailing whitespace removed.
16573         * scripts/config.guess: Update to version 2014-03-23.
16574         * scripts/config.sub: Update to version 2014-05-01
16575         * scripts/install-sh: Update to version 2013-12-25.23.
16576         * scripts/move-if-change: Update from gnulib.
16578 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16580         * debug/memmove_chk.c: Remove pagecopy.h include.
16582 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16584         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16585         identical to gnulib mktime.
16587 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16589         * configure.ac: Do not test for machine being rs6000.  Do not test
16590         for powerpc*-*soft.
16591         * configure: Regenerated.
16593         [BZ #11505]
16594         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16595         test.
16596         * configure: Regenerated.
16597         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16598         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16599         Remove configure test.
16600         * sysdeps/arm/configure: Regenerated.
16601         * sysdeps/nptl/configure.ac: Do not check
16602         libc_cv_asm_cfi_directives.
16603         * sysdeps/nptl/configure: Regenerated.
16604         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16605         * sysdeps/x86_64/nptl/configure: Remove generated file.
16606         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16607         unconditional.
16608         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16610 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16612         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16613         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16614         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16615         it is defined.
16617         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16618         instead of whether it is defined.
16619         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16620         * sysdeps/hppa/dl-machine.h: Likewise.
16621         * sysdeps/ia64/dl-machine.h: Likewise.
16622         * sysdeps/m68k/dl-machine.h: Likewise.
16623         * sysdeps/microblaze/dl-machine.h: Likewise.
16624         * sysdeps/mips/dl-machine.: Likewise.
16625         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16626         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16627         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16628         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16629         * sysdeps/sh/dl-machine.h: Likewise.
16630         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16631         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16632         * sysdeps/tile/dl-machine.h: Likewise.
16633         * sysdeps/x86_64/dl-machine.h: Likewise.
16635         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16636         code.
16637         (verify_persistent_db): Likewise.
16639 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16642         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16644         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16646         Moved ...
16647         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16648         ... here.
16649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16650         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16652         Identical file removed.
16653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16654         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16656         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16660         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16662         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16664         Moved ...
16665         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16667         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16669         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16671         Moved ...
16672         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16674         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16676         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16678         Identical file removed.
16679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16680         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16682         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16684         Moved ...
16685         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16686         ... here.
16687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16690         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16692         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16694         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16696         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16698         Moved ...
16699         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16701         Moved ...
16702         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16704         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16706         Moved ...
16707         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16709         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16711         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16712         folded into ...
16713         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16714         * sysdeps/unix/sysv/linux/s390/Versions
16715         (libpthread: GLIBC_2.19): New version set.
16716         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16717         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16718         (librt: GLIBC_2.3.3): New version set.
16719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16720         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16721         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16722         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16723         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16724         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16725         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16726         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16727         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16728         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16729         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16730         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16731         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16733         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16734         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16735         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16736         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16737         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16738         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16739         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16740         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16741         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16742         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16743         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16744         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16745         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16746         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16747         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16749         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16755         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16757         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16759         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16761         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16763         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16766         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16767         (__libc_vfork): Define the function under this name.
16768         [!NOT_IN_libc] (__vfork): Make this an alias.
16769         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16771         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16772         (__libc_vfork): Define the function under this name.
16773         [!NOT_IN_libc] (__vfork): Make this an alias.
16774         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16775         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16776         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16778         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16779         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16781         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16782         code that was previously under [RESET_PID].
16783         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16784         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16787         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16788         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16789         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16790         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16791         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16792         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16793         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16794         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16795         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16796         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16797         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16798         Moved ...
16799         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16800         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16801         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16802         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16803         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16804         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16805         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16806         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16807         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16808         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16810         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16811         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16812         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16813         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16814         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16815         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16816         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16817         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16818         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16819         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16820         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16821         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16822         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16823         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16824         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16825         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16826         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16827         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16829 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16831         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16832         that was previously under [RESET_PID].
16833         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16835 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16837         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16838         not undefine and redefine.
16839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16840         [O_CLOEXEC]: Make code unconditional.
16841         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16842         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16843         <kernel-features.h>.
16844         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16845         conditional variable definition.
16846         (shm_open) [O_CLOEXEC]: Make code unconditional.
16847         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16848         code.
16850         * configure.ac (USE_REGPARMS): Don't define here.
16851         * configure: Regenerated.
16852         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16853         * sysdeps/i386/configure: Regenerated.
16855         * nptl/createthread.c: Don't include kernel-features.h.
16856         * nptl/pthread_cancel.c: Likewise.
16857         * nptl/pthread_condattr_setclock.c: Likewise.
16858         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16859         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16860         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16861         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16862         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16863         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16867         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16868         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16869         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16870         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16871         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16872         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16873         * nscd/gai.c: Likewise.
16874         * nss/nss_db/db-open.c: Likewise.
16875         * sysdeps/generic/ldsodefs.h: Likewise.
16876         * sysdeps/sh/nptl/tls.h: Likewise.
16877         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16878         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16879         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16880         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16881         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16882         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16883         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16884         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16885         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16886         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16887         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16888         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16889         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16890         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16891         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16892         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16893         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16894         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16895         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16896         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16899         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16900         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16905         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16906         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16907         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16908         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16909         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16910         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16912         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16913         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16914         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16915         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16916         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16917         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16918         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16919         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16920         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16921         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16922         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16923         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16924         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16925         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16926         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16927         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16928         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16929         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16930         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16931         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16932         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16933         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16934         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16957         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16958         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16959         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16960         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16961         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16962         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16963         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16964         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16965         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16966         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16967         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16968         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16969         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16970         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16971         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16972         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16973         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16974         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16975         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16976         * sysdeps/unix/sysv/linux/system.c: Likewise.
16977         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16978         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16979         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16980         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16981         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16982         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16983         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16985         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16986         * configure: Regenerated.
16987         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16989         * configure.ac (base_machine): Do not set specially for particular
16990         machines here.
16991         * configure: Regenerated.
16992         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16993         settings from configure.ac.
16994         * sysdeps/i386/preconfigure: New file.
16995         * sysdeps/s390/preconfigure: Likewise.
16996         * sysdeps/sh/preconfigure: Likewise.
16997         * sysdeps/sparc/preconfigure: Likewise.
16999 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17001         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17002         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17003         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17004         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17005         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17006         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17007         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17008         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17009         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17010         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17011         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17012         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17013         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17014         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17015         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17016         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17017         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17018         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17019         * sysdeps/sparc/sparc64/Makefile: ... appended here.
17021         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17022         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17023         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17024         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17025         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17026         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17027         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17028         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17029         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17030         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17031         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17032         * sysdeps/sparc/sparc32/sem_post.c: ... here.
17033         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17034         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17035         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17036         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17037         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17038         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17039         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17040         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17042         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17044         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17045         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17046         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17048         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17050         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17052         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17054         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17056         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17057         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17058         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17061         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17063         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17065         Moved ...
17066         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17067         ... here.
17068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17069         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17071         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17073         Moved ...
17074         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17076         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17078         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17080         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17082         Moved ...
17083         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17085         Moved ...
17086         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17088         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17090         Moved ...
17091         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17093         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17095         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17097         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17099         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17101         Moved ...
17102         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17103         ... here.
17104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17105         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17107         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17109         Moved ...
17110         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17112         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17114         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17116         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17118         Moved ...
17119         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17121         Moved ...
17122         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17124         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17126         Moved ...
17127         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17129         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17131         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17133 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17135         * timezone/checktab.awk: Update from tzcode 2014e.
17136         * timezone/private.h: Likewise.
17137         * timezone/tzfile.h: Likewise.
17138         * timezone/zdump.c: Likewise.
17139         * timezone/zic.c: Likewise.
17141         * sysdeps/unix/sysv/linux/kernel-features.h
17142         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17143         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17144         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17145         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17146         Remove conditional code.
17148 2014-06-25  Will Newton  <will.newton@linaro.org>
17150         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17151         (_dl_arm_cap_flags): Add HWCAP2 values.
17152         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17153         (_DL_HWCAP_COUNT): Increase to 37.
17154         (_DL_HWCAP_LAST): New define.
17155         (_DL_HWCAP2_LAST): New define.
17156         (_dl_procinfo): Add support for printing
17157         AT_HWCAP2 entries.
17158         (_dl_string_hwcap): Use _dl_hwcap_string.
17160 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17164 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17166         * README: Do not mention ports directory.
17168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17169         Remove macro.
17170         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17171         <kernel-features.h>.
17172         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17173         conditional variable definition.
17174         (__futimes): Update comment.
17175         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17176         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17178         [BZ #16560]
17179         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17180         arguments close to 0.
17181         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17182         Likewise.
17183         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17184         Likewise.
17185         * math/auto-libm-test-in: Add more tests of exp10.
17186         * math/auto-libm-test-out: Regenerated.
17187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17189         * sysdeps/unix/sysv/linux/kernel-features.h
17190         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17191         * sysdeps/unix/sysv/linux/readv.c: Do not include
17192         <kernel-features.h>.
17193         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17194         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17195         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17196         unconditional.
17197         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17198         conditional code.
17199         * sysdeps/unix/sysv/linux/writev.c: Do not include
17200         <kernel-features.h>.
17201         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17202         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17203         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17204         unconditional.
17205         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17206         conditional code.
17208 2014-06-25  Will Newton  <will.newton@linaro.org>
17210         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17211         comment changes throughout the file.  Remove checks
17212         for HAVE_*_H definitions that are not required.
17213         (__gen_tempname): Call abort if an unknown kind value is
17214         passed.
17216 2014-06-25  Andreas Schwab  <schwab@suse.de>
17218         [BZ #17086]
17219         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17220         scalbln, scalblnf, scalblnl in libc.
17222 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17224         [BZ #17086]
17225         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17226         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17227         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17229 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17231         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17232         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17233         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17234         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17235         Update #include.
17236         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17237         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17238         Update #include.
17239         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17240         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17241         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17242         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17243         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17244         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17245         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17246         * sysdeps/x86/bits/semaphore.h: ... here.
17247         * sysdeps/x86/nptl/elide.h: Moved ...
17248         * sysdeps/x86/elide.h: ... here.
17249         * sysdeps/x86_64/nptl/Implies: File removed.
17250         * sysdeps/i386/nptl/Implies: File removed.
17252 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17254         [BZ #16539]
17255         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17256         return the argument for normal arguments with exponent below -64.
17257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17258         Likewise.
17259         * math/auto-libm-test-in: Add another test of expm1.
17260         * math/auto-libm-test-out: Regenerated.
17262         [BZ #16287]
17263         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17264         calling __erfcl for arguments at least 16.
17265         * math/auto-libm-test-in: Add more tests of erf.
17266         * math/auto-libm-test-out: Regenerated.
17268         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17269         individual architectures.
17270         * sysdeps/unix/sysv/linux/configure: Regenerated.
17271         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17272         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17273         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17274         (ldd_rewrite_script): Define variable.
17275         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17277         file.
17278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17279         generated file.
17280         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17281         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17282         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17283         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17284         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17285         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17286         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17287         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17289 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17291         [BZ #17084]
17292         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17293         Rename member __data.d to __data.__elision_data.
17295 2014-06-24  Wilco  <wdijkstr@arm.com>
17297         * NEWS: Add 16918 to fixed bug list.
17299 2014-06-24  Wilco  <wdijkstr@arm.com>
17301         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17303 2014-06-24  Wilco  <wdijkstr@arm.com>
17305         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17306         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17307         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17308         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17309         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17310         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17311         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17312         Use _FPU_MASK_RM.
17314 2014-06-24  Wilco  <wdijkstr@arm.com>
17316         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17318 2014-06-24  Wilco  <wdijkstr@arm.com>
17320         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17321         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17322         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17323         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17325 2014-06-24  Wilco  <wdijkstr@arm.com>
17327         [BZ #16918]
17328         * sysdeps/arm/feupdateenv.c (feupdateenv):
17329         Rewrite to reduce FPSCR accesses and fix return value.
17331 2014-06-24  Wilco  <wdijkstr@arm.com>
17333         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17334         Optimize to avoid unnecessary FPSCR writes.
17335         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17336         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17337         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17338         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17340 2014-06-24  Wilco  <wdijkstr@arm.com>
17342         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17343         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17344         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17345         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17346         Call libc_fetestexcept_vfp.
17347         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17348         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17349         __SOFTFP__ ifdef so that they can be built for softfp.
17351 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17353         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17354         argument type signed char.
17356         * Makerules (check-abi): Dump diff of symlist if the test
17357         fails.
17359 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17361         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17362         using abort.
17364         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17365         Remove unused variable ST.
17367 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17369         [BZ #16354]
17370         [BZ #17061]
17371         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17372         small arguments before calling __expm1.
17373         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17374         small arguments before calling __expm1f.
17375         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17376         small arguments before calling __expm1l.
17377         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17378         Likewise.
17379         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17380         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17381         spurious underflow for some cosh tests.
17382         * math/auto-libm-test-out: Regenerated.
17383         * sysdeps/i386/fpu/libm-test-ulps: Update.
17385         [BZ #17050]
17386         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17387         (__ieee754_y1): Set errno if return value overflows.
17388         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17389         (__ieee754_y1f): Set errno if return value overflows.
17390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17391         (__ieee754_y1l): Set errno if return value overflows.
17392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17393         (__ieee754_y1l): Set errno if return value overflows.
17394         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17395         * math/auto-libm-test-out: Regenerated.
17397         * math/gen-auto-libm-tests.c: Document use of
17398         ignore-zero-inf-sign.
17399         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17400         (input_flags): Add ignore-zero-inf-sign.
17401         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17402         * math/gen-libm-test.pl (generate_testfile): Handle
17403         ignore-zero-inf-sign.
17404         * math/auto-libm-test-in: Mark some cpow tests with
17405         ignore-zero-inf-sign and some with xfail-rounding.
17406         * math/auto-libm-test-out: Regenerated.
17407         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17408         * sysdeps/i386/fpu/libm-test-ulps: Update.
17409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17411         [BZ #16315]
17412         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17413         overflowing or underflowing operations take place with sign of
17414         result.
17415         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17416         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17417         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17418         (__ieee754_pow): Recompute overflowing and underflowing results in
17419         original rounding mode.
17420         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17421         (__powl_helper): Allow negative argument X and scale negated value
17422         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17423         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17424         overflowing or underflowing operations take place with sign of
17425         result.
17426         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17427         Include <math.h>.
17428         * math/auto-libm-test-in: Add more tests of pow.
17429         * math/auto-libm-test-out: Regenerated.
17430         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17431         (pow_tonearest_test_data): Remove.
17432         (pow_test_tonearest): Likewise.
17433         (pow_towardzero_test_data): Likewise.
17434         (pow_test_towardzero): Likewise.
17435         (pow_downward_test_data): Likewise.
17436         (pow_test_downward): Likewise.
17437         (pow_upward_test_data): Likewise.
17438         (pow_test_upward): Likewise.
17439         (main): Don't call removed functions.
17440         * sysdeps/i386/fpu/libm-test-ulps: Update.
17441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17443 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17446         Moved ...
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17449         Moved ...
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17452         Moved ...
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17455         Moved ...
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17458         File removed.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17460         File removed.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17462         File removed.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17464         File removed.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17466         File removed.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17468         File removed.
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17470         File removed.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17472         File removed.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17474         File removed.
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17476         File removed.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17478         File removed.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17480         File removed.
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17482         Moved ...
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17485         Moved ...
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17487         ... here.
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17489         Moved ...
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17492         Moved ...
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17495         Moved ...
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17498         Moved ...
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17501         Moved ...
17502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17504         Moved ...
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17507         Moved ...
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17511         ... here.
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17513         Moved ...
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17516         Moved ...
17517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17518         ... here.
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17520         Moved ...
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17522         ... here.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17524         Moved ...
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17526         ... here.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17531         Moved ...
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17536         Moved ...
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17538         ... here.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17540         Moved ...
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17542         ... here.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17550         Moved ...
17551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17553         Moved ...
17554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17556         Moved ...
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17558         ... here.
17559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17560         Moved ...
17561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17563         Moved ...
17564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17566         Moved ...
17567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17569         Moved ...
17570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17574         Moved ...
17575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17577         Moved ...
17578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17580         Moved ...
17581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17582         ... here.
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17584         Moved ...
17585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17586         ... here.
17587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17588         Moved ...
17589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17590         ... here.
17591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17592         Moved ...
17593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17595         Moved ...
17596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17598         Moved ...
17599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17601         Moved ...
17602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17603         ... here.
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17605         Moved ...
17606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17607         ... here.
17608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17609         Moved ...
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17611         ... here.
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17613         Moved ...
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17616         Moved ...
17617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17619 2014-06-23  Will Newton  <will.newton@linaro.org>
17620             Wilco  <wdijkstr@arm.com>
17622         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17623         implementation.  Include get-rounding-mode.h.
17624         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17625         [!libc_feholdsetround_noex_ctx]: Define
17626         libc_feholdsetround_noex_ctx.
17627         [!libc_feholdsetround_noexf_ctx]: Define
17628         libc_feholdsetround_noexf_ctx.
17629         [!libc_feholdsetround_noexl_ctx]: Define
17630         libc_feholdsetround_noexl_ctx.
17631         (libc_feholdsetround_ctx): New function.
17632         (libc_feresetround_ctx): New function.
17633         (libc_feholdsetround_noex_ctx): New function.
17634         (libc_feresetround_noex_ctx): New function.
17636 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17638         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17639         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17640         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17641         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17642         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17643         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17645         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17646         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17647         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17648         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17649         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17650         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17652         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17654         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17656         Moved ...
17657         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17658         ... here.
17659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17660         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17662         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17664         Moved ...
17665         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17667         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17669         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17671         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17673         Moved ...
17674         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17676         Moved ...
17677         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17679         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17680         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17681         Moved ...
17682         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17684         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17685         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17686         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17687         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17688         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17690         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17692         Moved ...
17693         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17694         ... here.
17695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17696         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17698         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17700         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17702         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17704         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17706         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17708         Moved ...
17709         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17711         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17713         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17715         Moved ...
17716         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17718         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17719         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17720         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17722         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17723         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17725         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17726         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17727         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17728         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17729         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17730         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17731         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17732         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17733         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17734         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17735         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17736         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17737         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17738         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17739         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17740         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17741         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17742         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17743         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17744         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17745         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17746         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17747         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17748         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17749         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17751 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17754         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17755         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17756         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17757         (IPV6_PMTUDISC_INTERFACE): Likewise.
17758         (IPV6_PMTUDISC_OMIT): Likewise.
17760 2014-06-23  Andreas Schwab  <schwab@suse.de>
17762         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17763         Remove unused errout label.
17765 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17767         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17768         macro: hardware supports Vector Crypto instructions.
17770 2014-06-23  Will Newton  <will.newton@linaro.org>
17772         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17773         rather than __builtin_expect.
17775         * elf/dl-lookup.c (undefined_msg): Remove variable.
17776         (_dl_lookup_symbol_x): Replace undefined_msg with string
17777         literal.
17779         * elf/dl-lookup.c (do_lookup_unique): New function.
17780         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17781         to a separate function.
17783 2014-06-23  Andreas Schwab  <schwab@suse.de>
17785         [BZ #17079]
17786         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17787         before reading the next line.
17789 2014-06-23  Will Newton  <will.newton@linaro.org>
17791         * test-skeleton.c (signal_handler): Use printf and %m
17792         rather than perror.  Use printf rather than fprintf to
17793         stderr.  Use puts rather than fputs to stderr.
17794         (main): Likewise.
17796 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17798         * nscd/nscd.c (thread_info_t): Remove typedef.
17799         (thread_info): Remove variable.
17801 2014-06-21  Allan McRae  <allan@archlinux.org>
17803         * NEWS: Mention CVE-2014-4043.
17805 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17807         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17808         * nptl/smp.h: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17812         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17813         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17814         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17815         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17817         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17818         * nptl/stack-aliasing.h: New file.
17819         * sysdeps/i386/i686/stack-aliasing.h: New file.
17820         * sysdeps/i386/i686/nptl/Makefile: File removed.
17821         * sysdeps/x86_64/stack-aliasing.h: New file.
17822         * sysdeps/x86_64/nptl/Makefile
17823         (CFLAGS-pthread_create.c): Variable removed.
17825         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17826         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17827         old file.
17828         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17829         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17830         old file.
17832 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17835         (__ASSUME_SIGFRAME_V2): Remove macro.
17836         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17837         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17838         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17839         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17840         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17841         Declare as function.  Remove conditional macro definitions.
17842         (__default_rt_sa_restorer): Likewise.
17843         (__default_sa_restorer_v1): Remove declaration.
17844         (__default_sa_restorer_v2): Likewise.
17845         (__default_rt_sa_restorer_v1): Likewise.
17846         (__default_rt_sa_restorer_v2): Likewise.
17847         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17848         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17849         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17851 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17853         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17854         (libpthread-routines): Add sysdep.
17855         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17856         * sysdeps/unix/sysv/linux/sparc/Versions
17857         (libpthread: GLIBC_2.3.3): New version set.
17858         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17859         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17860         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17862         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17863         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17864         Moved ...
17865         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17866         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17867         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17869         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17871         * sysdeps/sparc/nptl/sem_init.c: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17873         * sysdeps/sparc/nptl/sem_post.c: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17875         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17877         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17880         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17881         (libpthread-routines): Add cpu_relax.
17882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17883         File removed.
17884         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17885         (librt: GLIBC_2.3.3): New version set.
17886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17887         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17889         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17892         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17894         Moved ...
17895         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17897         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17899         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17901         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17903         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17905         Moved ...
17906         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17907         Update #include.
17908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17909         Moved ...
17910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17911         Update #include.
17912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17913         Moved ...
17914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17915         Update #include.
17916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17917         Moved ...
17918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17919         Update #include.
17920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17921         Moved ...
17922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17923         Update #include.
17924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17925         Moved ...
17926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17927         Update #include.
17928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17929         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17937         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17939         Moved ...
17940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17942         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17944         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17946 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17948         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17949         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17950         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17951         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17952         * nscd/nscd.c: Likewise.
17953         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17954         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17955         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17956         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17958         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17959         <kernel-features.h>.
17960         (init_mq_netlink): Remove conditional have_sock_cloexec
17961         definitions.  Remove code conditional on have_sock_cloexec < 0.
17962         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17963         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17964         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17965         <kernel-features.h>.
17966         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17967         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17969 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17972         Add tests for memset_chk and memset.
17974         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17975         with AVX2_Usable.
17977 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17979         [BZ #16046]
17980         * elf/tst-dl-iter-static.c: New file.
17981         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17983         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17984         error.
17986 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17988         * sysdeps/unix/sysv/linux/kernel-features.h
17989         (__ASSUME_F_GETOWN_EX): Remove macro.
17990         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17991         <kernel-features.h>.
17992         (miss_F_GETOWN_EX): Remove variable or macro.
17993         (do_fcntl): Do not check miss_F_GETOWN_EX.
17994         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17997         Remove macro.
17998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17999         [!__ASSUME_AT_RANDOM]: Remove conditional code.
18000         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18002         * sysdeps/unix/sysv/linux/kernel-features.h
18003         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18004         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18005         [ADJ_OFFSET_SS_READ]: Make code unconditional.
18006         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18008 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18010         [BZ #17075]
18011         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18012         Fix calculation of the symbol's value.
18013         * sysdeps/arm/tst-armtlsdescloc.c: New file.
18014         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18015         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18016         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18017         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18018         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18019         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18020         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18021         (modules-names): Add `tst-armtlsdescmod',
18022         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18023         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18024         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18025         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18026         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18027         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18028         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18029         ($(objpfx)tst-armtlsdescloc): New dependency.
18030         ($(objpfx)tst-armtlsdescextnow): Likewise.
18031         ($(objpfx)tst-armtlsdescextlazy): Likewise.
18032         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18033         TLS scheme support.
18034         * sysdeps/arm/configure: Regenerate.
18036 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18038         * include/fcntl.h (__atfct_seterrno): Remove prototype.
18039         (__atfct_seterrno_2): Likewise.
18040         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18041         <kernel-features.h>.
18042         (__ASSUME_ATFCTS): Do not undefine and redefine.
18043         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18044         (__have_atfcts): Remove conditional definition.
18045         (__fxstatat([__NR_fstatat64]: Make code unconditional.
18046         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18047         unreachable if [__ASSUME_ATFCTS].
18048         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18049         not undefine and redefine.
18050         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18051         <kernel-features.h>.
18052         (faccessat) [__NR_faccessat]: Make code unconditional.
18053         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18054         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18055         <kernel-features.h>.
18056         (fchmodat) [__NR_fchmodat]: Make code unconditional.
18057         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18058         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18059         <kernel-features.h>.
18060         (fchownat) [__NR_fchownat]: Make code unconditional.
18061         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18062         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18063         <kernel-features.h>.
18064         (futimesat) [__NR_futimesat]: Make code unconditional.
18065         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18066         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18067         <kernel-features.h>.
18068         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18069         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18070         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18071         <kernel-features.h>.
18072         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18073         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18074         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18075         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18076         <kernel-features.h>.
18077         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18078         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18079         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18080         <kernel-features.h>.
18081         (linkat) [__NR_linkat]: Make code unconditional.
18082         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18083         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18084         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18085         <kernel-features.h>.
18086         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18087         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18088         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18089         <kernel-features.h>.
18090         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18091         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18092         * sysdeps/unix/sysv/linux/openat.c: Do not include
18093         <kernel-features.h>.
18094         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18095         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18096         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18097         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18098         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18099         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18100         <kernel-features.h>.
18101         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18102         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18103         result of INLINE_SYSCALL directly, not via int variable.
18104         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18105         <kernel-features.h>.
18106         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18107         (renameat) [__NR_renameat]: Make code unconditional.
18108         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18109         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18110         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18111         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18112         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18113         (__ASSUME_ATFCTS): Do not undefine and redefine.
18114         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18115         <kernel-features.h>.
18116         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18117         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18118         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18119         <kernel-features.h>.
18120         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18121         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18122         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18123         (__ASSUME_ATFCTS): Do not undefine and redefine.
18124         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18125         <kernel-features.h>.
18126         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18127         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18128         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18129         <kernel-features.h>.
18130         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18131         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18133 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18135         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18137 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18139         [BZ #17069]
18140         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18141         constructed tree before returning error.
18142         * posix/bug-regexp36.c: Expand test case.
18144 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18146         [BZ #6803]
18147         * math/libm-test.inc (scalbln_test_date):
18148         Add errno expectations.
18149         * math/w_scalblnf.c: New File.
18150         Add wrapper which checks for setting errno to ERANGE.
18151         Add weak_alias for corresponding scalbln function.
18152         * math/w_scalbln.c: Likewise.
18153         * math/w_scalblnl.c: Likewise.
18154         * math/Makefile (libm-calls): Add w_scalbln.
18155         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18156         Remove weak_alias for corresponding scalbln function.
18157         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18159         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18161         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18162         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18163         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18164         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18165         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18166         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18167         Remove long_double_symbol for scalblnl function in libm, libc.
18168         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18169         Add wrapper which checks for setting errno to ERANGE.
18170         Add long_double_symbol for scalblnl function in libm, libc.
18171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18172         Remove long_double_symbol for scalblnl in libm.
18173         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18174         Add wrapper which checks for setting errno to ERANGE.
18175         Add long_double_symbol for scalblnl function in libm.
18176         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18177         Do not use wrapper because of own implementation.
18179 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18181         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18182         3 bytes for __pad1 for x32.
18183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18185 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18186             H.J. Lu  <hongjiu.lu@intel.com>
18188         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18189         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18190         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18191         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18192         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18194 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18196         [BZ #17069]
18197         * posix/regcomp.c (parse_expression): Deallocate partially
18198         constructed tree before returning error.
18199         * posix/Makefile.c (tests): Add bug-regex36.
18200         (generated): Add bug-regex36.mtrace.
18201         (tests-special): Add $(objpfx)bug-regex36-mem.out
18202         (bug-regex36-ENV): New variable.
18203         ($(objpfx)bug-regex36-mem.out): New rule.
18204         * posix/bug-regex36.c: New file.
18206 2014-06-19  Will Newton  <will.newton@linaro.org>
18208         * malloc/malloc.c (systrim): If extra is zero then return
18209         early.
18211 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18213         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18215 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18217         * sysdeps/aarch64/strchr.S: New file.
18219 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18221         [BZ #17022]
18222         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18223         from arguments -2 or below.
18224         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18225         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18227 2014-06-18  Andreas Schwab  <schwab@suse.de>
18229         [BZ #17062]
18230         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18231         of a bracket expr not to run off the end of the string.
18232         * posix/Makefile (tests): Add tst-fnmatch3.
18233         * posix/tst-fnmatch3.c: New file.
18235 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18237         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18238         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18239         [$(cross-compiling) = no]: Likewise.
18240         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18241         [$(cross-compiling) = no]: Likewise.
18243 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18245         [BZ #17031]
18246         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18247         double, adjusted for any remainder from the high double.
18248         * math/libm-test.inc (nearbyint): Add tests.
18249         (rint): Likewise.
18251 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18253         * nptl/sysdeps/powerpc/Makefile: Moved ...
18254         * sysdeps/powerpc/nptl/Makefile: ... here.
18255         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18256         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18257         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18258         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18259         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18260         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18261         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18262         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18263         * nptl/sysdeps/powerpc/tls.h: Moved ...
18264         * sysdeps/powerpc/nptl/tls.h: ... here.
18266 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18268         [BZ #16681]
18269         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18270         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18271         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18272         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18273         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18274         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18275         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18276         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18277         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18279 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18283 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18285         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18286         defined operator.
18288         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18289         $TIMEOUTFACTOR.
18291 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18293         [BZ #17058]
18294         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18295         non-executed part of the test.
18297 2014-06-16  Andreas Schwab  <schwab@suse.de>
18299         * string/bits/string2.h (strdup, strndup): Update feature guard.
18301 2014-06-14  David S. Miller  <davem@davemloft.net>
18303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18305 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18307         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18308         that was previously under [RESET_PID].
18309         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18311         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18312         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18313         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18314         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18315         (__libc_vfork): New strong alias.
18316         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18318 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18320         * sysdeps/generic/elide.h: New file.
18322 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18324         * Makefile (installed-headers): Adjust path of pthread.h header.
18326 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18328         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18329         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18330         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18331         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18333         * nptl/sysdeps/s390/Makefile: Moved ...
18334         * sysdeps/s390/nptl/Makefile: ... here.
18335         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18336         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18337         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18338         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18339         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18340         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18341         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18342         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18343         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18344         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18345         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18346         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18347         * nptl/sysdeps/s390/tls.h: Moved ...
18348         * sysdeps/s390/nptl/tls.h: ... here.
18350         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18351         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18353 2014-06-13  David S. Miller  <davem@davemloft.net>
18355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18358         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18362         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18363         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18364         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18365         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18366         Remove RESET_PID cpp guards.
18367         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18368         Remove RESET_PID cpp guards.
18369         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18371 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18373         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18374         __sp to uintptr_t.
18376 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18380         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18381         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18385         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18390         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18392         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18394         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18399         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18400         (pthread_rwlock_rdlock): Add elision.
18401         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18402         (pthread_rwlock_wrlock): Add elision.
18403         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18404         (pthread_rwlock_trywrlock): Add elision.
18405         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18406         (pthread_rwlock_tryrdlock): Add elision.
18407         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18408         (pthread_rwlock_tryrdlock): Add elision unlock.
18409         * nptl/sysdeps/pthread/pthread.h:
18410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18411         (PTHREAD_RWLOCK_INITIALIZER,
18412         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18413         Handle new elision field.
18414         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18415         * sysdeps/arm/nptl/bits/pthreadtypes.h
18416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18417         * sysdeps/sh/nptl/bits/pthreadtypes.h
18418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18419         * sysdeps/tile/nptl/bits/pthreadtypes.h
18420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18421         * sysdeps/a/nptl/bits/pthreadtypes.h
18422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18423         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18425         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18427         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18429         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18431         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18433         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18435         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18437         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18439         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18440         (elision_init): Set try_xbegin to zero when no RTM.
18441         * sysdeps/x86/nptl/bits/pthreadtypes.h
18442         (pthread_rwlock_t): Change __pad1 to __rwelision.
18443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18445 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18447         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18448         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18449         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18450         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18452 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18454         [BZ #16996]
18455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18456         that the cached result has been set before returning it.
18458 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18460         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18461         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18462         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18463         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18464         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18465         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18467         * nptl/sysdeps/sparc/Makefile: Moved ...
18468         * sysdeps/sparc/nptl/Makefile: ... here.
18469         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18470         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18471         * nptl/sysdeps/sparc/tls.h: Moved ...
18472         * sysdeps/sparc/nptl/tls.h: ... here.
18473         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18474         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18475         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18476         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18477         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18478         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18479         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18480         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18481         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18482         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18483         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18484         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18485         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18486         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18487         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18488         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18489         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18491         Update #include.
18492         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18494         Update #include.
18495         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18497         Update #include.
18498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18500         Update #include.
18502         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18504         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18505         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18507         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18508         (struct list_links): Type removed.
18509         (struct thread_node, struct timer_node): Replace struct list_links
18510         with struct list_head.
18511         (list_unlink_ip): Likewise.
18512         * sysdeps/pthread/timer_routines.c
18513         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18514         (list_append, list_insbefore): Likewise.
18515         (list_init): Function removed.
18516         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18517         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18518         * sysdeps/pthread/Makefile: ... here, new file.
18520         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18521         * sysdeps/nptl/Implies: ... here.
18522         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18523         * nptl/sysdeps/pthread/list.h: Moved ...
18524         * include/list.h: ... here.
18525         * nptl/sysdeps/pthread/createthread.c: Moved ...
18526         * nptl/createthread.c: ... here.
18527         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18528         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18529         * nptl/pt-longjmp.c: ... here.
18530         * nptl/sysdeps/pthread/Makefile: Moved ...
18531         * sysdeps/nptl/Makefile: ... here.
18532         * nptl/sysdeps/pthread/Subdirs: Moved ...
18533         * sysdeps/nptl/Subdirs: ... here.
18534         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18535         * sysdeps/nptl/aio_misc.h: ... here.
18536         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18537         * sysdeps/nptl/bits/libc-lock.h: ... here.
18538         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18539         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18540         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18541         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18542         * nptl/sysdeps/pthread/configure: Moved ...
18543         * sysdeps/nptl/configure: ... here.
18544         * nptl/sysdeps/pthread/configure.ac: Moved ...
18545         * sysdeps/nptl/configure.ac: ... here.
18546         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18547         * sysdeps/nptl/gai_misc.h: ... here.
18548         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18549         * sysdeps/nptl/librt-cancellation.c: ... here.
18550         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18551         * sysdeps/nptl/malloc-machine.h: ... here.
18552         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18553         * sysdeps/nptl/pthread-functions.h: ... here.
18554         * nptl/sysdeps/pthread/pthread.h: Moved ...
18555         * sysdeps/nptl/pthread.h: ... here.
18556         * nptl/sysdeps/pthread/setxid.h: Moved ...
18557         * sysdeps/nptl/setxid.h: ... here.
18558         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18559         * sysdeps/nptl/sigfillset.c: ... here.
18560         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18561         * sysdeps/nptl/tcb-offsets.h: ... here.
18562         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18563         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18564         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18565         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18566         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18567         * sysdeps/pthread/allocalim.h: ... here.
18568         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18569         * sysdeps/pthread/bits/sigthread.h: ... here.
18570         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18571         * sysdeps/pthread/flockfile.c: ... here.
18572         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18573         * sysdeps/pthread/ftrylockfile.c: ... here.
18574         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18575         * sysdeps/pthread/funlockfile.c: ... here.
18576         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18577         * sysdeps/pthread/posix-timer.h: ... here.
18578         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18579         * sysdeps/pthread/timer_create.c: ... here.
18580         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18581         * sysdeps/pthread/timer_delete.c: ... here.
18582         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18583         * sysdeps/pthread/timer_getoverr.c: ... here.
18584         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18585         * sysdeps/pthread/timer_gettime.c: ... here.
18586         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18587         * sysdeps/pthread/timer_routines.c: ... here.
18588         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18589         * sysdeps/pthread/timer_settime.c: ... here.
18590         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18591         * sysdeps/pthread/tst-timer.c: ... here.
18592         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18593         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18595         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18596         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18598         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18599         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18600         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18601         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18602         Update #include target.
18603         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18604         * sysdeps/i386/i686/nptl/Makefile: ... here.
18605         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18606         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18607         Update #include target.
18608         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18609         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18610         * nptl/sysdeps/i386/Makefile: Moved ...
18611         * sysdeps/i386/nptl/Makefile: ... here.
18612         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18613         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18614         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18615         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18616         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18617         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18618         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18619         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18620         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18621         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18622         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18623         * nptl/sysdeps/i386/tls.h: Moved ...
18624         * sysdeps/i386/nptl/tls.h: ... here.
18626         * sysdeps/sh/Makefile [$(subdir) = csu]
18627         (gen-as-const-headers): Add tcb-offsets.sym.
18628         * nptl/sysdeps/sh/Makefile: File removed.
18629         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18630         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18631         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18632         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18633         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18634         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18635         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18636         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18637         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18638         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18639         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18640         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18641         * nptl/sysdeps/sh/tls.h: Moved ...
18642         * sysdeps/sh/nptl/tls.h: ... here.
18643         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18644         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18645         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18646         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18647         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18648         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18649         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18650         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18651         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18652         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18654         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18656         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18658         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18660         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18662         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18664         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18667         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18668         Moved ...
18669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18671         Moved ...
18672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18675         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18677         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18678         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18679         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18680         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18681         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18682         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18683         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18684         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18685         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18686         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18687         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18688         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18689         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18690         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18692 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18694         * posix/spawn_faction_addopen.c: Include string.h.
18696 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18698         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18699         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18700         * nptl/sysdeps/x86_64/Makefile: Moved ...
18701         * sysdeps/x86_64/nptl/Makefile: ... here.
18702         * nptl/sysdeps/x86_64/configure: Moved ...
18703         * sysdeps/x86_64/nptl/configure: ... here.
18704         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18705         * sysdeps/x86_64/nptl/configure.ac: ... here.
18706         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18707         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18708         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18709         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18710         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18711         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18712         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18713         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18714         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18715         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18716         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18717         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18718         * nptl/sysdeps/x86_64/tls.h: Moved ...
18719         * sysdeps/x86_64/nptl/tls.h: ... here.
18720         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18721         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18722         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18723         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18725         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18727 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18731 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18733         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18734         type.
18735         [POSIX] (off_t): Likewise.
18736         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18737         [POSIX] (S_ISBLK): Require macro.
18738         [POSIX] (S_ISCHR): Likewise.
18739         [POSIX] (S_ISDIR): Likewise.
18740         [POSIX] (S_ISFIFO): Likewise.
18741         [POSIX] (S_ISREG): Likewise.
18742         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18743         optional-macro.
18744         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18745         type.
18746         [POSIX] (time_t): Likewise.
18747         [POSIX] (timer_t): Likewise.
18749 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18751         [BZ #17048]
18752         * posix/spawn_int.h (struct __spawn_action): Make the path string
18753         non-const to support deallocation.
18754         * posix/spawn_faction_addopen.c
18755         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18756         * posix/spawn_faction_destroy.c
18757         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18758         path in all spawn_do_open actions.
18759         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18760         posix_spawn_file_actions_addopen.
18762 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18764         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18765         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18766         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18767         conditional code always true.
18768         (__libc_vfork): New alias.
18770 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18772         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18773         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18775         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18777         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18778         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18780         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18781         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18783         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18784         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18786 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18788         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18789         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18790         multiarch strcmp for PPC64.
18791         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18792         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18794         multiarch optimizations.
18795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18796         (__libc_ifunc_impl_list): Likewise.
18798 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18800         * benchtests/scripts/validate_benchout.py: New script.
18801         * benchtests/Makefile (bench-func): Call it.
18802         * benchtests/scripts/benchout.schema.json: New file.
18804 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18806         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18807         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18808         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18809         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18810         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18811         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18812         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18813         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18814         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18815         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18816         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18817         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18818         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18819         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18820         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18821         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18823         Moved ...
18824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18825         ... here.
18826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18827         Moved ...
18828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18830         Moved ...
18831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18832         ... here.
18833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18834         Moved ...
18835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18836         ... here.
18837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18838         Moved ...
18839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18841         Moved ...
18842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18843         ... here.
18844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18845         Moved ...
18846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18847         ... here.
18848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18849         Moved ...
18850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18852         Moved ...
18853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18854         ... here.
18855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18856         Moved ...
18857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18858         ... here.
18859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18860         Moved ...
18861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18862         ... here.
18863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18864         Moved ...
18865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18867         Moved ...
18868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18869         ... here.
18870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18871         Moved ...
18872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18873         ... here.
18874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18875         Moved ...
18876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18877         ... here.
18878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18879         Moved ...
18880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18882         Moved ...
18883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18884         ... here.
18885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18886         Moved ...
18887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18888         ... here.
18889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18890         Moved ...
18891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18893         Moved ...
18894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18895         ... here.
18896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18897         Moved ...
18898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18900         Moved ...
18901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18903         Moved ...
18904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18905         ... here.
18906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18907         Moved ...
18908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18909         ... here.
18910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18911         Moved ...
18912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18913         ... here.
18914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18915         Moved ...
18916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18918         Moved ...
18919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18920         ... here.
18921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18922         Moved ...
18923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18924         ... here.
18925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18926         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18928         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18930         Moved ...
18931         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18932         ... here.
18933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18934         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18936         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18938         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18940         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18942         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18944         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18946         Moved ...
18947         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18949         Moved ...
18950         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18952         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18953         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18954         Moved ...
18955         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18957         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18958         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18959         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18960         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18961         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18963 2014-06-10  Wilco  <wdijkstr@arm.com>
18965         * math/test-fenv-return.c: New file.
18966         * math/Makefile: Add new test test-fenv-return.
18968 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18970         [BZ #17042]
18971         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18972         when x - 1 is zero.
18973         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18974         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18975         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18976         0.0L for an argument of 1.0L.
18977         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18978         Likewise.
18979         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18980         value when x - 1 is zero.
18981         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18982         * sysdeps/i386/fpu/libm-test-ulps: Update.
18983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18985 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18987         [BZ #15119]
18988         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18990 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18992         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18993         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18995 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18997         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18998         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19000         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19001         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19003         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19004         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19006         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19007         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19009         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19010         if not already defined.
19011         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19012         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19013         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19014         (TLS_INIT_TP): Use it.
19015         (TLS_DEFINE_INIT_TP): New macro.
19016         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19018 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
19020         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19021         constant.
19022         [POSIX] (IXANY): Likewise.
19023         [POSIX] (OLCUC): Likewise.
19024         [POSIX || POSIX2008] (CBAUD): Do not allow.
19025         [POSIX || POSIX2008] (DEFECHO): Likewise.
19026         [POSIX || POSIX2008] (ECHOCTL): Likewise.
19027         [POSIX || POSIX2008] (ECHOKE): Likewise.
19028         [POSIX || POSIX2008] (ECHOPRT): Likewise.
19029         [POSIX || POSIX2008] (EXTA): Likewise.
19030         [POSIX || POSIX2008] (EXTB): Likewise.
19031         [POSIX || POSIX2008] (FLUSHO): Likewise.
19032         [POSIX || POSIX2008] (LOBLK): Likewise.
19033         [POSIX || POSIX2008] (PENDIN): Likewise.
19034         [POSIX || POSIX2008] (SWTCH): Likewise.
19035         [POSIX || POSIX2008] (VDISCARD): Likewise.
19036         [POSIX || POSIX2008] (VDSUSP): Likewise.
19037         [POSIX || POSIX2008] (VLNEXT): Likewise.
19038         [POSIX || POSIX2008] (VREPRINT): Likewise.
19039         [POSIX || POSIX2008] (VSTATUS): Likewise.
19040         [POSIX || POSIX2008] (VWERASE): Likewise.
19041         (B*): Change to B[0123456789]*.
19042         * conform/data/time.h-data [POSIX || UNIX98]
19043         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19044         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19045         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19046         [POSIX] (tm_*): Do not allow.
19048 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
19050         * Makefile (install): Don't set LANGUAGE.
19051         * Makefile.in (install): Likewise.
19052         * assert/Makefile (test-assert-ENV): Remove variable.
19053         (test-assert-perr-ENV): Likewise.
19054         * elf/Makefile (neededtest4-ENV): Likewise.
19055         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19056         [$(cross-compiling) = no]: Don't set LANGUAGE.
19057         * io/ftwtest-sh (LANG): Remove variable.
19058         * libio/Makefile (tst-widetext-ENV): Likewise.
19059         * manual/install.texi (Running make install): Don't refer to
19060         environment settings for make install.
19061         * INSTALL: Regenerated.
19062         * nptl/tst-tls6.sh: Don't set LANG.
19063         * posix/globtest.sh (LANG): Remove variable.
19064         * string/Makefile (tester-ENV): Likewise.
19065         (inl-tester-ENV): Likewise.
19066         (noinl-tester-ENV): Likewise.
19067         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19068         [$(cross-compiling) = no]: Don't set LANGUAGE.
19069         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19070         without explicit environment settings.
19072 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19074         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19075         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19076         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19077         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19079 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19081         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19082         other files in the crypt directory.
19083         * crypt/crypt.c: Remove duplicate includes.
19084         * crypt/crypt-entry.c: Likewise.
19085         * crypt/crypt_util.c: Likewise.
19087 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19089         * Makeconfig (run-program-env): New variable.
19090         (run-program-prefix-before-env): Likewise.
19091         (run-program-prefix-after-env): Likewise.
19092         (run-program-prefix): Define in terms of new variables.
19093         (built-program-cmd-before-env): New variable.
19094         (built-program-cmd-after-env): Likewise.
19095         (built-program-cmd): Define in terms of new variables.
19096         (test-program-prefix-before-env): New variable.
19097         (test-program-prefix-after-env): Likewise.
19098         (test-program-prefix): Define in terms of new variables.
19099         (test-program-cmd-before-env): New variable.
19100         (test-program-cmd-after-env): Likewise.
19101         (test-program-cmd): Define in terms of new variables.
19102         * Rules (make-test-out): Use $(run-program-env).
19103         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19104         (help): Do not mention environment variables.  Mention
19105         --timeoutfactor option.
19106         (timeoutfactor): New variable.
19107         (blacklist_exports): Remove function.
19108         (exports): Remove variable.
19109         (command): Do not include ${exports}.
19110         * manual/install.texi (Configuring and compiling): Do not mention
19111         test wrappers preserving environment variables.  Mention that last
19112         assignment to a variable must take precedence.
19113         * INSTALL: Regenerated.
19114         * benchtests/Makefile (run-bench): Use $(run-program-env).
19115         * catgets/Makefile ($(objpfx)test1.cat): Use
19116         $(built-program-cmd-before-env), $(run-program-env) and
19117         $(built-program-cmd-after-env).
19118         ($(objpfx)test2.cat): Do not specify environment variables
19119         explicitly.
19120         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19121         $(run-program-env) and $(built-program-cmd-after-env).
19122         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19123         $(run-program-env) and $(test-program-cmd-after-env).
19124         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19125         explicitly.
19126         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19127         run_program_env and test_program_cmd_after_env arguments.
19128         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19129         * elf/tst-pathopt.sh: Use run_program_env argument.
19130         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19131         $(test-wrapper-env) and $(run-program-env).
19132         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19133         run_program_env arguments.
19134         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19135         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19136         $(test-program-prefix-before-env), $(run-program-env) and
19137         $(test-program-prefix-after-env).
19138         ($(objpfx)tst-gettext2.out): Likewise.
19139         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19140         run_program_env and test_program_prefix_after_env arguments.
19141         * intl/tst-gettext2.sh: Likewise.
19142         * intl/tst-gettext4.sh: Do not set environment variables
19143         explicitly.
19144         * intl/tst-gettext6.sh: Likewise.
19145         * intl/tst-translit.sh: Likewise.
19146         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19147         $(test-program-prefix-before-env), $(run-program-env) and
19148         $(test-program-prefix-after-env).
19149         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19150         run_program_env and test_program_prefix_after_env arguments.
19151         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19152         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19153         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19154         explicitly with each use of ${test_wrapper_env}.
19155         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19156         $(test-program-prefix-before-env), $(run-program-env) and
19157         $(test-program-prefix-after-env).
19158         * posix/tst-getconf.sh: Do not set environment variables
19159         explicitly.
19160         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19161         run_program_env and test_program_prefix_after_env arguments.
19162         * stdio-common/tst-printf.sh: Do not set environment variables
19163         explicitly.
19164         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19165         $(test-program-prefix-before-env), $(run-program-env) and
19166         $(test-program-prefix-after-env).
19167         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19168         run_program_env and test_program_prefix_after_env arguments.
19169         Split $test calls into $test_pre and $test.
19170         * timezone/Makefile (build-testdata): Use
19171         $(built-program-cmd-before-env), $(run-program-env) and
19172         $(built-program-cmd-after-env).
19174 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19176         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19177         strlen for non SHARED builds.
19179 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19181         * nptl/allocatestack.c (check_list): Inlined function...
19182         (__reclaim_stacks): ... here.
19184 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19186         [BZ #15698]
19187         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19188         memory overrun.
19190 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19192         * Rules (make-test-out): Include
19193         LOCPATH=$(common-objpfx)localedata in default environment.
19194         * debug/Makefile (tst-chk1-ENV): Remove variable.
19195         (tst-chk2-ENV): Likewise.
19196         (tst-chk3-ENV): Likewise.
19197         (tst-chk4-ENV): Likewise.
19198         (tst-chk5-ENV): Likewise.
19199         (tst-chk6-ENV): Likewise.
19200         (tst-lfschk1-ENV): Likewise.
19201         (tst-lfschk2-ENV): Likewise.
19202         (tst-lfschk3-ENV): Likewise.
19203         (tst-lfschk4-ENV): Likewise.
19204         (tst-lfschk5-ENV): Likewise.
19205         (tst-lfschk6-ENV): Likewise.
19206         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19207         (tst-iconv7-ENV): Likewise.
19208         * intl/Makefile (LOCPATH-ENV): Likewise.
19209         (tst-codeset-ENV): Likewise.
19210         (tst-gettext3-ENV): Likewise.
19211         (tst-gettext5-ENV): Likewise.
19212         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19213         (tst-fopenloc-ENV): Likewise.
19214         (tst-fgetws-ENV): Remove variable.
19215         (tst-ungetwc1-ENV): Likewise.
19216         (tst-ungetwc2-ENV): Likewise.
19217         (bug-ungetwc2-ENV): Likewise.
19218         (tst-swscanf-ENV): Likewise.
19219         (bug-ftell-ENV): Likewise.
19220         (tst-fgetwc-ENV): Likewise.
19221         (tst-fseek-ENV): Likewise.
19222         (tst-ftell-partial-wide-ENV): Likewise.
19223         (tst-ftell-active-handler-ENV): Likewise.
19224         (tst-ftell-append-ENV): Likewise.
19225         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19226         (tst-regexloc-ENV): Likewise.
19227         (bug-regex1-ENV): Likewise.
19228         (tst-regex-ENV): Likewise.
19229         (tst-regex2-ENV): Likewise.
19230         (bug-regex5-ENV): Likewise.
19231         (bug-regex6-ENV): Likewise.
19232         (bug-regex17-ENV): Likewise.
19233         (bug-regex18-ENV): Likewise.
19234         (bug-regex19-ENV): Likewise.
19235         (bug-regex20-ENV): Likewise.
19236         (bug-regex22-ENV): Likewise.
19237         (bug-regex23-ENV): Likewise.
19238         (bug-regex25-ENV): Likewise.
19239         (bug-regex26-ENV): Likewise.
19240         (bug-regex30-ENV): Likewise.
19241         (bug-regex32-ENV): Likewise.
19242         (bug-regex33-ENV): Likewise.
19243         (bug-regex34-ENV): Likewise.
19244         (bug-regex35-ENV): Likewise.
19245         (tst-rxspencer-ENV): Likewise.
19246         (tst-rxspencer-no-utf8-ENV): Likewise.
19247         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19248         (tst-sscanf-ENV): Likewise.
19249         (tst-swprintf-ENV): Likewise.
19250         (tst-swscanf-ENV): Likewise.
19251         (test-vfprintf-ENV): Likewise.
19252         (scanf13-ENV): Likewise.
19253         (bug14-ENV): Likewise.
19254         (tst-grouping-ENV): Likewise.
19255         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19256         (tst-strtod3-ENV): Likewise.
19257         (tst-strtod4-ENV): Likewise.
19258         (tst-strtod5-ENV): Likewise.
19259         (testmb2-ENV): Likewise./
19260         * string/Makefile (tst-strxfrm-ENV): Likewise.
19261         (tst-strxfrm2-ENV): Likewise.
19262         (bug-strcoll1-ENV): Likewise.
19263         (test-strcasecmp-ENV): Likewise.
19264         (test-strncasecmp-ENV): Likewise.
19265         * time/Makefile (tst-strptime-ENV): Likewise.
19266         (tst-ftime_l-ENV): Likewise.
19267         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19268         (tst-mbrtowc-ENV): Likewise.
19269         (tst-wcrtomb-ENV): Likewise.
19270         (tst-mbrtowc2-ENV): Likewise.
19271         (tst-c16c32-1-ENV): Likewise.
19272         (tst-mbsnrtowcs-ENV): Likewise.
19274 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19276         * manual/resource.texi (How to get information about the memory
19277         subsystem?): Fix typo.
19278         Reported by Peon de la Parra Ivan <peon@keba.com>
19280 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19282         [BZ #16882]
19283         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19284         (pthread_spin_lock): Branch out of spin loop to proper location.
19285         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19286         (pthread_spin_lock): Likewise.
19288         * nptl/tst-spin4.c: New test.
19289         * nptl/Makefile (tests): Add tst-spin4.
19291 2014-06-03  Andreas Schwab  <schwab@suse.de>
19293         [BZ #15946]
19294         * resolv/res_send.c (send_dg): Reload file descriptor after
19295         calling reopen.
19297 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19299         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19301 2014-06-03  Richard Henderson  <rth@redhat.com>
19303         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19304         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19305         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19306         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19307         in the SAVE_PID block.
19308         (__libc_vfork): New alias.
19309         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19311         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19312         child in registers, not on the stack.  Remove RESET_PID conditionals.
19313         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19315 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19317         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19319 2014-06-03  Wilco  <wdijkstr@arm.com>
19321         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19322         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19323         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19324         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19325         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19326         Likewise.
19328 2014-06-03  Wilco  <wdijkstr@arm.com>
19330         * sysdeps/aarch64/fpu/math_private.h
19331         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19332         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19333         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19334         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19335         Fix declarations.
19337 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19339         * crypt/crypt-private.h: Include ufc-crypt.h.
19340         (__b64_from_24bit): Declare extern.
19341         * crypt/crypt_util.c(__b64_from_24bit): New function.
19342         (b64t): New static const variable.
19343         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19344         (b64t): Remove variable.
19345         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19346         * crypt/sha256-crypt.c: Include crypt-private.h.
19347         (b64t): Remove variable.
19348         (__sha256_crypt_r): Remove b64_from_24bit and replace
19349         with __b64_from_24bit.
19350         * crypt/sha512-crypt.c: Likewise.
19352 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19354         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19355         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19356         Label the code __libc_vfork rather than __vfork.
19357         [!NOT_IN_libc] (vfork): Define as weak alias.
19358         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19359         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19360         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19362 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19364         * malloc/malloc.c (malloc_info): Fix format specifier for
19365         n_mmaps.
19367 2014-06-02  Wilco  <wdijkstr@arm.com>
19369         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19370         FPCR write.
19372 2014-06-02  Wilco  <wdijkstr@arm.com>
19374         [BZ #17009]
19375         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19376         Rewrite to reduce FPCR/FPSR accesses.
19378 2014-06-01  David S. Miller  <davem@davemloft.net>
19380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19382 2014-05-31  David S. Miller  <davem@davemloft.net>
19384         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19385         to occur in round to nearest mode when |x| >= 2.0
19387 2014-05-30  Richard Henderson  <rth@twiddle.net>
19389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19390         (PSEUDO_RET_NOERRNO): Remove.
19391         (ret): Don't redefine.
19392         (ret_NOERRNO): Define in terms of ret.
19393         (ret_ERRVAL): Likewise.
19395         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19396         use of PSEUDO_RET; perform the error check directly.
19398 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19400         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19401         with __int128_t.
19403 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19405         * malloc/malloc (malloc_info): Fix formatting.
19407 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19408             Roland McGrath  <roland@hack.frob.com>
19410         * malloc/malloc (malloc_info): Also print mmapped statistics.
19412 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19414         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19415         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19417 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19419         * malloc/malloc.c (malloc_info): Inline mi_arena.
19421 2014-05-29  Richard Henderson  <rth@twiddle.net>
19423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19424         Remove comma before expanding ASM_ARGS_##nr.
19425         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19426         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19427         of ASM_ARGS_##nr.
19428         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19429         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19430         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19431         (ASM_ARGS_1): Add leading comma.
19433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19434         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19435         to __errno_location.
19436         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19437         Remove the expected plt for __errno_location.
19439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19440         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19441         call to __read_tp.
19443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19444         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19445         it and break it down.
19446         (DOCARGS_0, DOCARGS_1): Do nothing.
19447         (DOCARGS_2): Update to store into the new stack frame.
19448         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19449         (UNDOCARGS_1): Update to restore from the new stack frame.
19450         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19451         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19453         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19454         (SINGLE_THREAD_P): New parameter for result regno.
19455         (PSEUDO): Update to match; use cbz instead of beq.
19457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19458         Use ENTRY to define the _nocancel entry point.  Share the syscall
19459         and syscall error check paths with the cancel path.
19460         (PSEUDO_END): New.
19462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19463         whitespace; tabs before and after asm mnemonics.
19465 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19467         [BZ #15132]
19468         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19469         Call fstat64 or stat64 internally, depending on arguments passed.
19470         Replace stat buffer argument with file descriptor argument.
19471         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19472         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19473         Pass fd to __internal_statvfs instead of calling fstat64.
19474         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19475         Pass fd to __internal_statvfs64 instead of calling fstat64.
19476         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19477         Pass -1 to __internal_statvfs instead of calling stat64.
19478         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19479         Pass -1 to __internal_statvfs64 instead of calling stat64.
19481 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19483         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19484         that was previously under [RESET_PID].
19485         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19487         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19488         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19490 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19492         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19494         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19495         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19497 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19499         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19501 2014-05-27  Andreas Schwab  <schwab@suse.de>
19503         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19504         TLS_INIT_TP macro.
19505         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19506         * elf/rtld.c (init_tls, dl_main): Likewise.
19507         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19508         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19509         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19510         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19511         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19512         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19513         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19514         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19515         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19516         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19517         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19518         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19519         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19520         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19521         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19522         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19523         * sysdeps/generic/tls.h: Update description.
19525 2014-05-27  Will Newton  <will.newton@linaro.org>
19527         [BZ #16990]
19528         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19529         and restore r2 rather than just restoring.
19531 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19533         [BZ #16724]
19534         * libio/tst-ftell-append.c: New test case.
19535         * libio/Makefile (tests): Add test case.
19536         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19537         append mode.
19538         * libio/wfileops.c (do_ftell_wide): Likewise.
19540 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19544         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19545         ...
19546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19548         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19549         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19551         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19553         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19555         Moved ...
19556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19558         Moved ...
19559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19561         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19562         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19563         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19565         ...
19566         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19567         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19568         Moved ...
19569         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19570         here.
19571         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19572         ...
19573         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19574         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19575         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19577         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19578         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19579         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19580         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19583         merge into ...
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19586         ...
19587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19589         ...
19590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19592         Moved ...
19593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19594         here.
19595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19599         Moved ...
19600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19603         conditional [RESET_PID].
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19606         removed.
19607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19608         removed.
19610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19611         <tcb-offsets.h>.
19612         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19613         (__libc_vfork): New strong alias.
19614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19615         removed.
19616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19617         Removed.
19619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19620         <tcb-offsets.h>.
19621         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19622         (__libc_vfork): New strong alias.
19623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19624         removed.
19625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19626         removed.
19628 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19630         * malloc/malloc.c (mi_arena): New function.
19631         (malloc_info): Remove nested function mi_arena. Call non-nosted
19632         function mi_arena.
19634 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19636         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19637         by insrwi.
19638         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19639         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19640         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19641         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19642         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19643         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19644         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19646 2014-05-26  Andreas Schwab  <schwab@suse.de>
19648         [BZ #16984]
19649         * locale/programs/repertoire.c (repertoire_read): Add slash
19650         between I18NPATH element and file name.
19651         * locale/programs/locfile.c (locfile_read): Likewise.
19653 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19655         * nptl/pthread_mutexattr_settype.c
19656         (__pthread_mutexattr_settype):
19657         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19659 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19661         * nptl/tst-mutex5 (do_test):
19662         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19664 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19666         * benchtests/README: Document 'init' directive.
19667         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19668         BENCH_INIT.
19669         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19670         (parse_file): Recognize 'init' directive.
19672 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19674         [BZ #16796]
19675         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19676         alignment of struct pthread.
19678 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680         [BZ #16878]
19681         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19682         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19683         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19684         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19686 2014-05-25  Richard Henderson  <rth@twiddle.net>
19688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19689         (SINGLE_THREAD_P_PIC): Remove.
19690         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19691         (SINGLE_THREAD_P_PIC): Remove.
19693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19694         branch to syscall error ...
19695         (PSEUDO): ... here.
19696         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19697         from __local_syscall_error to .Lsyscall_error.
19698         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19699         (SYSCALL_ERROR): Update label name.
19701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19702         Do not use DOARGS/UNDOARGS.
19703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19704         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19705         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19706         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19707         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19710         block comment.
19712         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19713         define if !NOT_IN_libc.
19714         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19715         define with non-default symbol versions.
19717 2014-05-23  Richard Henderson  <rth@twiddle.net>
19719         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19720         (vfork, __vfork): Define via compat_symbol.
19722         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19723         [!HAVE_IFUNC] (vfork_compat): Remove.
19724         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19726 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19728         [BZ #16978]
19729         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19730         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19731         variable.
19733 2014-05-23  Richard Henderson  <rth@twiddle.net>
19735         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19736         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19737         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19738         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19740         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19741         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19742         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19743         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19744         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19745         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19746         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19747         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19748         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19749         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19750         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19751         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19752         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19753         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19755         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19756         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19757         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19761         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19763         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19764         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19765         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19766         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19767         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19768         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19769         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19772         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19773         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19774         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19775         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19776         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19777         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19778         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19779         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19780         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19781         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19782         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19783         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19784         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19785         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19787         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19789         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19791         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19793         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19795         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19797         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19798         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19799         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19800         before exiting on error.
19801         (__libc_vfork): New strong alias.
19802         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19803         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19805         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19806         that was previously under [RESET_PID].
19807         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19809         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19811 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19813         [BZ #16977]
19814         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19815         value when x - 1 is zero.
19816         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19817         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19818         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19819         0.0L for an argument of 1.0L.
19820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19821         Likewise.
19822         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19823         value when x - 1 is zero.
19824         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19825         * sysdeps/i386/fpu/libm-test-ulps: Update.
19826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19830         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19831         alphasort and versionsort.
19833 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19835         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19836         macro.
19837         [copysignf]: Likewise.
19839 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19841         * crypt/md5-crypt.c: Fix formatting.
19843 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19845         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19846         (b64_from_24bit): New function.
19848 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19850         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19851         libc_hidden_builtin_def to ifunc.
19852         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19853         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19855 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19857         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19858         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19860 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19862         * nscd/Depend (linuxthreads): Remove.
19863         (nptl): Add.
19864         * resolv/Depend (linuxthreads): Remove.
19865         * rt/Depend (linuxthreads): Remove.
19867         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19868         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19869         $(common-objpfx)elf/.
19870         (link-libc-before-gnulib): Likewise.
19871         (elfobjdir): Remove variable.
19872         * Makefile (install): Use $(elf-objpfx) instead of
19873         $(common-objpfx)elf/.
19874         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19875         $(elfobjdir)/.
19876         (link-libc-deps): Likewise.
19877         ($(common-objpfx)libc.so): Likewise.
19878         ($(common-objpfx)linkobj/libc.so): Likewise.
19879         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19880         instead of $(common-objpfx)elf/.
19881         (symbolic-link-list): Likewise.
19882         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19883         [$(cross-compiling) = no]: Likewise.
19884         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19885         $(elfobjdir)/.
19886         (static-gnulib-arch): Likewise.
19887         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19888         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19889         $(common-objpfx)elf/.
19891 2014-05-21  Richard Henderson  <rth@redhat.com>
19893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19894         (SINGLE_THREAD_P): Use the correct width load.  Fold
19895         into the ldr offset.
19897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19898         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19900 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19903         (libgcc_s_resume): Use __attribute_used__.
19904         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19905         Likewise.
19907 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19909         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19910         optimization when used with float constants.
19912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19914 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19916         [BZ #16915]
19917         * locale/nl_langinfo_l.c: Make direct reference to every
19918         _nl_current_CATEGORY symbol.
19919         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19920         (tests-static): Add tst-langinfo-static.
19921         (tests-special): Add tst-langinfo-static.out.
19922         ($(objpfx)tst-langinfo.out): Redirect output.
19923         ($(objpfx)tst-langinfo-static.out): New.
19924         * localedata/tst-langinfo.sh: Send output to stdout.
19925         * localedata/tst-langinfo-static.c: New file.
19927         [BZ #16965]
19928         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19929         when the shift amount is modulo the limb size.
19931 2014-05-20  Richard Henderson  <rth@redhat.com>
19933         [BZ #16967]
19934         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19935         Change type of sa_flags from unsigned int to int.
19937         [BZ #16966]
19938         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19940         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19942 2014-05-20  Will Newton  <will.newton@linaro.org>
19944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19945         Test the return value of the system call in the nocancel case.
19947 2014-05-20  Will Newton  <will.newton@linaro.org>
19948             Yvan Roux  <yvan.roux@linaro.org>
19950         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19951         #include of asm/ptrace.h.
19952         (PTRACE_GET_THREAD_AREA): Remove #undef.
19953         (PTRACE_GETHBPREGS): Likewise.
19954         (PTRACE_SETHBPREGS): Likewise.
19955         (struct user_regs_struct): New structure.
19956         (struct user_fpsimd_struct): New structure.
19957         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19958         #include of asm/ptrace.h and second #include of sys/user.h.
19959         (PTRACE_GET_THREAD_AREA): Remove #undef.
19960         (PTRACE_GETHBPREGS): Likewise.
19961         (PTRACE_SETHBPREGS): Likewise.
19962         (ELF_NGREG): Use new struct user_regs_struct.
19963         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19965 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19967         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19970 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19972         [BZ #16958]
19973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19974         membar to avoid block loads/stores to overlap previous stores.
19976 2014-05-17  Richard Henderson  <rth@redhat.com>
19978         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19979         Create the __##syscall_name##_nocancel entry point.
19980         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19981         Remove; let the sysdep-cancel.h code create it.
19983 2014-05-17  David S. Miller  <davem@davemloft.net>
19985         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19986         Protect with __USE_GNU.
19987         (TIOCSET_TEMPT): Likewise.
19988         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19989         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19990         these are already provided in bits/ioctl-types.h
19992 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19994         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19995         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19997         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19998         Use wait4 regardless of [__NR_waitpid].
20000 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20002         PR libgcc/60166
20003         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20004         (_FP_NANSIGN_Q): Set the quiet bit.
20006 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
20008         * benchtests/Makefile
20009         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20010         not $(common-objpfx)math/libm.so.
20011         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20012         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20013         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20014         $(common-objpfx)dlfcn/libdl.so.
20015         ($(objpfx)tst-audit8): Depend on $(libm), not
20016         $(common-objpfx)math/libm.so.
20017         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20018         not $(common-objpfx)dlfcn/libdl.so.
20019         * math/Makefile
20020         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20021         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
20022         [$(build-shared) = yes].
20023         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20024         $(common-objpfx)nptl/libpthread.so.
20025         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20026         $(common-objpfx)math/libm.so$(libm.so-version) or
20027         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20028         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20029         $(common-objpfx)dlfcn/libdl.so.
20030         * setjmp/Makefile (link-libm): Remove variable.
20031         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20032         * stdio-common/Makefile (link-libm): Remove variable.
20033         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20034         * stdlib/Makefile (link-libm): Remove variable.
20035         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20036         ($(objpfx)tst-strtod-round): Likewise.
20037         ($(objpfx)tst-tininess): Likewise.
20038         ($(objpfx)tst-strtod-underflow): Likewise.
20039         ($(objpfx)tst-strtod6): Likewise.
20040         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20041         $(libdl), not $(common-objpfx)nptl/libpthread.so and
20042         $(common-objpfx)dlfcn/libdl.so.
20044 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20046         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20047         BSD terminal modes definitions.
20049 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20051         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20052         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20054         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20055         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20056         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20057         Don't do #include_next.
20058         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20059         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20060         Don't do #include_next.
20061         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20062         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20063         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20064         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20066 2014-05-16  Allan McRae  <allan@archlinux.org>
20068         * po/sv.po: Update Swedish translation from translation project.
20070         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20071         in sed expression.
20073 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20075         [BZ #16917]
20076         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20077         errno if the TIOCGPTN ioctl fails with an error different than
20078         EINVAL.
20079         * login/tst-ptsname.c: New file.
20080         * login/Makefile (tests): Add tst-ptsname.
20082         [BZ #16943]
20083         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20084         and prlimit64.
20086 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20088         [BZ #16849]
20089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20090         herrno to return EAI_AGAIN.
20092 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20094         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20095         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20096         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20097         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20098         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20099         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20100         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20101         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20103         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20104         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20105         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20106         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20107         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20108         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20109         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20110         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20111         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20112         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20113         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20114         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20115         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20116         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20117         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20118         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20119         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20120         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20121         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20122         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20123         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20125         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20127         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20129         Moved ...
20130         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20132         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20136         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20138         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20140         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20142         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20144         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20146         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20148         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20150         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20152         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20154         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20156         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20158         Moved ...
20159         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20161         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20165         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20167         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20169         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20171         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20173         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20175         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20177         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20179         Moved ...
20180         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20182         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20184         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20185         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20186         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20187         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20188         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20189         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20190         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20191         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20192         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20193         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20194         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20196         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20198         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20199         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20200         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20202         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20204         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20206         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20210         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20211         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20212         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20213         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20214         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20216         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20217         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20219         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20220         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20221         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20222         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20223         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20225         Moved ...
20226         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20228         Moved ...
20229         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20231         Moved ...
20232         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20234         Moved ...
20235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20236         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20237         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20239         Moved ...
20240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20242         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20245         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20246         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20248         Moved ...
20249         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20251         Moved ...
20252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20253         ... here.
20254         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20255         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20256         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20257         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20258         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20259         Moved ...
20260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20261         ... here.
20262         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20263         Moved ...
20264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20266         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20267         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20268         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20270         Moved ...
20271         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20273         Moved ...
20274         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20276         Moved ...
20277         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20279         Moved ...
20280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20281         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20282         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20284         Moved ...
20285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20286         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20287         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20290         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20291         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20293         Moved ...
20294         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20296         Moved ...
20297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20298         ... here.
20299         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20300         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20301         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20302         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20303         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20304         Moved ...
20305         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20306         ... here.
20307         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20308         Moved ...
20309         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20310         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20311         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20312         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20313         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20314         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20315         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20316         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20317         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20319         Moved ...
20320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20322         Moved ...
20323         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20325         Moved ...
20326         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20328         Moved ...
20329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20330         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20331         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20332         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20333         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20335         Moved ...
20336         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20337         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20338         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20341         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20342         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20344         Moved ...
20345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20347         Moved ...
20348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20349         ... here.
20350         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20351         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20352         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20353         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20355         Moved ...
20356         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20357         ... here.
20358         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20359         Moved ...
20360         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20361         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20362         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20363         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20364         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20365         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20366         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20368         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20369         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20370         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20372         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20373         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20375         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20376         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20378         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20379         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20380         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20381         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20382         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20383         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20384         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20385         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20386         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20387         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20389         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20390         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20391         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20392         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20394         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20396         Moved ...
20397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20399         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20401         Moved ...
20402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20404         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20406         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20410         Moved ...
20411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20413         Moved ...
20414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20416         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20417         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20418         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20419         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20420         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20421         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20422         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20423         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20424         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20425         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20426         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20427         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20428         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20429         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20430         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20432         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20433         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20434         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20435         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20436         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20438         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20439         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20440         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20441         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20442         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20443         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20444         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20445         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20446         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20447         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20449         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20452         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20453         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20454         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20455         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20456         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20457         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20458         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20459         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20460         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20461         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20462         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20463         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20464         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20465         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20467         Update #include.
20468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20469         Likewise.
20470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20471         Likewise.
20472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20473         Likewise.
20474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20475         Likewise.
20476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20477         Likewise.
20478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20479         Likewise.
20480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20481         Likewise.
20482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20483         Likewise.
20484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20485         Likewise.
20486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20492         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20493         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20494         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20498         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20502         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20503         that was previously under [RESET_PID].
20504         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20505         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20506         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20508         * sysdeps/i386/nptl/Implies: New file.
20509         * sysdeps/x86_64/nptl/Implies: New file.
20510         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20511         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20512         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20513         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20515         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20516         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20517         (__libc_vfork): New strong alias.
20518         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20519         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20521         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20522         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20523         (__libc_vfork): New strong alias.
20524         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20525         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20527         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20528         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20529         (__libc_vfork): New strong alias.
20530         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20531         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20532         * nptl/pt-vfork.c: New file.
20533         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20534         (libpthread: GLIBC_2.20): New version set (empty).
20536 2014-05-14  Will Newton  <will.newton@linaro.org>
20538         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20539         rather than #if.
20541 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20543         [BZ #16564]
20544         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20545         arguments with exponent 65 or above.
20546         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20547         arguments 0x1p113L or above.
20548         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20549         to arguments 0x1p107L or above.
20550         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20551         positive arguments with exponent 65 or above.
20552         * math/auto-libm-test-in: Add more tests of log1p.
20553         * math/auto-libm-test-out: Regenerated.
20555         [BZ #16928]
20556         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20557         non-finite arguments is +0.
20558         * math/s_cacosf.c (__cacosf): Likewise.
20559         * math/s_cacosl.c (__cacosl): Likewise.
20560         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20561         * sysdeps/i386/fpu/libm-test-ulps: Update.
20562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20564         [BZ #16927]
20565         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20566         value.
20567         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20568         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20569         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20570         for explicit high bit of mantissa when testing for argument equal
20571         to 1.
20572         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20573         * sysdeps/i386/fpu/libm-test-ulps: Update.
20574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20576         [BZ #16516]
20577         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20578         (__erf): Scale by 16 instead of 8 in potentially underflowing
20579         case.  Ensure exception if result actually underflows.
20580         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20581         (__erff): Scale by 16 instead of 8 in potentially underflowing
20582         case.  Ensure exception if result actually underflows.
20583         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20584         (efx8): Remove variable.
20585         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20586         case.  Ensure exception if result actually underflows.
20587         * sysdeps/ieee754/ldbl-128ibm/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-96/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         * math/auto-libm-test-in: Add more tests of erf.
20596         * math/auto-libm-test-out: Regenerated.
20598 2014-05-14  Andreas Schwab  <schwab@suse.de>
20600         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20601         Remove code conditionalized on USE___THREAD.
20603         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20604         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20605         not definedness.
20607 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20610         Define unconditionally.
20611         (__ASSUME_O_CLOEXEC): Likewise.
20612         (__ASSUME_SOCK_CLOEXEC): Likewise.
20613         (__ASSUME_IN_NONBLOCK): Likewise.
20614         (__ASSUME_PIPE2): Likewise.
20615         (__ASSUME_EVENTFD2): Likewise.
20616         (__ASSUME_SIGNALFD4): Likewise.
20617         (__ASSUME_DUP3): Likewise.
20618         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20619         (__ASSUME_DUP3): Do not define.
20620         (__ASSUME_EVENTFD2): Likewise.
20621         (__ASSUME_IN_NONBLOCK): Likewise.
20622         (__ASSUME_O_CLOEXEC): Likewise.
20623         (__ASSUME_PIPE2): Likewise.
20624         (__ASSUME_SIGNALFD4): Likewise.
20625         (__ASSUME_SOCK_CLOEXEC): Likewise.
20626         (__ASSUME_UTIMES): Undefine.
20627         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20628         (__ASSUME_UTIMES): Do not define.
20629         (__ASSUME_O_CLOEXEC): Likewise.
20630         (__ASSUME_SOCK_CLOEXEC): Likewise.
20631         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20632         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20633         0x020621].
20634         (__ASSUME_PIPE2): Likewise.
20635         (__ASSUME_EVENTFD2): Likewise.
20636         (__ASSUME_SIGNALFD4): Likewise.
20637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20638         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20639         Do not define.
20640         (__ASSUME_EVENTFD2): Likewise.
20641         (__ASSUME_SIGNALFD4): Likewise.
20642         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20643         (__ASSUME_32BITUIDS): Likewise.
20644         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20645         (__ASSUME_IPC64): Likewise.
20646         (__ASSUME_ST_INO_64_BIT): Likewise.
20647         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20648         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20650         (__ASSUME_UTIMES): Do not define.
20651         (__ASSUME_PSELECT): Likewise.
20652         (__ASSUME_PPOLL): Likewise.
20653         (__ASSUME_O_CLOEXEC): Likewise.
20654         (__ASSUME_SOCK_CLOEXEC): Likewise.
20655         (__ASSUME_IN_NONBLOCK): Likewise.
20656         (__ASSUME_PIPE2): Likewise.
20657         (__ASSUME_EVENTFD2): Likewise.
20658         (__ASSUME_SIGNALFD4): Likewise.
20659         (__ASSUME_DUP3): Likewise.
20660         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20661         (__ASSUME_UTIMES): Likewise.
20662         (__ASSUME_O_CLOEXEC): Likewise.
20663         (__ASSUME_SOCK_CLOEXEC): Likewise.
20664         (__ASSUME_IN_NONBLOCK): Likewise.
20665         (__ASSUME_PIPE2): Likewise.
20666         (__ASSUME_EVENTFD2): Likewise.
20667         (__ASSUME_SIGNALFD4): Likewise.
20668         (__ASSUME_DUP3): Likewise.
20669         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20670         (__ASSUME_UTIMES): Likewise.
20671         (__ASSUME_O_CLOEXEC): Likewise.
20672         (__ASSUME_SOCK_CLOEXEC): Likewise.
20673         (__ASSUME_IN_NONBLOCK): Likewise.
20674         (__ASSUME_PIPE2): Likewise.
20675         (__ASSUME_EVENTFD2): Likewise.
20676         (__ASSUME_SIGNALFD4): Likewise.
20677         (__ASSUME_DUP3): Likewise.
20678         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20679         Likewise.
20680         (__ASSUME_UTIMES): Likewise.
20681         (__ASSUME_EVENTFD2): Likewise.
20682         (__ASSUME_SIGNALFD4): Likewise.
20683         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20684         (__ASSUME_O_CLOEXEC): Likewise.
20685         (__ASSUME_SOCK_CLOEXEC): Likewise.
20686         (__ASSUME_IN_NONBLOCK): Likewise.
20687         (__ASSUME_PIPE2): Likewise.
20688         (__ASSUME_EVENTFD2): Likewise.
20689         (__ASSUME_SIGNALFD4): Likewise.
20690         (__ASSUME_DUP3): Likewise.
20691         (__ASSUME_UTIMES): Undefine.
20693         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20694         feclearexcept.  Remove symbol versioning code.
20695         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20696         symbol versioning code.
20697         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20698         symbol versioning code.
20699         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20700         feupdateenv.  Remove symbol versioning code.
20701         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20702         fegetexceptflag.  Remove symbol versioning code.
20703         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20704         fesetexceptflag.  Remove symbol versioning code.
20705         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20706         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20707         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20708         (__posix_fadvise64_l32): Remove prototype.
20709         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20710         code.
20712 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20714         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20715         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20716         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20717         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20719 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20721         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20722         current working directory
20724 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20726         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20727         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20728         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20729         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20730         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20731         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20732         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20733         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20734         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20735         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20736         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20737         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20738         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20739         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20740         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20741         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20742         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20743         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20744         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20745         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20746         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20747         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20748         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20749         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20750         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20751         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20752         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20753         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20754         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20755         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20756         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20757         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20758         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20759         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20760         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20761         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20762         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20763         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20764         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20765         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20766         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20767         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20769         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20770         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20772         * sysdeps/unix/sysv/linux/arm/Makefile
20773         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20774         Add rt-aeabi_unwind_cpp_pr1.
20775         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20776         Add nptl-aeabi_unwind_cpp_pr1.
20777         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20778         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20779         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20780         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20781         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20782         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20784         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20785         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20786         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20787         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20789         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20790         Deconditionalize the code that was previously under [RESET_PID].
20791         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20793         * sysdeps/generic/exit-thread.h: New file.
20794         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20795         * include/unistd.h (__exit_thread): Remove declaration.
20796         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20797         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20798         * csu/libc-start.c: Include <exit-thread.h>.
20799         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20800         * nptl/pthread_create.c: Include <exit-thread.h>.
20801         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20802         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20803         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20804         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20805         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20806         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20807         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20808         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20809         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20810         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20811         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20812         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20813         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20814         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20815         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20816         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20817         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20819 2014-05-13  Andreas Schwab  <schwab@suse.de>
20821         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20823 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20825         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20826         (__ASSUME_UTIMES): Do not condition on kernel version.
20827         (__ASSUME_PSELECT): Define unconditionally.
20828         (__ASSUME_PPOLL): Likewise.
20829         (__ASSUME_ATFCTS): Likewise.
20830         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20831         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20832         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20833         (__ASSUME_UTIMENSAT): Define unconditionally.
20834         (__ASSUME_PRIVATE_FUTEX): Likewise.
20835         (__ASSUME_FALLOCATE): Likewise.
20836         (__ASSUME_O_CLOEXEC): Likewise.
20837         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20838         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20839         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20840         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20841         (__ASSUME_IN_NONBLOCK): Likewise.
20842         (__ASSUME_PIPE2): Likewise.
20843         (__ASSUME_EVENTFD2): Likewise.
20844         (__ASSUME_SIGNALFD4): Likewise.
20845         (__ASSUME_DUP3): Likewise.
20846         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20847         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20848         (__ASSUME_AT_RANDOM): Likewise.
20849         (__ASSUME_PREADV): Likewise.
20850         (__ASSUME_PWRITEV): Likewise.
20851         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20852         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20853         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20854         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20855         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20856         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20857         (__ASSUME_O_CLOEXEC): Define unconditionally.
20858         (__ASSUME_PSELECT): Do not undefine conditionally.
20859         (__ASSUME_PPOLL): Likewise.
20860         (__ASSUME_ATFCTS): Likewise.
20861         (__ASSUME_SET_ROBUST_LIST): Likewise.
20862         (__ASSUME_UTIMENSAT): Likewise.
20863         (__ASSUME_FDATASYNC): Define unconditionally.
20864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20865         (__ASSUME_SIGFRAME_V2): Likewise.
20866         )__ASSUME_EVENTFD2): Likewise.
20867         (__ASSUME_SIGNALFD4): Likewise.
20868         (__ASSUME_PSELECT): Do not undefine conditionally.
20869         (__ASSUME_PPOLL): Likewise.
20870         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20871         (__ASSUME_PSELECT): Define unconditionally.
20872         (__ASSUME_PPOLL): Likewise.
20873         (__ASSUME_O_CLOEXEC): Likewise.
20874         (__ASSUME_SOCK_CLOEXEC): Likewise.
20875         (__ASSUME_IN_NONBLOCK): Likewise.
20876         (__ASSUME_PIPE2): Likewise.
20877         (__ASSUME_EVENTFD2): Likewise.
20878         (__ASSUME_SIGNALFD4): Likewise.
20879         (__ASSUME_DUP3): Likewise.
20880         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20881         (__ASSUME_O_CLOEXEC): Likewise.
20882         (__ASSUME_SOCK_CLOEXEC): Likewise.
20883         (__ASSUME_IN_NONBLOCK): Likewise.
20884         (__ASSUME_PIPE2): Likewise.
20885         (__ASSUME_EVENTFD2): Likewise.
20886         (__ASSUME_SIGNALFD4): Likewise.
20887         (__ASSUME_DUP3): Likewise.
20888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20889         (__ASSUME_EVENTFD2): Likewise.
20890         (__ASSUME_SIGNALFD4): Likewise.
20891         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20893 2014-05-12  Andreas Schwab  <schwab@suse.de>
20895         [BZ #16932]
20896         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20897         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20898         than maximum RPC packet size.
20899         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20900         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20901         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20902         (_nss_nis_getservbyport_r): Likewise.
20904 2014-05-12  Will Newton  <will.newton@linaro.org>
20906         * malloc/Makefile (tests): Add tst-mallopt.
20907         * malloc/tst-mallopt.c: New file.
20909 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20911         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20912         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20914 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20916         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20917         (tst-tlsmod6.so): Likewise.
20919 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20921         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20923 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20925         [BZ #16064]
20926         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20927         and <dl-procinfo.h>.
20928         (__fegetenv): Save SSE state in envp->__eip if supported.
20929         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20930         envp->__eip if supported.
20931         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20932         and <dl-procinfo.h>.
20933         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20934         __data_offset and __data_selector in environment to 0.  Set SSE
20935         state if supported.
20936         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20937         test-fenv-sse.
20938         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20939         -mfpmath=sse.
20940         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20942 2014-05-09  Will Newton  <will.newton@linaro.org>
20944         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20945         and libc_relro_required for ARM.
20946         * sysdeps/arm/preconfigure: Regenerate.
20948 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20949             Stefan Liebler  <stli@linux.vnet.ibm.com>
20951         * config.make.in (enable-lock-elision): New Makefile variable.
20952         * configure.ac: Likewise.
20953         * configure: Regenerate.
20954         * sysdeps/s390/configure.ac:
20955         Add check for gcc transactions support.
20956         * sysdeps/s390/configure: Regenerate.
20957         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20958         Build elision files if enabled.
20959         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20960         Add lock elision support for s390.
20961         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20962         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20963         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20964         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20965         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20966         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20968         Likewise.
20969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20970         Likewise.
20971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20972         Likewise.
20973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20974         Likewise.
20975         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20976         (__lll_timedlock_elision, __lll_lock_elision)
20977         (__lll_unlock_elision, __lll_trylock_elision)
20978         (lll_timedlock_elision, lll_lock_elision)
20979         (lll_unlock_elision, lll_trylock_elision): Add.
20980         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20981         (pthread_mutex_t): Add lock elision support for s390.
20983 2014-05-14  Wilco  <wdijkstr@arm.com>
20985         * sysdeps/arm/fclrexcpt.c: Cleanup.
20986         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20987         * sysdeps/arm/feenablxcpt.c: Cleanup.
20988         * sysdeps/arm/fegetenv.c: Cleanup.
20989         * sysdeps/arm/fegetexcept.c: Cleanup.
20990         * sysdeps/arm/fegetround.c: Cleanup.
20991         * sysdeps/arm/feholdexcpt.c: Cleanup.
20992         * sysdeps/arm/fesetenv.c: Cleanup.
20993         * sysdeps/arm/fesetround.c: Cleanup.
20994         * sysdeps/arm/feupdateenv.c: Cleanup.
20995         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20996         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20997         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20998         * sysdeps/arm/ftestexcept.c: Cleanup.
20999         * sysdeps/arm/get-rounding-mode.h: Cleanup.
21000         * sysdeps/arm/setfpucw.c: Cleanup.
21002 2014-05-09  Will Newton  <will.newton@linaro.org>
21004         * sysdeps/arm/armv7/strcmp.S: New file.
21005         * NEWS: Mention addition of ARMv7 optimized strcmp.
21007 2014-05-08  Roland McGrath  <roland@hack.frob.com>
21009         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21010         look for %.ac rather than %.in.
21012         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21013         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21014         * sysdeps/mach/hurd/configure: Regenerated.
21015         * sysdeps/unix/sysv/linux/configure: Regenerated.
21017         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21019 2014-05-07  Steve Ellcey  <sellcey@mips.com>
21021         [BZ# 16922]
21022         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21023         (LONG_SUB): Ditto.
21024         (PTR_SUB): Ditto.
21026 2014-05-07  Andreas Schwab  <schwab@suse.de>
21028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21029         when skipping over non-matching result from nscd.
21031 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
21033         [BZ #16876]
21034         * nptl/sockperf.c (client): Check socket return value.
21036         [BZ #16877]
21037         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21038         nscd security class.
21040 2014-05-06  Roland McGrath  <roland@hack.frob.com>
21042         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21043         * sysdeps/arm/unwind.h: ... here.
21045 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
21047         [BZ# 16916]
21048         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21049         Define.
21051 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21053         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21054         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21055         multiarch strncpy for PPC64.
21056         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21057         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21059         multiarch optimizations.
21060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21061         (__libc_ifunc_impl_list): Likewise.
21062         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21063         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21064         multiarch stpncpy for PPC64.
21065         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21068 2014-05-06  Andreas Schwab  <schwab@suse.de>
21070         [BZ #16912]
21071         * gmon/mcount.c (_MCOUNT_DECL): Use
21072         atomic_compare_and_exchange_bool_acq instead of
21073         catomic_compare_and_exchange_bool_acq.
21075 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21077         * elf/Makefile (others, install-bin): Remove pldd.
21078         (pldd-modules): Variable removed.
21079         ($(objpfx)pldd): Target removed.
21080         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21081         (others, install-bin): Append pldd here.
21082         ($(objpfx)pldd): New target.
21084         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21085         to 0, so the first #if test emitted later doesn't see it undefined.
21086         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21087         * sysdeps/gnu/errlist.c: Regenerated.
21089 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21092         [libc_hidden_builtin_def]: Define to empty value.
21093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21094         [libc_hidden_builtin_def]: Likewise.
21095         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21096         [libc_hidden_builtin_def]: Likewise.
21097         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21098         [libc_hidden_builtin_def]: Likewise.
21099         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21100         __redirect_memcpy and define ifunc as default hidden symbol.
21101         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21104 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21106         * locale/iso-4217.def: Reintroduce XDR currency.
21108 2014-05-04  Allan McRae  <allan@archlinux.org>
21110         * po/eo.po: Update Esperanto translation from translation project.
21112 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21114         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21115         and FEATURE_INDEX_MAX to 1.
21116         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21118 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21120         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21121         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21122         * iconvdata/big5.c (ONE_DIRECTION): Define.
21123         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21124         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21125         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21126         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21127         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21128         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21129         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21130         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21131         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21132         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21133         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21134         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21135         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21136         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21137         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21138         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21139         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21140         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21141         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21142         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21143         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21144         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21145         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21146         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21147         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21148         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21149         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21150         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21151         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21152         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21153         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21154         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21155         * iconvdata/johab.c (ONE_DIRECTION): Define.
21156         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21157         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21158         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21159         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21160         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21161         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21162         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21163         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21164         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21165         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21167 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21169         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21170         (_IO_JUMPS_OFFSET): Define to 0.
21172         * nptl/sysdeps/pthread/bits/libc-lock.h
21173         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21174         (__libc_lock_define_initialized_recursive): Always define using
21175         initializer.  Modern compilers treat uninitialized (implicit zero) and
21176         explicit zero initializers the same (i.e. put the datum in bss).
21178 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21180         * nscd/nscd-client.h: Include <string.h>.
21182 2014-05-01  David S. Miller  <davem@davemloft.net>
21184         [BZ #16885]
21185         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21186         multiple zero bytes exist at the end of a string.
21187         Reported by Aurelien Jarno <aurelien@aurel32.net>
21189         * string/test-strcmp.c (check): Add explicit test for situations where
21190         there are multiple zero bytes after the first.
21192 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21194         [BZ #16890]
21195         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21196         when compiling wprintf.
21197         * stdio-common/tstdiomisc.c (t3): New function.
21198         (main): Call it.
21200 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21202         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21203         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21204         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21205         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21207 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21209         * stdlib/longlong.h: Updated from GCC.
21211 2014-05-01  Will Newton  <will.newton@linaro.org>
21212             Bernard Ogden  <bernie.ogden@linaro.org>
21214         * NEWS: Update fixed bug list.
21216         [BZ #15119]
21217         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21219 2014-04-30  David S. Miller  <davem@davemloft.net>
21221         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21222         (libc_feholdexcept_setround_sparc_ctx): New function.
21223         (libc_fesetenv_sparc_ctx): Likewise.
21224         (libc_feupdateenv_sparc_ctx): Likewise.
21225         (libc_feholdsetround_sparc_ctx): Likewise.
21226         (libc_feholdexcept_setround_ctx): Define.
21227         (libc_feholdexcept_setroundf_ctx): Likewise.
21228         (libc_feholdexcept_setroundl_ctx): Likewise.
21229         (libc_fesetenv_ctx): Likewise.
21230         (libc_fesetenvf_ctx): Likewise.
21231         (libc_fesetenvl_ctx): Likewise.
21232         (libc_feupdateenv_ctx): Likewise.
21233         (libc_feupdateenvf_ctx): Likewise.
21234         (libc_feupdateenvl_ctx): Likewise.
21235         (libc_feresetround_ctx): Likewise.
21236         (libc_feresetroundf_ctx): Likewise.
21237         (libc_feresetroundl_ctx): Likewise.
21238         (libc_feholdsetround_ctx): Likewise.
21239         (libc_feholdsetroundf_ctx): Likewise.
21240         (libc_feholdsetroundl_ctx): Likewise.
21242         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21243         with __USE_GNU instead of XOPEN cpp guards.
21245         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21246         0.
21248         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21249         with XOPEN cpp guards.
21251 2014-04-30  Julian Brown  <julian@codesourcery.com>
21253         [BZ #16888]
21254         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21255         handling.
21257 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21259         [BZ #9894]
21260         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21261         Change to 2.6.32.
21262         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21263         * sysdeps/unix/sysv/linux/configure: Regenerated.
21264         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21265         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21266         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21267         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21268         * README: Update reference to required Linux kernel version.
21269         * manual/install.texi (Linux): Update reference to required Linux
21270         kernel headers version.
21271         * INSTALL: Regenerated.
21273         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21274         header inclusion.
21275         [POSIX] (limits.h): Likewise.
21276         [POSIX] (math.h): Likewise.
21277         [POSIX] (sys/wait.h): Likewise.
21278         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21279         function.
21280         [POSIX] (stddef.h): Do not allow header inclusion.
21282 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21284         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21286 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21288         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21289         Return immediately after lll_futex_wake.
21291 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293         [BZ #16791]
21294         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21295         structure.
21296         (datahead_init_pos): Call datahead_init_common early.
21297         (datahead_init_neg): Likewise.
21299         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21300         datahead_init_neg): New functions.
21301         * nscd/aicache.c (addhstaiX): Use them.
21302         * nscd/grpcache.c (cache_addgr): Likewise.
21303         * nscd/hstcache.c (cache_addhst): Likewise.
21304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21305         * nscd/netgroupcache.c (do_notfound): Likewise.
21306         (addgetnetgrentX): Likewise.
21307         (addinnetgrX): Likewise.
21308         * nscd/pwdcache.c (cache_addpw): Likewise.
21309         * nscd/servicescache.c (cache_addserv): Likewise.
21311 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21312             Atsushi Onoe  <atsushi@onoe.org>
21314         [BZ #14308]
21315         [BZ #12994]
21316         [BZ #13651]
21317         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21318         one response is valid.
21319         * resolv/res_send.c (send_dg): Check for validity of other
21320         response if the current response is a referral.
21322 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21324         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21326 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21328         [BZ #16823]
21329         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21330         Always divide by positive zero when computing -Inf result.
21331         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21332         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21334 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21336         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21337         FPSCR if value do not change.
21338         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21339         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21340         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21341         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21342         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21343         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21344         function.
21346 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21348         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21349         * sysdeps/unix/sysv/linux/hppa: Move directory from
21350         ports/systeps/unix/sysv/linux/hppa.
21351         * README: Update listing for hppa-*-linux-gnu.
21353 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21355         [BZ #16754]
21356         * manual/stdio.texi (Hook functions): Fix types of stream hook
21357         functions.
21358         [BZ #16854]
21359         * socket/sys/socket.h: Fix typo in comment.
21361 2014-04-28  Wilco  <wdijkstr@arm.com>
21363         * sysdeps/arm/fenv_private.h: New file.
21364         * sysdeps/arm/math_private.h: New file.
21365         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21367 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21369         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21370         with __int128_t.
21371         (La_x86_64_retval): Likewise.
21373 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21375         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21376         fpsr if value didn't change.
21377         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21378         to fpcr if value didn't change.
21379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21380         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21381         fpsr or fpcr if value didn't change.
21382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21383         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21384         fpcr if value didn't change.
21385         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21386         to fpsr if value didn't change.
21388 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21390         * nptl/tst-sem3.c: Use test-skeleton.c
21391         (main): Rename to do_test.  Use return instead of
21392         exit.
21393         * nptl/tst-sem4.c: Use test-skeleton.c
21394         (main): Rename to do_test.
21396 2014-04-22  David S. Miller  <davem@davemloft.net>
21398         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21399         (struct sigaction): New struct member __glibc_reserved0, change
21400         type of sa_flags to int.
21402 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21404         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21405         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21407 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21409         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21410         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21412 2014-04-22  Will Newton  <will.newton@linaro.org>
21413             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21415         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21416         (__longjmp): Add longjmp and longjmp_target SystemTap
21417         probes.
21418         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21419         (__sigsetjmp): Add setjmp SystemTap probe.
21421 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21423         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21424         match manual order.
21426 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21428         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21430         * sysdeps/powerpc/fpu/fenv_private.h
21431         (libc_feholdexcept_setroundl_ctx): Define to
21432         libc_feholdexcept_setround_ppc_ctx.
21433         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21434         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21435         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21436         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21438 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21440         * sysdeps/aarch64/math-tests.h: New file.
21442 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21444         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21445         New.
21446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21447         Check and set bit_AVX2_Usable.
21448         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21449         macro.
21450         (bit_AVX2): Likewise.
21451         (index_AVX2_Usable): Likewise.
21452         (CPUID_AVX2): Likewise.
21453         (HAS_AVX2): Likewise.
21455 2014-04-17  Will Newton  <will.newton@linaro.org>
21457         * manual/setjmp.texi (System V contexts): Add note that
21458         calling setcontext on a context created by a call to a
21459         signal handler is undefined.  Update text to note that
21460         setcontext from a signal handler is possible but not
21461         recommended.
21463         [BZ #16629]
21464         * stdlib/tst-setcontext.c: Include signal.h.
21465         (main): Check that the signal stack before and
21466         after swapcontext is the same.
21468         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21469         Re-implement to restore registers in user code and avoid
21470         rt_sigreturn system call.
21472 2014-04-17  Wilco  <wdijkstr@arm.com>
21474         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21475         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21476         * math/test-fenv.c: Skip exception trap tests on targets which only
21477         support non-stop mode.
21479 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21480             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21482         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21483         (libc_feholdsetround_aarch64_ctx)
21484         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21485         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21486         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21487         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21488         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21489         (libc_feresetround_noexl_ctx): Define.
21491 2014-04-16  Richard Henderson  <rth@redhat.com>
21493         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21495         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21496         unwind tables.
21498         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21499         const from the non-libc, non-ldso copy.
21501         * sysdeps/alpha/libm-test-ulps: Regenerate.
21503 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21504             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21506         * sysdeps/aarch64/fpu/math_private.h: New file.
21508 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21510         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21512 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21514         [BZ #16275]
21515         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21516         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21518         Intel MPX bound registers before _dl_profile_fixup.
21519         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21520         registers after _dl_profile_fixup.  Save and restore bound
21521         registers bnd0/bnd1 when calling _dl_call_pltexit.
21522         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21523         (LR_BND_OFFSET): Likewise.
21524         (LRV_BND0_OFFSET): Likewise.
21525         (LRV_BND1_OFFSET): Likewise.
21527 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21529         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21530         to...
21531         * sysdeps/mach/hurd/i386/tls.h: ... here.
21532         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21533         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21534         fields.
21536 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21538         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21540 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21542         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21544 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21546         [BZ #14770]
21547         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21548         * sysdeps/s390/configure: Regenerate.
21550         [BZ #16824]
21551         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21552         Set round-to-nearest internally to reduce error accumulation.
21554 2014-04-16  Alan Modra  <amodra@gmail.com>
21556         [BZ #16740]
21557         [BZ #16619]
21558         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21559         * math/libm-test.inc (frexp_test_data): Add tests.
21560         * NEWS: Update fixed bug list.
21562 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21564         * benchtests/Makefile: Depend on libraries in build directory.
21565         (bench-math): Separate out math tests.
21566         (bench-pthread): Separate out pthread tests.
21567         (bench): Include math and pthread tests.
21569 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21571         [BZ #16831]
21572         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21573         _dl_debug_initialize.
21575         * configure.ac: Remove SELinux header check.
21576         * configure: Regenerate.
21577         * nscd/selinux.c (perms): Array of const char* to permission names.
21578         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21579         default policy. Call string_to_security_class and string_to_av_perm to
21580         translate strings. Enforce default policy and call avs_has_perm with
21581         results of translated strings.
21583 2014-04-13  David S. Miller  <davem@davemloft.net>
21585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21587 2014-04-12  Allan McRae  <allan@archlinux.org>
21589         [BZ #16838]
21590         * manual/string.texi (Collation Functions): Fix qsort argument
21591         order in example.
21592         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21594 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21596         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21597         Make the test a no-op if there are no exceptions defined.
21599 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21601         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21602         enable-hardcoded-path-in-tests
21604 2014-04-11  Will Newton  <will.newton@linaro.org>
21606         * benchtests/Makefile (extra-objs): Add json-lib.o.
21607         (bench-func): Tidy up JSON output.
21608         * benchtests/bench-skeleton.c: Include json-lib.h.
21609         (main): Use JSON library functions to do output of
21610         benchmark results.
21611         * benchtests/bench-timing-type.c (main): Output the
21612         timing type simply, leaving formatting to the user.
21613         * benchtests/json-lib.c: New file.
21614         * benchtests/json-lib.h: Likewise.
21616 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21618         [BZ #15215]
21619         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21620         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21621         memory barriers.  Add comments.
21622         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21623         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21624         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21625         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21626         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21627         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21629 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21631         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21632         * sysdeps/s390/s390-64/configure.ac: ... this ...
21633         * sysdeps/s390/configure.ac: ... to here.
21634         * sysdeps/s390/s390-32/configure: Delete file.
21635         * sysdeps/s390/s390-64/configure: Delete file.
21636         * sysdeps/s390/configure: Regenerate.
21638 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21640         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21642 2014-04-11  Will Newton  <will.newton@linaro.org>
21644         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21645         to zero if it is not defined elsewhere.  (mtrim): Test
21646         the value of MALLOC_DEBUG with #if rather than #ifdef.
21648 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21650         * benchtests/pthread_once-inputs: New file.
21651         * benchtests/pthread_once-source.c: New file.
21652         * benchtests/README: Update documentation.
21654 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21655             H.J. Lu  <hongjiu.lu@intel.com>
21657         [BZ #16275]
21658         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21659         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21660         * sysdeps/x86_64/configure: Regenerated.
21661         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21662         macro.
21663         (REGISTER_SAVE_RAX): Likewise.
21664         (REGISTER_SAVE_RCX): Likewise.
21665         (REGISTER_SAVE_RDX): Likewise.
21666         (REGISTER_SAVE_RSI): Likewise.
21667         (REGISTER_SAVE_RDI): Likewise.
21668         (REGISTER_SAVE_R8): Likewise.
21669         (REGISTER_SAVE_R9): Likewise.
21670         (REGISTER_SAVE_BND0): Likewise.
21671         (REGISTER_SAVE_BND1): Likewise.
21672         (REGISTER_SAVE_BND2): Likewise.
21673         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21674         bound registers when calling _dl_fixup.
21676 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21678         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21679         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21680         of its definition.
21681         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21682         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21683         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21684         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21685         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21686         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21687         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21689 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21691         [BZ #15514]
21692         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21693         pathconf(_PC_NAME_MAX).
21695 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21697         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21698         Remove macro usage.
21699         (__PTHREAD_SPINS): Move definition to ...
21700         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21701         (__PTHREAD_SPINS): ... here.
21702         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21703         (__PTHREAD_SPIN): Likewise.
21704         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21705         (__PTHREAD_SPIN): Likewise.
21706         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21707         (__PTHREAD_SPIN): Likewise.
21708         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21709         (__PTHREAD_SPIN): Likewise.
21710         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21711         (__PTHREAD_SPIN): Likewise.
21712         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21713         (__PTHREAD_SPIN): Likewise.
21714         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21715         (__PTHREAD_SPIN): Likewise.
21716         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21717         (__PTHREAD_SPIN): Likewise.
21718         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21719         (__PTHREAD_SPIN): Likewise.
21720         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21721         (__PTHREAD_SPIN): Likewise.
21722         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21723         (__PTHREAD_SPIN): Likewise.
21724         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21725         (__PTHREAD_SPIN): Likewise.
21727         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21728         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21729         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21730         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21731         imply folder.
21732         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21733         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21734         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21735         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21736         correct imply path.
21737         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21738         strlen symbol for non multi-arch builds.
21739         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21740         missing hidden_def and weak_alias.
21742 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21744         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21746 2014-04-07  Will Newton  <will.newton@linaro.org>
21748         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21749         and contents.  [!_LIBC] Remove #ifndef and contents.
21750         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21751         * string/memccpy.c (__memccpy): Use ANSI prototype.
21752         * string/memfrob.c (memfrob): Likewise.
21753         * string/strcoll.c (STRCOLL): Likewise.
21754         * string/strlen.c (strlen): Likewise.
21755         * string/strtok.c (STRTOK): Likewise.
21756         * string/strcat.c: Remove unused #include of memcopy.h.
21757         (strcat): Use ANSI prototype.
21758         * string/strchr.c: Remove unused #include of memcopy.h.
21759         (strchr): Use ANSI prototype.
21760         * string/strcmp.c: Remove unused #include of memcopy.h.
21761         (strcmp): Use ANSI prototype.
21762         * string/strcpy.c: Remove unused #include of memcopy.h.
21763         (strcpy): Use ANSI prototype.
21765 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21767         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21768         * config.make.in (config-extra-cppflags): Set it from
21769         libc_extra_cppflags.
21770         * configure.ac (libc_extra_cflags): Make it accumulate over
21771         configure fragments.
21772         (libc_extra_cppflags): New flag.
21773         * configure. Regenerate.
21774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21775         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21776         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21779         [BZ #16815]
21780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21781         result for FE_DOWNWARD rounding mode.
21782         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21783         Likewise.
21784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21786 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21788         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21789         in function argument name.
21791 2014-04-03  David Svoboda  <svoboda@cert.org>
21793         [BZ #5666]
21794         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21795         explicitly.
21797 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21799         * elf/dl-unmap-segments.h: New file.
21800         * sysdeps/generic/ldsodefs.h
21801         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21802         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21803         * elf/dl-fptr.c: Likewise.
21804         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21805         * sysdeps/aarch64/tlsdesc.c: Likewise.
21806         * sysdeps/arm/tlsdesc.c: Likewise.
21807         * sysdeps/i386/tlsdesc.c: Likewise.
21808         * sysdeps/tile/dl-runtime.c: Likewise.
21809         * sysdeps/x86_64/tlsdesc.c: Likewise.
21810         * elf/dl-load.h: New file.
21811         * elf/dl-load.c: Include it.
21812         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21813         Macros moved to dl-load.h.
21814         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21815         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21816         Use _dl_unmap_segments in place of __munmap.
21817         Break out segment-mapping loop into ...
21818         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21820 2014-04-03  Will Newton  <will.newton@linaro.org>
21822         * elf/dl-lookup.c (do_lookup_x): Remove comment
21823         referring to nested function and move variable
21824         declarations down to before first use.
21826 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21828         [BZ #16799]
21829         [BZ #16800]
21830         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21831         with 0 numerator.
21832         * math/s_catanf.c (__catanf): Likewise.
21833         * math/s_catanh.c (__catanh): Likewise.
21834         * math/s_catanhf.c (__catanhf): Likewise.
21835         * math/s_catanhl.c (__catanhl): Likewise.
21836         * math/s_catanl.c (__catanl): Likewise.
21837         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21838         by positive zero when computing -Inf result.
21839         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21840         (catanh_test): Likewise.
21841         * sysdeps/i386/fpu/libm-test-ulps: Update.
21842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21844         [BZ #16789]
21845         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21846         instead of using underflowing value in computing result.
21847         * math/s_clog10.c (__clog10): Likewise.
21848         * math/s_clog10f.c (__clog10f): Likewise.
21849         * math/s_clog10l.c (__clog10l): Likewise.
21850         * math/s_clogf.c (__clogf): Likewise.
21851         * math/s_clogl.c (__clogl): Likewise.
21852         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21853         (clog10_test): Likewise.
21854         * sysdeps/i386/fpu/libm-test-ulps: Update.
21855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21857 2014-04-02  Alan Modra  <amodra@gmail.com>
21859         [BZ #16739]
21860         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21861         output when value is near a power of two.  Use int64_t for lx and
21862         remove casts.  Use decimal rather than hex exponent constants.
21863         Don't use long double multiplication when double will suffice.
21864         * math/libm-test.inc (nextafter_test_data): Add tests.
21865         * NEWS: Add 16739 and 16786 to bug list.
21867         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21869         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21871 2014-04-01  Will Newton  <will.newton@linaro.org>
21873         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21874         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21876 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21878         [BZ #13347]
21879         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21880         * nptl/tst-setuid2.c: New file.
21881         * nptl/Makefile (xtests): Add tst-setuid2.
21883 2014-04-01  Alan Modra  <amodra@gmail.com>
21885         [BZ #16786]
21886         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21888 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21890         [BZ #6803]
21891         [BZ #6804]
21892         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21893         set errno as appropriate.
21894         * math/w_scalbf.c (__scalbf): Likewise.
21895         * math/w_scalbl.c (__scalbl): Likewise.
21896         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21897         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21898         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21899         Add more NaN tests.
21901         [BZ #16349]
21902         * math/w_atan2.c: Include <errno.h>.
21903         (__atan2): Set errno for result underflowing to zero.
21904         * math/w_atan2f.c: Include <errno.h>.
21905         (__atan2f): Set errno for result underflowing to zero.
21906         * math/w_atan2l.c: Include <errno.h>.
21907         (__atan2l): Set errno for result underflowing to zero.
21908         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21909         tests.
21910         * math/auto-libm-test-out: Regenerated.
21912 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21914         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21915         Encode instruction correctly in little endian.
21916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21917         Likewise.
21918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21919         Likewise.
21920         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21921         Likewise.
21922         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21923         Likewise.
21925 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21927         [BZ #9894]
21928         * sysdeps/unix/sysv/linux/kernel-features.h
21929         [__sparc__ && !__arch64__ && !__sparc_v9__]
21930         (__ASSUME_SET_ROBUST_LIST): Do not define.
21931         [__sparc__ && !__arch64__ && !__sparc_v9__]
21932         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21933         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21934         Likewise.
21935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21936         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21937         (__ASSUME_REQUEUE_PI): Likewise.
21938         (__ASSUME_SET_ROBUST_LIST): Likewise.
21939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21940         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21941         Undefine.
21942         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21943         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21944         Likewise.
21945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21946         Likewise.
21947         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21948         Likewise.
21949         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21950         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21951         Undefine.
21952         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21953         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21954         Likewise.
21956         [BZ #16648]
21957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21959         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21961 2014-03-31  Will Newton  <will.newton@linaro.org>
21963         * benchtests/Makefile (bench): Add ffs and ffsll to list
21964         of tests.
21965         * benchtests/ffs-inputs: New file.
21966         * benchtests/ffsll-inputs: Likewise.
21968 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21970         [BZ #16770]
21971         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21972         too large before casting to int.
21973         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21974         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21975         * math/libm-test.inc (scalb_test_data): Add more tests.
21977 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21979         * benchtests/Makefile (DETAILED_OPT): New make option.
21980         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21981         set.
21982         * benchtests/bench-skeleton.c: Include stdbool.h.
21983         (main): Store and print timings per input.
21984         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21985         member to each argument value.
21986         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21987         (_print_arg_data): Initialize per-input timing to 0.
21989         * benchtests/Makefile (timing-type): New binary.
21990         (bench-clean): Also remove bench-timing-type.
21991         (bench): New target for timing-type.
21992         (bench-func): Print output in JSON format.
21993         * benchtests/bench-skeleton.c (main): Print output in JSON
21994         format.
21995         * benchtests/bench-timing-type.c: New file.
21996         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21997         (TIMING_PRINT_STATS): Remove.
21998         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21999         name separately.
22001         * benchtests/bench-modf.c: Remove.
22002         * benchtests/modf-inputs: New inputs file.
22004 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
22006         [BZ #16362]
22007         * math/s_clog10.c (M_PI_LOG10E): New macro.
22008         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22009         imaginary parts are 0.
22010         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22011         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22012         imaginary parts are 0.
22013         * math/s_clog10l.c (M_PI_LOG10El): New macro.
22014         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22015         imaginary parts are 0.
22016         * math/libm-test.inc (clog10_test_data): Update expected results
22017         for when real and imaginary parts are 0.
22019 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
22021         * elf/dl-load.c: Finish conversion of __builtin_expect into
22022         __glibc_{un}likely.
22024 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
22026         [BZ #16348]
22027         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22028         1+x for argument with exponent below -67.
22029         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22030         Likewise.
22031         * math/auto-libm-test-in: Add more tests of exp.
22032         * math/auto-libm-test-out: Regenerated.
22034 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22036         [BZ #16759]
22037         * inet/getnetgrent_r.c (get_nonempty_val): New function.
22038         (nscd_getnetgrent): Use it.
22040         [BZ #16760]
22041         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22042         of stpcpy.
22044 2014-03-27  Andi Kleen  <ak@linux.intel.com>
22046         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22047         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22048         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22049         (lll_robust_unlock): Remove out of line section. Use cfi
22050         intrinsics.
22051         (LLL_STUB_UNWIND_INFO*): Remove.
22052         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22053         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22054         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22055         (lll_robust_unlock): Remove out of line section. Use cfi
22056         intrinsics.
22057         (LLL_STUB_UNWIND_INFO*): Remove.
22059 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22061         [BZ #16758]
22062         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22063         blank values.
22065 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22067         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22069 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22071         [BZ #16198]
22072         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22073         fnstenv.
22074         * math/test-fenv-preserve.c: New file.
22075         * math/Makefile (tests): Add test-fenv-preserve.
22077 2014-03-26  Will Newton <will.newton@linaro.org>
22079         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22081 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22083         * scripts/versionlist.awk: Partition the version sets and emit all
22084         GLIBC_* (sorted) before all others (sorted).
22086 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22088         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22089         GLIBC_2.2.5 version.
22091 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22093         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22094         calls.
22096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22097         previous change.
22099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22101 2014-03-25  Andreas Schwab  <schwab@suse.de>
22103         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22104         label to be used after in6ailist is initialized.
22106 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22108         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22109         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22111 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22113         [BZ #16357]
22114         [BZ #16599]
22115         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22116         min_plus_half.
22117         (fp_formats): Update initializers.
22118         (init_fp_formats): Initialize new field.
22119         (output_for_one_input_case): Allow underflow for results up to
22120         min_plus_half.
22121         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22122         * math/auto-libm-test-in: Don't mark some underflows from asin and
22123         atanh as spurious.
22124         * math/auto-libm-test-out: Regenerated.
22125         * sysdeps/i386/fpu/libm-test-ulps: Update.
22126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22128 2014-03-25  Andreas Schwab  <schwab@suse.de>
22130         * libio/Makefile (tst-ftell-partial-wide-ENV)
22131         (tst-ftell-active-handler-ENV): Define.
22133 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22135         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22137 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22139         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22141 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22143         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22144         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22145         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22147 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22149         [BZ #16634]
22150         * elf/dl-load.c (open_verify): Add mode parameter.
22151         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22152         (open_path): Change from boolean 'secure' to complete flag 'mode'
22153         (_dl_map_object): Adjust.
22154         * elf/Makefile (tests): Add tst-dlopen-aout.
22155         * elf/tst-dlopen-aout.c: New test.
22157 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22159         [BZ #16714]
22160         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22161         (struct stat): Rename member pad0 to __glibc_reserved0.
22163         [BZ #16712]
22164         * sysdeps/s390/s390-32/bits/wordsize.h
22165         (__WORDSIZE32_SIZE_ULONG): New define.
22166         * sysdeps/s390/s390-64/bits/wordsize.h
22167         (__WORDSIZE32_SIZE_ULONG): Likewise.
22168         * sysdeps/generic/stdint.h (SIZE_MAX):
22169         Define as UL if __WORDSIZE32_SIZE_ULONG.
22171         [BZ #16713]
22172         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22173         (__glibc_reserved0): New variable.
22174         (sa_flags): Change type to int.
22176         * posix/Makefile (before-compile): Use += before-compile instead
22177         of a :=.
22179         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22180         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22182 2014-03-20  Andreas Schwab  <schwab@suse.de>
22184         [BZ #16743]
22185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22186         non-matching result from nscd.
22188 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22190         * scripts/bench.py: Moved to ...
22191         * benchtests/scripts/bench.py: ... here.
22192         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22194 2014-03-24  Andreas Schwab  <schwab@suse.de>
22196         [BZ #16002]
22197         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22198         alloca_account and account alloca use for struct in6ailist.
22200 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22202         [BZ #16284]
22203         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22204         rounding mode to recompute results that overflow to infinity or
22205         underflow to zero.
22206         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22207         bug 16284.
22208         * math/auto-libm-test-out: Regenerated.
22209         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22210         (ccosh_test): Likewise.
22211         (csin_test_data): Use plus_oflow.
22212         (csin_test): Use ALL_RM_TEST.
22213         (csinh_test_data): Use plus_oflow.
22214         (csinh_test): Use ALL_RM_TEST.
22215         * sysdeps/i386/fpu/libm-test-ulps: Update.
22216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22218 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22220         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22221         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22222         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22224         [BZ #16731]
22225         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22226         when x - 1 is zero.
22227         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22228         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22229         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22231         argument is 1.
22232         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22233         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22234         zero.
22235         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22236         * sysdeps/i386/fpu/libm-test-ulps: Update.
22237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22239 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22241         * scripts/bench.pl: Remove file.
22242         * scripts/bench.py: New benchmark script.
22243         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22244         * benchtests/README: Mention python dependency.
22245         * scripts/pylintrc: New file.
22246         * scripts/pylint: New file.
22248         * bits/mathdef.h: Use #ifdef instead of #if.
22249         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22250         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22251         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22252         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22253         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22254         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22256 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22257             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22259         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22261         and strpbrk-ppc64 objects.
22262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22263         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22264         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22265         multiarch strpbrk for POWER7.
22266         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22267         multiarch strpbrk for PPC64.
22268         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22269         ifunc selector.
22270         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22271         strpbrk for POWER7.
22273 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22275         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22276         (atan_test): Likewise.
22277         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22278         (atanh_test): Use ALL_RM_TEST.
22279         (atan2_test_data): Likewise.
22280         (cabs_test): Likewise.
22281         (cacosh_test): Likewise.
22282         (carg_test): Likewise.
22283         (casin_test): Likewise.
22284         (casinh_test): Likewise.
22285         (cbrt_test): Likewise.
22286         (csqrt_test): Likewise.
22287         (erf_test): Likewise.
22288         (erfc_test): Likewise.
22289         (pow10_test): Likewise.
22290         (exp2_test): Likewise.
22291         (hypot_test): Likewise.
22292         (j0_test): Likewise.
22293         (j1_test): Likewise.
22294         (lgamma_test): Likewise.
22295         (gamma_test): Likewise.
22296         (sincos_test): Likewise.
22297         (tanh_test): Likewise.
22298         (y0_test): Likewise.
22299         (y1_test): Likewise.
22300         * sysdeps/i386/fpu/libm-test-ulps: Update.
22301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22303 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22305         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22307         and strcspn-ppc64 objects.
22308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22309         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22310         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22311         multiarch strcspn for POWER7.
22312         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22313         multiarch strcspn for PPC64.
22314         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22315         ifunc selector.
22316         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22317         strcspn for POWER7.
22319 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22321         * math/gen-libm-test.pl (generate_testfile): Expect only function
22322         name as argument to AUTO_TESTS_* and pass results for all rounding
22323         modes to parse_args.
22324         (parse_auto_input): Separate inputs of automatic tests from
22325         outputs before storing in %auto_tests.
22326         * math/libm-test.inc (acos_test_data): Update call to
22327         AUTO_TESTS_f_f.
22328         (acos_test): Use ALL_RM_TEST.
22329         (acos_tonearest_test_data): Remove.
22330         (acos_test_tonearest): Likewise.
22331         (acos_towardzero_test_data): Likewise.
22332         (acos_test_towardzero): Likewise.
22333         (acos_downward_test_data): Likewise.
22334         (acos_test_downward): Likewise.
22335         (acos_upward_test_data): Likewise.
22336         (acos_test_upward): Likewise.
22337         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22338         (asin_test_data): Likewise.
22339         (asin_test): Use ALL_RM_TEST.
22340         (asin_tonearest_test_data): Remove.
22341         (asin_test_tonearest): Likewise.
22342         (asin_towardzero_test_data): Likewise.
22343         (asin_test_towardzero): Likewise.
22344         (asin_downward_test_data): Likewise.
22345         (asin_test_downward): Likewise.
22346         (asin_upward_test_data): Likewise.
22347         (asin_test_upward): Likewise.
22348         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22349         (atan_test_data): Likewise.
22350         (atanh_test_data): Likewise.
22351         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22352         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22353         (carg_test_data): Likewise.
22354         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22355         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22356         (ccosh_test_data): Likewise.
22357         (cexp_test_data): Likewise.
22358         (clog_test_data): Likewise.
22359         (clog10_test_data): Likewise.
22360         (cos_test_data): Update call to AUTO_TESTS_f_f.
22361         (cos_test): Use ALL_RM_TEST.
22362         (cos_tonearest_test_data): Remove.
22363         (cos_test_tonearest): Likewise.
22364         (cos_towardzero_test_data): Likewise.
22365         (cos_test_towardzero): Likewise.
22366         (cos_downward_test_data): Likewise.
22367         (cos_test_downward): Likewise.
22368         (cos_upward_test_data): Likewise.
22369         (cos_test_upward): Likewise.
22370         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22371         (cosh_test): Use ALL_RM_TEST.
22372         (cosh_tonearest_test_data): Remove.
22373         (cosh_test_tonearest): Likewise.
22374         (cosh_towardzero_test_data): Likewise.
22375         (cosh_test_towardzero): Likewise.
22376         (cosh_downward_test_data): Likewise.
22377         (cosh_test_downward): Likewise.
22378         (cosh_upward_test_data): Likewise.
22379         (cosh_test_upward): Likewise.
22380         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22381         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22382         (ctan_test_data): Likewise.
22383         (ctan_test): Use ALL_RM_TEST.
22384         (ctan_tonearest_test_data): Remove.
22385         (ctan_test_tonearest): Likewise.
22386         (ctan_towardzero_test_data): Likewise.
22387         (ctan_test_towardzero): Likewise.
22388         (ctan_downward_test_data): Likewise.
22389         (ctan_test_downward): Likewise.
22390         (ctan_upward_test_data): Likewise.
22391         (ctan_test_upward): Likewise.
22392         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22393         (ctanh_test): Use ALL_RM_TEST.
22394         (ctanh_tonearest_test_data): Remove.
22395         (ctanh_test_tonearest): Likewise.
22396         (ctanh_towardzero_test_data): Likewise.
22397         (ctanh_test_towardzero): Likewise.
22398         (ctanh_downward_test_data): Likewise.
22399         (ctanh_test_downward): Likewise.
22400         (ctanh_upward_test_data): Likewise.
22401         (ctanh_test_upward): Likewise.
22402         (erf_test_data): Update call to AUTO_TESTS_f_f.
22403         (erfc_test_data): Likewise.
22404         (exp_test_data): Likewise.
22405         (exp_test): Use ALL_RM_TEST.
22406         (exp_tonearest_test_data): Remove.
22407         (exp_test_tonearest): Likewise.
22408         (exp_towardzero_test_data): Likewise.
22409         (exp_test_towardzero): Likewise.
22410         (exp_downward_test_data): Likewise.
22411         (exp_test_downward): Likewise.
22412         (exp_upward_test_data): Likewise.
22413         (exp_test_upward): Likewise.
22414         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22415         (exp10_test): Use ALL_RM_TEST.
22416         (exp10_tonearest_test_data): Remove.
22417         (exp10_test_tonearest): Likewise.
22418         (exp10_towardzero_test_data): Likewise.
22419         (exp10_test_towardzero): Likewise.
22420         (exp10_downward_test_data): Likewise.
22421         (exp10_test_downward): Likewise.
22422         (exp10_upward_test_data): Likewise.
22423         (exp10_test_upward): Likewise.
22424         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22425         (expm1_test_data): Likewise.
22426         (expm1_test): Use ALL_RM_TEST.
22427         (expm1_tonearest_test_data): Remove.
22428         (expm1_test_tonearest): Likewise.
22429         (expm1_towardzero_test_data): Likewise.
22430         (expm1_test_towardzero): Likewise.
22431         (expm1_downward_test_data): Likewise.
22432         (expm1_test_downward): Likewise.
22433         (expm1_upward_test_data): Likewise.
22434         (expm1_test_upward): Likewise.
22435         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22436         (fma_test): Use ALL_RM_TEST.
22437         (fma_towardzero_test_data): Remove.
22438         (fma_test_towardzero): Likewise.
22439         (fma_downward_test_data): Likewise.
22440         (fma_test_downward): Likewise.
22441         (fma_upward_test_data): Likewise.
22442         (fma_test_upward): Likewise.
22443         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22444         (j0_test_data): Update call to AUTO_TESTS_f_f.
22445         (j1_test_data): Likewise.
22446         (jn_test_data): Update call to AUTO_TESTS_if_f.
22447         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22448         (log_test_data): Update call to AUTO_TESTS_f_f.
22449         (log10_test_data): Likewise.
22450         (log1p_test_data): Likewise.
22451         (log2_test_data): Likewise.
22452         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22453         (pow_tonearest_test_data): Likewise.
22454         (sin_test_data): Update call to AUTO_TESTS_f_f.
22455         (sin_test): Use ALL_RM_TEST.
22456         (sin_tonearest_test_data): Remove.
22457         (sin_test_tonearest): Likewise.
22458         (sin_towardzero_test_data): Likewise.
22459         (sin_test_towardzero): Likewise.
22460         (sin_downward_test_data): Likewise.
22461         (sin_test_downward): Likewise.
22462         (sin_upward_test_data): Likewise.
22463         (sin_test_upward): Likewise.
22464         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22465         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22466         (sinh_test): Use ALL_RM_TEST.
22467         (sinh_tonearest_test_data): Remove.
22468         (sinh_test_tonearest): Likewise.
22469         (sinh_towardzero_test_data): Likewise.
22470         (sinh_test_towardzero): Likewise.
22471         (sinh_downward_test_data): Likewise.
22472         (sinh_test_downward): Likewise.
22473         (sinh_upward_test_data): Likewise.
22474         (sinh_test_upward): Likewise.
22475         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22476         (sqrt_test): Use ALL_RM_TEST.
22477         (sqrt_tonearest_test_data): Remove.
22478         (sqrt_test_tonearest): Likewise.
22479         (sqrt_towardzero_test_data): Likewise.
22480         (sqrt_test_towardzero): Likewise.
22481         (sqrt_downward_test_data): Likewise.
22482         (sqrt_test_downward): Likewise.
22483         (sqrt_upward_test_data): Likewise.
22484         (sqrt_test_upward): Likewise.
22485         (tan_test_data): Update call to AUTO_TESTS_f_f.
22486         (tan_test): Use ALL_RM_TEST.
22487         (tan_tonearest_test_data): Remove.
22488         (tan_test_tonearest): Likewise.
22489         (tan_towardzero_test_data): Likewise.
22490         (tan_test_towardzero): Likewise.
22491         (tan_downward_test_data): Likewise.
22492         (tan_test_downward): Likewise.
22493         (tan_upward_test_data): Likewise.
22494         (tan_test_upward): Likewise.
22495         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22496         (tgamma_test_data): Likewise.
22497         (y0_test_data): Likewise.
22498         (y1_test_data): Likewise.
22499         (yn_test_data): Update call to AUTO_TESTS_if_f.
22500         (main): Do not call removed functions.
22502 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22504         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22505         (ldexp_test_data): Remove.
22506         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22507         scalbn_test_data.
22508         (scalb_test): Use ALL_RM_TEST.
22510 2014-03-19  Andreas Schwab  <schwab@suse.de>
22512         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22514 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22516         [BZ #16649]
22517         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22518         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22519         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22520         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22521         (__ASSUME_PREADV): Undefine.
22522         (__ASSUME_PWRITEV): Likewise.
22524 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22526         * bits/mman-linux.h: Add comment about non-Linux use.
22527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22528         bits/mman-linux.h resting place.
22530         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22531         * bits/mman-linux.h: ... here.
22533 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22535         * conform/conformtest.pl: Add standard definition when calling C
22536         preprocessor on data files.
22537         (checknamespace): Remove unused variable.
22539 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22541         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22542         minus_oflow, plus_uflow and minus_uflow in expected results.
22543         * math/libm-test.inc (scalbn_test_data): Add more tests of
22544         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22545         minus_uflow.
22546         (scalbn_test): Use ALL_RM_TEST.
22547         (scalbln_test_data): Add more tests of negative arguments.  Use
22548         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22549         (scalbln_test): Use ALL_RM_TEST.
22551 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22553         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22555 2014-03-18  Will Newton  <will.newton@linaro.org>
22557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22558         inaccurate comment.
22560 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22562         * Makerules [!subdir] (check-abi): Exit with error status if a
22563         test failed.
22565 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22567         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22568         for rint.  Include results for all rounding modes.
22569         (nearbyint_test): Use ALL_RM_TEST.
22570         (rint_test_data): Include all tests used for nearbyint.
22572 2014-03-17  Will Newton  <will.newton@linaro.org>
22574         * nptl/sysdeps/pthread/pthread.h: Revert previous
22575         change.
22577         * sysdeps/generic/ldsodefs.h: Revert previous
22578         change.
22580         * libio/genops.c: Revert previous change.
22581         * libio/libioP.h: Likewise.
22582         * stdio-common/vfprintf.c: Likewise.
22584         * sysdeps/generic/math_private.h: Revert previous
22585         change.
22587         * sysdeps/generic/math_private.h: Check whether
22588         HAVE_RM_CTX is defined with #ifdef rather
22589         than #if.
22591         * argp/argp-fmtstream.h: Check whether
22592         __STRICT_ANSI__ is defined with #ifdef rather
22593         than #if.
22594         * argp/argp.h: Likewise.
22596         * libio/genops.c: Check whether
22597         _IO_JUMPS_OFFSET is defined with #ifdef rather
22598         than #if.
22599         * libio/libioP.h: Likewise.
22600         * stdio-common/vfprintf.c: Likewise.
22602         * sysdeps/generic/ldsodefs.h: Check whether
22603         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22604         than #if.
22606         * nptl/sysdeps/pthread/pthread.h: Check
22607         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22608         its value.
22610 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22612         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22613         setting O_APPEND.
22614         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22615         test case.
22617         [BZ #16680]
22618         * libio/fileops.c (_IO_file_open): Seek to end of file but
22619         don't cache the offset.
22620         (get_file_offset): Remove function.
22621         (do_ftell): Use cached offset when available.
22622         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22623         don't cache the offset.
22624         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22625         case.
22626         (do_one_test): Call it.
22627         (do_ftell_test): Fix up expected old offset for a+ mode.
22628         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22629         available.
22631         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22632         up test status with function return status.
22633         (do_write_test): Likewise.
22634         (do_append_test): Likewise.
22636         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22637         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22638         Remove.
22640 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22642         * math/gen-libm-test.pl (parse_args): Handle results specified for
22643         each rounding mode separately.
22644         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22645         tests and results from lrint_tonearest_test_data,
22646         lrint_towardzero_test_data, lrint_downward_test_data and
22647         lrint_upward_test_data.
22648         (lrint_test): Use ALL_RM_TEST.
22649         (lrint_tonearest_test_data): Remove.
22650         (lrint_test_tonearest): Likewise.
22651         (lrint_towardzero_test_data): Likewise.
22652         (lrint_test_towardzero): Likewise.
22653         (lrint_downward_test_data): Likewise.
22654         (lrint_test_downward): Likewise.
22655         (lrint_upward_test_data): Likewise.
22656         (lrint_test_upward): Likewise.
22657         (llrint_test_data): Merge in per-rounding-mode tests and results
22658         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22659         llrint_downward_test_data and llrint_upward_test_data.
22660         (llrint_test): Use ALL_RM_TEST.
22661         (llrint_tonearest_test_data): Remove.
22662         (llrint_test_tonearest): Likewise.
22663         (llrint_towardzero_test_data): Likewise.
22664         (llrint_test_towardzero): Likewise.
22665         (llrint_downward_test_data): Likewise.
22666         (llrint_test_downward): Likewise.
22667         (llrint_upward_test_data): Likewise.
22668         (llrint_test_upward): Likewise.
22669         (rint_test_data): Merge in per-rounding-mode tests and results
22670         from rint_tonearest_test_data, rint_towardzero_test_data,
22671         rint_downward_test_data and rint_upward_test_data.  Add
22672         per-rounding-mode results for tests not in those arrays.
22673         (rint_test): Use ALL_RM_TEST.
22674         (rint_tonearest_test_data): Remove.
22675         (rint_test_tonearest): Likewise.
22676         (rint_towardzero_test_data): Likewise.
22677         (rint_test_towardzero): Likewise.
22678         (rint_downward_test_data): Likewise.
22679         (rint_test_downward): Likewise.
22680         (rint_upward_test_data): Likewise.
22681         (rint_test_upward): Likewise.
22682         (main): Don't call removed functions.
22684 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22686         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22687         "Compiled on ..." crapola.  It is anti-useful.
22689 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22691         * scripts/evaluate-test.sh: Handle fourth argument to determine
22692         whether test run should stop on failure.
22693         * Makeconfig (stop-on-test-failure): New variable.
22694         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22695         $(stop-on-test-failure).
22696         * Makefile (tests): Give a summary of results from testing and
22697         exit with failure status if they include an ERROR or FAIL.
22698         (xtests): Likewise.
22699         * manual/install.texi (Configuring and compiling): Mention
22700         stop-on-test-failure=y.
22701         * INSTALL: Regenerated.
22703 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22705         * scripts/versionlist.awk: New file.
22706         * Makerules [$(build-shared) = yes]
22707         (postclean-generated): Add Versions.def, not Versions.def.v and
22708         Versions.def.v.i.
22709         ($(common-objpfx)Versions.def.v.i): Target removed.
22710         ($(common-objpfx)Versions.def): New target.
22711         ($(common-objpfx)Versions.all): Depend on that rather that
22712         $(common-objpfx)Versions.def.v.
22713         * Versions.def: File removed.
22715         * Makeconfig (+gccwarn): Add -Wundef.
22716         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22717         a dl-sysdep.h breaking its contract.
22718         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22719         * include/stackinfo.h: New file.
22720         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22721         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22722         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22723         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22724         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22725         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22726         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22727         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22728         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22729         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22730         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22731         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22732         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22733         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22734         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22736 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22738         [BZ #16707]
22739         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22740         implementation.
22741         * math/libm-test.inc (round_test_data): Add more tests.
22743         [BZ #16706]
22744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22745         implementation.
22746         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22748         [BZ #16701]
22749         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22750         implementation.
22751         * math/libm-test.inc (ceil_test_data): Add more tests.
22753         * math/libm-test.inc (trunc_test_data): Add more tests related to
22754         BZ#16414.
22756 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22758         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22759         with #if rather than #ifdef.
22760         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22762 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22764         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22765         first.  Disable AVX-512 GCC support if assembler doesn't support
22766         it.
22767         * sysdeps/x86_64/configure: Regenerated.
22769 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22771         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22772         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22773         (__old_pthread_attr_setstack): Likewise.
22774         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22775         [!_STACK_GROWS_DOWN]: Likewise.
22777 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22779         * config.make.in (have-bash2): Delete.
22780         * configure.ac (libc_cv_have_bash2): Delete.
22781         * configure: Regenerate.
22782         * elf/Makefile (common-ldd-rewrite): Rename to ...
22783         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22784         (sh-ldd-rewrite): Delete.
22785         (bash-ldd-rewrite): Delete.
22786         (have-bash2): Delete checks.
22787         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22788         ldd-rewrite.
22790         * config.make.in (have-ksh): Delete.
22791         (KSH): Delete.
22792         * configure.ac (libc_cv_have_ksh): Delete.
22793         * configure: Regenerate.
22795         * elf/Makefile: Delete $(have-ksh) check.
22796         ($(objpfx)sotruss): Change KSH to BASH.
22797         * elf/sotruss.ksh: Rename to ...
22798         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22799         function style to match POSIX.  Drop ksh vim mode setting.
22801         * manual/time.texi (Specifying the Time Zone with TZ): Change
22802         Tuesday to Thursday.
22804         * debug/tst-longjmp_chk2.c: Update header comment.
22805         (stackoverflow_handler): Add comment.  Call assert on pass value.
22807 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22809         [BZ #16194]
22810         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22811         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22812         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22813         (La_x86_64_vector): Add zmm.
22814         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22815         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22816         ($(objpfx)tst-audit10): New target.
22817         ($(objpfx)tst-audit10.out): Likewise.
22818         (tst-audit10-ENV): New.
22819         (AVX512-CFLAGS): Likewise.
22820         (CFLAGS-tst-audit10.c): Likewise.
22821         (CFLAGS-tst-auditmod10a.c): Likewise.
22822         (CFLAGS-tst-auditmod10b.c): Likewise.
22823         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22824         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22825         * sysdeps/x86_64/configure: Regenerated.
22826         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22827         AVX-512 zmm register support.
22828         (_dl_x86_64_save_sse): Likewise.
22829         (_dl_x86_64_restore_sse): Likewise.
22830         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22831         size vector registers.
22832         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22833         (ZMM_SIZE): Likewise.
22834         * sysdeps/x86_64/tst-audit10.c: New file.
22835         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22836         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22838 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22840         * configure.ac (HAVE_EHDR_START): New check.
22841         * configure: Regenerated.
22842         * config.h.in (HAVE_EHDR_START): New #undef.
22843         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22844         assuming the lowest-addressed segment maps the start of the file.
22846 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22848         * INSTALL: Regenerated.
22850 2014-03-13  Will Newton  <will.newton@linaro.org>
22852         * manual/setjmp.texi (System V contexts): Improve
22853         clarity and grammar of documentation.
22855 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22857         [BZ #16381]
22858         * elf/Makefile (tests): Add tst-pie2.
22859         (tests-pie): Add tst-pie2.
22860         * elf/tst-pie2.c: New file.
22861         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22862         for ET_EXEC.
22863         * elf/rtld.c (map_doit): Load executable as lt_executable.
22864         (dl_main): Likewise.
22866 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22868         [BZ #16642]
22869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22870         (__ASSUME_PSELECT): Undefine.
22872 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22874         [BZ #16689]
22875         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22876         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22877         static build.
22878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22879         selector for static builds.
22881 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22883         [BZ #16695]
22884         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22885         key in the buffer.
22887 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22889         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22890         IFUNC selector for static builds.
22892 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22894         * sysdeps/mips/math_private.h [__mips_hard_float]
22895         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22896         libc_feresetround_mips_ctx.
22897         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22898         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22899         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22901         [BZ #16677]
22902         * math/s_nextafter.c (__nextafter): Do not return value from
22903         overflowing computation.
22904         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22905         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22906         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22907         Likewise.
22908         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22909         Likewise.
22910         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22911         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22913 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22915         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22916         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22917         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22918         the new mov targetting sp.
22920 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22922         [BZ #16683]
22923         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22924         Define it for static builds as well.
22925         (NO_BZERO_IMPL): Likewise.
22927 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22929         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22930         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22931         multiarch strspn for PPC64.
22932         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22933         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22935         (__libc_ifunc_impl_list): Likewise.
22936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22937         multiarch optimizations
22938         * string/strspn.c (strspn): Using macro to redefine symbol name.
22940 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22941             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22943         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22944         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22945         multiarch strncat for PPC64.
22946         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22947         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22949         (__libc_ifunc_impl_list): Likewise.
22950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22951         multiarch optimizations
22953 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22955         [BZ #16639]
22956         * nscd/nscd.service: Make service type forking.
22958 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22960         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22961         sign in non default rounding modes.
22962         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22964 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22966         * math/libm-test.inc (ALL_RM_TEST): New macro.
22967         (ceil_test): Use ALL_RM_TEST.
22968         (cimag_test): Likewise.
22969         (conj_test): Likewise.
22970         (copysign_test): Likewise.
22971         (cproj_test): Likewise.
22972         (creal_test): Likewise.
22973         (fabs_test): Likewise.
22974         (floor_test): Likewise.
22975         (fmax_test): Likewise.
22976         (fmin_test): Likewise.
22977         (fmod_test): Likewise.
22978         (fpclassify_test): Likewise.
22979         (frexp_test): Likewise.
22980         (ilogb_test): Likewise.
22981         (isfinite_test): Likewise.
22982         (finite_test): Likewise.
22983         (isgreater_test): Likewise.
22984         (isgreaterequal_test): Likewise.
22985         (isinf_test): Likewise.
22986         (isless_test): Likewise.
22987         (islessequal_test): Likewise.
22988         (islessgreater_test): Likewise.
22989         (isnan_test): Likewise.
22990         (isnormal_test): Likewise.
22991         (issignaling_test): Likewise.
22992         (isunordered_test): Likewise.
22993         (logb_test): Likewise.
22994         (logb_downward_test_data): Remove.
22995         (logb_test_downward): Likewise.
22996         (lround_test): Use ALL_RM_TEST.
22997         (llround_test): Likewise.
22998         (modf_test): Likewise.
22999         (nexttoward_test): Likewise.
23000         (remainder_test): Likewise.
23001         (drem_test): Likewise.
23002         (remainder_tonearest_test_data): Likewise.
23003         (remainder_test_tonearest): Likewise.
23004         (drem_test_tonearest): Likewise.
23005         (remainder_towardzero_test_data): Likewise.
23006         (remainder_test_towardzero): Likewise.
23007         (drem_test_towardzero): Likewise.
23008         (remainder_downward_test_data): Likewise.
23009         (remainder_test_downward): Likewise.
23010         (drem_test_downward): Likewise.
23011         (remainder_upward_test_data): Likewise.
23012         (remainder_test_upward): Likewise.
23013         (drem_test_upward): Likewise.
23014         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
23015         (round_test): Use ALL_RM_TEST.
23016         (signbit_test): Likewise.
23017         (trunc_test): Likewise.
23018         (significand_test): Likewise.
23019         (main): Don't call removed functions.
23021 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23023         [BZ #16674]
23024         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23025         || __USE_XOPEN2K8].
23026         (ILL_ILLOPN): Likewise.
23027         (ILL_ILLADR): Likewise.
23028         (ILL_ILLTRP): Likewise.
23029         (ILL_PRVOPC): Likewise.
23030         (ILL_PRVREG): Likewise.
23031         (ILL_COPROC): Likewise.
23032         (ILL_BADSTK): Likewise.
23033         (FPE_INTDIV): Likewise.
23034         (FPE_INTOVF): Likewise.
23035         (FPE_FLTDIV): Likewise.
23036         (FPE_FLTOVF): Likewise.
23037         (FPE_FLTUND): Likewise.
23038         (FPE_FLTRES): Likewise.
23039         (FPE_FLTINV): Likewise.
23040         (FPE_FLTSUB): Likewise.
23041         (SEGV_MAPERR): Likewise.
23042         (SEGV_ACCERR): Likewise.
23043         (BUS_ADRALN): Likewise.
23044         (BUS_ADRERR): Likewise.
23045         (BUS_OBJERR): Likewise.
23046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23047         (TRAP_TRACE): Likewise.
23048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23049         __USE_XOPEN2K8].
23050         (CLD_KILLED): Likewise.
23051         (CLD_DUMPED): Likewise.
23052         (CLD_TRAPPED): Likewise.
23053         (CLD_STOPPED): Likewise.
23054         (CLD_CONTINUED): Likewise.
23055         (POLL_IN): Likewise.
23056         (POLL_OUT): Likewise.
23057         (POLL_MSG): Likewise.
23058         (POLL_ERR): Likewise.
23059         (POLL_PRI): Likewise.
23060         (POLL_HUP): Likewise.
23061         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23062         Likewise.
23063         (ILL_ILLOPN): Likewise.
23064         (ILL_ILLADR): Likewise.
23065         (ILL_ILLTRP): Likewise.
23066         (ILL_PRVOPC): Likewise.
23067         (ILL_PRVREG): Likewise.
23068         (ILL_COPROC): Likewise.
23069         (ILL_BADSTK): Likewise.
23070         (FPE_INTDIV): Likewise.
23071         (FPE_INTOVF): Likewise.
23072         (FPE_FLTDIV): Likewise.
23073         (FPE_FLTOVF): Likewise.
23074         (FPE_FLTUND): Likewise.
23075         (FPE_FLTRES): Likewise.
23076         (FPE_FLTINV): Likewise.
23077         (FPE_FLTSUB): Likewise.
23078         (SEGV_MAPERR): Likewise.
23079         (SEGV_ACCERR): Likewise.
23080         (BUS_ADRALN): Likewise.
23081         (BUS_ADRERR): Likewise.
23082         (BUS_OBJERR): Likewise.
23083         (BUS_MCEERR_AR): Likewise.
23084         (BUS_MCEERR_AO): Likewise.
23085         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23086         (TRAP_TRACE): Likewise.
23087         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23088         __USE_XOPEN2K8].
23089         (CLD_KILLED): Likewise.
23090         (CLD_DUMPED): Likewise.
23091         (CLD_TRAPPED): Likewise.
23092         (CLD_STOPPED): Likewise.
23093         (CLD_CONTINUED): Likewise.
23094         (POLL_IN): Likewise.
23095         (POLL_OUT): Likewise.
23096         (POLL_MSG): Likewise.
23097         (POLL_ERR): Likewise.
23098         (POLL_PRI): Likewise.
23099         (POLL_HUP): Likewise.
23100         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23101         (ILL_ILLOPN): Likewise.
23102         (ILL_ILLADR): Likewise.
23103         (ILL_ILLTRP): Likewise.
23104         (ILL_PRVOPC): Likewise.
23105         (ILL_PRVREG): Likewise.
23106         (ILL_COPROC): Likewise.
23107         (ILL_BADSTK): Likewise.
23108         (FPE_INTDIV): Likewise.
23109         (FPE_INTOVF): Likewise.
23110         (FPE_FLTDIV): Likewise.
23111         (FPE_FLTOVF): Likewise.
23112         (FPE_FLTUND): Likewise.
23113         (FPE_FLTRES): Likewise.
23114         (FPE_FLTINV): Likewise.
23115         (FPE_FLTSUB): Likewise.
23116         (SEGV_MAPERR): Likewise.
23117         (SEGV_ACCERR): Likewise.
23118         (BUS_ADRALN): Likewise.
23119         (BUS_ADRERR): Likewise.
23120         (BUS_OBJERR): Likewise.
23121         (BUS_MCEERR_AR): Likewise.
23122         (BUS_MCEERR_AO): Likewise.
23123         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23124         (TRAP_TRACE): Likewise.
23125         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23126         __USE_XOPEN2K8].
23127         (CLD_KILLED): Likewise.
23128         (CLD_DUMPED): Likewise.
23129         (CLD_TRAPPED): Likewise.
23130         (CLD_STOPPED): Likewise.
23131         (CLD_CONTINUED): Likewise.
23132         (POLL_IN): Likewise.
23133         (POLL_OUT): Likewise.
23134         (POLL_MSG): Likewise.
23135         (POLL_ERR): Likewise.
23136         (POLL_PRI): Likewise.
23137         (POLL_HUP): Likewise.
23138         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23139         Likewise.
23140         (ILL_ILLOPN): Likewise.
23141         (ILL_ILLADR): Likewise.
23142         (ILL_ILLTRP): Likewise.
23143         (ILL_PRVOPC): Likewise.
23144         (ILL_PRVREG): Likewise.
23145         (ILL_COPROC): Likewise.
23146         (ILL_BADSTK): Likewise.
23147         (ILL_BADIADDR): Likewise.
23148         (ILL_BREAK): Likewise.
23149         (FPE_INTDIV): Likewise.
23150         (FPE_INTOVF): Likewise.
23151         (FPE_FLTDIV): Likewise.
23152         (FPE_FLTOVF): Likewise.
23153         (FPE_FLTUND): Likewise.
23154         (FPE_FLTRES): Likewise.
23155         (FPE_FLTINV): Likewise.
23156         (FPE_FLTSUB): Likewise.
23157         (FPE_DECOVF): Likewise.
23158         (FPE_DECDIV): Likewise.
23159         (FPE_DECERR): Likewise.
23160         (FPE_INVASC): Likewise.
23161         (FPE_INVDEC): Likewise.
23162         (SEGV_MAPERR): Likewise.
23163         (SEGV_ACCERR): Likewise.
23164         (SEGV_PSTKOVF): Likewise.
23165         (BUS_ADRALN): Likewise.
23166         (BUS_ADRERR): Likewise.
23167         (BUS_OBJERR): Likewise.
23168         (BUS_MCEERR_AR): Likewise.
23169         (BUS_MCEERR_AO): Likewise.
23170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23171         (TRAP_TRACE): Likewise.
23172         (TRAP_BRANCH): Likewise.
23173         (TRAP_HWBKPT): Likewise.
23174         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23175         __USE_XOPEN2K8].
23176         (CLD_KILLED): Likewise.
23177         (CLD_DUMPED): Likewise.
23178         (CLD_TRAPPED): Likewise.
23179         (CLD_STOPPED): Likewise.
23180         (CLD_CONTINUED): Likewise.
23181         (POLL_IN): Likewise.
23182         (POLL_OUT): Likewise.
23183         (POLL_MSG): Likewise.
23184         (POLL_ERR): Likewise.
23185         (POLL_PRI): Likewise.
23186         (POLL_HUP): Likewise.
23187         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23188         (ILL_ILLOPN): Likewise.
23189         (ILL_ILLADR): Likewise.
23190         (ILL_ILLTRP): Likewise.
23191         (ILL_PRVOPC): Likewise.
23192         (ILL_PRVREG): Likewise.
23193         (ILL_COPROC): Likewise.
23194         (ILL_BADSTK): Likewise.
23195         (FPE_INTDIV): Likewise.
23196         (FPE_INTOVF): Likewise.
23197         (FPE_FLTDIV): Likewise.
23198         (FPE_FLTOVF): Likewise.
23199         (FPE_FLTUND): Likewise.
23200         (FPE_FLTRES): Likewise.
23201         (FPE_FLTINV): Likewise.
23202         (FPE_FLTSUB): Likewise.
23203         (SEGV_MAPERR): Likewise.
23204         (SEGV_ACCERR): Likewise.
23205         (BUS_ADRALN): Likewise.
23206         (BUS_ADRERR): Likewise.
23207         (BUS_OBJERR): Likewise.
23208         (BUS_MCEERR_AR): Likewise.
23209         (BUS_MCEERR_AO): Likewise.
23210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23211         (TRAP_TRACE): Likewise.
23212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23213         __USE_XOPEN2K8].
23214         (CLD_KILLED): Likewise.
23215         (CLD_DUMPED): Likewise.
23216         (CLD_TRAPPED): Likewise.
23217         (CLD_STOPPED): Likewise.
23218         (CLD_CONTINUED): Likewise.
23219         (POLL_IN): Likewise.
23220         (POLL_OUT): Likewise.
23221         (POLL_MSG): Likewise.
23222         (POLL_ERR): Likewise.
23223         (POLL_PRI): Likewise.
23224         (POLL_HUP): Likewise.
23225         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23226         (ILL_ILLOPN): Likewise.
23227         (ILL_ILLADR): Likewise.
23228         (ILL_ILLTRP): Likewise.
23229         (ILL_PRVOPC): Likewise.
23230         (ILL_PRVREG): Likewise.
23231         (ILL_COPROC): Likewise.
23232         (ILL_BADSTK): Likewise.
23233         (FPE_INTDIV): Likewise.
23234         (FPE_INTOVF): Likewise.
23235         (FPE_FLTDIV): Likewise.
23236         (FPE_FLTOVF): Likewise.
23237         (FPE_FLTUND): Likewise.
23238         (FPE_FLTRES): Likewise.
23239         (FPE_FLTINV): Likewise.
23240         (FPE_FLTSUB): Likewise.
23241         (SEGV_MAPERR): Likewise.
23242         (SEGV_ACCERR): Likewise.
23243         (BUS_ADRALN): Likewise.
23244         (BUS_ADRERR): Likewise.
23245         (BUS_OBJERR): Likewise.
23246         (BUS_MCEERR_AR): Likewise.
23247         (BUS_MCEERR_AO): Likewise.
23248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23249         (TRAP_TRACE): Likewise.
23250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23251         __USE_XOPEN2K8].
23252         (CLD_KILLED): Likewise.
23253         (CLD_DUMPED): Likewise.
23254         (CLD_TRAPPED): Likewise.
23255         (CLD_STOPPED): Likewise.
23256         (CLD_CONTINUED): Likewise.
23257         (POLL_IN): Likewise.
23258         (POLL_OUT): Likewise.
23259         (POLL_MSG): Likewise.
23260         (POLL_ERR): Likewise.
23261         (POLL_PRI): Likewise.
23262         (POLL_HUP): Likewise.
23263         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23264         (ILL_ILLOPN): Likewise.
23265         (ILL_ILLADR): Likewise.
23266         (ILL_ILLTRP): Likewise.
23267         (ILL_PRVOPC): Likewise.
23268         (ILL_PRVREG): Likewise.
23269         (ILL_COPROC): Likewise.
23270         (ILL_BADSTK): Likewise.
23271         (FPE_INTDIV): Likewise.
23272         (FPE_INTOVF): Likewise.
23273         (FPE_FLTDIV): Likewise.
23274         (FPE_FLTOVF): Likewise.
23275         (FPE_FLTUND): Likewise.
23276         (FPE_FLTRES): Likewise.
23277         (FPE_FLTINV): Likewise.
23278         (FPE_FLTSUB): Likewise.
23279         (SEGV_MAPERR): Likewise.
23280         (SEGV_ACCERR): Likewise.
23281         (BUS_ADRALN): Likewise.
23282         (BUS_ADRERR): Likewise.
23283         (BUS_OBJERR): Likewise.
23284         (BUS_MCEERR_AR): Likewise.
23285         (BUS_MCEERR_AO): Likewise.
23286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23287         (TRAP_TRACE): Likewise.
23288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23289         __USE_XOPEN2K8].
23290         (CLD_KILLED): Likewise.
23291         (CLD_DUMPED): Likewise.
23292         (CLD_TRAPPED): Likewise.
23293         (CLD_STOPPED): Likewise.
23294         (CLD_CONTINUED): Likewise.
23295         (POLL_IN): Likewise.
23296         (POLL_OUT): Likewise.
23297         (POLL_MSG): Likewise.
23298         (POLL_ERR): Likewise.
23299         (POLL_PRI): Likewise.
23300         (POLL_HUP): Likewise.
23301         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23302         (ILL_ILLOPN): Likewise.
23303         (ILL_ILLADR): Likewise.
23304         (ILL_ILLTRP): Likewise.
23305         (ILL_PRVOPC): Likewise.
23306         (ILL_PRVREG): Likewise.
23307         (ILL_COPROC): Likewise.
23308         (ILL_BADSTK): Likewise.
23309         (ILL_DBLFLT): Likewise.
23310         (ILL_HARDWALL): Likewise.
23311         (FPE_INTDIV): Likewise.
23312         (FPE_INTOVF): Likewise.
23313         (FPE_FLTDIV): Likewise.
23314         (FPE_FLTOVF): Likewise.
23315         (FPE_FLTUND): Likewise.
23316         (FPE_FLTRES): Likewise.
23317         (FPE_FLTINV): Likewise.
23318         (FPE_FLTSUB): Likewise.
23319         (SEGV_MAPERR): Likewise.
23320         (SEGV_ACCERR): Likewise.
23321         (BUS_ADRALN): Likewise.
23322         (BUS_ADRERR): Likewise.
23323         (BUS_OBJERR): Likewise.
23324         (BUS_MCEERR_AR): Likewise.
23325         (BUS_MCEERR_AO): Likewise.
23326         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23327         (TRAP_TRACE): Likewise.
23328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23329         __USE_XOPEN2K8].
23330         (CLD_KILLED): Likewise.
23331         (CLD_DUMPED): Likewise.
23332         (CLD_TRAPPED): Likewise.
23333         (CLD_STOPPED): Likewise.
23334         (CLD_CONTINUED): Likewise.
23335         (POLL_IN): Likewise.
23336         (POLL_OUT): Likewise.
23337         (POLL_MSG): Likewise.
23338         (POLL_ERR): Likewise.
23339         (POLL_PRI): Likewise.
23340         (POLL_HUP): Likewise.
23341         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23342         (ILL_ILLOPN): Likewise.
23343         (ILL_ILLADR): Likewise.
23344         (ILL_ILLTRP): Likewise.
23345         (ILL_PRVOPC): Likewise.
23346         (ILL_PRVREG): Likewise.
23347         (ILL_COPROC): Likewise.
23348         (ILL_BADSTK): Likewise.
23349         (FPE_INTDIV): Likewise.
23350         (FPE_INTOVF): Likewise.
23351         (FPE_FLTDIV): Likewise.
23352         (FPE_FLTOVF): Likewise.
23353         (FPE_FLTUND): Likewise.
23354         (FPE_FLTRES): Likewise.
23355         (FPE_FLTINV): Likewise.
23356         (FPE_FLTSUB): Likewise.
23357         (SEGV_MAPERR): Likewise.
23358         (SEGV_ACCERR): Likewise.
23359         (BUS_ADRALN): Likewise.
23360         (BUS_ADRERR): Likewise.
23361         (BUS_OBJERR): Likewise.
23362         (BUS_MCEERR_AR): Likewise.
23363         (BUS_MCEERR_AO): Likewise.
23364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23365         (TRAP_TRACE): Likewise.
23366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23367         __USE_XOPEN2K8].
23368         (CLD_KILLED): Likewise.
23369         (CLD_DUMPED): Likewise.
23370         (CLD_TRAPPED): Likewise.
23371         (CLD_STOPPED): Likewise.
23372         (CLD_CONTINUED): Likewise.
23373         (POLL_IN): Likewise.
23374         (POLL_OUT): Likewise.
23375         (POLL_MSG): Likewise.
23376         (POLL_ERR): Likewise.
23377         (POLL_PRI): Likewise.
23378         (POLL_HUP): Likewise.
23379         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23380         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23382         [BZ #16670]
23383         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23384         before #include of <time.h>.
23385         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23386         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23387         (test-xfail-UNIX98/sched.h/conform): Likewise.
23389 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23391         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23392         error absence of trapping exception support.
23393         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23395 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23397         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23398         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23399         * timezone/Makefile (testdata): Move definition above include of
23400         Rules.
23401         (test-zones): New variable.
23402         (tests-special): Add zone files.
23403         (build-testdata): Use $(evaluate-test).
23405         * elf/Makefile (tests-special): Rename tests to end with .out.
23406         ($(objpfx)noload-mem): Likewise.
23407         ($(objpfx)tst-leaks1-mem): Likewise.
23408         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23409         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23410         $(objpfx)test-iconvconfig.out.
23411         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23412         set -e inside subshell and redirect output to file.
23413         * iconvdata/Makefile (generated): Rename tests to end with .out.
23414         Correct type.
23415         (tests-special): Rename tests to end with .out.
23416         ($(objpfx)mtrace-tst-loading): Likewise.
23417         * intl/Makefile (generated): Likewise.
23418         (tests-special): Likewise.
23419         ($(objpfx)mtrace-tst-gettext): Likewise.
23420         * misc/Makefile (generated): Likewise.
23421         (tests-special): Likewise.
23422         ($(objpfx)tst-error1-mem): Likewise.
23423         * nptl/Makefile (tests-special): Likewise.
23424         ($(objpfx)tst-stack3-mem): Likewise.
23425         (generated): Likewise.
23426         * posix/Makefile (generated): Likewise.
23427         (tests-special): Likewise.
23428         (xtests-special): Likewise.
23429         ($(objpfx)tst-fnmatch-mem): Likewise.
23430         ($(objpfx)bug-regex2-mem): Likewise.
23431         ($(objpfx)bug-regex14-mem): Likewise.
23432         ($(objpfx)bug-regex21-mem): Likewise.
23433         ($(objpfx)bug-regex31-mem): Likewise.
23434         ($(objpfx)tst-vfork3-mem): Likewise.
23435         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23436         ($(objpfx)tst-pcre-mem): Likewise.
23437         ($(objpfx)tst-boost-mem): Likewise.
23438         ($(objpfx)bug-ga2-mem): Likewise.
23439         ($(objpfx)bug-glob2-mem): Likewise.
23440         * resolv/Makefile (generate): Likewise.
23441         (tests-special): Likewise.
23442         (xtests-special): Likewise.
23443         (generated): Likewise.
23444         ($(objpfx)mtrace-tst-leaks): Likewise.
23445         ($(objpfx)mtrace-tst-leaks2): Likewise.
23447         * scripts/merge-test-results.sh: New file.
23448         * Makefile (tests-special-notdir): New variable.
23449         (tests): Run merge-test-results.sh.
23450         (xtests): Likewise.
23451         * Rules (tests-special-notdir): New variable.
23452         (xtests-special-notdir): Likewise.
23453         (tests): Run merge-test-results.sh
23454         (xtests): Likewise.
23456         * Makeconfig (test-xfail-name): New variable.
23457         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23458         compute variable name for expected failures.
23459         * conform/Makefile (conformtest-headers-data): New variable.
23460         (conformtest-standards): Likewise.
23461         (conformtest-headers-ISO): Likewise.
23462         (conformtest-headers-ISO99): Likewise.
23463         (conformtest-headers-ISO11): Likewise.
23464         (conformtest-headers-POSIX): Likewise.
23465         (conformtest-headers-XPG3): Likewise.
23466         (conformtest-headers-XPG4): Likewise.
23467         (conformtest-headers-UNIX98): Likewise.
23468         (conformtest-headers-XOPEN2K): Likewise.
23469         (conformtest-headers-POSIX2008): Likewise.
23470         (conformtest-headers-XOPEN2K8): Likewise.
23471         (conformtest-header-list-base): Likewise.
23472         (conformtest-header-list-tests): Likewise.
23473         (conformtest-header-base): Likewise.
23474         (conformtest-header-tests): Likewise.
23475         (tests-special): Add $(conformtest-header-list-tests).  If
23476         [$(fast-check) && !$(cross-compiling)], add
23477         $(conformtest-header-tests) instead of
23478         $(objpfx)run-conformtest.out.
23479         (generated): Add $(conformtest-header-list-base).  If
23480         [$(fast-check) && !$(cross-compiling)], add
23481         $(conformtest-header-base).  Remove previous setting.
23482         ($(conformtest-header-list-tests)): New target.
23483         (test-xfail-run-conformtest): Remove variable.
23484         ($(objpfx)run-conformtest.out): Remove target.
23485         (test-xfail-ISO11/complex.h/conform): New variable.
23486         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23487         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23488         (test-xfail-XPG3/varargs.h/conform): Likewise.
23489         (test-xfail-XPG4/varargs.h/conform): Likewise.
23490         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23491         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23492         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23493         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23494         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23495         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23496         (test-xfail-XPG3/ftw.h/conform): Likewise.
23497         (test-xfail-XPG3/grp.h/conform): Likewise.
23498         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23499         (test-xfail-XPG3/limits.h/conform): Likewise.
23500         (test-xfail-XPG3/pwd.h/conform): Likewise.
23501         (test-xfail-XPG3/search.h/conform): Likewise.
23502         (test-xfail-XPG3/signal.h/conform): Likewise.
23503         (test-xfail-XPG3/stdio.h/conform): Likewise.
23504         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23505         (test-xfail-XPG3/string.h/conform): Likewise.
23506         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23507         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23508         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23509         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23510         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23511         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23512         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23513         (test-xfail-XPG3/termios.h/conform): Likewise.
23514         (test-xfail-XPG3/time.h/conform): Likewise.
23515         (test-xfail-XPG3/unistd.h/conform): Likewise.
23516         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23517         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23518         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23519         (test-xfail-XPG4/netdb.h/conform): Likewise.
23520         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23521         (test-xfail-XPG4/signal.h/conform): Likewise.
23522         (test-xfail-XPG4/stdio.h/conform): Likewise.
23523         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23524         (test-xfail-XPG4/stropts.h/conform): Likewise.
23525         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23526         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23527         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23528         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23529         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23530         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23531         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23532         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23533         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23534         (test-xfail-XPG4/termios.h/conform): Likewise.
23535         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23536         (test-xfail-XPG4/unistd.h/conform): Likewise.
23537         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23538         (test-xfail-POSIX/sched.h/conform): Likewise.
23539         (test-xfail-POSIX/signal.h/conform): Likewise.
23540         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23541         (test-xfail-POSIX/tar.h/conform): Likewise.
23542         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23543         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23544         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23545         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23546         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23547         (test-xfail-UNIX98/sched.h/conform): Likewise.
23548         (test-xfail-UNIX98/signal.h/conform): Likewise.
23549         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23550         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23551         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23552         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23553         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23554         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23555         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23556         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23557         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23558         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23559         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23560         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23561         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23562         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23563         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23564         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23565         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23566         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23567         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23568         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23569         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23570         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23571         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23572         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23573         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23574         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23575         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23576         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23577         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23578         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23579         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23580         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23581         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23582         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23583         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23584         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23585         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23586         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23587         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23588         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23589         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23590         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23591         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23592         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23593         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23594         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23595         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23596         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23597         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23598         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23599         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23600         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23601         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23602         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23603         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23604         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23605         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23606         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23607         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23608         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23609         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23610         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23611         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23612         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23613         (conformtest-cc-flags): Likewise.
23614         ($(conformtest-header-tests): New target.
23615         * conform/check-header-lists.sh: New file.
23616         * conform/run-conformtest.sh: Remove.
23618         * conform/conformtest.pl: Allow ' and \ in values given for
23619         constants.
23620         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23621         inclusion.
23622         [POSIX] (sys/types.h): Likewise.
23623         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23624         inclusion.
23625         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23626         inclusion.
23627         * conform/data/signal.h-data (SIGIO): Remove expectation.
23628         [XPG3] (SIGBUS): Do not expect.
23629         [POSIX || XPG3] (SIGPOLL): Likewise.
23630         [POSIX || XPG3] (SIGPROF): Likewise.
23631         [POSIX || XPG3] (SIGSYS): Likewise.
23632         [XPG3] (SIGTRAP): Likewise.
23633         [POSIX || XPG3] (SIGURG): Likewise.
23634         [POSIX || XPG3] (SIGVTALRM): Likewise.
23635         [POSIX || XPG3] (SIGXCPU): Likewise.
23636         [POSIX || XPG3] (SIGXFSZ): Likewise.
23637         [POSIX] (SA_SIGINFO): Expect.
23638         [XPG3] (siginfo_t): Do not expect type or contents.
23639         [POSIX] (si_pid): Do not expect element.
23640         [POSIX] (si_uid): Likewise.
23641         [POSIX] (si_addr): Likewise.
23642         [POSIX] (si_status): Likewise.
23643         [POSIX] (si_band): Likewise.
23644         [XPG4] (si_value): Likewise.
23645         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23646         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23647         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23648         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23649         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23650         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23651         [POSIX || XPG3] (ILL_COPROC): Likewise.
23652         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23653         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23654         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23655         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23656         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23657         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23658         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23659         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23660         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23661         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23662         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23663         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23664         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23665         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23666         [POSIX || XPG3] (CLD_EXITED): Likewise.
23667         [POSIX || XPG3] (CLD_KILLED): Likewise.
23668         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23669         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23670         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23671         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23672         [POSIX || XPG3] (POLL_IN): Likewise.
23673         [POSIX || XPG3] (POLL_OUT): Likewise.
23674         [POSIX || XPG3] (POLL_MSG): Likewise.
23675         [POSIX || XPG3] (POLL_ERR): Likewise.
23676         [POSIX || XPG3] (POLL_PRI): Likewise.
23677         [POSIX || XPG3] (POLL_HUP): Likewise.
23678         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23679         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23680         (SIG*): Do not allow.
23681         [XPG3] (si_*): Likewise.
23682         [XPG3] (SI_*): Likewise.
23683         [XPG3 || XPG4] (sigev_*): Likewise.
23684         [XPG3 || XPG4] (SIGEV_*): Likewise.
23685         [XPG3 || XPG4] (sival_*): Likewise.
23686         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23687         [POSIX || XPG3] (BUS_*): Likewise.
23688         [POSIX || XPG3] (CLD_*): Likewise.
23689         [POSIX || XPG3] (FPE_*): Likewise.
23690         [POSIX || XPG3] (ILL_*): Likewise.
23691         [POSIX || XPG3] (POLL_*): Likewise.
23692         [POSIX || XPG3] (SEGV_*): Likewise.
23693         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23694         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23695         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23696         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23697         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23698         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23699         Specify type and value.
23700         (TVERSLEN): Likewise.
23701         (REGTYPE): Likewise.
23702         (AREGTYPE): Likewise.
23703         (LNKTYPE): Likewise.
23704         (SYMTYPE): Likewise.
23705         (CHRTYPE): Likewise.
23706         (BLKTYPE): Likewise.
23707         (DIRTYPE): Likewise.
23708         (FIFOTYPE): Likewise.
23709         (CONTTYPE): Likewise.
23710         (TSUID): Likewise.
23711         (TSGID): Likewise.
23712         (TSVTX): Likewise.
23713         (TUREAD): Likewise.
23714         (TUWRITE): Likewise.
23715         (TUEXEC): Likewise.
23716         (TGREAD): Likewise.
23717         (TGWRITE): Likewise.
23718         (TGEXEC): Likewise.
23719         (TOREAD): Likewise.
23720         (TOWRITE): Likewise.
23721         (TOEXEC): Likewise.
23722         [POSIX] (TSVTX): Expect constant.
23724 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23726         * Makefile (tests): Change dependencies to ....
23727         (tests-special): ... additions to this variable.
23728         (tests): Depend on $(tests-special).
23729         * Makerules (check-abi-list): New variable.
23730         (check-abi): Depend on $(check-abi-list).
23731         [$(subdir) = elf] (tests-special): Add
23732         $(objpfx)check-abi-libc.out.
23733         [$(build-shared) = yes && subdir] (tests-special): Add
23734         $(check-abi-list).
23735         [$(build-shared) = yes && subdir] (tests): Do not depend on
23736         check-abi.
23737         * Rules (tests): Depend on $(tests-special).
23738         (xtests): Depend on $(xtests-special).
23739         * catgets/Makefile (tests): Change dependencies to ....
23740         (tests-special): ... additions to this variable.
23741         * conform/Makefile (tests): Change dependencies to ....
23742         (tests-special): ... additions to this variable.
23743         * elf/Makefile (tests): Change dependencies to ....
23744         (tests-special): ... additions to this variable.
23745         * grp/Makefile (tests): Change dependencies to ....
23746         (tests-special): ... additions to this variable.
23747         * iconv/Makefile (xtests): Change dependencies to ....
23748         (xtests-special): ... additions to this variable.
23749         * iconvdata/Makefile (tests): Change dependencies to ....
23750         (tests-special): ... additions to this variable.
23751         * intl/Makefile (tests): Change dependencies to ....
23752         (tests-special): ... additions to this variable.  Also add
23753         $(objpfx)tst-gettext.out.
23754         * io/Makefile (tests): Change dependencies to ....
23755         (tests-special): ... additions to this variable.
23756         * libio/Makefile (tests): Change dependencies to ....
23757         (tests-special): ... additions to this variable.
23758         * malloc/Makefile (tests): Change dependencies to ....
23759         (tests-special): ... additions to this variable.
23760         * misc/Makefile (tests): Change dependencies to ....
23761         (tests-special): ... additions to this variable.
23762         * nptl/Makefile (tests): Change dependencies to ....
23763         (tests-special): ... additions to this variable.
23764         * nptl_db/Makefile (tests): Change dependencies to ....
23765         (tests-special): ... additions to this variable.
23766         * posix/Makefile (tests): Change dependencies to ....
23767         (tests-special): ... additions to this variable.
23768         (xtests): Change dependencies to ....
23769         (xtests-special): ... additions to this variable.
23770         * resolv/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         * stdio-common/Makefile (tests): Change dependencies to ....
23775         (tests-special): ... additions to this variable.
23776         (do-tst-unbputc): Remove target.
23777         (do-tst-printf): Likewise.
23778         * stdlib/Makefile (tests): Change dependencies to ....
23779         (tests-special): ... additions to this variable.
23780         * string/Makefile (tests): Change dependencies to ....
23781         (tests-special): ... additions to this variable.
23782         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23783         (tests-special): ... additions to this variable.
23785         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23786         whole file.
23787         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23788         whole file.
23789         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23790         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23792         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23793         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23794         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23795         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23796         * conform/data/libgen.h-data [XPG3]: Likewise.
23797         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23798         * conform/data/ndbm.h-data [XPG3]: Likewise.
23799         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23800         * conform/data/netdb.h-data [XPG3]: Likewise.
23801         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23802         * conform/data/poll.h-data [XPG3]: Likewise.
23803         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23804         * conform/data/strings.h-data [XPG3]: Likewise.
23805         * conform/data/stropts.h-data [XPG3]: Likewise.
23806         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23807         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23808         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23809         Likewise.
23810         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23811         * conform/data/sys/time.h-data [XPG3]: Likewise.
23812         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23813         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23814         * conform/data/sys/un.h-data [XPG3]: Likewise.
23815         * conform/data/syslog.h-data [XPG3]: Likewise.
23816         * conform/data/ucontext.h-data [XPG3]: Likewise.
23817         * conform/data/utmpx.h-data [XPG3]: Likewise.
23818         * conform/data/varargs.h-data [UNIX98]: Enable file.
23820         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23822         * math/libm-test.inc (struct test_f_f_data): Move expected results
23823         into structure for each rounding mode.
23824         (struct test_ff_f_data): Likewise.
23825         (struct test_ff_f_data_nexttoward): Likewise.
23826         (struct test_fi_f_data): Likewise.
23827         (struct test_fl_f_data): Likewise.
23828         (struct test_if_f_data): Likewise.
23829         (struct test_fff_f_data): Likewise.
23830         (struct test_c_f_data): Likewise.
23831         (struct test_f_f1_data): Likewise.
23832         (struct test_fF_f1_data): Likewise.
23833         (struct test_ffI_f1_data): Likewise.
23834         (struct test_c_c_data): Likewise.
23835         (struct test_cc_c_data): Likewise.
23836         (struct test_f_i_data): Likewise.
23837         (struct test_ff_i_data): Likewise.
23838         (struct test_f_l_data): Likewise.
23839         (struct test_f_L_data): Likewise.
23840         (struct test_fFF_11_data): Likewise.
23841         (RM_): New macro.
23842         (RM_FE_DOWNWARD): Likewise.
23843         (RM_FE_TONEAREST): Likewise.
23844         (RM_FE_TOWARDZERO): Likewise.
23845         (RM_FE_UPWARD): Likewise.
23846         (RUN_TEST_LOOP_f_f): Update references to expected results.
23847         (RUN_TEST_LOOP_2_f): Likewise.
23848         (RUN_TEST_LOOP_fff_f): Likewise.
23849         (RUN_TEST_LOOP_c_f): Likewise.
23850         (RUN_TEST_LOOP_f_f1): Likewise.
23851         (RUN_TEST_LOOP_fF_f1): Likewise.
23852         (RUN_TEST_LOOP_fI_f1): Likewise.
23853         (RUN_TEST_LOOP_ffI_f1): Likewise.
23854         (RUN_TEST_LOOP_c_c): Likewise.
23855         (RUN_TEST_LOOP_cc_c): Likewise.
23856         (RUN_TEST_LOOP_f_i): Likewise.
23857         (RUN_TEST_LOOP_f_i_tg): Likewise.
23858         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23859         (RUN_TEST_LOOP_f_b): Likewise.
23860         (RUN_TEST_LOOP_f_b_tg): Likewise.
23861         (RUN_TEST_LOOP_f_l): Likewise.
23862         (RUN_TEST_LOOP_f_L): Likewise.
23863         (RUN_TEST_LOOP_fFF_11): Likewise.
23864         * math/gen-libm-test.pl (parse_args): Output four copies of
23865         expected results for each test.
23867         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23868         (__ASSUME_UTIMES): Remove.
23869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23870         (__ASSUME_UTIMES): Likewise.
23872         * math/gen-auto-libm-tests.c: Update comment on output format.
23873         (output_for_one_input_case): Generate before-rounding and
23874         after-rounding information as conditions on output flags not
23875         floating-point format.
23876         * math/auto-libm-test-out: Regenerated.
23877         * math/gen-libm-test.pl (cond_value): New function.
23878         (or_cond_value): Use cond_value.
23879         (generate_testfile): Handle conditional exceptions.
23881 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23883         * math/libm-test.inc (max_valid_error): New variable.
23884         (init_max_error): Take new argument specifying whether function
23885         results are exactly determined.  Set max_valid_error and bound
23886         other variables for errors based on this argument.
23887         (set_max_error): Do not record results above max_valid_error.
23888         (check_float_internal): Only accept errors of up to 0.5ulps if
23889         also at most max_valid_error.
23890         (START): Take new argument EXACT and pass it to init_max_error.
23891         (acos_test): Update call to START.
23892         (acos_test_tonearest): Likewise.
23893         (acos_test_towardzero): Likewise.
23894         (acos_test_downward): Likewise.
23895         (acos_test_upward): Likewise.
23896         (acosh_test): Likewise.
23897         (asin_test): Likewise.
23898         (asin_test_tonearest): Likewise.
23899         (asin_test_towardzero): Likewise.
23900         (asin_test_downward): Likewise.
23901         (asin_test_upward): Likewise.
23902         (asinh_test): Likewise.
23903         (atan_test): Likewise.
23904         (atanh_test): Likewise.
23905         (atan2_test): Likewise.
23906         (cabs_test): Likewise.
23907         (cacos_test): Likewise.
23908         (cacosh_test): Likewise.
23909         (carg_test): Likewise.
23910         (casin_test): Likewise.
23911         (casinh_test): Likewise.
23912         (catan_test): Likewise.
23913         (catanh_test): Likewise.
23914         (cbrt_test): Likewise.
23915         (ccos_test): Likewise.
23916         (ccosh_test): Likewise.
23917         (ceil_test): Likewise.
23918         (cexp_test): Likewise.
23919         (cimag_test): Likewise.
23920         (clog_test): Likewise.
23921         (clog10_test): Likewise.
23922         (conj_test): Likewise.
23923         (copysign_test): Likewise.
23924         (cos_test): Likewise.
23925         (cos_test_tonearest): Likewise.
23926         (cos_test_towardzero): Likewise.
23927         (cos_test_downward): Likewise.
23928         (cos_test_upward): Likewise.
23929         (cosh_test): Likewise.
23930         (cosh_test_tonearest): Likewise.
23931         (cosh_test_towardzero): Likewise.
23932         (cosh_test_downward): Likewise.
23933         (cosh_test_upward): Likewise.
23934         (cpow_test): Likewise.
23935         (cproj_test): Likewise.
23936         (creal_test): Likewise.
23937         (csin_test): Likewise.
23938         (csinh_test): Likewise.
23939         (csqrt_test): Likewise.
23940         (ctan_test): Likewise.
23941         (ctan_test_tonearest): Likewise.
23942         (ctan_test_towardzero): Likewise.
23943         (ctan_test_downward): Likewise.
23944         (ctan_test_upward): Likewise.
23945         (ctanh_test): Likewise.
23946         (ctanh_test_tonearest): Likewise.
23947         (ctanh_test_towardzero): Likewise.
23948         (ctanh_test_downward): Likewise.
23949         (ctanh_test_upward): Likewise.
23950         (erf_test): Likewise.
23951         (erfc_test): Likewise.
23952         (exp_test): Likewise.
23953         (exp_test_tonearest): Likewise.
23954         (exp_test_towardzero): Likewise.
23955         (exp_test_downward): Likewise.
23956         (exp_test_upward): Likewise.
23957         (exp10_test): Likewise.
23958         (exp10_test_tonearest): Likewise.
23959         (exp10_test_towardzero): Likewise.
23960         (exp10_test_downward): Likewise.
23961         (exp10_test_upward): Likewise.
23962         (pow10_test): Likewise.
23963         (exp2_test): Likewise.
23964         (expm1_test): Likewise.
23965         (expm1_test_tonearest): Likewise.
23966         (expm1_test_towardzero): Likewise.
23967         (expm1_test_downward): Likewise.
23968         (expm1_test_upward): Likewise.
23969         (fabs_test): Likewise.
23970         (fdim_test): Likewise.
23971         (floor_test): Likewise.
23972         (fma_test): Likewise.
23973         (fma_test_towardzero): Likewise.
23974         (fma_test_downward): Likewise.
23975         (fma_test_upward): Likewise.
23976         (fmax_test): Likewise.
23977         (fmin_test): Likewise.
23978         (fmod_test): Likewise.
23979         (fpclassify_test): Likewise.
23980         (frexp_test): Likewise.
23981         (hypot_test): Likewise.
23982         (ilogb_test): Likewise.
23983         (isfinite_test): Likewise.
23984         (finite_test): Likewise.
23985         (isgreater_test): Likewise.
23986         (isgreaterequal_test): Likewise.
23987         (isinf_test): Likewise.
23988         (isless_test): Likewise.
23989         (islessequal_test): Likewise.
23990         (islessgreater_test): Likewise.
23991         (isnan_test): Likewise.
23992         (isnormal_test): Likewise.
23993         (issignaling_test): Likewise.
23994         (isunordered_test): Likewise.
23995         (j0_test): Likewise.
23996         (j1_test): Likewise.
23997         (jn_test): Likewise.
23998         (ldexp_test): Likewise.
23999         (lgamma_test): Likewise.
24000         (gamma_test): Likewise.
24001         (lrint_test): Likewise.
24002         (lrint_test_tonearest): Likewise.
24003         (lrint_test_towardzero): Likewise.
24004         (lrint_test_downward): Likewise.
24005         (lrint_test_upward): Likewise.
24006         (llrint_test): Likewise.
24007         (llrint_test_tonearest): Likewise.
24008         (llrint_test_towardzero): Likewise.
24009         (llrint_test_downward): Likewise.
24010         (llrint_test_upward): Likewise.
24011         (log_test): Likewise.
24012         (log10_test): Likewise.
24013         (log1p_test): Likewise.
24014         (log2_test): Likewise.
24015         (logb_test): Likewise.
24016         (logb_test_downward): Likewise.
24017         (lround_test): Likewise.
24018         (llround_test): Likewise.
24019         (modf_test): Likewise.
24020         (nearbyint_test): Likewise.
24021         (nextafter_test): Likewise.
24022         (nexttoward_test): Likewise.
24023         (pow_test): Likewise.
24024         (pow_test_tonearest): Likewise.
24025         (pow_test_towardzero): Likewise.
24026         (pow_test_downward): Likewise.
24027         (pow_test_upward): Likewise.
24028         (remainder_test): Likewise.
24029         (drem_test): Likewise.
24030         (remainder_test_tonearest): Likewise.
24031         (drem_test_tonearest): Likewise.
24032         (remainder_test_towardzero): Likewise.
24033         (drem_test_towardzero): Likewise.
24034         (remainder_test_downward): Likewise.
24035         (drem_test_downward): Likewise.
24036         (remainder_test_upward): Likewise.
24037         (drem_test_upward): Likewise.
24038         (remquo_test): Likewise.
24039         (rint_test): Likewise.
24040         (rint_test_tonearest): Likewise.
24041         (rint_test_towardzero): Likewise.
24042         (rint_test_downward): Likewise.
24043         (rint_test_upward): Likewise.
24044         (round_test): Likewise.
24045         (scalb_test): Likewise.
24046         (scalbn_test): Likewise.
24047         (scalbln_test): Likewise.
24048         (signbit_test): Likewise.
24049         (sin_test): Likewise.
24050         (sin_test_tonearest): Likewise.
24051         (sin_test_towardzero): Likewise.
24052         (sin_test_downward): Likewise.
24053         (sin_test_upward): Likewise.
24054         (sincos_test): Likewise.
24055         (sinh_test): Likewise.
24056         (sinh_test_tonearest): Likewise.
24057         (sinh_test_towardzero): Likewise.
24058         (sinh_test_downward): Likewise.
24059         (sinh_test_upward): Likewise.
24060         (sqrt_test): Likewise.
24061         (sqrt_test_tonearest): Likewise.
24062         (sqrt_test_towardzero): Likewise.
24063         (sqrt_test_downward): Likewise.
24064         (sqrt_test_upward): Likewise.
24065         (tan_test): Likewise.
24066         (tan_test_tonearest): Likewise.
24067         (tan_test_towardzero): Likewise.
24068         (tan_test_downward): Likewise.
24069         (tan_test_upward): Likewise.
24070         (tanh_test): Likewise.
24071         (tgamma_test): Likewise.
24072         (trunc_test): Likewise.
24073         (y0_test): Likewise.
24074         (y1_test): Likewise.
24075         (yn_test): Likewise.
24076         (significand_test): Likewise.
24078         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24079         individual tests in comment.
24080         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24081         (prev_max_error): New variable.
24082         (prev_real_max_error): Likewise.
24083         (prev_imag_max_error): Likewise.
24084         (compare_ulp_data): Don't refer to test names in comment.
24085         (find_test_ulps): Remove function.
24086         (find_function_ulps): Likewise.
24087         (find_complex_function_ulps): Likewise.
24088         (init_max_error): Take function name as argument.  Look up ulps
24089         for that function.
24090         (print_ulps): Remove function.
24091         (print_max_error): Use prev_max_error instead of calling
24092         find_function_ulps.
24093         (print_complex_max_error): Use prev_real_max_error and
24094         prev_imag_max_error instead of calling find_complex_function_ulps.
24095         (check_float_internal): Take max_ulp parameter instead of calling
24096         find_test_ulps.  Don't call print_ulps.
24097         (check_float): Update call to check_float_internal.
24098         (check_complex): Update calls to check_float_internal.
24099         (START): Pass argument to init_max_error.
24100         * math/gen-libm-test.pl (%results): Don't include "kind"
24101         information.
24102         (parse_ulps): Don't handle ulps of individual tests.
24103         (print_ulps_file): Likewise.
24104         (output_ulps): Likewise.
24105         * math/README.libm-test: Update.
24106         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24107         individual tests.
24108         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24109         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24110         * sysdeps/arm/libm-test-ulps: Likewise.
24111         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24112         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24113         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24114         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24115         * sysdeps/microblaze/libm-test-ulps: Likewise.
24116         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24117         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24118         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24119         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24120         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24121         * sysdeps/sh/libm-test-ulps: Likewise.
24122         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24123         * sysdeps/tile/libm-test-ulps: Likewise.
24124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24126 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24128         * math/libm-test.inc (print_complex_max_error): Check separately
24129         whether real and imaginary errors are within allowed range and
24130         pass 0 to print_complex_function_ulps instead of value within
24131         allowed range.
24133 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24135         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24136         formatting.
24137         (get_handles_fopen): Likewise.
24138         (do_write_test): Likewise.
24140         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24142         * libio/fileops.c (do_ftell): Use cached offset when
24143         available.
24144         * libio/iofwide.c (do_ftell_wide): Likewise.
24145         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24146         _IO_file_attach.
24147         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24149         [BZ #16532]
24150         * libio/libioP.h (get_file_offset): New function.
24151         * libio/fileops.c (get_file_offset): Likewise.
24152         (do_ftell): Likewise.
24153         (_IO_new_file_seekoff): Split out ftell logic.
24154         * libio/wfileops.c (do_ftell_wide): Likewise.
24155         (_IO_wfile_seekoff): Split out ftell logic.
24156         * libio/tst-ftell-active-handler.c: New test case.
24157         * libio/Makefile (tests): Add it.
24159 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24161         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24162         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24164 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24166         [BZ #16639]
24167         * nscd/connections.c (nscd_init): Call do_exit.
24168         (start_threads): Call do_exit and notify_parent.
24169         (begin_drop_privileges): Call do_exit.
24170         (finish_drop_privileges): Likewise.
24171         * nscd/selinux.c (preserve_capabilities): Likewise.
24172         (install_real_capabilities): Likewise.
24173         (nscd_selinux_enabled): Likewise.
24174         (avc_create_thread): Likewise.
24175         (avc_alloc_lock): Likewise.
24176         (nscd_avc_init): Likewise.
24177         * nscd/nscd.c (parent_fd): New static variable.
24178         (main): Create a pipe between parent and child processes.
24179         Skip closing parent_fd.
24180         (monitor_child): New function.
24181         (do_exit): Likewise.
24182         (notify_parent): Likewise.
24183         * nscd/nscd.h (notify_parent): Likewise.
24184         (do_exit): Likewise.
24186 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24188         * malloc/malloc.c (__libc_calloc): Revert last change.
24190 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24194 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24196         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24198         implementation.
24199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24200         (__libc_ifunc_impl_list): Likewise.
24201         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24202         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24203         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24204         * string/strrchr.c: Define STRRCHR.
24206 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24208         * benchtest/bench-strtok.c (simple_strtok): Delete.
24209         (strtok_string): Use as benchmark.
24210         * string/strtok (STRTOK): New macro.
24212 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24214         * manual/threads.texi: Add header and standard comments to all
24215         functions.
24217         * elf/dl-lookup.c (check_match): New function.
24218         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24219         (do_lookup_x): Remove nested function check_match. Use non-nested
24220         function check_match.
24222 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24224         * csu/Makefile (generated, before-compile): Use += rather than =.
24225         * catgets/Makefile (generated, generated-dirs): Likewise.
24226         * debug/Makefile (generated): Likewise.
24227         * dlfcn/Makefile (generated): Likewise.
24228         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24229         * iconvdata/Makefile (before-compile, generated): Likewise.
24230         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24231         * libio/Makefile (generated): Likewise.
24232         * malloc/Makefile (generated): Likewise.
24233         * manual/Makefile (generated, generated-dirs): Likewise.
24234         * misc/Makefile (generated): Likewise.
24235         * posix/Makefile (generated): Likewise.
24236         * resolv/Makefile (generated): Likewise.
24237         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24238         * timezone/Makefile (generated, generated-dirs): Likewise.
24240         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24242 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24245         power8 implementation.
24246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24247         file: POWER8 llround ifunc implementation.
24248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24249         (__lllround): Add POWER8 implementation.
24250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24251         POWER8 llround implementation.
24253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24254         power8 implementation.
24255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24256         file: POWER8 llrint ifunc implementation.
24257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24258         Add POWER8 implementation.
24259         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24260         POWER8 llrint implementation.
24262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24263         power8 implementation.
24264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24265         file: POWER8 finite ifunc implementation.
24266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24267         Add POWER8 implementation.
24268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24269         Likewise.
24270         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24271         POWER8 finite implementation.
24272         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24275         power8 implementation.
24276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24277         file: POWER8 isinf ifunc implementation.
24278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24279         POWER8 implementation.
24280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24281         Likewise.
24282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24283         isinf implementation.
24284         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24286         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24287         (INIT_ARCH): Add hwcap2 initialization.
24288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24289         power8 implementation.
24290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24291         file: POWER8 isnan ifunc implementation.
24292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24293         POWER8 implementation.
24294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24295         Likewise.
24296         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24297         isnan implementation.
24298         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24300 2014-02-27  Joey Ye  <joey.ye@arm.com>
24302         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24303         (_FP_NANFRAC_Q): Set to zero.
24305 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24307         [BZ #16623]
24308         * math/auto-libm-test-in: New test inputs.
24309         * math/auto-libm-test-out: Regenerate.
24310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24311         and DA.
24312         (__cos): Likewise.
24313         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24315 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24317         * scripts/evaluate-test.sh: Take new argument indicating whether
24318         failure is expected.
24319         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24320         indicating whether failure is expected.
24321         * conform/Makefile (test-xfail-run-conformtest): New variable.
24322         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24323         level.
24324         * posix/Makefile (test-xfail-annexc): New variable.
24325         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24327 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24329         * argp/Makefile: Include Makeconfig immediately after defining
24330         subdir.
24331         * assert/Makefile: Likewise.
24332         * benchtests/Makefile: Likewise.
24333         * catgets/Makefile: Likewise.
24334         * conform/Makefile: Likewise.
24335         * crypt/Makefile: Likewise.
24336         * csu/Makefile: Likewise.
24337         (all): Remove target.
24338         * ctype/Makefile: Include Makeconfig immediately after defining
24339         subdir.
24340         * debug/Makefile: Likewise.
24341         * dirent/Makefile: Likewise.
24342         * dlfcn/Makefile: Likewise.
24343         * gmon/Makefile: Likewise.
24344         * gnulib/Makefile: Likewise.
24345         * grp/Makefile: Likewise.
24346         * gshadow/Makefile: Likewise.
24347         * hesiod/Makefile: Likewise.
24348         * hurd/Makefile: Likewise.
24349         (all): Remove target.
24350         * iconvdata/Makefile: Include Makeconfig immediately after
24351         defining subdir.
24352         * inet/Makefile: Likewise.
24353         * intl/Makefile: Likewise.
24354         * io/Makefile: Likewise.
24355         * libio/Makefile: Likewise.
24356         (all): Remove target.
24357         * locale/Makefile: Include Makeconfig immediately after defining
24358         subdir.
24359         * login/Makefile: Likewise.
24360         * mach/Makefile: Likewise.
24361         (all): Remove target.
24362         * malloc/Makefile: Include Makeconfig immediately after defining
24363         subdir.
24364         (all): Remove target.
24365         * manual/Makefile: Include Makeconfig immediately after defining
24366         subdir.
24367         * math/Makefile: Likewise.
24368         * misc/Makefile: Likewise.
24369         * nis/Makefile: Likewise.
24370         * nss/Makefile: Likewise.
24371         * po/Makefile: Likewise.
24372         (all): Remove target.
24373         * posix/Makefile: Include Makeconfig immediately after defining
24374         subdir.
24375         * pwd/Makefile: Likewise.
24376         * resolv/Makefile: Likewise.
24377         * resource/Makefile: Likewise.
24378         * rt/Makefile: Likewise.
24379         * setjmp/Makefile: Likewise.
24380         * shadow/Makefile: Likewise.
24381         * signal/Makefile: Likewise.
24382         * socket/Makefile: Likewise.
24383         * soft-fp/Makefile: Likewise.
24384         * stdio-common/Makefile: Likewise.
24385         * stdlib/Makefile: Likewise.
24386         * streams/Makefile: Likewise.
24387         * string/Makefile: Likewise.
24388         * sunrpc/Makefile: Likewise.
24389         (all): Remove target.
24390         * sysvipc/Makefile: Include Makeconfig immediately after defining
24391         subdir.
24392         * termios/Makefile: Likewise.
24393         * time/Makefile: Likewise.
24394         * timezone/Makefile: Likewise.
24395         (all): Remove target.
24396         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24397         subdir.
24398         * wctype/Makefile: Likewise.
24400 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24402         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24403         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24404         (libc_feholdexcept_setround_mips): Ditto.
24405         (libc_feholdsetround): New.
24406         (libc_feholdsetroundf): New.
24407         (libc_feholdsetroundl): New.
24408         (libc_feupdateenv_test_mips): New.
24409         (libc_feupdateenv_test): New.
24410         (libc_feupdateenv_testf): New.
24411         (libc_feupdateenv_testl): New.
24412         (libc_feresetround): New.
24413         (libc_feresetroundf): New.
24414         (libc_feresetroundl): New.
24415         (libc_fetestexcept_mips): New.
24416         (libc_fetestexcept): New.
24417         (libc_fetestexceptf): New.
24418         (libc_fetestexceptl): New.
24419         (HAVE_RM_CTX): New.
24420         (libc_feholdexcept_setround_mips_ctx): New.
24421         (libc_feholdexcept_setround_ctx): New.
24422         (libc_feholdexcept_setroundf_ctx): New.
24423         (libc_feholdexcept_setroundl_ctx): New.
24424         (libc_fesetenv_mips_ctx): New.
24425         (libc_fesetenv_ctx): New.
24426         (libc_fesetenv_ctxf): New.
24427         (libc_fesetenv_ctxl): New.
24428         (libc_feupdateenv_mips_ctx): New.
24429         (libc_feupdateenv_ctx): New.
24430         (libc_feupdateenvf_ctx): New.
24431         (libc_feupdateenvl_ctx): New.
24432         (libc_feholdsetround_mips_ctx): New.
24433         (libc_feholdsetround_ctx): New.
24434         (libc_feholdsetroundf_ctx): New.
24435         (libc_feholdsetroundl_ctx): New.
24436         (libc_feresetround_mips_ctx): New.
24437         (libc_feresetround_ctx): New.
24438         (libc_feresetroundf_ctx): New.
24439         (libc_feresetroundl_ctx): New.
24441 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24443         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24445         * manual/ipc.texi: New file.
24446         * manual/Makefile (chapters): Add ipc.
24447         * manual/job.texi: Add "Inter-Process Communication" to next.
24448         * manual/process.texi: Add "Inter-Process Communication" to prev.
24450 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24454 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24456         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24458         * manual/arith.texi: Fix spaces after sentences.
24459         * manual/charset.texi: Likewise.
24460         * manual/errno.texi: Likewise.
24461         * manual/install.texi: Likewise.
24462         * manual/llio.texi: Likewise.
24463         * manual/locale.texi: Likewise.
24464         * manual/maint.texi: Likewise.
24465         * manual/math.texi: Likewise.
24466         * manual/memory.texi: Likewise.
24467         * manual/message.texi: Likewise.
24468         * manual/probes.texi: Likewise.
24469         * manual/resource.texi: Likewise.
24470         * manual/signal.texi: Likewise.
24471         * manual/socket.texi: Likewise.
24472         * manual/stdio.texi: Likewise.
24473         * manual/string.texi: Likewise.
24474         * manual/time.texi: Likewise.
24475         * manual/users.texi: Likewise.
24477 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24479         [BZ #16632]
24480         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24481         _DEFAULT_SOURCE is defined.
24483 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24484             Carlos O'Donell  <carlos@redhat.com>
24486         [BZ #16613]
24487         * elf/dl-tls.c (_dl_count_modids): New function.
24488         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24489         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24490         audit library and increment generation counter.
24491         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24492         * elf/tst-audit9.c: New file.
24493         * elf/tst-auditmod9a.c: New file.
24494         * elf/tst-auditmod9b.c: New file.
24495         * elf/Makefile: Add rules to build and run tst-audit9.
24497 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24499         [BZ #15347]
24500         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24502 2014-02-25  Will Newton  <will.newton@linaro.org>
24504         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24505         (__longjmp): Restore sp and lr before restoring callee
24506         saved registers.  Add longjmp and longjmp_target
24507         SystemTap probe point.
24508         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24509         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24510         Define to zero to match jmpbuf layout.
24511         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24512         (__sigsetjmp): Save sp and lr before saving callee
24513         saved registers.  Add setjmp SystemTap probe point.
24515 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24517         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24519 2014-02-24  Andreas Schwab  <schwab@suse.de>
24521         [BZ #15804]
24522         * elf/pldd.c (wait_for_ptrace_stop): New function.
24523         (main): Call it after attaching.
24525 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24527         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24528         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24529         Versions files is now verboten.
24530         * hurd/Versions (libc: GLIBC_2.0):
24531         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24532         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24533         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24534         * mach/Versions: Likewise.
24536         * csu/Versions: Remove unused %include.
24537         * resolv/Versions: Likewise.
24539 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24541         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24542         ($(objpfx)check-local-headers.out): Likewise.
24543         ($(objpfx)begin-end-check.out): Likewise.
24544         * Makerules (check-abi-%.out): Likewise.
24545         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24546         ($(objpfx)test2.cat): Likewise.
24547         ($(objpfx)de/libc.cat): Likewise.
24548         ($(objpfx)test-gencat.out): Likewise.
24549         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24550         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24551         ($(objpfx)noload-mem): Likewise.
24552         ($(objpfx)tst-pathopt.out): Likewise.
24553         ($(objpfx)tst-rtld-load-self.out): Likewise.
24554         ($(objpfx)tst-array1-cmp.out): Likewise.
24555         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24556         ($(objpfx)tst-array2-cmp.out): Likewise.
24557         ($(objpfx)tst-array3-cmp.out): Likewise.
24558         ($(objpfx)tst-array4-cmp.out): Likewise.
24559         ($(objpfx)tst-array5-cmp.out): Likewise.
24560         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24561         ($(objpfx)check-textrel.out): Likewise.
24562         ($(objpfx)check-execstack.out): Likewise.
24563         ($(objpfx)check-localplt.out): Likewise.
24564         ($(objpfx)order2-cmp.out): Likewise.
24565         ($(objpfx)tst-leaks1-mem): Likewise.
24566         ($(objpfx)tst-leaks1-static-mem): Likewise.
24567         ($(objpfx)tst-initorder-cmp.out): Likewise.
24568         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24569         ($(objpfx)tst-unused-dep.out): Likewise.
24570         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24571         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24572         * iconv/Makefile (test-iconvconfig): Likewise.
24573         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24574         ($(objpfx)iconv-test.out): Likewise.
24575         ($(objpfx)tst-tables.out): Likewise.
24576         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24577         ($(objpfx)tst-gettext.out): Likewise.
24578         ($(objpfx)tst-translit.out): Likewise.
24579         ($(objpfx)tst-gettext2.out): Likewise.
24580         ($(objpfx)tst-gettext4.out): Likewise.
24581         ($(objpfx)tst-gettext6.out): Likewise.
24582         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24583         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24584         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24585         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24586         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24587         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24588         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24589         ($(objpfx)wordexp-tst.out): Likewise.
24590         ($(objpfx)annexc.out): Likewise.
24591         ($(objpfx)tst-fnmatch-mem): Likewise.
24592         ($(objpfx)bug-regex2-mem): Likewise.
24593         ($(objpfx)bug-regex14-mem): Likewise.
24594         ($(objpfx)bug-regex21-mem): Likewise.
24595         ($(objpfx)bug-regex31-mem): Likewise.
24596         ($(objpfx)tst-vfork3-mem): Likewise.
24597         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24598         ($(objpfx)tst-pcre-mem): Likewise.
24599         ($(objpfx)tst-boost-mem): Likewise.
24600         ($(objpfx)tst-getconf.out): Likewise.
24601         ($(objpfx)bug-ga2-mem): Likewise.
24602         ($(objpfx)bug-glob2-mem): Likewise.
24603         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24604         ($(objpfx)mtrace-tst-leaks2): Likewise.
24605         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24606         ($(objpfx)tst-printf.out): Likewise.
24607         ($(objpfx)tst-setvbuf1.out): Likewise.
24608         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24609         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24610         ($(objpfx)tst-fmtmsg.out): Likewise.
24611         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24612         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24614         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24615         * bits/sigaction.h [__USE_MISC]: Likewise.
24616         * bits/waitstatus.h: Update #endif comments.
24617         * ctype/ctype.h: Likewise.
24618         * dirent/dirent.h: Likewise.
24619         [__USE_MISC]: Remove redundant conditionals.
24620         * grp/grp.h: Update #endif comments.
24621         [__USE_GNU]: Remove redundant conditionals.
24622         [__USE_MISC]: Likewise.
24623         * inet/netinet/in.h [__USE_GNU]: Likewise.
24624         * io/sys/stat.h [__USE_MISC]: Likewise.
24625         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24626         * libio/bits/stdio.h: Update #endif comments.
24627         [__USE_MISC]: Remove redundant conditionals.
24628         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24629         * libio/stdio.h: Update #endif comments.
24630         [__USE_MISC]: Remove redundant conditionals.
24631         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24632         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24633         * math/math.h: Update #else and #endif comments.
24634         [__USE_MISC]: Remove redundant conditionals.
24635         * misc/sys/uio.h: Update #endif comments.
24636         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24637         * posix/glob.h [__USE_MISC]: Likewise.
24638         * posix/sys/types.h: Update #endif comments.
24639         [__USE_MISC]: Remove redundant conditionals.
24640         * posix/sys/wait.h: Update #endif comments.
24641         [__USE_MISC]: Remove redundant conditionals.
24642         * posix/unistd.h: Update #endif comments.
24643         [__USE_MISC]: Remove redundant conditionals.
24644         * pwd/pwd.h [__USE_GNU]: Likewise.
24645         [__USE_MISC]: Likewise.
24646         * resolv/netdb.h [__USE_GNU]: Likewise.
24647         * signal/signal.h: Update #endif comments.
24648         [__USE_MISC]: Remove redundant conditionals.
24649         * stdlib/stdlib.h: Update #else and #endif comments.
24650         [__USE_MISC]: Remove redundant conditionals.
24651         [__USE_GNU]: Likewise.
24652         * string/bits/string2.h [__USE_MISC]: Likewise.
24653         * string/string.h: Update #endif comments.
24654         [__USE_MISC]: Remove redundant conditionals.
24655         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24656         Likewise.
24657         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24658         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24659         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24660         Likewise.
24661         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24662         Likewise.
24663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24664         comments.
24665         [__USE_MISC]: Remove redundant conditionals.
24666         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24667         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24668         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24669         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24670         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24671         Likewise.
24672         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24673         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24674         Likewise.
24675         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24676         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24677         Likewise.
24678         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24679         Likewise.
24680         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24681         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24682         Likewise.
24683         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24684         Likewise.
24685         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24686         * sysdeps/x86/bits/string.h: Update #endif comments.
24687         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24688         conditionals.
24689         * time/sys/time.h: Update #endif comments.
24690         * time/time.h: Likewise.
24691         [__USE_MISC]: Remove redundant conditionals.
24693 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24695         [BZ #16600]
24696         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24698 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24700         * Versions.def (librt): Add GLIBC_2.17.
24702 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24704         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24705         synonym for _SYS_AUXV_H to allow direct inclusion.
24706         * sysdeps/sparc/bits/hwcap.h: Likewise.
24707         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24708         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24709         * sysdeps/sparc/sysdep.h: Likewise.
24711 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24713         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24715 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24717         * benchtests/bench-strrchr.c: Print length instead of position.
24719 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24721         [BZ #16611]
24722         * sysdeps/unix/sysv/linux/kernel-features.h
24723         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24724         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24725         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24726         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24727         Likewise.
24728         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24729         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24730         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24731         (__ASSUME_SENDMMSG): Define instead of using previous
24732         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24734         (__ASSUME_SENDMMSG_SYSCALL): Define.
24735         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24736         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24737         Likewise.
24738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24739         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24740         Likewise.
24741         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24742         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24743         Likewise.
24744         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24745         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24746         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24747         [__ASSUME_SENDMMSG]: Change conditionals to
24748         [__ASSUME_SENDMMSG_SOCKETCALL].
24749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24750         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24751         Define.
24752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24753         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24754         Likewise.
24755         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24756         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24757         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24758         [!__ASSUME_SENDMMSG]: Change conditional to
24759         [!__ASSUME_SENDMMSG_SOCKETCALL].
24760         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24761         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24762         Define.
24764         [BZ #16610]
24765         * sysdeps/unix/sysv/linux/kernel-features.h
24766         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24767         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24768         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24769         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24770         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24771         [__i386__ || __sparc__]
24772         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24773         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24774         (__ASSUME_RECVMMSG): Define instead of using previous
24775         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24776         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24777         (__ASSUME_RECVMMSG_SYSCALL): Define.
24778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24780         Likewise.
24781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24783         Likewise.
24784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24786         Likewise.
24787         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24788         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24789         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24790         [__ASSUME_RECVMMSG]: Change condition to
24791         [__ASSUME_RECVMMSG_SOCKETCALL].
24792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24794         Define.
24795         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24796         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24797         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24798         Likewise.
24799         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24800         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24801         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24802         [!__ASSUME_RECVMMSG]: Change condition to
24803         [!__ASSUME_RECVMMSG_SOCKETCALL].
24804         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24805         (__ASSUME_RECVMMSG_SYSCALL): Define.
24807         [BZ #16609]
24808         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24809         __powerpc__ || __s390__ || __sh__ || __sparc__]
24810         (__ASSUME_SOCKETCALL): Define.
24811         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24812         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24813         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24814         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24815         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24816         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24817         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24818         (__ASSUME_ACCEPT4): Define instead of using previous
24819         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24820         __powerpc__ || __sparc__ || __s390__)] condition.
24821         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24822         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24823         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24824         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24825         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24826         [!__ASSUME_ACCEPT4]: Change condition to
24827         [!__ASSUME_ACCEPT4_SOCKETCALL].
24828         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24829         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24830         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24831         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24832         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24833         __ASSUME_ACCEPT4_SYSCALL.
24834         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24835         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24837         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24838         __ASSUME_ACCEPT4_SYSCALL.
24839         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24840         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24841         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24842         [__ASSUME_ACCEPT4]: Change condition to
24843         [__ASSUME_ACCEPT4_SOCKETCALL].
24844         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24845         (__ASSUME_SOCKETCALL): Define.
24846         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24848         (__ASSUME_SOCKETCALL): Define.
24849         (__ASSUME_ACCEPT4): Remove.
24850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24851         Define.
24852         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24853         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24854         Likewise.
24855         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24856         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24858         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24859         macro.
24860         (HWCAP_ARM_LPAE): Likewise.
24861         (HWCAP_ARM_EVTSTRM): Likewise.
24862         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24863         Add vpfd32, lpae and evtstrm.
24864         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24865         Increase to 22.
24867 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24869         * math/auto-libm-test-in: Add tests of clog10.
24870         * math/auto-libm-test-out: Regenerated.
24871         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24872         * sysdeps/i386/fpu/libm-test-ulps: Update.
24873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24875 2014-02-18  Andreas Schwab  <schwab@suse.de>
24877         [BZ #16574]
24878         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24879         Store non-zero if the second buffer was newly allocated.
24880         (send_dg): Likewise.
24881         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24882         to send_vc and send_dg.
24883         (res_nsend): Pass NULL for ansp2_malloced.
24884         * resolv/res_query.c (__libc_res_nquery): Add parameter
24885         answerp2_malloced and pass it down to __libc_res_nsend.
24886         (res_nquery): Pass additional NULL to __libc_res_nquery.
24887         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24888         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24889         second answer buffer if answerp2_malloced was set.
24890         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24891         (__libc_res_nquerydomain): Add parameter
24892         answerp2_malloced and pass it down to __libc_res_nquery.
24893         (res_nquerydomain): Pass additional NULL to
24894         __libc_res_nquerydomain.
24895         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24896         additional NULL to __libc_res_nsend and __libc_res_nquery.
24897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24898         additional NULL to __libc_res_nsearch.
24899         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24900         parameter of __libc_res_nsearch to check for separately allocated
24901         second buffer.
24902         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24903         __libc_res_nquery.
24904         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24905         additional NULL to __libc_res_nquery.
24906         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24907         __libc_res_nsearch.
24908         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24909         * include/resolv.h: Update prototypes of __libc_res_nquery,
24910         __libc_res_nsearch, __libc_res_nsend.
24912 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24914         * math/auto-libm-test-in: Add tests of fma.
24915         * math/auto-libm-test-out: Regenerated.
24916         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24917         (fma_towardzero_test_data): Likewise.
24918         (fma_downward_test_data): Likewise.
24919         (fma_upward_test_data): Likewise.
24920         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24921         mpc_mode.
24922         (rounding_modes): Add values for new field.
24923         (func_calc_method): Add value mpfr_fff_f.
24924         (func_calc_desc): Add mpfr_fff_f union field.
24925         (test_function): Add field exact_args.
24926         (FUNC): Add macro argument EXACT_ARGS.
24927         (FUNC_mpfr_f_f): Update call to FUNC.
24928         (FUNC_mpfr_f_f): Likewise.
24929         (FUNC_mpfr_ff_f): Likewise.
24930         (FUNC_mpfr_if_f): Likewise.
24931         (FUNC_mpc_c_f): Likewise.
24932         (FUNC_mpc_c_c): Likewise.
24933         (test_functions): Add fma.  Update calls to FUNC.
24934         (handle_input_arg): Add argument exact_args.
24935         (add_test): Update call to handle_input_arg.
24936         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24937         (output_for_one_input_case): Update call to calc_generic_results.
24938         Recalculate exact zero results in each rounding mode.
24940         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24941         non-negative before setting low bit.
24942         * math/auto-libm-test-in: Mark one asin test possibly having
24943         spurious underflow.
24944         * math/auto-libm-test-out: Regenerated.
24945         * sysdeps/i386/fpu/libm-test-ulps: Update.
24946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24948 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24950         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24951         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24952         ports/sysdeps/unix/sysv/linux/microblaze.
24953         * README: Add missing listing for microblaze*-*-linux-gnu.
24955 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24958         duplicate code
24960 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24962         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24963         * sysdeps/unix/sysv/linux/ia64: Move directory from
24964         ports/sysdeps/unix/sysv/linux/ia64.
24965         * README: Update listing for ia64-*-linux-gnu.
24967 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24968             Joseph Myers  <joseph@codesourcery.com>
24970         * Makeconfig (test-name): New variable.
24971         (evaluate-test): Likewise.
24972         * Makerules (do-test-clean): Remove .test-result files.
24973         (common-mostlyclean): Likewise.
24974         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24975         * scripts/evaluate-test.sh: New file.
24977 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24979         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24980         separate $(objpfx)tst-fopenloc-cmp.out and
24981         $(objpfx)tst-fopenloc-mem.out targets.
24982         (tests): Update dependencies.
24983         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24984         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24985         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24986         (tst-rxspencer-no-utf8-ARGS): New variable.
24987         (tst-rxspencer-no-utf8-ENV): Likewise.
24988         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24989         instead of $(objpfx)tst-rxspencer-mem.
24990         ($(objpfx)tst-rxspencer-mem): Change target to
24991         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24992         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24993         * posix/tst-rxspencer-no-utf8.c: New file.
24995         * elf/Makefile ($(objpfx)order.out): Remove rule.
24996         [$(run-built-tests) = yes] (tests): Depend on
24997         $(objpfx)order-cmp.out.
24998         ($(objpfx)order-cmp.out): New rule.
24999         [$(run-built-tests) = yes] (tests): Depend on
25000         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25001         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25002         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25003         $(objpfx)tst-array5-static-cmp.out.
25004         ($(objpfx)tst-array1.out): Remove rule.
25005         ($(objpfx)tst-array1-cmp.out): New rule.
25006         ($(objpfx)tst-array1-static.out): Remove rule.
25007         ($(objpfx)tst-array1-static-cmp.out): New rule.
25008         ($(objpfx)tst-array2.out): Remove rule.
25009         ($(objpfx)tst-array2-cmp.out): New rule.
25010         ($(objpfx)tst-array3.out): Remove rule.
25011         ($(objpfx)tst-array3-cmp.out): New rule.
25012         ($(objpfx)tst-array4.out): Remove rule.
25013         ($(objpfx)tst-array4-cmp.out): New rule.
25014         ($(objpfx)tst-array5.out): Remove rule.
25015         ($(objpfx)tst-array5-cmp.out): New rule.
25016         ($(objpfx)tst-array5-static.out): Remove rule.
25017         ($(objpfx)tst-array5-static-cmp.out): New rule.
25018         [$(run-built-tests) = yes] (tests): Depend on
25019         $(objpfx)order2-cmp.out.
25020         ($(objpfx)order2.out): Remove rule.
25021         ($(objpfx)order2-cmp.out): New rule.
25022         ($(objpfx)tst-initorder.out): Remove rule.
25023         [$(run-built-tests) = yes] (tests): Depend on
25024         $(objpfx)tst-initorder-cmp.out.
25025         ($(objpfx)tst-initorder-cmp.out): New rule.
25026         ($(objpfx)tst-initorder2.out): Remove rule.
25027         [$(run-built-tests) = yes] (tests): Depend on
25028         $(objpfx)tst-initorder2-cmp.out.
25029         ($(objpfx)tst-initorder2-cmp.out): New rule.
25030         [$(run-built-tests) = yes] (tests): Depend on
25031         $(objpfx)tst-unused-dep-cmp.out.
25032         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25033         ($(objpfx)tst-unused-dep-cmp.out): New rule.
25034         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25035         on $(objpfx)tst-setvbuf1-cmp.out.
25036         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25037         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25038         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25039         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25040         ($(objpfx)tst-svc.out): Remove rule.
25041         ($(objpfx)tst-svc-cmp.out): New rule.
25043 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
25045         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25046         * ctype/ctype.h [__USE_MISC]: Likewise.
25047         * dirent/dirent.h [__USE_MISC]: Likewise.
25048         * grp/grp.h [__USE_MISC]: Likewise.
25049         * io/fcntl.h [__USE_MISC]: Likewise.
25050         * io/sys/stat.h [__USE_MISC]: Likewise.
25051         * libio/stdio.h [__USE_MISC]: Likewise.
25052         * posix/unistd.h [__USE_MISC]: Likewise.
25053         * pwd/pwd.h [__USE_MISC]: Likewise.
25054         * stdlib.h [__USE_MISC]: Likewise.
25055         * string/bits/string2.h [__USE_MISC]: Likewise.
25056         * string/string.h [__USE_MISC]: Likewise.
25057         * time/time.h [__USE_MISC]: Likewise.
25059 2014-02-13  Andreas Schwab  <schwab@suse.de>
25061         [BZ #16574]
25062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25063         second answer buffer if it was separately allocated.
25065 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
25067         * sysdeps/mips/math-tests.h: Include <features.h>.
25068         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25069         (ROUNDING_TESTS_long_double): Do not define.
25070         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25071         (EXCEPTION_TESTS_long_double): Likewise.
25072         * sysdeps/mips/mips64/libm-test-ulps: Update.
25074         * include/features.h (__USE_BSD): Remove macro definitions.
25075         (__USE_SVID): Likewise.
25076         (_BSD_SOURCE): Likewise.
25077         (_SVID_SOURCE): Likewise.
25078         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25079         from definition of _DEFAULT_SOURCE.
25080         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25081         [_DEFAULT_SOURCE].
25082         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25083         * bits/mman.h [__USE_BSD]: Likewise.
25084         * bits/termios.h [__USE_BSD]: Likewise.
25085         * bits/waitstatus.h [__USE_BSD]: Likewise.
25086         * ctype/ctype.h [__USE_SVID]: Likewise.
25087         * dirent/dirent.h [__USE_BSD]: Likewise.
25088         * grp/grp.h [__USE_SVID]: Likewise.
25089         [__USE_BSD]: Likewise.
25090         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25091         * io/fcntl.h [__USE_BSD]: Likewise.
25092         * io/ftw.h [__USE_BSD]: Likewise.
25093         * io/sys/stat.h [__USE_BSD]: Likewise.
25094         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25095         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25096         * libio/stdio.h [__USE_SVID]: Likewise.
25097         [__USE_BSD]: Likewise.
25098         * math/math.h [__USE_SVID]: Likewise.
25099         [__USE_BSD]: Likewise.
25100         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25101         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25102         * misc/search.h [__USE_SVID]: Likewise.
25103         * misc/sys/mman.h [__USE_BSD]: Likewise.
25104         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25105         * misc/sys/uio.h [__USE_BSD]: Likewise.
25106         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25107         * posix/glob.h [__USE_BSD]: Likewise.
25108         * posix/regex.h [__USE_BSD]: Likewise.
25109         * posix/sys/types.h [__USE_BSD]: Likewise.
25110         [__USE_SVID]: Likewise.
25111         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25112         * posix/sys/wait.h [__USE_BSD]: Likewise.
25113         [__USE_SVID]: Likewise.
25114         * posix/unistd.h [__USE_BSD]: Likewise.
25115         [__USE_SVID]: Likewise.
25116         * pwd/pwd.h [__USE_SVID]: Likewise.
25117         * resolv/netdb.h [__USE_BSD]: Likewise.
25118         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25119         * signal/signal.h [__USE_BSD]: Likewise.
25120         [__USE_SVID]: Likewise.
25121         * socket/sys/socket.h [__USE_BSD]: Likewise.
25122         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25123         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25124         [__USE_SVID]: Likewise.
25125         * string/bits/string2.h [__USE_BSD]: Likewise.
25126         [__USE_SVID]: Likewise.
25127         * string/bits/string3.h [__USE_BSD]: Likewise.
25128         * string/endian.h [__USE_BSD]: Likewise.
25129         * string/string.h [__USE_SVID]: Likewise.
25130         [__USE_BSD]: Likewise.
25131         * string/strings.h [__USE_BSD]: Likewise.
25132         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25133         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25134         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25135         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25136         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25137         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25138         Likewise.
25139         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25140         Likewise.
25141         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25142         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25143         Likewise.
25144         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25145         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25146         Likewise.
25147         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25148         Likewise.
25149         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25150         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25151         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25152         Likewise.
25153         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25154         Likewise.
25155         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25156         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25157         * termios/termios.h [__USE_BSD]: Likewise.
25158         * time/sys/time.h [__USE_BSD]: Likewise.
25159         * time/time.h [__USE_BSD]: Likewise.
25160         [__USE_SVID]: Likewise.
25162         * Makefile (subdir_targets): Remove subdir_lint.out.
25164         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25165         (do-tst-printf): Likewise.
25166         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25167         $(objpfx)tst-printf.out.
25169         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25171         * Makerules (check-abi-%): Change target to
25172         $(objpfx)check-abi-%.out.
25173         (check-abi target): Update dependencies.
25174         (check-abi-pattern variable): Redirect output of diff to $@.
25175         (check-abi variable): Likewise.
25176         * elf/Makefile (check-abi): Update dependencies.
25178         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25179         unused.
25180         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25181         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25182         subnormal range.
25183         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25184         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25185         value has largest subnormal exponent.
25186         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25187         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25188         * sysdeps/aarch64/soft-fp/sfp-machine.h
25189         (_FP_TININESS_AFTER_ROUNDING): New macro.
25190         * sysdeps/alpha/soft-fp/sfp-machine.h
25191         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25192         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25193         Likewise.
25194         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25196         * sysdeps/mips/soft-fp/sfp-machine.h
25197         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25198         * sysdeps/powerpc/soft-fp/sfp-machine.h
25199         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25200         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25201         Likewise.
25202         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25203         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25204         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25205         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25206         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25207         Likewise.
25209 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25211         [BZ #16545]
25212         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25213         model 1.
25215 2014-02-12  Richard Henderson  <rth@redhat.com>
25217         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25218         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25219         * sysdeps/unix/sysv/linux/alpha: Move directory from
25220         ports/sysdeps/unix/sysv/linux/alpha.
25221         * README: Update listing for alpha-*-linux-gnu.
25223 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25225         * include/features.h: Update comment documenting feature test
25226         macros.
25227         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25228         _DEFAULT_SOURCE.
25229         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25230         (_SVID_SOURCE): Likewise.
25231         (_DEFAULT_SOURCE): Update description of default features.
25232         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25233         with _GNU_SOURCE.
25234         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25235         (S_ISVTX): Likewise.
25236         * manual/math.texi (Mathematical Constants): Likewise.
25237         * manual/signal.texi (Interrupted Primitives): Likewise.
25238         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25239         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25240         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25241         Don't refer to _SVID_SOURCE in warning text.
25243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25245         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25246         already defined.
25247         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25248         * sysdeps/mips/dl-lookup.c: Remove.
25249         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25251 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25253         [BZ #16447]
25254         * math/auto-libm-test-in: Add testcase for expl.
25255         * math/auto-libm-test-out: Regenerate.
25256         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25257         calculation of unsafe.
25258         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25260 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25262         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25263         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25264         ports/sysdeps/unix/sysv/linux/aarch64.
25265         * README: Update listing for aarch64*-*-linux-gnu.
25267 2014-02-11  Will Newton  <will.newton@linaro.org>
25269         * manual/probes.texi (Mathematical Function Probes): Use
25270         "triggered" instead of "hit".
25272         * manual/probes.texi (Internal Probes): Add documentation
25273         of setjmp, longjmp and longjmp_target probes.
25275         * include/stap-probe.h: Add comment about probe argument
25276         format.
25278         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25279         definition.  (tr_where, tr_freehook, tr_mallochook,
25280         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25282 2014-02-11  David S. Miller  <davem@davemloft.net>
25284         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25285         processing int_tests.
25287 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25289         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25290         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25291         * sysdeps/unix/sysv/linux/mips: Move directory from
25292         ports/sysdeps/unix/sysv/linux/mips.
25293         * README: Update listing for mips-*-linux-gnu and
25294         mips64-*-linux-gnu.
25296 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25298         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25299         * sysdeps/unix/sysv/linux/m68k: Move directory from
25300         ports/sysdeps/unix/sysv/linux/m68k.
25301         * README: Update listing for m68k-*-linux-gnu.
25303 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25305         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25306         * sysdeps/unix/sysv/linux/generic: Move directory from
25307         ports/sysdeps/unix/sysv/linux/generic.
25308         * sysdeps/unix/sysv/linux/tile: Move directory from
25309         ports/sysdeps/unix/sysv/linux/tile.
25310         * README: Update listing for tile*-*-linux-gnu.
25312 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25314         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25315         __builtin_expect.
25316         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25317         * catgets/open_catalog.c (__open_catalog): Likewise.
25318         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25319         * debug/confstr_chk.c: Likewise.
25320         * debug/fread_chk.c (__fread_chk): Likewise.
25321         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25322         * debug/getgroups_chk.c: Likewise.
25323         * debug/mbsnrtowcs_chk.c: Likewise.
25324         * debug/mbsrtowcs_chk.c: Likewise.
25325         * debug/mbstowcs_chk.c: Likewise.
25326         * debug/memcpy_chk.c: Likewise.
25327         * debug/memmove_chk.c: Likewise.
25328         * debug/mempcpy_chk.c: Likewise.
25329         * debug/memset_chk.c: Likewise.
25330         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25331         * debug/strcat_chk.c (__strcat_chk): Likewise.
25332         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25333         * debug/strncat_chk.c (__strncat_chk): Likewise.
25334         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25335         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25336         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25337         * debug/wcpncpy_chk.c: Likewise.
25338         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25339         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25340         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25341         * debug/wcsncpy_chk.c: Likewise.
25342         * debug/wcsnrtombs_chk.c: Likewise.
25343         * debug/wcsrtombs_chk.c: Likewise.
25344         * debug/wcstombs_chk.c: Likewise.
25345         * debug/wmemcpy_chk.c: Likewise.
25346         * debug/wmemmove_chk.c: Likewise.
25347         * debug/wmempcpy_chk.c: Likewise.
25348         * debug/wmemset_chk.c: Likewise.
25349         * dirent/scandirat.c (SCANDIRAT): Likewise.
25350         * dlfcn/dladdr1.c (dladdr1): Likewise.
25351         * dlfcn/dladdr.c (dladdr): Likewise.
25352         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25353         * dlfcn/dlerror.c (__dlerror): Likewise.
25354         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25355         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25356         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25357         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25358         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25359         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25360         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25361         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25362         Likewise.
25363         * elf/dl-conflict.c: Likewise.
25364         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25365         * elf/dl-dst.h: Likewise.
25366         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25367         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25368         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25369         * elf/dl-init.c (call_init, _dl_init): Likewise.
25370         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25371         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25372         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25373         Likewise.
25374         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25375         Likewise.
25376         * elf/dl-minimal.c (__libc_memalign): Likewise.
25377         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25378         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25379         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25380         * elf/dl-sym.c (do_sym): Likewise.
25381         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25382         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25383         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25384         * elf/dl-writev.h (_dl_writev): Likewise.
25385         * elf/ldconfig.c (search_dir): Likewise.
25386         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25387         (dl_main): Likewise.
25388         * elf/setup-vdso.h (setup_vdso): Likewise.
25389         * grp/compat-initgroups.c (compat_call): Likewise.
25390         * grp/fgetgrent.c (fgetgrent): Likewise.
25391         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25392         * grp/putgrent.c (putgrent): Likewise.
25393         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25394         Likewise.
25395         * hurd/hurdinit.c: Likewise.
25396         * iconvdata/8bit-gap.c (struct): Likewise.
25397         * iconvdata/ansi_x3.110.c : Likewise.
25398         * iconvdata/big5.c : Likewise.
25399         * iconvdata/big5hkscs.c : Likewise.
25400         * iconvdata/cp1255.c: Likewise.
25401         * iconvdata/cp1258.c : Likewise.
25402         * iconvdata/cp932.c : Likewise.
25403         * iconvdata/euc-cn.c: Likewise.
25404         * iconvdata/euc-jisx0213.c : Likewise.
25405         * iconvdata/euc-jp.c: Likewise.
25406         * iconvdata/euc-jp-ms.c : Likewise.
25407         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25408         * iconvdata/gb18030.c : Likewise.
25409         * iconvdata/gbbig5.c (const): Likewise.
25410         * iconvdata/gbgbk.c: Likewise.
25411         * iconvdata/gbk.c : Likewise.
25412         * iconvdata/ibm1364.c : Likewise.
25413         * iconvdata/ibm930.c : Likewise.
25414         * iconvdata/ibm932.c: Likewise.
25415         * iconvdata/ibm933.c : Likewise.
25416         * iconvdata/ibm935.c : Likewise.
25417         * iconvdata/ibm937.c : Likewise.
25418         * iconvdata/ibm939.c : Likewise.
25419         * iconvdata/ibm943.c: Likewise.
25420         * iconvdata/iso_11548-1.c: Likewise.
25421         * iconvdata/iso-2022-cn.c : Likewise.
25422         * iconvdata/iso-2022-cn-ext.c : Likewise.
25423         * iconvdata/iso-2022-jp-3.c: Likewise.
25424         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25425         * iconvdata/iso-2022-kr.c : Likewise.
25426         * iconvdata/iso646.c (gconv_end): Likewise.
25427         * iconvdata/iso_6937-2.c : Likewise.
25428         * iconvdata/iso_6937.c : Likewise.
25429         * iconvdata/iso8859-1.c: Likewise.
25430         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25431         * iconvdata/shift_jisx0213.c : Likewise.
25432         * iconvdata/sjis.c : Likewise.
25433         * iconvdata/t.61.c : Likewise.
25434         * iconvdata/tcvn5712-1.c : Likewise.
25435         * iconvdata/tscii.c: Likewise.
25436         * iconvdata/uhc.c : Likewise.
25437         * iconvdata/unicode.c (gconv_end): Likewise.
25438         * iconvdata/utf-16.c (gconv_end): Likewise.
25439         * iconvdata/utf-32.c (gconv_end): Likewise.
25440         * iconvdata/utf-7.c (base64): Likewise.
25441         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25442         * iconv/gconv_close.c (__gconv_close): Likewise.
25443         * iconv/gconv_open.c (__gconv_open): Likewise.
25444         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25445         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25446         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25447         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25448         (ucs4le_internal_loop_single): Likewise.
25449         * iconv/iconv.c (iconv): Likewise.
25450         * iconv/iconv_close.c: Likewise.
25451         * iconv/loop.c (SINGLE): Likewise.
25452         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25453         * include/atomic.h: Likewise.
25454         * inet/inet6_option.c (option_alloc): Likewise.
25455         * intl/bindtextdom.c (set_binding_values): Likewise.
25456         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25457         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25458         * intl/localealias.c (read_alias_file): Likewise.
25459         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25460         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25461         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25462         * libio/fmemopen.c (fmemopen): Likewise.
25463         * libio/iofgets.c (_IO_fgets): Likewise.
25464         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25465         * libio/iofgetws.c (fgetws): Likewise.
25466         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25467         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25468         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25469         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25470         * locale/findlocale.c (_nl_find_locale): Likewise.
25471         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25472         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25473         Likewise.
25474         * locale/setlocale.c (setlocale): Likewise.
25475         * login/programs/pt_chown.c (main): Likewise.
25476         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25477         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25478         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25479         (mmap, mmap64, mremap, munmap): Likewise.
25480         * math/e_exp2l.c: Likewise.
25481         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25482         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25483         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25484         * math/s_catan.c (__catan): Likewise.
25485         * math/s_catanf.c (__catanf): Likewise.
25486         * math/s_catanh.c (__catanh): Likewise.
25487         * math/s_catanhf.c (__catanhf): Likewise.
25488         * math/s_catanhl.c (__catanhl): Likewise.
25489         * math/s_catanl.c (__catanl): Likewise.
25490         * math/s_ccosh.c (__ccosh): Likewise.
25491         * math/s_ccoshf.c (__ccoshf): Likewise.
25492         * math/s_ccoshl.c (__ccoshl): Likewise.
25493         * math/s_cexp.c (__cexp): Likewise.
25494         * math/s_cexpf.c (__cexpf): Likewise.
25495         * math/s_cexpl.c (__cexpl): Likewise.
25496         * math/s_clog10.c (__clog10): Likewise.
25497         * math/s_clog10f.c (__clog10f): Likewise.
25498         * math/s_clog10l.c (__clog10l): Likewise.
25499         * math/s_clog.c (__clog): Likewise.
25500         * math/s_clogf.c (__clogf): Likewise.
25501         * math/s_clogl.c (__clogl): Likewise.
25502         * math/s_csin.c (__csin): Likewise.
25503         * math/s_csinf.c (__csinf): Likewise.
25504         * math/s_csinh.c (__csinh): Likewise.
25505         * math/s_csinhf.c (__csinhf): Likewise.
25506         * math/s_csinhl.c (__csinhl): Likewise.
25507         * math/s_csinl.c (__csinl): Likewise.
25508         * math/s_csqrt.c (__csqrt): Likewise.
25509         * math/s_csqrtf.c (__csqrtf): Likewise.
25510         * math/s_csqrtl.c (__csqrtl): Likewise.
25511         * math/s_ctan.c (__ctan): Likewise.
25512         * math/s_ctanf.c (__ctanf): Likewise.
25513         * math/s_ctanh.c (__ctanh): Likewise.
25514         * math/s_ctanhf.c (__ctanhf): Likewise.
25515         * math/s_ctanhl.c (__ctanhl): Likewise.
25516         * math/s_ctanl.c (__ctanl): Likewise.
25517         * math/w_pow.c: Likewise.
25518         * math/w_powf.c: Likewise.
25519         * math/w_powl.c: Likewise.
25520         * math/w_scalb.c (sysv_scalb): Likewise.
25521         * math/w_scalbf.c (sysv_scalbf): Likewise.
25522         * math/w_scalbl.c (sysv_scalbl): Likewise.
25523         * misc/error.c (error_tail): Likewise.
25524         * misc/pselect.c (__pselect): Likewise.
25525         * nis/nis_callback.c (__nis_create_callback): Likewise.
25526         * nis/nis_call.c (__nisfind_server): Likewise.
25527         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25528         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25529         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25530         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25531         * nis/nis_lookup.c (nis_lookup): Likewise.
25532         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25533         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25534         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25535         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25536         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25537         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25538         * nis/nss_compat/compat-initgroups.c (add_group)
25539         (internal_getgrent_r): Likewise.
25540         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25541         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25542         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25543         (internal_getspnam_r): Likewise.
25544         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25545         (_nss_nis_getaliasbyname_r): Likewise.
25546         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25547         (_nss_nis_getntohost_r): Likewise.
25548         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25549         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25550         (_nss_nis_getgrgid_r): Likewise.
25551         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25552         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25553         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25554         (_nss_nis_gethostbyname4_r): Likewise.
25555         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25556         (initgroups_netid): Likewise.
25557         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25558         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25559         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25560         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25561         (_nss_nis_getprotobynumber_r): Likewise.
25562         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25563         (_nss_nis_getsecretkey): Likewise.
25564         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25565         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25566         (_nss_nis_getpwuid_r): Likewise.
25567         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25568         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25569         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25570         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25571         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25572         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25573         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25574         Likewise.
25575         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25576         (_nss_nisplus_getntohost_r): Likewise.
25577         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25578         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25579         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25580         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25581         Likewise.
25582         * nis/nss_nisplus/nisplus-initgroups.c
25583         (_nss_nisplus_initgroups_dyn): Likewise.
25584         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25585         (_nss_nisplus_getnetbyaddr_r): Likewise.
25586         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25587         (_nss_nisplus_getprotobynumber_r): Likewise.
25588         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25589         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25590         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25591         Likewise.
25592         * nis/nss_nisplus/nisplus-service.c
25593         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25594         (_nss_nisplus_getservbyport_r): Likewise.
25595         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25596         (_nss_nisplus_getspnam_r): Likewise.
25597         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25598         Likewise.
25599         * nscd/aicache.c (addhstaiX): Likewise.
25600         * nscd/cache.c (cache_search, prune_cache): Likewise.
25601         * nscd/connections.c (register_traced_file, send_ro_fd)
25602         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25603         (main_loop_epoll): Likewise.
25604         * nscd/grpcache.c (addgrbyX): Likewise.
25605         * nscd/hstcache.c (addhstbyX): Likewise.
25606         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25607         * nscd/mem.c (gc, mempool_alloc): Likewise.
25608         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25609         (addinnetgrX): Likewise.
25610         * nscd/nscd-client.h (__nscd_acquire_maplock)
25611         (__nscd_drop_map_ref): Likewise.
25612         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25613         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25614         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25615         Likewise.
25616         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25617         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25618         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25619         (__nscd_get_map_ref): Likewise.
25620         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25621         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25622         Likewise.
25623         * nscd/pwdcache.c (addpwbyX): Likewise.
25624         * nscd/selinux.c (preserve_capabilities): Likewise.
25625         * nscd/servicescache.c (addservbyX): Likewise.
25626         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25627         * posix/fnmatch.c (fnmatch): Likewise.
25628         * posix/getopt.c (_getopt_internal_r): Likewise.
25629         * posix/glob.c (glob, glob_in_dir): Likewise.
25630         * posix/wordexp.c (exec_comm_child): Likewise.
25631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25632         (getanswer_r, gaih_getanswer_slice): Likewise.
25633         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25634         * resolv/res_init.c: Likewise.
25635         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25636         * resolv/res_query.c (__libc_res_nquery): Likewise.
25637         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25638         Likewise.
25639         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25640         * stdio-common/perror.c (perror): Likewise.
25641         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25642         * stdio-common/tmpnam.c (tmpnam): Likewise.
25643         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25644         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25645         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25646         Likewise.
25647         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25648         * stdlib/putenv.c (putenv): Likewise.
25649         * stdlib/setenv.c (__add_to_environ): Likewise.
25650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25651         * stdlib/strtol_l.c (INTERNAL): Likewise.
25652         * string/memmem.c (memmem): Likewise.
25653         * string/strerror.c (strerror): Likewise.
25654         * string/strnlen.c (__strnlen): Likewise.
25655         * string/test-memmem.c (simple_memmem): Likewise.
25656         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25657         * sunrpc/pm_getport.c (__get_socket): Likewise.
25658         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25659         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25660         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25661         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25662         Likewise.
25663         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25664         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25665         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25666         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25667         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25668         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25669         Likewise.
25670         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25671         Likewise.
25672         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25673         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25674         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25675         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25676         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25678         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25679         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25680         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25681         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25682         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25683         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25684         Likewise.
25685         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25686         Likewise.
25687         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25688         Likewise.
25689         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25690         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25691         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25692         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25693         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25694         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25695         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25698         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25699         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25701         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25702         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25704         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25705         Likewise.
25706         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25707         Likewise.
25708         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25709         Likewise.
25710         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25711         Likewise.
25712         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25714         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25715         Likewise.
25716         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25717         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25718         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25719         * sysdeps/posix/sleep.c: Likewise.
25720         * sysdeps/posix/tempname.c: Likewise.
25721         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25722         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25723         Likewise.
25724         * sysdeps/powerpc/powerpc32/dl-machine.h
25725         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25726         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25728         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25729         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25730         Likewise.
25731         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25732         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25733         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25734         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25735         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25736         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25737         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25738         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25739         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25740         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25742         (elf_machine_lazy_rel): Likewise.
25743         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25745         (elf_machine_lazy_rel): Likewise.
25746         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25747         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25748         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25749         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25750         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25751         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25752         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25754         Likewise.
25755         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25756         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25757         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25758         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25759         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25760         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25761         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25762         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25763         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25764         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25765         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25766         Likewise.
25767         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25768         (__posix_fallocate64_l64): Likewise.
25769         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25770         (posix_fallocate): Likewise.
25771         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25772         Likewise.
25773         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25774         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25775         (getifaddrs_internal): Likewise.
25776         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25777         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25778         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25779         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25780         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25781         (__posix_fallocate64_l64): Likewise.
25782         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25783         Likewise.
25784         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25785         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25786         (__get_clockfreq): Likewise.
25787         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25788         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25789         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25792         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25793         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25794         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25795         Likewise.
25796         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25797         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25798         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25799         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25800         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25801         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25802         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25803         Likewise.
25804         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25805         (posix_fallocate): Likewise.
25806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25807         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25808         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25809         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25810         (elf_machine_rela, elf_machine_rela_relative)
25811         (elf_machine_lazy_rel): Likewise.
25812         * time/asctime.c (asctime_internal): Likewise.
25813         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25814         * time/tzset.c (__tzset_parse_tz): Likewise.
25815         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25816         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25817         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25818         * wcsmbs/wcsmbsload.h: Likewise.
25820         [BZ #15894]
25821         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25823         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25824         (arena_get2): Remove THREAD_STATS conditionals.
25825         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25826         (__malloc_stats, int): Likewise.
25828 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25830         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25831         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25833         * manual/setjmp.texi: Fix typos/grammar errors.
25835         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25836         Only return early when n is <= 0.  Delete unused return statement.
25838         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25839         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25840         * debug/tst-longjmp_chk3.c: New file.
25842         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25843         (test_main): Replace code with set_fortify_handler call.
25844         * debug/test-strcpy_chk.c: Likewise.
25845         * debug/tst-chk1.c: Likewise.
25846         * debug/tst-longjmp_chk.c: Likewise.
25847         * test-skeleton.c: Include fcntl.h & paths.h
25848         (set_fortify_handler): Define.
25850         * debug/tst-longjmp_chk.c: Add header comment and include
25851         ../test-skeleton.c.
25852         (do_test): Mark static.
25853         (TEST_FUNCTION): Define.
25855         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25856         (IP_PMTUDISC_INTERFACE): Likewise.
25857         (IP_MULTICAST_IF): Likewise.
25858         (IP_MULTICAST_TTL): Likewise.
25859         (IP_MULTICAST_LOOP): Likewise.
25860         (IP_ADD_MEMBERSHIP): Likewise.
25861         (IP_DROP_MEMBERSHIP): Likewise.
25862         (IP_UNBLOCK_SOURCE): Likewise.
25863         (IP_BLOCK_SOURCE): Likewise.
25864         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25865         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25866         (IP_MSFILTER): Likewise.
25867         (MCAST_JOIN_GROUP): Likewise.
25868         (MCAST_BLOCK_SOURCE): Likewise.
25869         (MCAST_UNBLOCK_SOURCE): Likewise.
25870         (MCAST_LEAVE_GROUP): Likewise.
25871         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25872         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25873         (MCAST_MSFILTER): Likewise.
25874         (IP_MULTICAST_ALL): Likewise.
25875         (IP_UNICAST_IF): Likewise.
25877         * timezone/Makefile: Delete $(have-ksh) check.
25878         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25879         * timezone/tzselect.ksh: Add +x mode bits.
25881         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25882         (ANON_INODE_FS_MAGIC): Likewise.
25883         (BDEVFS_MAGIC): Likewise.
25884         (BINFMTFS_MAGIC): Likewise.
25885         (BTRFS_TEST_MAGIC): Likewise.
25886         (CRAMFS_MAGIC_WEND): Likewise.
25887         (DEBUGFS_MAGIC): Likewise.
25888         (ECRYPTFS_SUPER_MAGIC): Likewise.
25889         (EXT3_SUPER_MAGIC): Likewise.
25890         (EXT4_SUPER_MAGIC): Likewise.
25891         (FUTEXFS_SUPER_MAGIC): Likewise.
25892         (HOSTFS_SUPER_MAGIC): Likewise.
25893         (HUGETLBFS_MAGIC): Likewise.
25894         (MINIX3_SUPER_MAGIC): Likewise.
25895         (MTD_INODE_FS_MAGIC): Likewise.
25896         (NILFS_SUPER_MAGIC): Likewise.
25897         (OPENPROM_SUPER_MAGIC): Likewise.
25898         (PIPEFS_MAGIC): Likewise.
25899         (PSTOREFS_MAGIC): Likewise.
25900         (QNX6_SUPER_MAGIC): Likewise.
25901         (RAMFS_MAGIC): Likewise.
25902         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25903         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25904         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25905         (SECURITYFS_MAGIC): Likewise.
25906         (SELINUX_MAGIC): Likewise.
25907         (SMACK_MAGIC): Likewise.
25908         (SOCKFS_MAGIC): Likewise.
25909         (SQUASHFS_MAGIC): Likewise.
25910         (STACK_END_MAGIC): Likewise.
25911         (TMPFS_MAGIC): Likewise.
25912         (USBDEVICE_SUPER_MAGIC): Likewise.
25913         (V9FS_MAGIC): Likewise.
25914         (XENFS_SUPER_MAGIC): Likewise.
25915         (CRAMFS_MAGIC): Fix typo in comment.
25916         (EXT2_SUPER_MAGIC): Update comment.
25917         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25919 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25921         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25922         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25923         * sysdeps/unix/sysv/linux/arm: Move directory from
25924         ports/sysdeps/unix/sysv/linux/arm.
25925         * README: Update listing for arm-*-linux-gnueabi.
25927         * README: Remove mention of am33.
25929 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25931         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25932         than the comma operator, to avoid "rhs of comma has no effect"
25933         compiler warnings.
25934         (__sigfillset, __sigandset, __sigorset): Likewise.
25935         * include/signal.h (__sigemptyset): Likewise.
25936         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25938 2014-02-07  Allan McRae  <allan@archlinux.org>
25940         * version.h (RELEASE): Set to "development".
25941         (VERSION): Set to "2.19.90"
25942         * NEWS: Add 2.20 section.
25944 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25946         [BZ #16529]
25947         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25949 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25951         * manual/contrib.texi: Update entry for Carlos O'Donell,
25952         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25954 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25956         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25958         * sysdeps/unix/sysv/linux/kernel-features.h
25959         [__LINUX_KERNEL_VERSION >= 0x020621]
25960         (__ASSUME_PROC_PID_TASK_COMM): Define.
25962 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25964         [BZ #16398]
25965         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25966         conversion when destination buffer does not have enough space.
25967         * libio/tst-ftell-partial-wide.c: New test case.
25968         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25970         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25971         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25972         Leonard and Allan McRae.
25974 2014-02-04  David S. Miller  <davem@davemloft.net>
25976         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25977         32-bit.
25979 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25982         New file
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25984         New file
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25986         New file.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25988         New file.
25989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25990         New file.
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25992         New file.
25993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25994         New file.
25995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25996         New file.
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25998         New file.
25999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26000         New file.
26001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26002         New file.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26004         New file.
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26006         New file.
26008 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26010         * nptl/shlib-versions: Change powerpc*le start to 2.17.
26011         * shlib-versions: Likewise.
26013 2014-02-04  Roland McGrath  <roland@hack.frob.com>
26014             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26016         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26017         (abilist-pattern): New variable, set to %-le.abilist.
26019         * Makerules (abilist-pattern): New variable.
26020         (vpath): Use $(abilist-pattern) in place of %.abilist.
26021         (check-abi-% pattern rule): Likewise.
26022         (check-abi, update-abi): Likewise.
26024 2014-02-04  Eric Wong  <normalperson@yhbt.net>
26026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26028 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
26030         * manual/startup.texi: Add next, previous, and top entries for
26031         the `Program Arguments' and `Environment Variables' nodes.
26033 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
26035         * manual/macros.texi: Add comments before MTASC-safety macros.
26037         * manual/users.texi: Document MTASC-safety properties.
26039         * manual/threads.texi (pthread_key_create, pthread_key_delete)
26040         (pthread_getspecific, pthread_setspecific): Format with
26041         @deftypefun, and add @safety note.
26042         * manual/signal.texi: Move comments that analyze the above
26043         functions to their home place.
26045 2014-02-03  Allan McRae  <allan@archlinux.org>
26047         * po/sl.po: Update Slovenian translation from translation project.
26049 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
26051         * manual/time.texi (timegm): Add missing blank after @c.
26052         Reported by Joseph Myers <joseph@codesourcery.com>.
26054 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
26056         * manual/check-safety.sh: New.
26057         * manual/Makefile ($(objpfx)stamp-summary): Run it.
26059         * manual/terminal.texi: Document MTASC-safety properties.
26061         * manual/filesys.texi: Document MTASC-safety properties.
26063         * manual/errno.texi: Document MTASC-safety properties.
26065         * manual/intro.texi: Document safety identifiers and
26066         conditionals.
26068         * manual/string.texi (wcstok): Fix prototype.
26069         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26071         * manual/time.texi: Document MTASC-safety properties.
26073         * manual/string.texi: Document MTASC-safety properties.
26075         * manual/threads.texi: Document MTASC-safety properties.
26077         * manual/stdio.texi: Document MTASC-safety properties.
26079         * manual/syslog.texi: Document MTASC-safety properties.
26081         * manual/sysinfo.texi: Document MTASC-safety properties.
26083         * manual/startup.texi: Document MTASC-safety properties.
26085         * manual/socket.texi: Document MTASC-safety properties.
26087         * manual/signal.texi: Document MTASC-safety properties.
26089 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26091         * manual/setjmp.texi: Document MTASC-safety properties.
26093         * manual/search.texi: Document MTASC-safety properties.
26095         * manual/resource.texi: Document MTASC-safety properties.
26097         * manual/process.texi: Document MTASC-safety properties.
26099         * manual/platform.texi: Document MTASC-safety properties.
26101         * manual/pipe.texi: Document MTASC-safety properties.
26103         * manual/pattern.texi: Document MTASC-safety properties.
26105         * manual/message.texi: Document MTASC-safety properties.
26107         [BZ #12751]
26108         * manual/memory.texi: Document MTASC-safety properties.
26110         * manual/math.texi: Document MTASC-safety properties.
26112         * manual/locale.texi: Document MTASC-safety properties.
26114         * manual/llio.texi: Document MTASC-safety properties.
26116         * manual/libdl.texi: New.
26118         * manual/lang.texi: Document MTASC-safety properties.
26120         * manual/job.texi: Document MTASC-safety properties.
26122         * manual/getopt.texi: Document MTASC-safety properties.
26124         * manual/ctype.texi: Document MTASC-safety properties.
26126 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26128         [BZ #16046]
26129         * csu/libc-tls.c (static_map): Remove variable.
26130         (__libc_setup_tls): Use main executable's link map for TLS data.
26131         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26132         casing for LM_ID_BASE and GL(dl_nns).
26133         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26134         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26135         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26136         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26137         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26138         member.
26139         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26140         l_phnum members.
26142 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26144         * manual/debug.texi: Document MTASC-safety properties.
26146 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26148         [BZ #16510]
26149         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26150         of __x86_64__ when disabling x87 inline functions.
26152 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26154         * manual/charset.texi: Document MTASC-safety properties.
26156         * manual/crypt.texi: Document MTASC-safety properties.
26158         * manual/conf.texi: Document MTASC-safety properties.
26160         * manual/arith.texi: Document MTASC-safety properties.
26162         * manual/argp.texi: Document MTASC-safety properties.
26164         * manual/macros.texi: Introduce macros to document multi
26165         thread, asynchronous signal and asynchronous cancellation
26166         safety properties.
26167         * manual/intro.texi: Introduce the properties themselves.
26169 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26171         * sysdeps/sh/sh4/Makefile: New file.
26173 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26175         * math/gen-libm-test.pl ($srcdir): New variable.
26176         ($auto_input): Use it.
26178 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26180         [BZ #16506]
26181         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26182         access beyond array bounds when parsing netgroups file.
26184         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26185         the old buffer before realloc.
26187 2014-01-27  Allan McRae  <allan@archlinux.org>
26189         * po/fr.po: Update French translation from translation project.
26191 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26193         * sysdeps/sh/libm-test-ulps: Regenerate.
26195 2014-01-24  David S. Miller  <davem@davemloft.net>
26197         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26199 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26201         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26202         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26204 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26206         [BZ #16474]
26207         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26208         string pointers after reallocation.
26210 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26212         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26213         __SH4A__ instead of __SH_FPU_ANY__.
26215 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26217         * sysdeps/sh/fpu_control.h: New file.
26218         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26219         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26220         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26221         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26222         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26223         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26224         * sysdeps/sh/sys/ucontext.h: Remove.
26225         * sysdeps/sh/sys: Remove directory.
26227 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26229         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26230         s390/sys/ucontext.h.
26231         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26232         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26234 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26236         [BZ #15605]
26237         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26239 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26241         [BZ#16431]
26242         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26243         Adjust the vDSO correctly for internal calls.
26244         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26246 2014-01-20  Allan McRae  <allan@archlinux.org>
26248         * po/ca.po: Update Catalan translation from translation project.
26250 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26252         * sysdeps/s390/sotruss-lib.c: New file.
26254 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26256         [BZ#16430]
26257         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26258         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26259         local calls issues by not having a PLT stub required for IFUNC calls.
26260         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26262 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26264         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26265         * math/test-fpucw-static.c: Likewise.
26267 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26269         [BZ #16453]
26270         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26272 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26274         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26275         implementation for powerpc.
26277 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26279         [BZ #14782]
26280         * sysdeps/posix/system.c (__libc_system): Do not enable
26281         asynchronous cancellation.
26283 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26285         [BZ #16427]
26286         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26287         handling only for numbers special also in the IEEE case.
26289 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26291         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26293 2014-01-11  Allan McRae  <allan@archlinux.org>
26295         * po/bg.po: Update Bulgarian translation from translation project.
26297         * po/de.po: Update German translation from translation project.
26299 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26301         * sysdeps/generic/gcc-compat.h: New file.
26303 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26305         * benchtests/asin-inputs: Correct slow inputs.
26306         * benchtests/acos-inputs: Likewise.
26308 2014-01-10  Allan McRae  <allan@archlinux.org>
26310         * po:sv.po: Update Swedish translation from translation project.
26312         * po/vi.po: Update Vietnamese translation from translation project.
26314         * po/eo.po: Update Esperanto translation from translation project.
26316         * po/cs.po: Update Czech translation from translation project.
26318         * po/nl.po: Update Dutch translation from translation project.
26320         * po/pl.po: Update Polish translation from translation project.
26322         * po/ru.po: Update Russian translation from translation project.
26324         * po/uk.po: Update Ukrainian translation from translation project.
26326 2014-01-08  Brooks Moses  <bmoses@google.com>
26328         * elf/dl-load.c: Fix comment typo.
26330 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26332         * po/header.pot: Rename to...
26333         * po/pot.header: ... this.
26334         * po/Makefile: Use pot.header.
26336 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26337             Maxim Kuvyrkov  <maxim@kugelworks.com>
26339         [BZ #16394]
26340         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26341         SRC and DEST against LEN.
26343 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26345         [BZ #16414]
26346         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26347         implementation.
26348         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26350 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26354 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26356         [BZ #16408]
26357         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26358         for large positive arguments.
26360 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26362         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26364         * math/auto-libm-test-in: Mark various tests with
26365         xfail-rounding:ldbl-128ibm.
26366         * math/auto-libm-test-out: Regenerated.
26368         [BZ #16407]
26369         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26370         Increase overflow threshold.
26372 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26374         [BZ #14286]
26375         * stdio-common/vfprintf.c: Check for integer overflow.
26377 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26379         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26380         the first argument and return value of __tls_get_addr_internal.
26382 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26384         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26385         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26387 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26389         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26390         * sysdeps/s390/rtld-global-offsets.sym: New file.
26391         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26392         GLIBC_2.19 symbol.
26393         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26394         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26395         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26396         ... this.
26397         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26398         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26399         ... this.
26400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26401         Regenerate.
26402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26403         Regenerate.
26404         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26405         halfs of GPRs for high_gprs contexts.
26406         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26407         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26408         field.
26409         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26410         uc_flags field.
26411         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26412         64 bit versions:
26413         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26414         for high GPRs (uc_high_gprs) and for future extensions
26415         (__reserved).
26416         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26417         for future extensions (__reserved).
26418         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26419         64 bit versions:
26420         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26421         SC_HIGHGPRS offset definition.
26422         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26423         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26425         * Versions.def: Add GLIBC_2.19 for libpthread.
26426         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26427         siglongjmp for libpthread with GLIBC_2.19 symver.
26428         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26429         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26430         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26431         * sysdeps/s390/__longjmp.c: New file.
26432         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26433         * sysdeps/s390/longjmp.c: New file.
26434         * sysdeps/s390/setjmp.S: New file.
26435         * sysdeps/s390/sigjmp.S: New file.
26436         * sysdeps/s390/v1-longjmp.c: New file.
26437         * sysdeps/s390/v1-setjmp.h: New file.
26438         * sysdeps/s390/v1-sigjmp.c: New file.
26439         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26440         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26441         GLIBC_2.19 version.
26442         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26443         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26444         versioned symbols for ____longjmp_chk.
26445         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26446         Likewise.
26447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26448         Regenerate.
26449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26450         Regenerate.
26451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26452         Regenerate.
26453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26454         Regenerate.
26455         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26456         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26457         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26458         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26459         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26460         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26461         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26462         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26463         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26464         * sysdeps/s390/rtld-__longjmp.c: New file.
26465         * sysdeps/s390/rtld-setjmp.S: New file.
26467 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26469         [BZ #16400]
26470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26471         Return -__logl (x) for small positive arguments without evaluating
26472         a polynomial.
26474 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26476         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26477         Rename to ...
26478         (__ptrace_peeksiginfo_args): ... this.
26479         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26483 2014-01-06  Allan McRae  <allan@archlinux.org>
26485         * inet/netinet/in.h: Fix typo in comment.
26487 2014-01-05  Andreas Jaeger  <aj@suse.de>
26489         * sysdeps/i386/fpu/libm-test-ulps: Update.
26491 2014-01-05  Allan McRae  <allan@archlinux.org>
26493         * po/libc.pot: Regenerated.
26495         * malloc/memusagestat.c: Fix gettext call formatting.
26497 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26499         * nscd/nscd.c: Improve usage() output.
26501 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26503         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26504         * sysdeps/unix/sysv/linux/configure: Regenerated.
26505         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26506         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26508 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26510         [BZ #16390]
26511         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26512         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26514 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26516         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26517         extra tokens at end of #undef directive.
26518         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26519         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26520         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26522 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26524         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26526         * math/auto-libm-test-in: Mark various tests with
26527         xfail-rounding:ldbl-128ibm.
26528         * math/auto-libm-test-out: Regenerated.
26530 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26532         [BZ #16386]
26533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26534         numbers with subnormal high part when calculating exponent.
26536         [BZ #16385]
26537         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26538         fabs.
26540         [BZ #16384]
26541         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26542         M_LN2l.
26543         (__ieee754_acoshl): Use __log1pl not __log1p.
26545 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26547         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26548         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26549         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26550         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26551         (reused_arena, arena_get2): Convert to GNU style.
26552         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26553         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26554         (memalign_check, __malloc_set_state): Likewise.
26555         * malloc/mallocbug.c (main): Likewise.
26556         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26557         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26558         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26559         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26560         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26561         (__posix_memalign, malloc_info): Likewise.
26562         * malloc/malloc.h: Likewise.
26563         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26564         (mallochook, memalignhook, reallochook, mabort): Likewise.
26565         * malloc/mcheck.h: Likewise.
26566         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26567         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26568         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26569         * malloc/morecore.c (__default_morecore): Likewise.
26570         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26571         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26572         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26573         (print_and_abort): Likewise.
26574         * malloc/obstack.h: Likewise.
26575         * malloc/set-freeres.c (__libc_freeres): Likewise.
26576         * malloc/tst-mallocstate.c (main): Likewise.
26577         * malloc/tst-mtrace.c (main): Likewise.
26578         * malloc/tst-realloc.c (do_test): Likewise.
26580 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26582         [BZ #16366]
26583         * nscd/netgroupcache.c (do_notfound): New function.
26584         (addgetnetgrentX): Use it.
26586         [BZ # 16365]
26587         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26588         NSS_STATUS_NOTFOUND.
26590 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26592         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595 2014-01-01  Allan McRae  <allan@archlinux.org>
26597         * scripts/update-copyrights: Update configure input file suffix.
26599         * NEWS: Update copyright year.
26600         * catgets/gencat.c: Likewise.
26601         * csu/version.c: Likewise.
26602         * debug/catchsegv.sh: Likewise.
26603         * debug/pcprofiledump.c: Likewise.
26604         * debug/xtrace.sh: Likewise.
26605         * elf/ldconfig.c: Likewise.
26606         * elf/ldd.bash.in: Likewise.
26607         * elf/pldd.c: Likewise.
26608         * elf/sotruss.ksh: Likewise.
26609         * elf/sprof.c: Likewise.
26610         * iconv/iconv_prog.c: Likewise.
26611         * iconv/iconvconfig.c: Likewise.
26612         * locale/programs/locale.c: Likewise.
26613         * locale/programs/localedef.c: Likewise.
26614         * login/programs/pt_chown.c: Likewise.
26615         * malloc/memusage.sh: Likewise.
26616         * malloc/memusagestat.c: Likewise.
26617         * malloc/mtrace.pl: Likewise.
26618         * manual/libc.texinfo: Likewise.
26619         * nscd/nscd.c: Likewise.
26620         * nss/getent.c: Likewise.
26621         * nss/makedb.c: Likewise.
26622         * posix/getconf.c: Likewise.
26623         * scripts/test-installation.pl: Likewise.
26625         * All files with FSF copyright notices: Update copyright dates
26626         using scripts/update-copyrights.
26627         * intl/plural.c: Regenerated.
26628         * locale/programs/charmap-kw.h: Likewise.
26629         * locale/programs/locfile-kw.h: Likewise.
26631 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26633         * sysdeps/unix/sysv/linux/configure: Regenerated.
26634         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26635         the linux/fanotify.h header.
26636         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26637         HAVE_LINUX_FANOTIFY_H is defined.
26639 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * benchtests/cos-inputs: New inputs.
26642         * benchtests/sin-inputs: Likewise.
26644         * benchtests/atan-inputs: New inputs. Fix name of multiple
26645         precision fallback inputs.
26647         * benchtests/atanh-inputs: New inputs.
26648         * benchtests/tanh-inputs: Likewise.
26650         * benchtests/acosh-inputs: New inputs.
26651         * benchtests/asinh-inputs: Likewise.
26653         * benchtests/cosh-inputs: New inputs.
26654         * benchtests/sinh-inputs: Likewise.
26656         * benchtests/acos-inputs: Add more inputs.
26657         * benchtests/asin-inputs: Likewise.
26659 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26661         [BZ #16375]
26662         * manual/arith.texi: Fix spelling.
26663         * manual/charset.texi: Likewise.
26664         * manual/errno.texi: Likewise.
26665         * manual/filesys.texi: Likewise.
26666         * manual/lang.texi: Likewise.
26667         * manual/llio.texi: Likewise.
26668         * manual/locale.texi: Likewise.
26669         * manual/message.texi: Likewise.
26670         * manual/resource.texi: Likewise.
26671         * manual/search.texi: Likewise.
26672         * manual/setjmp.texi: Likewise.
26673         * manual/stdio.texi: Likewise.
26674         * manual/string.texi: Likewise.
26675         * manual/sysinfo.texi: Likewise.
26676         * manual/time.texi: Likewise.
26678 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26680         * po/sl.po: New file.
26682 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26684         * .gitignore: Add core/.gdbinit/.gdb_history.
26686 2013-12-27  Allan McRae  <allan@archlinux.org>
26688         [BZ #16369]
26689         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26690         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26692 2013-12-24  Brooks Moses  <bmoses@google.com>
26694         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26695         all compilers that claim C++98 compliance, not just GCC.
26696         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26697         Likewise.
26699 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26701         * NEWS: Restore accidentally deleted bug-fix entries.
26703 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26704             Ondřej Bílka  <neleai@seznam.cz>
26706         [BZ #15073]
26707         * malloc/malloc.c (_int_free): Perform sanity check only if we
26708         have_lock.
26710 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26712         [BZ #12986]
26713         * manual/stdio.texi (String Input Conversions): Clarify that character
26714         classes are not supported.
26716 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26720 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26722         [BZ #16337]
26723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26724         Calculate results for small negative arguments directly rather
26725         than using reflection formula with special underflow handling.
26727         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26728         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26729         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26730         (fchflags): Likewise.
26731         (revoke): Likewise.
26732         (setlogin): Likewise.
26733         (sigaltstack): Likewise.
26734         (wait4): Likewise.
26735         (sigblock): Remove.
26736         (sigsetmask): Likewise.
26737         (wait3): Likewise.
26738         (waitpid): Likewise.
26739         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26740         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26741         file.
26742         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26743         * sysdeps/unix/bsd/Makefile: ... here.
26744         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26745         * sysdeps/unix/bsd/Versions: ... here.
26746         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26747         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26748         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26749         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26750         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26751         * sysdeps/unix/bsd/sigblock.c: ... here.
26752         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26753         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26754         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26755         * sysdeps/unix/bsd/sigvec.c: ... here.
26756         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26757         * sysdeps/unix/bsd/tcdrain.c: ... here.
26758         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26759         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26760         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26761         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26762         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26763         * sysdeps/unix/bsd/wait.c: ... here.
26764         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26765         * sysdeps/unix/bsd/wait3.c: ... here.
26766         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26767         * sysdeps/unix/bsd/waitpid.c: ... here.
26769 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26771         [BZ #16356]
26772         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26773         round-to-nearest for [!USE_AS_EXPM1L].
26774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26775         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26776         more tests of exp and exp10.  Expect some exp10 tests to miss
26777         exceptions or fail in directed rounding modes.
26778         * math/auto-libm-test-out: Regenerated.
26779         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26780         (exp10_test_tonearest): New function.
26781         (exp10_towardzero_test_data): New array.
26782         (exp10_test_towardzero): New function.
26783         (exp10_downward_test_data): New array.
26784         (exp10_test_downward): New function.
26785         (exp10_upward_test_data): New array.
26786         (exp10_test_upward): New function.
26787         (main): Call the new functions.
26788         * sysdeps/i386/fpu/libm-test-ulps: Update.
26789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26791 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26793         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26794         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26795         * math/auto-libm-test-out: Regenerated.
26796         * math/libm-test.inc (acosh_test_data): Add more tests.
26797         (atanh_test_data): Likewise.
26798         (ceil_test_data): Likewise.
26799         (copysign_test_data): Likewise.
26800         * sysdeps/i386/fpu/libm-test-ulps: Update.
26801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26803         * timezone/checktab.awk: Update from tzcode 2013i.
26804         * timezone/private.h: Likewise.
26805         * timezone/scheck.c: Likewise.
26806         * timezone/tzfile.h: Likewise.
26807         * timezone/tzselect.ksh: Likewise.
26808         * timezone/zdump.c: Likewise.
26809         * timezone/zic.c: Likewise.
26811         * math/auto-libm-test-in: Add tests of cpow.
26812         * math/auto-libm-test-out: Regenerated.
26813         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26814         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26815         mpc_cc_c.
26816         (func_calc_desc): Add mpc_cc_c union field.
26817         (test_functions): Add cpow.
26818         (special_fill_2pi): New function.
26819         (special_real_inputs): Add 2pi.
26820         (calc_generic_results): Handle mpc_cc_c.
26821         * sysdeps/i386/fpu/libm-test-ulps: Update.
26822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26824         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26825         csqrt, ctan and ctanh.
26826         * math/auto-libm-test-out: Regenerated.
26827         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26828         (TEST_COND_x86): Likewise.
26829         (ccos_test_data): Use AUTO_TESTS_c_c.
26830         (ccosh_test_data): Likewise.
26831         (cexp_test_data): Likewise.
26832         (clog_test_data): Likewise.
26833         (csqrt_test_data): Likewise.
26834         (ctan_test_data): Likewise.
26835         (ctan_tonearest_test_data): Likewise.
26836         (ctan_towardzero_test_data): Likewise.
26837         (ctan_downward_test_data): Likewise.
26838         (ctan_upward_test_data): Likewise.
26839         (ctanh_test_data): Likewise.
26840         (ctanh_tonearest_test_data): Likewise.
26841         (ctanh_towardzero_test_data): Likewise.
26842         (ctanh_downward_test_data): Likewise.
26843         (ctanh_upward_test_data): Likewise.
26844         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26845         mpc_c_c.
26846         (func_calc_desc): Add mpc_c_c union field.
26847         (FUNC_mpc_c_c): New macro.
26848         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26849         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26850         ctanh.
26851         (special_fill_min_subnorm_p120): New function.
26852         (special_real_inputs): Add min_subnorm_p120.
26853         (calc_generic_results): Handle mpc_c_c.
26854         * sysdeps/i386/fpu/libm-test-ulps: Update.
26855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26857 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26859         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26860         (do_sin_slow): New functions.
26861         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26862         (cslow2, csloww1, csloww2): Use the new functions.
26864         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26865         Use M to change sign of result instead of X.  Assume X is
26866         positive.
26867         (csloww1): Likewise.
26868         (__sin): Adjust.
26869         (__cos): Adjust.
26871         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26872         arguments A and DA.
26873         (__sin): Adjust.
26874         (__cos): Likewise.
26876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26877         (__cos): Likewise.
26878         (sloww1): Don't adjust sign of DX.
26879         (csloww1): Likewise.
26880         (sloww2): Use X directly and don't adjust sign of DX.
26881         (csloww2): Likewise.
26883 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26885         * math/auto-libm-test-in: Add tests of cabs and carg.
26886         * math/auto-libm-test-out: Regenerated.
26887         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26888         (carg_test_data): Likewise.
26889         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26890         mpc_c_f.
26891         (func_calc_desc): Add mpc_c_f union field.
26892         (test_functions): Add cabs and carg.
26893         (calc_generic_results): Handle mpc_c_f.
26895         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26896         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26897         as a macro and a compat symbol.
26898         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26899         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26900         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26901         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26902         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26903         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26904         not use .hidden.
26905         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26906         Likewise.
26907         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26908         Likewise.
26909         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26910         Likewise.
26911         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26912         Likewise.
26913         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26914         Likewise.
26915         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26916         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26917         from GLIBC_2.3.2.
26919 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26923 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26925         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26926         trailing whitespace removed.
26927         * scripts/config.guess: Update to version 2013-11-29.
26928         * scripts/config.sub: Update to version 2013-10-01.
26930         * math/auto-libm-test-in: Add tests of sincos.
26931         * math/auto-libm-test-out: Regenerated.
26932         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26933         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26934         mpfr_f_11.
26935         (func_calc_desc): Add mpfr_f_11 union field.
26936         (test_functions): Add sincos.
26937         (calc_generic_results): Handle mpfr_f_11.
26938         * sysdeps/i386/fpu/libm-test-ulps: Update.
26939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26941 2013-12-19  Andreas Schwab  <schwab@suse.de>
26943         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26944         CALL_MCOUNT.
26945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26946         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26947         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26949 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26951         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26952         * sysdeps/i386/fpu/libm-test-ulps: Update.
26953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26955         [BZ #16293]
26956         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26957         round-to-nearest mode when using frndint.
26958         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26959         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26961         Likewise.
26962         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26963         sinh test to fail.
26964         * math/auto-libm-test-out: Regenerated.
26965         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26966         (TEST_COND_x86): Likewise.
26967         (expm1_tonearest_test_data): New array.
26968         (expm1_test_tonearest): New function.
26969         (expm1_towardzero_test_data): New array.
26970         (expm1_test_towardzero): New function.
26971         (expm1_downward_test_data): New array.
26972         (expm1_test_downward): New function.
26973         (expm1_upward_test_data): New array.
26974         (expm1_test_upward): New function.
26975         (main): Run the new test functions.
26976         * sysdeps/i386/fpu/libm-test-ulps: Update.
26977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26979         * include/features.h: Update comment documenting feature test
26980         macros.  Mention _DEFAULT_SOURCE in comment.
26981         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26982         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26983         _BSD_SOURCE and _SVID_SOURCE.
26984         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26985         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26986         !_SVID_SOURCE]: Likewise.
26987         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26988         (__USE_POSIX_IMPLICITLY): Define.
26989         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26990         (_POSIX_SOURCE): Undefine and redefine.
26991         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26992         (_POSIX_C_SOURCE): Likewise.
26993         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26994         (Feature Test Macros): Update documentation of default features.
26996 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26998         * benchtests/Makefile: Add bench-strtok.
26999         * benchtests/bench-strtok.c: New file: strtok benchtest.
27001 2013-12-19  Allan McRae  <allan@archlinux.org>
27003         * manual/install.texi: Suppress menu for plain text output.
27004         * INSTALL: Regenerated.
27006 2013-12-18  Brooks Moses  <bmoses@google.com>
27008         [BZ #15846]
27009         * misc/getauxval.c: Include errno.h.
27010         (__getauxval): Set errno to ENOENT if the requested type is not
27011         found.
27012         * misc/sys/auxv.h (getauxval): Document that it may set errno;
27013         don't declare with __attribute_const__.
27014         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27015         * manual/startup.texi: Document that getauxval sets errno.
27017 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27019         * math/auto-libm-test-in: Add tests of jn and yn.
27020         * math/auto-libm-test-out: Regenerated.
27021         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27022         (yn_test_data): Likewise.
27023         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27024         mpfr_if_f.
27025         (func_calc_desc): Add mpfr_if_f union field.
27026         (FUNC_mpfr_if_f): New macro.
27027         (test_functions): Add jn and yn.
27028         (calc_generic_results): Assert type of second input for
27029         mpfr_ff_f.  Handle mpfr_if_f.
27030         (output_for_one_input_case): Disable all checking for arguments
27031         fitting floating-point types in case of an integer argument.
27032         * sysdeps/i386/fpu/libm-test-ulps: Update.
27033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27036         Don't expect fegetround reference in libm.so.
27038 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27040         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27041         $(config-cflags-nofma).
27043 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27045         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27046         * math/auto-libm-test-out: Regenerated.
27048         [BZ #16338]
27049         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27050         to determine exponent and adjust argument to have exponent of -1.
27051         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27052         log2.
27053         * math/auto-libm-test-out: Regenerated.
27054         * sysdeps/i386/fpu/libm-test-ulps: Update.
27055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27057 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
27059         * manual/probes.texi: Remove cases when per-thread arenas are
27060         disabled.
27062 2013-12-18  Andreas Schwab  <schwab@suse.de>
27064         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27065         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27066         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27067         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27068         * sysdeps/i386/i686/multiarch/Makefile: Update.
27069         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27071 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27073         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27074         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27076 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27078         [BZ #15968]
27079         Support TZ transition times < 00:00:00.
27080         This is needed for version-3 tz-format files; it supports time
27081         stamps past 2037 for America/Godthab (the only entry in the tz
27082         database for which this change is relevant).
27083         * manual/time.texi (TZ Variable): Document transition times
27084         from -167:59:59 through -00:00:01.
27085         * time/tzset.c (tz_rule): Time of day is now signed.
27086         (__tzset_parse_tz): Parse negative time of day.
27088         Document TZ transition times >= 25:00:00.
27089         * manual/time.texi (TZ Variable): Document transition times from
27090         25:00:00 through 167:59:59.  These are already supported, and this
27091         support will help with version-3 tz-format files.
27093         * manual/time.texi (TZ Variable): Modernize North America example
27094         to reflect current (i.e., 2007-and-later) daylight saving rules.
27096         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27098 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27100         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27101         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27102         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27103         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27104         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27105         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27106         * sysdeps/unix/bsd/clock.c: Likewise.
27107         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27108         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27109         * sysdeps/unix/bsd/init-posix.c: Likewise.
27110         * sysdeps/unix/bsd/poll.c: Likewise.
27111         * sysdeps/unix/bsd/ptsname.c: Likewise.
27112         * sysdeps/unix/bsd/seekdir.c: Likewise.
27113         * sysdeps/unix/bsd/setegid.c: Likewise.
27114         * sysdeps/unix/bsd/seteuid.c: Likewise.
27115         * sysdeps/unix/bsd/setgid.c: Likewise.
27116         * sysdeps/unix/bsd/setrgid.c: Likewise.
27117         * sysdeps/unix/bsd/setruid.c: Likewise.
27118         * sysdeps/unix/bsd/setsid.c: Likewise.
27119         * sysdeps/unix/bsd/setuid.c: Likewise.
27120         * sysdeps/unix/bsd/sigaction.c: Likewise.
27121         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27122         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27123         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27124         * sysdeps/unix/bsd/telldir.c: Likewise.
27125         * sysdeps/unix/bsd/times.c: Likewise.
27126         * sysdeps/unix/bsd/usleep.c: Likewise.
27128         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27129         ($(objpfx)libbsd-compat.a): Remove rule.
27131         * include/features.h (__FAVOR_BSD): Do not define.
27132         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27133         features conflicting with POSIX.
27134         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27135         (_BSD_SOURCE): Remove description of not being a subset of other
27136         feature test macros.
27137         * manual/job.texi (getpgrp): Do not document BSD version.
27138         (getpgid): Do not document by reference to BSD getpgrp.
27139         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27140         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27141         * signal/signal.h [__FAVOR_BSD]: Likewise.
27142         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27143         instead of making contents conditional on [__FAVOR_BSD].
27144         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27146 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27150 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27152         [BZ #16314]
27153         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27154         values below 2**-450, not 2**-500.
27155         * math/auto-libm-test-in: Don't allow spurious underflow from
27156         hypot.
27157         * math/auto-libm-test-out: Regenerated.
27159         [BZ #16316]
27160         [BZ #16330]
27161         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27162         values of ha and hb and sort them after adjusting subnormal
27163         arguments.
27164         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27165         Likewise.
27166         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27167         values of ea and eb and sort them after adjusting subnormal
27168         arguments.
27169         * math/auto-libm-test-in: Do not expect some hypot tests of
27170         subnormals to fail.  Add more hypot tests.
27171         * math/auto-libm-test-out: Regenerated.
27173 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27175         [BZ #13304]
27176         * sysdeps/sh/s_fma.c: New file.
27177         * sysdeps/sh/s_fmaf.c: New file.
27178         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27179         version.
27180         * sysdeps/sh/Implies: Add sh/soft-fp.
27182 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27184         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27185         level of indirection to members `objname', `errstring', `malloced'.
27186         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27187         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27188         it as the __longjmp argument (just pass 1 instead).
27189         (_dl_catch_error): Initialize C with argument pointers and address of
27190         volatile local ERRCODE rather than copying values out of C at return.
27192 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27194         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27195         * math/auto-libm-test-out: Regenerated.
27196         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27197         (hypot_test_data): Likewise.
27198         (pow_test_data): Likewise.
27199         (pow_tonearest_test_data): Likewise.
27200         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27201         mpfr_ff_f.
27202         (func_calc_desc): Add mpfr_ff_f union field.
27203         (FUNC_mpfr_ff_f): New macro.
27204         (test_functions): Add atan2, hypot and pow.
27205         (special_fill_min): New function.
27206         (special_fill_minus_min): Likewise.
27207         (special_fill_min_subnorm): Likewise.
27208         (special_fill_minus_min_subnorm): Likewise.
27209         (special_real_inputs): Add min, -min, min_subnorm and
27210         -min_subnorm.
27211         (calc_generic_results): Handle mpfr_ff_f.
27212         * sysdeps/i386/fpu/libm-test-ulps: Update.
27213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27215 2013-12-16  Will Newton  <will.newton@linaro.org>
27217         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27218         (Aligned Memory Blocks): Add documentation for aligned_alloc
27219         and suggest it as an alternative to posix_memalign.
27220         (Hooks for Malloc): Document __memalign_hook is also called
27221         for aligned_alloc.  (Summary of Malloc): Add summary for
27222         aligned alloc.  Document __memalign_hook is also called
27223         for aligned_alloc.
27225 2013-12-16  Will Newton  <will.newton@linaro.org>
27227         * manual/memory.texi (Malloc Examples): Clarify default
27228         alignment documentation.  Suggest posix_memalign rather
27229         than memalign or valloc.
27230         (Aligned Memory Blocks): Remove suggestion to use memalign
27231         or valloc.  Remove obsolete comment about BSD.
27232         Document memalign errno values and mark the function obsolete.
27233         Document posix_memalign returned error codes.  Mark valloc
27234         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27235         called for posix_memalign and valloc.
27236         (Summary of Malloc): Add posix_memalign to function summary.
27237         __memalign_hook is also called for posix_memalign and valloc.
27239 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27241         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27242         TAYLOR_SIN.
27243         (__sin): Adjust.
27244         (__cos): Likewise.
27245         (sloww): Use mynumber union.  Expand ternary operator into
27246         if-else statements.
27247         (cslow): use mynumber union.
27249 2013-12-16  Allan McRae  <allan@archlinux.org>
27251         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27252         * configure: Regenerated.
27254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27256         [BZ #14120]
27257         * configure.ac: Added --enable-maintainer-mode. Check for
27258         autoconf when enabled.
27259         * configure: Regenerated.
27261         * nscd/nscd.service: New file.
27262         * nscd/nscd.tmpfiles: New file.
27264 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27266         [BZ #12100]
27267         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27268         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27269         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27270         (strstr): Add __strstr_sse2_unaligned ifunc.
27271         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27272         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27273         (strcasestr): Remove __strcasestr_sse42 ifunc.
27274         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27278 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27280         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27281         * sysdeps/sh/bits/fenv.h: ... here.
27282         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27284 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27286         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27289         hypotf multiarch implementations.
27290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27291         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27292         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27293         multiarch hypot for PPC64.
27294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27296         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27297         multiarch hypotf for PPC64.
27299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27300         modff multiarch implementations.
27301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27304         multiarch modf for PPC64.
27305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27308         multiarch modff for PPC64.
27310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27311         and logl multiarch implementations.
27312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27315         multiarch logb for PPC64.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27319         multiarch logb for PPC64.
27320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27323         multiarch logb for PPC64.
27325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27326         isinff multiarch implementation.
27327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27328         file.
27329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27331         multiarch isinf for PPC64.
27332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27333         file.
27334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27335         multiarch isinff for PPC64.
27337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27338         finitef multiarch implementation.
27339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27340         file.
27341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27343         multiarch finite for PPC64.
27344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27345         file.
27346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27347         multiarch finitef for PPC64.
27349         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27350         lrint multiarch implementation.
27351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27352         file.
27353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27355         multiarch llrint for PPC64.
27356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27357         multiarch lrint for PPC64.
27359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27360         copysignf multiarch implementation.
27361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27362         file.
27363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27364         file.
27365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27366         multiarch copysign for PPC64.
27367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27368         multiarch copysignf for PPC64.
27370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27371         multiarch implementation.
27372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27373         file.
27374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27375         file.
27376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27377         file.
27378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27379         file.
27380         multiarch llround for PPC64.
27381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27382         multiarch trunc for PPC64.
27383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27384         multiarch truncf for PPC64.
27386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27387         multiarch implementation.
27388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27389         file.
27390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27391         file.
27392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27393         file.
27394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27395         file.
27396         multiarch llround for PPC64.
27397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27398         multiarch round for PPC64.
27399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27400         multiarch roundf for PPC64.
27402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27403         multiarch implementation.
27404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27405         file.
27406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27407         file.
27408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27409         file.
27410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27411         file.
27412         multiarch llround for PPC64.
27413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27414         multiarch floor for PPC64.
27415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27416         multiarch floorf for PPC64.
27418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27419         multiarch implementation.
27420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27421         file.
27422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27423         file.
27424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27425         file.
27426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27427         file.
27428         multiarch llround for PPC64.
27429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27430         multiarch ceil for PPC64.
27431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27432         multiarch ceilf for PPC64.
27434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27435         multiarch implementation.
27436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27437         file.
27438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27439         file.
27440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27441         file.
27442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27443         multiarch llround for PPC64.
27444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27445         multiarch lround for PPC64.
27447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27448         multiarch implementation.
27449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27452         file.
27453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27456         multiarch isnan for PPC64.
27457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27458         multiarch isnanf for PPC64.
27460         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27461         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27462         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27463         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27464         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27467         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27468         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27469         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27470         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27473         multiarch implementations.
27474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27475         (__libc_ifunc_impl_list): Likewise.
27476         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27477         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27478         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27479         multiarch stpcpy for PPC64.
27481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27482         multiarch implementations.
27483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27484         (__libc_ifunc_impl_list): Likewise.
27485         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27486         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27487         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27488         multiarch strcpy for PPC64.
27490         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27491         redefine function name.
27492         (_wordcopy_fwd_dest_aligned): Likewise.
27493         (_wordcopy_bwd_aligned): Likewise.
27494         (_wordcopy_bwd_dest_aligned): Likewise.
27495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27496         multiarch implementations.
27497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27498         (__libc_ifunc_impl_list): Likewise.
27499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27503         multiarch wcscpy for PPC64.
27505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27506         multiarch implementations.
27507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27508         (__libc_ifunc_impl_list): Likewise.
27509         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27510         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27511         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27512         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27513         multiarch wcscpy for PPC64.
27515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27516         multiarch implementations.
27517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27518         (__libc_ifunc_impl_list): Likewise.
27519         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27520         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27521         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27522         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27523         multiarch wcsrchr for PPC64.
27525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27526         multiarch implementations.
27527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27528         (__libc_ifunc_impl_list): Likewise.
27529         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27530         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27531         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27532         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27533         multiarch wcschr for PPC64.
27535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27536         multiarch implementations.
27537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27538         (__libc_ifunc_impl_list): Likewise.
27539         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27540         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27541         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27542         multiarch strchrnul for PPC64.
27544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27545         implementations.
27546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27547         (__libc_ifunc_impl_list): Likewise.
27548         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27549         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27550         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27551         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27552         strchr for PPC64.
27554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27555         implementations.
27556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27557         (__libc_ifunc_impl_list): Likewise.
27558         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27559         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27560         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27561         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27562         strncmp for PPC64.
27564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27565         multiarch implementations.
27566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27567         (__libc_ifunc_impl_list): Likewise.
27568         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27569         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27570         strncasecmp for PPC64.
27571         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27572         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27573         multiarch strncasecmp_l for PPC64.
27575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27576         multiarch implementations.
27577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27578         (__libc_ifunc_impl_list): Likewise.
27579         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27580         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27581         multiarch strcasecmp for PPC64.
27582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27583         file.
27584         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27585         multiarch strcasecmp_l for PPC64.
27587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27588         implementations.
27589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27590         (__libc_ifunc_impl_list): Likewise.
27591         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27592         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27593         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27594         strnlen for PPC64.
27596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27597         implementations.
27598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27599         (__libc_ifunc_impl_list): Likewise.
27600         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27601         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27602         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27603         strlen for PPC64.
27605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27606         implementations.
27607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27608         (__libc_ifunc_impl_list): Likewise.
27609         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27610         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27611         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27612         rawmemrchr for PPC64.
27614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27615         implementation.
27616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27617         (__libc_ifunc_impl_list): Likewise.
27618         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27619         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27620         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27621         memrchr for PPC64.
27623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27624         implementation.
27625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27626         (__libc_ifunc_impl_list): Likewise.
27627         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27628         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27629         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27630         memchr for PPC64.
27632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27633         implementation.
27634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27635         (__libc_ifunc_impl_list): Likewise.
27636         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27637         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27638         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27639         mempcpy for PPC64.
27641         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27642         avoid cretion of __bzero symbol.
27643         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27644         Likewise.
27645         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27646         Likewise.
27647         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27648         Likewise.
27649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27650         multiarch implementations.
27651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27652         (__libc_ifunc_impl_list): Likewise.
27653         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27654         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27655         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27656         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27657         bzero for PPC32.
27658         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27659         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27660         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27661         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27662         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27663         memset for PPC64.
27664         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27666         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27668         implementations.
27669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27670         (__libc_ifunc_impl_list): Likewise.
27671         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27672         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27673         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27674         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27675         memcmp for PPC64.
27677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27678         multiarch for POWER/PPC64.
27679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27680         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27681         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27682         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27683         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27686         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27687         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27688         memcpy for PPC64.
27690         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27691         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27692         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27693         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27694         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27695         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27696         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27697         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27698         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27699         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27700         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27701         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27702         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27703         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27704         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27713 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27715         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27717 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27719         * benchtests/Makefile (bench): Add exp2 and log2.
27720         (LDLIBS-bench-exp2): Add -lm.
27721         (LDLIBS-bench-log2): Likewise.
27722         * benchtests/exp2-inputs: New inputs file.
27723         * benchtests/log2-inputs: New inputs file.
27724         * benchtests/log-inputs: Add new inputs.
27725         * benchtests/tan-inputs: Likewise.
27727 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27729         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27730         definition...
27731         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27732         (csloww2): ... from here.
27734         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27735         instead of structures.
27736         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27737         (POLYNOMIAL): Likewise.
27738         (TAYLOR_SLOW): Likewise.
27739         (__sin): Likewise.
27740         (__cos): Likewise.
27741         (slow1): Likewise.
27742         (slow2): Likewise.
27743         (sloww): Likewise.
27744         (sloww1); Likewise.
27745         (sloww2): Likewise.
27746         (bsloww1): Likewise.
27747         (bsloww2): Likewise.
27748         (cslow2): Likewise.
27749         (csloww): Likewise.
27750         (csloww1): Likewise.
27751         (csloww2): Likewise.
27753 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27755         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27756         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27757         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27758         * malloc/hooks.c (realloc_check): Likewise.
27760         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27761         * malloc/arena.c: Remove PER_THREAD conditional.
27762         [!PER_THREAD]: Remove code.
27763         (ptmalloc_unlock_all2): Likewise.
27764         (ptmalloc_init): Likewise.
27765         (_int_new_arena): Likewise.
27766         (arena_get2): Likewise.
27767         * malloc/hooks.c (__malloc_get_state): Likewise.
27768         (__malloc_set_state): Likewise.
27769         * malloc/malloc.c: Likewise.
27770         (struct malloc_state): Likewise.
27771         (struct malloc_par): Likewise.
27772         (__libc_realloc): Likewise.
27773         (__libc_mallopt): Likewise.
27775 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27777         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27779 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27781         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27782         macro to a function.  Check for zero perturb_byte.
27783         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27785         * malloc/malloc.c: (force_reg): Remove.
27786         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27787         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27788         force_reg by atomic_forced_read.
27789         * malloc/arena.c (ptmalloc_init): Likewise.
27790         * malloc/hooks.c (top_check): Likewise.
27792 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27796 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27800 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27802         * math/auto-libm-test-in: Add tests of lgamma.
27803         * math/auto-libm-test-out: Regenerated.
27804         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27805         (M_LOG_2_SQRT_PIl): Likewise.
27806         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27807         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27808         mpfr_f_f1.
27809         (func_calc_desc): Add mpfr_f_f1 union field.
27810         (ARGS1): New macro.
27811         (ARGS2): Likewise.
27812         (ARGS3): Likewise.
27813         (ARGS4): Likewise.
27814         (RET1): Likewise.
27815         (RET2): Likewise.
27816         (CALC): Likewise.
27817         (FUNC): Likewise.
27818         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27819         (test_functions): Add lgamma.
27820         (calc_generic_results): Handle mpfr_f_f1.
27821         * sysdeps/i386/fpu/libm-test-ulps: Update.
27822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27824 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27826         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27827         __mpn_add_n for PowerPC64/POWER7.
27828         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27829         __mpn_sub_n for PowerPC64/POWER7.
27831         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27832         __mpn_addmul_1 for PowerPC64.
27833         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27834         __mpn_submul_1 for PowerPC64.
27835         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27836         for PowerPC64.
27837         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27838         for PowerPC64.
27840 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27842         [BZ #15089]
27843         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27845 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27847         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27849         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27850         add multiarch folders.
27851         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27852         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27853         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27854         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27855         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27856         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27857         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27858         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27859         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27860         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27861         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27870         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27872         New file.
27873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27874         New file.
27875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27876         multiarch __ieee754_hypot for PowerPC32.
27877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27878         New file.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27880         New file.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27882         multiarch __ieee754_hypotf for PowerPC32.
27884         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27885         long_double_symbol only if __logbl is defined.
27886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27887         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27889         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27891         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27892         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27893         path for implementation.
27894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27897         logb, and logbl multiarch implementations for PowerPC32.
27898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27899         file.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27901         file.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27903         multiarch logb for PowerPC32.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27905         file.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27907         file.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27909         multiarch logbf for PowerPC32.
27910         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27912         file.
27913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27914         multiarch logbl implementation for PowerPC32.
27916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27917         and modff multiarch implementations.
27918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27919         New file.
27920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27921         New file.
27922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27923         multiarch modf for PowerPC32.
27924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27925         New file.
27926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27927         New file.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27929         multiarch modff for PowerPC32.
27931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27932         and lrintf multiarch implementations.
27933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27934         New file.
27935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27936         New file.
27937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27938         multiarch lrint for PowerPC32.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27940         file: multiarch lrintf for PowerPC32.
27942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27943         and lroundf multiarch implementations.
27944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27945         New file.
27946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27947         New file.
27948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27949         New file.
27950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27951         multiarch lround for PowerPC32.
27952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27953         file: multiarch lroundf for PowerPC32.
27955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27956         copysign and copysignf multiarch implementations.
27957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27958         New file.
27959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27960         New file.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27962         file: multiarch copysign for PowerPC32.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27964         file: multiarch copysignf for PowerPC32.
27966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27967         and truncf multiarch implementations.
27968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27969         New file.
27970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27971         file.
27972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27973         multiarch trunc for PowerPC32.
27974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27975         New file.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27977         New file.
27978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27979         multiarch truncf for PowerPC32.
27981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27982         and roundf multiarch implementations.
27983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27984         New file.
27985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27986         file.
27987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27988         multiarch round for PowerPC32.
27989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27990         New file.
27991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27992         New file.
27993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27994         multiarch roundf for PowerPC32.
27996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27997         and floorf multiarch implementations.
27998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27999         New file.
28000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28001         file.
28002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28003         multiarch floor for PowerPC32.
28004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28005         New file.
28006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28007         New file.
28008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28009         multiarch floorf for PowerPC32.
28011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28012         and ceilf multiarch implementations.
28013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28014         New file.
28015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28016         file.
28017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28018         multiarch ceil for PowerPC32.
28019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28020         New file.
28021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28022         file.
28023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28024         multiarch ceilf for PowerPC32.
28026         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28027         is defined.
28028         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28029         FINITEF is defined.
28030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28031         and finitef multiarch implementations.
28032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28033         New file.
28034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28035         file.
28036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28037         multiarch finite for PowerPC32.
28038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28039         New file.
28040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28041         file: multiarch finitef for PowerPC32.
28043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28044         and isinff multiarch implementations.
28045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28046         file.
28047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28048         file.
28049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28050         multiarch isinf for PowerPC32.
28051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28052         New file.
28053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28054         multiarch isinff for PowerPC32.
28056         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28057         alias when __isnan is defined.
28058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28059         and isnanf multiarch implementations.
28060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28061         file.
28062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28063         file.
28064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28065         file.
28066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28067         file.
28068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28069         multiarch isnan for PowerPC32.
28070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28071         New file.
28072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28073         New file.
28074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28075         multiarch isnanf for PowerPC32.
28077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28078         and sqrtf multiarch implementations.
28079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28080         file.
28081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28082         file.
28083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28084         multiarch sqrt for PowerPC32.
28085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28086         file.
28087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28088         file.
28089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28090         multiarch sqrtf for PowerPC32.
28092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28093         and llroundf multiarch implementations.
28094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28095         New file.
28096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28097         New file.
28098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28099         New file.
28100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28101         file: multiarch llround for PowerPC32.
28102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28103         file: multiarch llroundf for PowerPC32.
28105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28106         multiarch PowerPC32 fpu implementations.
28107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28108         New file.
28109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28110         New file.
28111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28112         multiarch llrint for PowerPC32.
28113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28114         New file.
28115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28116         New file.
28117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28118         file.
28120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28123         file.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28125         file.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28127         file.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28129         multiarch wordcopy for PPC32.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28131         wordcopy objects.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28133         (__libc_ifunc_impl_list): Likewise.
28134         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28135         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28136         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28137         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28138         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28139         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28141         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28143         file.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28145         file.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28147         file.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28149         multiarch wcscpy for PPC32.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28151         multiarch objects.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28153         (__libc_ifunc_impl_list): Likewise.
28154         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28155         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28156         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28157         sysdeps/powerpc/power6/wcscpy.c.
28159         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28161         file.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28163         file.
28164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28165         file.
28166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28167         multiarch wcsrchr for PPC32.
28168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28169         multiarch objects.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28171         (__libc_ifunc_impl_list): Likewise.
28172         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28173         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28174         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28175         sysdeps/powerpc/power6/wcsrchr.c.
28177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28178         file.
28179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28180         file.
28181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28183         multiarch wcschr for PPc32.
28184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28185         multiarch objects.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28187         (__libc_ifunc_impl_list): Likewise.
28188         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28189         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28190         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28191         sysdeps/powerpc/power6/wcschr.c.
28193         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28195         file.
28196         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28197         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28198         file: multiarch strchr for PPC32.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28200         multiarch objects.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28202         (__libc_ifunc_impl_list): Likewise.
28204         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28205         name.
28206         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28207         file.
28208         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28209         file.
28210         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28211         multiarch strchrnul for PPC32.
28212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28213         multiarch objects.
28214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28215         (__libc_ifunc_impl_list): Likewise.
28217         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28218         file.
28219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28220         multiarch strncasecmp for PPC32.
28221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28222         file.
28223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28224         multiarch strncasecmp_l for PPC32.
28225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28226         strncasecmp multiarch objects.
28227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28228         (__libc_ifunc_impl_list): Likewise.
28230         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28231         file.
28232         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28233         multiarch strncasecmp for PPC32.
28234         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28235         New file.
28236         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28237         multiarch strcasecmp_l for PPC32.
28238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28239         multiarch objects.
28240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28241         (__libc_ifunc_impl_list): Likewise.
28243         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28244         file.
28245         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28246         file.
28247         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28248         multiarch strncmp for PPC32.
28249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28250         multiarch objects.
28251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28252         (__libc_ifunc_impl_list): Likewise.
28254         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28255         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28256         file.
28257         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28258         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28260         multiarch objects.
28261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28262         (__libc_ifunc_impl_list): Likewise.
28264         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28265         file.
28266         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28267         file.
28268         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28270         multiarch objects.
28271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28272         (__libc_ifunc_impl_list): Likewise.
28274         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28275         file.
28276         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28277         file.
28278         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28279         multiarch rawmemchr for PPC32.
28280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28281         multiarch objects.
28282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28283         (__libc_ifunc_impl_list): Likewise.
28285         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28286         file.
28287         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28288         file.
28289         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28290         file: memrchr multiarch for PPC32.
28291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28292         multiarch objects.
28293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28294         (__libc_ifunc_impl_list): Likewise.
28296         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28297         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28298         file.
28299         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28300         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28301         multiarch memchr for PPC32.
28302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28303         multiarch objects.
28304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28305         (__libc_ifunc_impl_list): Likewise.
28307         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28308         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28309         file.
28310         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28311         file.
28312         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28313         file: multiarch mempcpy for PPC32.
28314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28315         multiarch objects.
28316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28317         (__libc_ifunc_impl_list): Likewise.
28319         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28320         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28321         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28322         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28323         multiarch bzero for PPC32.
28324         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28325         file.
28326         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28327         file.
28328         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28329         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28330         file: multiarch memset for PPC32.
28331         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28333         memset multiarch objects.
28334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28335         (__libc_ifunc_impl_list): Likewise.
28337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28338         file.
28339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28341         memcmp for PPC32.
28342         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28344         multiarch objects.
28345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28346         (__libc_ifunc_impl_list): Likewise.
28348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28351         file.
28352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28353         file.
28354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28355         file.
28356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28357         multiarch memcpy for PPC32.
28358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28359         multiarch objects.
28360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28361         (__libc_ifunc_impl_list): Likewise.
28363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28364         support multiarch for POWER/PPC32.
28365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28366         Likewise.
28367         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28369         Implies file to make multiarch folder appers before the fpu and
28370         default folder for power4 configuration.
28372 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28374         * scripts/bench.pl: Append volatile keyword to type.
28376 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28378         * sysdeps/sh/sotruss-lib.c: New file.
28379         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28381 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28385 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28387         [BZ #6810]
28388         * math/w_tgamma.c: Include <errno.h>.
28389         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28390         * math/w_tgammaf.c: Include <errno.h>.
28391         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28392         * math/w_tgammal.c: Include <errno.h>.
28393         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28394         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28395         underflow.  Add more tgamma tests.
28396         * math/auto-libm-test-out: Regenerated.
28397         * sysdeps/i386/fpu/libm-test-ulps: Update.
28398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28400         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28401         sin, sinh, tan, tanh, tgamma, y0 and y1.
28402         * math/auto-libm-test-out: Regenerated.
28403         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28404         (TEST_COND_x86): Likewise.
28405         (M_E2l): Remove macro.
28406         (M_E3l): Likewise.
28407         (M_2_SQRT_PIl): Likewise.
28408         (M_SQRT_PIl): Likewise.
28409         (M_1_DIV_El): Likewise.
28410         (log_test_data): Use AUTO_TESTS_f_f.
28411         (log10_test_data): Likewise.
28412         (log1p_test_data): Likewise.
28413         (log2_test_data): Likewise.
28414         (sin_test_data): Likewise.
28415         (sin_tonearest_test_data): Likewise.
28416         (sin_towardzero_test_data): Likewise.
28417         (sin_downward_test_data): Likewise.
28418         (sin_upward_test_data): Likewise.
28419         (sinh_test_data): Likewise.
28420         (sinh_tonearest_test_data): Likewise.
28421         (sinh_towardzero_test_data): Likewise.
28422         (sinh_downward_test_data): Likewise.
28423         (sinh_upward_test_data): Likewise.
28424         (tan_test_data): Likewise.
28425         (tan_tonearest_test_data): Likewise.
28426         (tan_towardzero_test_data): Likewise.
28427         (tan_downward_test_data): Likewise.
28428         (tan_upward_test_data): Likewise.
28429         (tanh_test_data): Likewise.
28430         (tgamma_test_data): Likewise.
28431         (y0_test_data): Likewise.
28432         (y1_test_data): Likewise.
28433         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28434         (special_real_inputs): Add pi/4.
28435         * sysdeps/i386/fpu/libm-test-ulps: Update.
28436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28438 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28440         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28441         "longjmp_target" static probes.
28442         (__longjmp): Rename to __longjmp_symbol.
28443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28444         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28445         on which longjmp to generate.
28446         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28447         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28448         probe.
28449         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28450         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28451         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28452         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28453         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28454         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28456         __longjmp_symbol based on which __longjmp to generate.
28457         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28458         probe.
28459         (setjmp): Rename to setjmp_symbol.
28460         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28461         (_setjmp): Rename to _setjmp_symbol.
28462         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28463         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28464         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28465         which setjmp to generate.
28466         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28467         "longjmp_target" static probes.
28469 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28471         * benchtests/README: Add note about output arguments.
28472         * benchtests/bench-sincos.c: Remove file.
28473         * benchtests/sincos-inputs: New file.
28474         * scripts/bench.pl: Identify output arguments and define
28475         static variables for them.
28477         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28479         [BZ #15941]
28480         * Makefile (INSTALL): Add install-plain.texi as the primary
28481         dependency.
28482         * manual/install-plain.texi: New file.
28483         * manual/install.texi: Include node directive only for
28484         non-plaintext output.
28486 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28488         * stdlib/longlong.h: Update from GCC.
28490         [BZ #6807]
28491         [BZ #15901]
28492         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28493         * math/w_j0f.c (y0f): Likewise.
28494         * math/w_j0l.c (__y0l): Likewise.
28495         * math/w_j1.c (y1): Likewise.
28496         * math/w_j1f.c (y1f): Likewise.
28497         * math/w_j1l.c (__y1l): Likewise
28498         * math/w_jn.c (yn): Likewise.
28499         * math/w_jnf.c (ynf): Likewise.
28500         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28501         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28502         value for Bessel function domain errors outside _SVID_ mode.
28503         Adjust sign of return value for yn (negative integer, 0).
28504         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28505         by zero in return for negative x and set sign appropriately for
28506         negative n.
28507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28508         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28509         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28510         expectations in error cases.
28511         (y1_test_data): Likewise.
28512         (yn_test_data): Likewise.
28513         * sysdeps/i386/fpu/libm-test-ulps: Update.
28514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28516 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28518         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28519         "64" to "64-v1".  Add "64-v2".
28520         (abi-64-options): Rename to ...
28521         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28522         (abi-64-condition): Rename to ...
28523         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28524         (abi-64-ld-soname): Rename to ...
28525         (abi-64-v1-ld-soname): ... this.
28526         (abi-64-v2-options): Define.
28527         (abi-64-v2-condition): Likewise.
28528         (abi-64-v2-ld-soname): Likewise.
28529         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28530         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28535 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28536             Alan Modra  <amodra@gmail.com>
28538         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28539         New versions for use with the ELFv2 ABI.
28540         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28541         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28542         declaration.
28543         (struct La_ppc64v2_retval): Likewise.
28544         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28545         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28546         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28547         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28548         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28549         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28550         Do not save or restore CR.
28551         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28552         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28553         return values for ELFv2 ABI.  Fix location of FPR return registers.
28554         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28555         updated values for _CALL_ELF == 2.
28556         (La_regs, La_retval, int_retval): Likewise.
28558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28560         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28561         (FRAME_MIN_SIZE_PARM): Likewise.
28562         (FRAME_BACKCHAIN): Likewise.
28563         (FRAME_CR_SAVE): Likewise.
28564         (FRAME_LR_SAVE): Likewise.
28565         (FRAME_TOC_SAVE): Likewise.
28566         (FRAME_PARM_SAVE): Likewise.
28567         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28568         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28569         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28570         (call_mcount_parm_offset): New macro.
28571         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28572         (PROF): Use symbolic stack frame offsets.
28573         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28575         Redefine in terms of FRAME_MIN_SIZE.
28576         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28577         (_dl_profile_resolve): Likewise.  Update comment.
28578         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28579         symbols stack frame offsets.
28580         (__sigsetjmp): Likewise.
28581         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28582         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28583         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28584         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28587         (FRAME_BACKCHAIN): Remove.
28588         (FRAME_CR_SAVE): Likewise.
28589         (FRAME_LR_SAVE): Likewise.
28590         (FRAME_COMPILER_DW): Likewise.
28591         (FRAME_LINKER_DW): Likewise.
28592         (FRAME_TOC_SAVE): Likewise.
28593         (FRAME_PARM_SAVE): Likewise.
28594         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28595         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28596         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28598         (CHECK_SP): Use symbolic stack frame offsets.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28600         zone" instead of caller's parameter save area for temp storage.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28602         Likewise.  Also, use symbolic stack frame offsets.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28604         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28605         our own stack frame instead of the caller's.
28606         (__socket): Use symbolic stack frame offsets.
28608 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28609             Alan Modra  <amodra@gmail.com>
28611         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28612         Define.
28613         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28614         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28615         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28616         New function.
28617         (elf_machine_fixup_plt): Call it.
28618         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28619         reloc arguments.
28620         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28621         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28622         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28623         r2 before calling target.
28625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28626             Alan Modra  <amodra@gmail.com>
28628         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28629         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28630         versions of macros to support ELFv2 ABI.
28631         (LOCALENTRY): New macro.
28632         (ENTRY, EALIGN): Use it.
28633         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28634         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28635         fall through into ENTRY entry point.
28636         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28637         Only define if _CALL_ELF != 2.
28639         (elf_machine_matches_host): Verify ABI version matches.
28640         (RTLD_START): Use LOCALENTRY.
28641         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28642         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28643         (PLT_ENTRY_WORDS): New macro.
28644         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28645         (elf_machine_runtime_setup): Support ELFv2 ABI.
28646         (elf_machine_fixup_plt): Likewise.
28647         (elf_machine_plt_conflict): Likewise.
28648         (resolve_ifunc): Likewise.
28649         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28651         Likewise.
28652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28653         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28655         (makecontext): Support ELFv2 ABI.
28656         * elf/elf.h (EF_PPC64_ABI): Define.
28658 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28660         * sysdeps/powerpc/powerpc64/sysdep.h
28661         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28662         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28663         (ENTRY) [ASSEMBLER]: ... but instead here ...
28664         (EALIGN) [ASSEMBLER]: ... and here.
28665         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28666         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28667         (ENTRY_2) [!ASSEMBLER]: Use it.
28668         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28669         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28670         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28671         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28672         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28674         Use PPC64_LOAD_FUNCPTR.
28676         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28678 2013-12-04  Alan Modra  <amodra@gmail.com>
28680         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28681         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28682         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28683         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28686         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28687         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28688         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28689         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28690         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28692 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28695         (__makecontext): Fix incorrect CFI when backtracing out of
28696         context created via makecontext.
28697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28698         (__setcontext): Fix incorrect CFI during switch to new context.
28699         (__novec_setcontext): Likewise.
28701 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28703         [BZ #4772]
28704         * time/strptime_l.c (__strptime_internal): Allow modifiers
28705         in strptime.
28706         * time/tst-strptime.c (day_tests): Add testcase.
28708 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28710         * scripts/bench.pl: Skip over blank lines.
28712 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28714         [BZ #926]
28715         * manual/time.texi (Calendar Time): Clarify what timezone functions
28716         use.
28718 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28722 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28724         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28725         implementation.
28726         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28727         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28728         * debug/memset_chk.c (__memset_chk): Likewise.
28729         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28730         * debug/strncpy_chk.c: Likewise.
28732 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28734         [BZ #15268]
28735         [BZ #15425]
28736         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28737         (__ieee754_exp): For possibly underflowing results, check size of
28738         result and force underflow exception if required.
28739         * math/auto-libm-test-in: Add more tests of exp.
28740         * math/auto-libm-test-out: Regenerated.
28741         * sysdeps/i386/fpu/libm-test-ulps: Update.
28742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28744         [BZ #16283]
28745         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28746         * math/w_exp2f.c (__exp2f): Likewise.
28747         * math/w_exp2l.c (__exp2l): Likewise.
28748         * math/auto-libm-test-in: Do not allow missing errno on exp2
28749         underflow.
28750         * math/auto-libm-test-out: Regenerated.
28752 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28754         [BZ #16274]
28755         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28756         handle filename validation.
28757         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28758         (do_open): Delete.
28760 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28762         [BZ #6786]
28763         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28764         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28765         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28766         <float.h>.
28767         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28769         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28771         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28772         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28773         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28774         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28775         Add more erfc tests.
28776         * math/auto-libm-test-out: Regenerated.
28777         * sysdeps/i386/fpu/libm-test-ulps: Update.
28778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28780         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28781         exp2, expm1, j0 and j1.
28782         * math/auto-libm-test-out: Regenerated.
28783         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28784         (erfc_test_data): Likewise.
28785         (exp_test_data): Likewise.
28786         (exp_tonearest_test_data): Likewise.
28787         (exp_towardzero_test_data): Likewise.
28788         (exp_downward_test_data): Likewise.
28789         (exp_upward_test_data): Likewise.
28790         (exp10_test_data): Likewise.
28791         (exp2_test_data): Likewise.
28792         (expm1_test_data): Likewise.
28793         (j0_test_data): Likewise.
28794         (j1_test_data): Likewise.
28795         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28796         (input_flag_type): Add flag_xfail_rounding.
28797         (input_flags): Add xfail-rounding.
28798         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28799         (output_for_one_input_case): Handle flag_xfail_rounding.
28800         * sysdeps/i386/fpu/libm-test-ulps: Update.
28801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28803 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28805         [BZ #16289]
28806         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28807         division by 0.
28809 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28811         [BZ #16195]
28812         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28813         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28814         (STAP_PROBE0): New macro.
28815         (STAP_PROBE1): Likewise.
28816         (STAP_PROBE2): Likewise.
28817         (STAP_PROBE3): Likewise.
28818         (STAP_PROBE4): Likewise.
28820 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28822         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28824 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28826         * benchtests/Makefile (bench): Add sqrt.
28827         (LDLIBS-bench-sqrt): New.
28828         * benchtests/sqrt-input: New.
28830 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28832         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28833         (GAIH_EAI): Likewise.
28834         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28835         (gaih_inet): Likewise.
28836         (getaddrinfo): Don't use GAIH_EAI.
28838         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28839         (struct gaih): Remove definition.
28841 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28843         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28844         Use HERRNOP directly.
28846 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28850 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28852         * math/gen-auto-libm-tests.c (test_functions): Add more
28853         single-argument functions.
28854         (special_fill_pi_2): New function.
28855         (special_fill_minus_pi_2): Likewise.
28856         (special_fill_pi_6): Likewise.
28857         (special_fill_minus_pi_6): Likewise.
28858         (special_fill_pi_3): Likewise.
28859         (special_fill_2pi_3): Likewise.
28860         (special_fill_e): Likewise.
28861         (special_fill_1_e): Likewise.
28862         (special_fill_e_minus_1): Likewise.
28863         (special_real_inputs): Add more special inputs.
28864         (output_for_one_input_case): Do not require ERANGE on underflow to
28865         zero if round-to-nearest result does not underflow to zero, unless
28866         exact results required.
28867         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28868         atan, atanh, cbrt, cos and cosh.
28869         * math/auto-libm-test-out: Regenerated.
28870         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28871         (acos_tonearest_test_data): Likewise.
28872         (acos_towardzero_test_data): Likewise.
28873         (acos_downward_test_data): Likewise.
28874         (acos_upward_test_data): Likewise.
28875         (acosh_test_data): Likewise.
28876         (asin_test_data): Likewise.
28877         (asin_tonearest_test_data): Likewise.
28878         (asin_towardzero_test_data): Likewise.
28879         (asin_upward_test_data): Likewise.
28880         (asinh_test_data): Likewise.
28881         (atan_test_data): Likewise.
28882         (atanh_test_data): Likewise.
28883         (cbrt_test_data): Likewise.
28884         (cos_test_data): Likewise.
28885         (cos_tonearest_test_data): Likewise.
28886         (cos_towardzero_test_data): Likewise.
28887         (cos_downward_test_data): Likewise.
28888         (cos_upward_test_data): Likewise.
28889         (cosh_test_data): Likewise.
28890         (cosh_tonearest_test_data): Likewise.
28891         (cosh_towardzero_test_data): Likewise.
28892         (cosh_downward_test_data): Likewise.
28893         (cosh_upward_test_data): Likewise.
28894         * sysdeps/i386/fpu/libm-test-ulps: Update.
28895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28897 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28899         [BZ #6787]
28900         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28901         * math/w_exp10f.c (__exp10f): Likewise.
28902         * math/w_exp10l.c (__exp10l): Likewise.
28903         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28904         errno settings in existing tests.
28906         [BZ #14032]
28907         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28908         precision control set to double precision.
28909         * sysdeps/i386/fpu/w_sqrt.c: New file.
28910         * math/auto-libm-test-in: Add more tests.
28911         * math/auto-libm-test-out: Update.
28913         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28914         (sqrt_test_tonearest): New function.
28915         (sqrt_towardzero_test_data): New variable.
28916         (sqrt_test_towardzero): New function.
28917         (sqrt_downward_test_data): New variable.
28918         (sqrt_test_downward): New function.
28919         (sqrt_upward_test_data): New variable.
28920         (sqrt_test_upward): New function.
28921         (main): Call the new functions.
28923         * math/gen-auto-libm-tests.c: New file.
28924         * math/auto-libm-test-in: Likewise.
28925         * math/auto-libm-test-out: New generated file.
28926         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28927         variables.
28928         (%beautify): Add generated representations of zero.
28929         (top level): Set $auto_input and call parse_auto_input.
28930         (beautify): Remove trailing "f" from hex float constants.
28931         (parse_args): Handle XFAIL_TEST.
28932         (convert_condition): New function.
28933         (or_value): Likewise.
28934         (or_cond_value): Likewise.
28935         (generate_testfile): Handle AUTO_TESTS_* lines.
28936         (parse_auto_input): New function.
28937         * math/libm-test.inc (XFAIL_TEST): New macro.
28938         (ERRNO_UNCHANGED): Update value.
28939         (ERRNO_EDOM): Likewise.
28940         (ERRNO_ERANGE): Likewise.
28941         (IGNORE_RESULT): Likewise.
28942         (TEST_COND_flt_32): New macro.
28943         (TEST_COND_dbl_64): Likewise.
28944         (TEST_COND_ldbl_96_intel): Likewise.
28945         (TEST_COND_ldbl_96_m68k): Likewise.
28946         (TEST_COND_ldbl_128): Likewise.
28947         (TEST_COND_ldbl_128ibm): Likewise.
28948         (TEST_COND_long32): Likewise.
28949         (TEST_COND_long64): Likewise.
28950         (TEST_COND_before_rounding): Likewise.
28951         (TEST_COND_after_rounding): Likewise.
28952         (enable_test): Handle XFAIL_TEST flag.
28953         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28954         with finite results.
28955         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28956         auto-libm-test-out.
28958 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28959             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28961         [BZ #16214]
28962         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28963         __tls_get_addr_internal instead of __tls_get_offset in order to
28964         avoid GOT pointer dependency.  Make rtld export
28965         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28966         __tls_get_addr since we are a __tls_get_offset platform.
28967         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28968         GOT pointer being set up before.
28969         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28971 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28973         * manual/math.texi (Errors in Math Functions): Document accuracy
28974         goals.
28976         [BZ #15004]
28977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28978         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28979         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28980         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28981         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28982         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28983         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28984         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28985         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28986         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28987         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28988         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28989         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28994         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28995         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28996         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28997         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28998         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28999         Likewise.
29000         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29001         Likewise.
29002         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29003         Likewise.
29004         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29005         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29006         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29007         atomic-feupdateenv and flt-rounds.
29008         * sysdeps/powerpc/nofpu/Versions (libc): Add
29009         __atomic_feholdexcept, __atomic_feclearexcept,
29010         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29011         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29012         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29013         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29014         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29015         here.
29016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29017         Update.
29019         * manual/arith.texi (FP Exceptions): Document that exceptions may
29020         not be raised when matherr is used.
29021         (Math Error Reporting): Document overflow in directed rounding
29022         modes.  Document that errno may not be set when finite values are
29023         returned on overflow.  Document intent to set errno on underflow
29024         only for underflow to zero.
29026         [BZ #16271]
29027         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29028         round-to-nearest then adjust result for other rounding modes.
29029         * include/fenv.h (fegetround): Use libm_hidden_proto.
29030         * math/fegetround.c (fegetround): Use libm_hidden_def.
29031         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29032         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29033         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29034         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29035         Likewise.
29036         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29037         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29038         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29039         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29041 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29043         [BZ #16077]
29044         * nss/Versions (libnss_files): Add
29045         _nss_files_gethostbyname3_r.
29046         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29047         New function.
29048         (HOST_DB_LOOKUP): Remove macro.
29049         (_nss_files_gethostbyname_r): Implement function without the
29050         HOST_DB_LOOKUP macro.
29051         (_nss_files_gethostbyname2_r): Likewise.
29053 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
29055         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29057 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
29059         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29060         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29061         warning.
29063 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29065         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29066         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29068         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29069         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29070         __fe_nomask_env_priv and attribute_hidden.
29071         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29072         (libc_feupdateenv_test_ppc): Likewise.
29073         (libc_feresetround_ppc): Likewise.
29074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29075         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29076         compat_symbol macro.
29077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29078         (__fe_nomask_env): Likewise.
29079         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29081 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29083         * string/Makefile: Remove ifunc tests.
29084         * string/test-string.h: Define TEST_IFUNC.
29085         * string/test-bcopy-ifunc.c: Remove.
29086         * string/test-bzero-ifunc.c: Likewise.
29087         * string/test-memccpy-ifunc.c: Likewise.
29088         * string/test-memchr-ifunc.c: Likewise.
29089         * string/test-memcmp-ifunc.c: Likewise.
29090         * string/test-memcpy-ifunc.c: Likewise.
29091         * string/test-memmem-ifunc.c: Likewise.
29092         * string/test-memmove-ifunc.c: Likewise.
29093         * string/test-mempcpy-ifunc.c: Likewise.
29094         * string/test-memrchr-ifunc.c: Likewise.
29095         * string/test-memset-ifunc.c: Likewise.
29096         * string/test-rawmemchr-ifunc.c: Likewise.
29097         * string/test-stpcpy-ifunc.c: Likewise.
29098         * string/test-stpncpy-ifunc.c: Likewise.
29099         * string/test-strcasecmp-ifunc.c: Likewise.
29100         * string/test-strcasestr-ifunc.c: Likewise.
29101         * string/test-strcat-ifunc.c: Likewise.
29102         * string/test-strchr-ifunc.c: Likewise.
29103         * string/test-strchrnul-ifunc.c: Likewise.
29104         * string/test-strcmp-ifunc.c: Likewise.
29105         * string/test-strcpy-ifunc.c: Likewise.
29106         * string/test-strcspn-ifunc.c: Likewise.
29107         * string/test-strlen-ifunc.c: Likewise.
29108         * string/test-strncasecmp-ifunc.c: Likewise.
29109         * string/test-strncat-ifunc.c: Likewise.
29110         * string/test-strncmp-ifunc.c: Likewise.
29111         * string/test-strncpy-ifunc.c: Likewise.
29112         * string/test-strnlen-ifunc.c: Likewise.
29113         * string/test-strpbrk-ifunc.c: Likewise.
29114         * string/test-strrchr-ifunc.c: Likewise.
29115         * string/test-strspn-ifunc.c: Likewise.
29116         * string/test-strstr-ifunc.c: Likewise.
29118 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29120         * benchtests/Makefile: Remove ifunc tests.
29121         * benchtests/bench-string.h: Define TEST_IFUNC.
29122         * benchtests/bench-bcopy-ifunc.c: Remove.
29123         * benchtests/bench-bzero-ifunc.c: Likewise.
29124         * benchtests/bench-memccpy-ifunc.c: Likewise.
29125         * benchtests/bench-memchr-ifunc.c: Likewise.
29126         * benchtests/bench-memcmp-ifunc.c: Likewise.
29127         * benchtests/bench-memcpy-ifunc.c: Likewise.
29128         * benchtests/bench-memmem-ifunc.c: Likewise.
29129         * benchtests/bench-memmove-ifunc.c: Likewise.
29130         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29131         * benchtests/bench-memrchr-ifunc.c: Likewise.
29132         * benchtests/bench-memset-ifunc.c: Likewise.
29133         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29134         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29135         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29136         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29137         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29138         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29139         * benchtests/bench-strcat-ifunc.c: Likewise.
29140         * benchtests/bench-strchr-ifunc.c: Likewise.
29141         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29142         * benchtests/bench-strcmp-ifunc.c: Likewise.
29143         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29144         * benchtests/bench-strcpy-ifunc.c: Likewise.
29145         * benchtests/bench-strcspn-ifunc.c: Likewise.
29146         * benchtests/bench-strlen-ifunc.c: Likewise.
29147         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29148         * benchtests/bench-strncat-ifunc.c: Likewise.
29149         * benchtests/bench-strncmp-ifunc.c: Likewise.
29150         * benchtests/bench-strncpy-ifunc.c: Likewise.
29151         * benchtests/bench-strnlen-ifunc.c: Likewise.
29152         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29153         * benchtests/bench-strrchr-ifunc.c: Likewise.
29154         * benchtests/bench-strsep-ifunc.c: Likewise.
29155         * benchtests/bench-strspn-ifunc.c: Likewise.
29156         * benchtests/bench-strstr-ifunc.c: Likewise.
29158 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29160         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29162 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29164         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29165         * rt/aio.h: Likewise.
29166         * sysdeps/gnu/bits/utmp.h: Likewise.
29167         * sysdeps/gnu/bits/utmpx.h: Likewise.
29168         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29169         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29170         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29171         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29172         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29173         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29174         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29175         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29176         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29177         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29178         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29179         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29180         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29182         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29183         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29184         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29185         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29186         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29187         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29188         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29189         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29190         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29191         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29192         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29194         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29195         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29196         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29197         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29198         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29199         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29200         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29201         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29202         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29203         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29204         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29205         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29206         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29207         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29208         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29209         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29211 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29213         [BZ #16245]
29214         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29215         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29217 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29219         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29220         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29221         Likewise.
29223 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29225         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29226         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29227         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29228         (__fesetround): Remove define.
29229         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29230         rounding and exceptions handling.
29231         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29232         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29233         (__fe_nomask_env): Likewise.
29234         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29235         __fegetround instead of fegetround.
29236         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29239 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29241         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29242         it's there.
29244         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29246 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29248         [BZ #11157]
29249         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29250         (encrypt_r): Likewise.
29251         * malloc/obstack.h (obstack_free): Likewise.
29252         * posix/unistd.h (encrypt): Likewise.
29254 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29256         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29257         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29258         DL_CALL_DT_FINI() that call the functions directly.
29259         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29260         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29261         * elf/dl-fini.c: Likewise.
29263 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29265         * malloc/hooks.c (memalign_check): Add alignment rounding.
29266         * malloc/malloc.c (_mid_memalign): New function.
29267         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29268         Implement by calling _mid_memalign.
29269         * manual/probes.texi (Memory Allocation Probes): Remove
29270         memory_valloc_retry and memory_pvalloc_retry.
29272 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29274         * locale/programs/locarchive.c (open_archive): Add const
29275         qualifier to ARCHIVEFNAME and copy default fname to
29276         DEFAULT_FNAME.
29278         [BZ #15601]
29279         * libio/tst-widetext.input: Rename Oriya to Odia.
29280         * locale/iso-639.def: Likewise.
29282         * manual/probes.texi (Mathematical Function Probes): Add
29283         documentation for sin, cos, asin and acos probes.
29284         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29285         (__sin32): Add slowasin probe.
29286         (__cos32): Add slowacos probe.
29287         (__mpsin): Add slowsin probe.
29288         (__mpcos): Add slowcos probe.
29290 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29292         [BZ #15483]
29293         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29294         thread-local __sim_exceptions_thread and global
29295         __sim_exceptions_global.
29296         (__sim_disabled_exceptions): Change to thread-local
29297         __sim_disabled_exceptions_thread and global
29298         __sim_disabled_exceptions_global.
29299         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29300         and global __sim_round_mode_global.
29301         (__simulate_exceptions): Use thread-local floating-point state and
29302         set global state from it as needed.
29303         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29304         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29305         __sim_round_mode_thread.
29306         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29307         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29308         and global __sim_exceptions_global.
29309         (__sim_disabled_exceptions): Change to thread-local
29310         __sim_disabled_exceptions_thread and global
29311         __sim_disabled_exceptions_global.
29312         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29313         and global __sim_round_mode_global.
29314         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29315         (SIM_SET_GLOBAL): Likewise.
29316         * sysdeps/powerpc/soft-fp/sfp-machine.h
29317         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29318         __sim_round_mode_thread.
29319         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29320         __sim_disabled_exceptions_thread.
29321         (__sim_exceptions): Change to __sim_exceptions_thread.
29322         (__sim_disabled_exceptions): Change to
29323         __sim_disabled_exceptions_thread.
29324         (__sim_round_mode): Change to __sim_round_mode_thread.
29325         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29326         thread-local floating-point state and set global state from it as
29327         needed.
29328         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29329         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29330         (__sim_disabled_exceptions): Remove extern declaration.
29331         (feenableexcept): Use thread-local floating-point state and set
29332         global state from it as needed.
29333         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29334         extern declaration.
29335         (__sim_disabled_exceptions): Likewise.
29336         (__sim_round_mode): Likewise.
29337         (__fegetenv): Use thread-local floating-point state.
29338         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29339         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29340         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29341         floating-point state and set global state from it as needed.
29342         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29343         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29344         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29345         Likewise.
29346         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29347         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29348         Likewise.
29349         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29350         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29351         Use __sim_round_mode_thread.
29352         * math/test-fenv-tls.c: New file.
29353         * math/Makefile (tests): Add test-fenv-tls.
29354         ($(objpfx)test-fenv-tls): Depend on
29355         $(common-objpfx)nptl/libpthread.so.
29357 2013-11-19  Andreas Schwab  <schwab@suse.de>
29359         * locale/programs/locale.c (show_info): Decode wordarray elements.
29360         * locale/categories.def (LC_MONETARY): Add element for
29361         _NL_MONETARY_CRNCYSTR.
29362         * locale/C-monetary.c (conversion_rate): New variable.
29363         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29364         element.
29366 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29368         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29369         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29371 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29373         * elf/Makefile (tst-auxv): New test.
29374         * elf/tst-auxv.c: New
29375         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29377 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29379         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29380         (hidden_proto): Caller changed.
29381         (hidden_tls_proto): New macro.
29382         (libc_hidden_tls_proto): Likewise.
29383         (rtld_hidden_tls_proto): Likewise.
29384         (libm_hidden_tls_proto): Likewise.
29385         (libresolv_hidden_tls_proto): Likewise.
29386         (librt_hidden_tls_proto): Likewise.
29387         (libdl_hidden_tls_proto): Likewise.
29388         (libnss_files_hidden_tls_proto): Likewise.
29389         (libnsl_hidden_tls_proto): Likewise.
29390         (libnss_nisplus_hidden_tls_proto): Likewise.
29391         (libutil_hidden_tls_proto): Likewise.
29393 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29395         [BZ #10253]
29396         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29397         (decompose_rpath): Defer expansion to fillin_rpath.
29398         (_dl_init_paths): Pass linkmap to fillin_rpath.
29400 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29402         * benchtests/Makefile: Add strsep.
29403         * benchtests/bench-strsep.c: New file: strsep benchtest.
29404         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29406 2013-11-18  Andreas Schwab  <schwab@suse.de>
29408         * locale/programs/locale.c (show_info) [case byte]: Check for
29409         '\377' instead of '\177'.
29410         * locale/C-monetary.c (not_available): Always use "\377".
29411         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29412         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29413         detect unavailable sign_posn locale elements.
29414         * locale/localeconv.c (__localeconv): For grouping and
29415         mon_grouping handle "\177" and "\377" like no grouping.
29416         (INT_ELEM): New macro.  Use it to set all numeric members.
29417         * locale/programs/ld-monetary.c (monetary_read)
29418         <tok_mon_grouping>: Normalize single -1 to the empty string.
29419         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29420         Likewise.
29422 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29424         [BZ #16055]
29425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29426         when we match (nil).
29427         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29429 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29431         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29432         (NO_TEST_INLINE): Update value.
29433         (ERRNO_UNCHANGED): Likewise.
29434         (ERRNO_EDOM): Likewise.
29435         (ERRNO_ERANGE): Likewise.
29436         (IGNORE_RESULT): Likewise.
29437         (check_float_internal): Check signs of NaN results if
29438         TEST_NAN_SIGN used.
29439         (check_complex): Pass TEST_NAN_SIGN flag through to second
29440         check_float_internal call.
29441         (copysign_test_data): Add tests with quiet NaNs as second
29442         argument.  Use TEST_NAN_SIGN.
29443         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29444         TEST_NAN_SIGN.
29445         (signbit_test_data): Add tests of quiet NaN argument.
29446         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29448         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29449         $ignore_result.
29450         (parse_args): Handle function results specified as IGNORE.
29451         * math/libm-test.inc (IGNORE_RESULT): New macro.
29452         (check_float_internal): Do not check numerical result if flag
29453         IGNORE_RESULT set.
29454         (check_complex): Pass through IGNORE_RESULT to second
29455         check_float_internal call.
29456         (check_int): Do not check numerical result if flag IGNORE_RESULT
29457         set.
29458         (check_long): Likewise.
29459         (check_bool): Likewise.
29460         (check_longlong): Likewise.
29461         (lrint_test_data): Add tests of infinite and NaN arguments.
29462         (lrint_tonearest_test_data): Likewise.
29463         (lrint_towardzero_test_data): Likewise.
29464         (lrint_downward_test_data): Likewise.
29465         (lrint_upward_test_data): Likewise.
29466         (llrint_test_data): Likewise.
29467         (llrint_tonearest_test_data): Likewise.
29468         (llrint_towardzero_test_data): Likewise.
29469         (llrint_downward_test_data): Likewise.
29470         (llrint_upward_test_data): Likewise.
29471         (lround_test_data): Likewise.
29472         (llround_test_data): Likewise.
29474         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29475         (ERRNO_UNCHANGED): Update value.
29476         (ERRNO_EDOM): Likewise.
29477         (ERRNO_ERANGE): Likewise.
29478         (NO_TEST_INLINE_FLOAT): New macro.
29479         (NO_TEST_INLINE_DOUBLE): Likewise.
29480         (enable_test): New function.
29481         (RUN_TEST_f_f): Check enable_test before running test.
29482         (RUN_TEST_2_f): Likewise.
29483         (RUN_TEST_fff_f): Likewise.
29484         (RUN_TEST_c_f): Likewise.
29485         (RUN_TEST_f_f1): Likewise.
29486         (RUN_TEST_fF_f1): Likewise.
29487         (RUN_TEST_fI_f1): Likewise.
29488         (RUN_TEST_ffI_f1): Likewise.
29489         (RUN_TEST_c_c): Likewise.
29490         (RUN_TEST_cc_c): Likewise.
29491         (RUN_TEST_f_i): Likewise.
29492         (RUN_TEST_f_i_tg): Likewise.
29493         (RUN_TEST_ff_i_tg): Likewise.
29494         (RUN_TEST_f_b): Likewise.
29495         (RUN_TEST_f_b_tg): Likewise.
29496         (RUN_TEST_f_l): Likewise.
29497         (RUN_TEST_f_L): Likewise.
29498         (RUN_TEST_fFF_11): Likewise.
29499         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29500         conditionals.
29501         (cosh_test_data): Likewise.
29502         (exp_test_data): Likewise.
29503         (expm1_test_data): Likewise.
29504         (hypot_test_data): Likewise.
29505         (pow_test_data): Likewise.
29506         (sinh_test_data): Likewise.
29507         (tanh_test_data): Likewise.
29508         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29509         flags argument.
29511         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29512         tests with quiet NaN input and output.
29513         (acosh_test_data): Likewise.
29514         (asin_test_data): Likewise.
29515         (asinh_test_data): Likewise.
29516         (atan_test_data): Likewise.
29517         (atanh_test_data): Likewise.
29518         (atan2_test_data): Likewise.
29519         (cbrt_test_data): Likewise.
29520         (cos_test_data): Likewise.
29521         (cosh_test_data): Likewise.
29522         (erf_test_data): Likewise.
29523         (erfc_test_data): Likewise.
29524         (exp_test_data): Likewise.
29525         (exp10_test_data): Likewise.
29526         (exp2_test_data): Likewise.
29527         (expm1_test_data): Likewise.
29528         (hypot_test_data): Likewise.
29529         (j0_test_data): Likewise.
29530         (j1_test_data): Likewise.
29531         (jn_test_data): Likewise.
29532         (lgamma_test_data): Likewise.
29533         (log_test_data): Likewise.
29534         (log10_test_data): Likewise.
29535         (log1p_test_data): Likewise.
29536         (log2_test_data): Likewise.
29537         (pow_test_data): Likewise.
29538         (scalb_test_data): Likewise.
29539         (sin_test_data): Likewise.
29540         (sincos_test_data): Likewise.
29541         (sinh_test_data): Likewise.
29542         (tan_test_data): Likewise.
29543         (tanh_test_data): Likewise.
29544         (tgamma_test_data): Likewise.
29545         (y0_test_data): Likewise.
29546         (y1_test_data): Likewise.
29547         (yn_test_data): Likewise.
29549         [BZ #16167]
29550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29551         argument being NaN and avoid computations with second argument in
29552         that case.
29553         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29554         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29555         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29557 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29559         * locale/iso-639.def: Add Chitwani Tharu (the).
29561 2013-11-14  Andreas Schwab  <schwab@suse.de>
29563         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29564         word instead of empty string.
29566 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29569         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29571         (__fe_nomask_env): Likewise.
29573 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29575         * benchtests/bench-timing.h: Include time.h.
29577 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29579         [BZ #15997]
29580         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29581         to 3.4.0 for x32.
29582         * sysdeps/unix/sysv/linux/configure: Regenerated.
29584 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29586         [BZ #16151]
29587         * stdlib/strtod_l.c (round_and_return): Do not consider
29588         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29589         exponent one less than half the least subnormal exponent.
29590         * stdlib/test-strtod-round-data: Add more tests.
29591         * stdlib/tst-strtod-round.c (tests): Regenerated.
29593 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29595         [BZ #14143]
29596         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29597         (__fe_mask_env): Likewise.
29598         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29599         libm_hidden_proto and add function prototype.
29600         (__fe_mask_env): Add function prototype.
29601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29602         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29604         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29606         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29608 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29610         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29611         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29613 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29615         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29616         of htab_find_slot().
29618 2013-11-11  David S. Miller  <davem@davemloft.net>
29620         [BZ #16150]
29621         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29622         symbol in the non-vis3 case in static builds.
29623         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29624         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29625         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29626         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29628 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29630         [BZ #387]
29631         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29632         it is empty.
29634 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29636         * benchtests/Makefile: Add bench-strtod.
29637         * benchtests/bench-strtod.c: New file: strtod benchtest
29639 2013-11-11  Andreas Schwab  <schwab@suse.de>
29641         [BZ #16153]
29642         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29643         terminating NUL in key length.
29645 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29647         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29648         Add artificial ODP entry for vDSO symbol for PPC64.
29649         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29650         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29652 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29654         [BZ #15374]
29655         * nss/getent.c (services_keys): Recognize services starting with digit.
29657 2013-11-06  David S. Miller  <davem@davemloft.net>
29659         [BZ #15985]
29660         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29661         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29663 2013-11-06  Will Newton  <will.newton@linaro.org>
29665         * manual/memory.texi (Malloc Examples): Remove register
29666         keyword from examples.
29668 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29670         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29672 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29674         [BZ #6981]
29675         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29676         depending on [__GCC_IEC_559 > 0].
29677         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29678         depending on [__GCC_IEC_559_COMPLEX > 0].
29680 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29682         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29683         to iso-639.def.
29685 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29687         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29689 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29691         [BZ #16112]
29692         * malloc/malloc (malloc_info): Do not handle first bin as
29693         special case.
29695 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29697         * locale/iso-639.def: Add Central Nahuatl (nhn).
29699 2013-11-01  Bruno Haible  <bruno@clisp.org>
29701         [BZ #7003]
29702         * manual/math.texi (BSD Random): Specify range upper bound as
29703         in POSIX.
29705 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29707         * locale/iso-639.def: Add Meadow Mari (mhr).
29709 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29711         [BZ #14752], [BZ #15763]
29712         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29713         Validate name.
29714         * rt/tst_shm.c: Add test for escaping directory.
29716 2013-10-31  Andreas Schwab  <schwab@suse.de>
29718         [BZ #15917]
29719         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29720         followed by 'x' as part of digit sequence.
29721         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29723 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29725         [BZ #16037]
29726         * configure.ac: allow GNU Make 4.0 and greater.
29727         * configure: Regenerated.
29729 2013-10-30  Will Newton  <will.newton@linaro.org>
29731         [BZ #16038]
29732         * malloc/hooks.c (memalign_check): Limit alignment to the
29733         maximum representable power of two.
29734         * malloc/malloc.c (__libc_memalign): Likewise.
29735         * malloc/tst-memalign.c (do_test): Add test for very
29736         large alignment values.
29737         * malloc/tst-posix_memalign.c (do_test): Likewise.
29739 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29741         [BZ #11087]
29742         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29743         (munmap_chunk): Likewise.
29744         (mremap_chunk): Likewise.
29746 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29748         [BZ #15799]
29749         * stdlib/div.c (div): Remove obsolete code.
29750         * stdlib/ldiv.c (ldiv): Likewise.
29751         * stdlib/lldiv.c (lldiv): Likewise.
29753 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29755         [BZ #16071]
29756         * nss/nss_files/files-XXX.c (get_contents_ret): New
29757         enumerator.
29758         (get_contents): New function.
29759         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29761 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29763         * configure.in: Moved to ...
29764         * configure.ac: ... here. Change reference to configure.in
29765         to configure.ac.
29766         * sysdeps/arm/preconfigure.ac: ... here.
29767         configure.in to configure.ac.
29768         * sysdeps/gnu/configure.in: Moved to ...
29769         * sysdeps/gnu/configure.ac: ... here.
29770         * sysdeps/i386/configure.in: Moved to ...
29771         * sysdeps/i386/configure.ac: ... here.
29772         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29773         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29774         * sysdeps/mach/configure.in: Moved to ...
29775         * sysdeps/mach/configure.ac: ... here.
29776         * sysdeps/mach/hurd/configure.in: Moved to ...
29777         * sysdeps/mach/hurd/configure.ac: ... here.
29778         * sysdeps/powerpc/configure.in: Moved to ...
29779         * sysdeps/powerpc/configure.ac: ... here.
29780         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29781         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29782         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29783         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29784         * sysdeps/s390/s390-32/configure.in: Moved to ...
29785         * sysdeps/s390/s390-32/configure.ac: ... here.
29786         * sysdeps/s390/s390-64/configure.in: Moved to ...
29787         * sysdeps/s390/s390-64/configure.ac: ... here.
29788         * sysdeps/sh/configure.in: Moved to ...
29789         * sysdeps/sh/configure.ac: ... here.
29790         * sysdeps/sparc/configure.in: Moved to ...
29791         * sysdeps/sparc/configure.ac: ... here.
29792         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29793         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29794         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29795         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29796         * sysdeps/x86_64/configure.in: Moved to ...
29797         * sysdeps/x86_64/configure.ac: ... here.
29798         * sysdeps/x86_64/preconfigure.in: Moved to ...
29799         * sysdeps/x86_64/preconfigure.ac: ... here.
29800         * aclocal.m4: Change reference to configure.in to configure.ac.
29801         * config.h.in: Likewise.
29802         * manual/install.texi: Likewise.
29803         * manual/maint.texi: Likewise.
29804         * Makefile: Likewise.
29805         * malloc/Makefile: Likewise.
29806         * nscd/Makefile: Likewise.
29807         * Makeconfig: Change reference to configure.in and
29808         preconfigure.in to configure.ac and preconfigure.ac
29809         respectively.
29810         * INSTALL: Regenerated.
29811         * configure: Likewise.
29812         * sysdeps/gnu/configure: Likewise.
29813         * sysdeps/i386/configure: Likewise.
29814         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29815         * sysdeps/mach/configure: Likewise.
29816         * sysdeps/mach/hurd/configure: Likewise.
29817         * sysdeps/powerpc/configure: Likewise.
29818         * sysdeps/powerpc/powerpc32/configure: Likewise.
29819         * sysdeps/powerpc/powerpc64/configure: Likewise.
29820         * sysdeps/s390/s390-32/configure: Likewise.
29821         * sysdeps/s390/s390-64/configure: Likewise.
29822         * sysdeps/sh/configure: Likewise.
29823         * sysdeps/sparc/configure: Likewise.
29824         * sysdeps/unix/sysv/linux/configure: Likewise.
29825         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29826         * sysdeps/x86_64/configure: Likewise.
29827         * sysdeps/x86_64/preconfigure: Likewise.
29829 2013-10-29  Andreas Schwab  <schwab@suse.de>
29831         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29833 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29835         * benchtests/pow-inputs: Add new inputs.
29837         * benchtests/exp-inputs: Add new inputs.
29839         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29840         conditional check for return value.
29841         (__cos32): Likewise.
29843 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29845         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29846         to provide a boost for large inputs with word alignment.
29847         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29848         implementation based on optimized PPC64 strcpy.
29849         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29850         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29851         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29852         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29854 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29856         [BZ #2801]
29857         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29859 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29861         [BZ #14876]
29862         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29863         * time/tst-strptime.c (day_tests): Add testcase.
29865 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29867         [BZ #14029]
29868         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29870 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29872         [BZ #16074]
29873         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29874         MAP_FAILED on error.
29876 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29878         [BZ #16072]
29879         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29880         heap for large requests.
29882 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29884         [BZ #9954]
29885         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29886         result if the result has no associated interface.
29887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29888         interface for all 127.X.Y.Z addresses.
29890 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29892         * locale/iso-639.def: Add Ligurian (lij)
29894 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29896         [BZ #15825]
29897         * sunrpc/rpc_main.c: Document rpcgen -5.
29899 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29901         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29903 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29905         [BZ #10278]
29906         * posix/glob.c: Match only directories when trailing slash is present.
29907         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29908         (main): Add testcase.
29910 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29912         [BZ #15670]
29913         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29915 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29917         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29918         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29919         AUTH_DES and cindex for FIPS 140-2.
29920         (DES Encryption): Add cindex FIPS 46-3.
29922         * locale/locarchive.h (struct locarhandle): Add fname.
29923         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29924         if an optional argument was specified to --list-archive,
29925         otherwise NULL.
29926         * locale/programs/locarchive.c (show_archive_content): Take new
29927         argument fname and pass it via ah.fname to open_archive.
29928         * locale/programs/localedef.h: Update decl.
29929         (open_archive): If AH->fname is non-null, open that file
29930         rather than the default file name, and don't ignore ENOENT.
29931         (create_archive): Set AH.fname to NULL.
29932         (delete_locales_from_archive): Likewise.
29933         (add_locales_to_archive): Likewise.
29934         * locale/programs/locfile.c (write_all_categories): Likewise.
29936 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29937             Aldy Hernandez  <aldyh@redhat.com>
29939         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29940         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29941         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29942         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29943         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29945         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29946         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29947         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29948         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29949         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29950         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29951         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29952         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29953         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29954         Likewise.
29955         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29956         Likewise.
29957         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29958         Likewise.
29959         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29960         Likewise.
29961         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29962         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29963         Likewise.
29964         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29965         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29966         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29967         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29968         Likewise.
29969         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29970         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29971         * sysdeps/powerpc/preconfigure: Likewise.
29972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29973         Likewise.
29974         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29975         Replace contents of file by #include of <fenv_libc.h>.
29976         * sysdeps/powerpc/soft-fp/sfp-machine.h
29977         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29978         and <sys/prctl.h>.
29979         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29992         Allow copysignl PLT reference to be missing.
29994 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29995             Joseph Myers  <joseph@codesourcery.com
29997         [BZ #15948]
29998         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29999         single character.
30000         (add_to_tablewc): Assert sequence of wide characters is nonempty.
30002 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30004         * elf/tst-tls-dlinfo.c: Don't include tls.h.
30005         * elf/tst-tls1.c: Likewise.
30006         * elf/tst-tls10.h: Likewise.
30007         * elf/tst-tls14.c: Likewise.
30008         * elf/tst-tls2.c: Likewise.
30009         * elf/tst-tls3.c: Likewise.
30010         * elf/tst-tls4.c: Likewise.
30011         * elf/tst-tls5.c: Likewise.
30012         * elf/tst-tls6.c: Likewise.
30013         * elf/tst-tls7.c: Likewise.
30014         * elf/tst-tls8.c: Likewise.
30015         * elf/tst-tls9.c: Likewise.
30016         * elf/tst-tlsmod1.c: Likewise.
30017         * elf/tst-tlsmod13.c: Likewise.
30018         * elf/tst-tlsmod13a.c: Likewise.
30019         * elf/tst-tlsmod14a.c: Likewise.
30020         * elf/tst-tlsmod16a.c: Likewise.
30021         * elf/tst-tlsmod16b.c: Likewise.
30022         * elf/tst-tlsmod2.c: Likewise.
30023         * elf/tst-tlsmod3.c: Likewise.
30024         * elf/tst-tlsmod4.c: Likewise.
30025         * elf/tst-tlsmod5.c: Likewise.
30026         * elf/tst-tlsmod6.c: Likewise.
30028 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
30030         [BZ #12486]
30031         * malloc/malloc.c: remove checks for statistics.
30033 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30035         [BZ #15277]
30036         * inet/inet_net.c (inet_network): Detect additional invalid strings.
30037         * inet/tst-network.c: Add testcase.
30039 2013-10-17  Andreas Schwab  <schwab@suse.de>
30041         [BZ #15218]
30042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30043         to determine canonical name.
30045 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30047         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30048         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30050         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30052         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30053         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30054         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30055         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30056         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30057         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30058         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30059         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30060         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30061         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30062         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30064         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30065         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30066         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30068         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30069         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30070         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30071         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30072         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30073         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30074         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30075         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30076         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30077         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30079         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30080         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30081         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30082         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30083         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30084         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30085         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30086         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30087         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30088         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30089         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30090         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30091         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30092         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30093         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30094         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30095         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30096         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30097         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30098         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30099         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30100         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30101         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30102         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30103         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30104         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30106 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30108         [BZ #16041]
30109         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30110         make result into a quiet NaN.
30112 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30114         * soft-fp/adddf3.c: Fix horizontal whitespace.
30115         * soft-fp/addsf3.c: Likewise.
30116         * soft-fp/addtf3.c: Likewise.
30117         * soft-fp/divdf3.c: Likewise.
30118         * soft-fp/divsf3.c: Likewise.
30119         * soft-fp/divtf3.c: Likewise.
30120         * soft-fp/double.h: Likewise.
30121         * soft-fp/eqdf2.c: Likewise.
30122         * soft-fp/eqsf2.c: Likewise.
30123         * soft-fp/eqtf2.c: Likewise.
30124         * soft-fp/extenddftf2.c: Likewise.
30125         * soft-fp/extended.h: Likewise.
30126         * soft-fp/extendsfdf2.c: Likewise.
30127         * soft-fp/extendsftf2.c: Likewise.
30128         * soft-fp/extendxftf2.c: Likewise.
30129         * soft-fp/fixdfdi.c: Likewise.
30130         * soft-fp/fixdfsi.c: Likewise.
30131         * soft-fp/fixdfti.c: Likewise.
30132         * soft-fp/fixsfdi.c: Likewise.
30133         * soft-fp/fixsfsi.c: Likewise.
30134         * soft-fp/fixsfti.c: Likewise.
30135         * soft-fp/fixtfdi.c: Likewise.
30136         * soft-fp/fixtfsi.c: Likewise.
30137         * soft-fp/fixtfti.c: Likewise.
30138         * soft-fp/fixunsdfdi.c: Likewise.
30139         * soft-fp/fixunsdfsi.c: Likewise.
30140         * soft-fp/fixunsdfti.c: Likewise.
30141         * soft-fp/fixunssfdi.c: Likewise.
30142         * soft-fp/fixunssfsi.c: Likewise.
30143         * soft-fp/fixunssfti.c: Likewise.
30144         * soft-fp/fixunstfdi.c: Likewise.
30145         * soft-fp/fixunstfsi.c: Likewise.
30146         * soft-fp/fixunstfti.c: Likewise.
30147         * soft-fp/floatdidf.c: Likewise.
30148         * soft-fp/floatdisf.c: Likewise.
30149         * soft-fp/floatditf.c: Likewise.
30150         * soft-fp/floatsidf.c: Likewise.
30151         * soft-fp/floatsisf.c: Likewise.
30152         * soft-fp/floatsitf.c: Likewise.
30153         * soft-fp/floattidf.c: Likewise.
30154         * soft-fp/floattisf.c: Likewise.
30155         * soft-fp/floattitf.c: Likewise.
30156         * soft-fp/floatundidf.c: Likewise.
30157         * soft-fp/floatundisf.c: Likewise.
30158         * soft-fp/floatunditf.c: Likewise.
30159         * soft-fp/floatunsidf.c: Likewise.
30160         * soft-fp/floatunsisf.c: Likewise.
30161         * soft-fp/floatunsitf.c: Likewise.
30162         * soft-fp/floatuntidf.c: Likewise.
30163         * soft-fp/floatuntisf.c: Likewise.
30164         * soft-fp/floatuntitf.c: Likewise.
30165         * soft-fp/fmadf4.c: Likewise.
30166         * soft-fp/fmasf4.c: Likewise.
30167         * soft-fp/fmatf4.c: Likewise.
30168         * soft-fp/gedf2.c: Likewise.
30169         * soft-fp/gesf2.c: Likewise.
30170         * soft-fp/getf2.c: Likewise.
30171         * soft-fp/ledf2.c: Likewise.
30172         * soft-fp/lesf2.c: Likewise.
30173         * soft-fp/letf2.c: Likewise.
30174         * soft-fp/muldf3.c: Likewise.
30175         * soft-fp/mulsf3.c: Likewise.
30176         * soft-fp/multf3.c: Likewise.
30177         * soft-fp/negdf2.c: Likewise.
30178         * soft-fp/negsf2.c: Likewise.
30179         * soft-fp/negtf2.c: Likewise.
30180         * soft-fp/op-1.h: Likewise.
30181         * soft-fp/op-2.h: Likewise.
30182         * soft-fp/op-4.h: Likewise.
30183         * soft-fp/op-8.h: Likewise.
30184         * soft-fp/op-common.h: Likewise.
30185         * soft-fp/quad.h: Likewise.
30186         * soft-fp/single.h: Likewise.
30187         * soft-fp/soft-fp.h: Likewise.
30188         * soft-fp/sqrtdf2.c: Likewise.
30189         * soft-fp/sqrtsf2.c: Likewise.
30190         * soft-fp/sqrttf2.c: Likewise.
30191         * soft-fp/subdf3.c: Likewise.
30192         * soft-fp/subsf3.c: Likewise.
30193         * soft-fp/subtf3.c: Likewise.
30194         * soft-fp/truncdfsf2.c: Likewise.
30195         * soft-fp/trunctfdf2.c: Likewise.
30196         * soft-fp/trunctfsf2.c: Likewise.
30197         * soft-fp/trunctfxf2.c: Likewise.
30198         * soft-fp/unorddf2.c: Likewise.
30199         * soft-fp/unordsf2.c: Likewise.
30200         * soft-fp/unordtf2.c: Likewise.
30202 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30204         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30205         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30207 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30209         * elf/dl-libc.c: Clear initfini list after freeing.
30211 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30213         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30214         * soft-fp/addsf3.c: Likewise.
30215         * soft-fp/addtf3.c: Likewise.
30216         * soft-fp/divdf3.c: Likewise.
30217         * soft-fp/divsf3.c: Likewise.
30218         * soft-fp/divtf3.c: Likewise.
30219         * soft-fp/double.h: Likewise.
30220         * soft-fp/eqdf2.c: Likewise.
30221         * soft-fp/eqsf2.c: Likewise.
30222         * soft-fp/eqtf2.c: Likewise.
30223         * soft-fp/extenddftf2.c: Likewise.
30224         * soft-fp/extended.h: Likewise.
30225         * soft-fp/extendsfdf2.c: Likewise.
30226         * soft-fp/extendsftf2.c: Likewise.
30227         * soft-fp/extendxftf2.c: Likewise.
30228         * soft-fp/fixdfdi.c: Likewise.
30229         * soft-fp/fixdfsi.c: Likewise.
30230         * soft-fp/fixdfti.c: Likewise.
30231         * soft-fp/fixsfdi.c: Likewise.
30232         * soft-fp/fixsfsi.c: Likewise.
30233         * soft-fp/fixsfti.c: Likewise.
30234         * soft-fp/fixtfdi.c: Likewise.
30235         * soft-fp/fixtfsi.c: Likewise.
30236         * soft-fp/fixtfti.c: Likewise.
30237         * soft-fp/fixunsdfdi.c: Likewise.
30238         * soft-fp/fixunsdfsi.c: Likewise.
30239         * soft-fp/fixunsdfti.c: Likewise.
30240         * soft-fp/fixunssfdi.c: Likewise.
30241         * soft-fp/fixunssfsi.c: Likewise.
30242         * soft-fp/fixunssfti.c: Likewise.
30243         * soft-fp/fixunstfdi.c: Likewise.
30244         * soft-fp/fixunstfsi.c: Likewise.
30245         * soft-fp/fixunstfti.c: Likewise.
30246         * soft-fp/floatdidf.c: Likewise.
30247         * soft-fp/floatdisf.c: Likewise.
30248         * soft-fp/floatditf.c: Likewise.
30249         * soft-fp/floatsidf.c: Likewise.
30250         * soft-fp/floatsisf.c: Likewise.
30251         * soft-fp/floatsitf.c: Likewise.
30252         * soft-fp/floattidf.c: Likewise.
30253         * soft-fp/floattisf.c: Likewise.
30254         * soft-fp/floattitf.c: Likewise.
30255         * soft-fp/floatundidf.c: Likewise.
30256         * soft-fp/floatundisf.c: Likewise.
30257         * soft-fp/floatunsidf.c: Likewise.
30258         * soft-fp/floatunsisf.c: Likewise.
30259         * soft-fp/floatuntidf.c: Likewise.
30260         * soft-fp/floatuntisf.c: Likewise.
30261         * soft-fp/floatuntitf.c: Likewise.
30262         * soft-fp/fmadf4.c: Likewise.
30263         * soft-fp/fmasf4.c: Likewise.
30264         * soft-fp/fmatf4.c: Likewise.
30265         * soft-fp/gedf2.c: Likewise.
30266         * soft-fp/gesf2.c: Likewise.
30267         * soft-fp/getf2.c: Likewise.
30268         * soft-fp/ledf2.c: Likewise.
30269         * soft-fp/lesf2.c: Likewise.
30270         * soft-fp/letf2.c: Likewise.
30271         * soft-fp/muldf3.c: Likewise.
30272         * soft-fp/mulsf3.c: Likewise.
30273         * soft-fp/multf3.c: Likewise.
30274         * soft-fp/negdf2.c: Likewise.
30275         * soft-fp/negsf2.c: Likewise.
30276         * soft-fp/negtf2.c: Likewise.
30277         * soft-fp/op-1.h: Likewise.
30278         * soft-fp/op-2.h: Likewise.
30279         * soft-fp/op-4.h: Likewise.
30280         * soft-fp/op-8.h: Likewise.
30281         * soft-fp/op-common.h: Likewise.
30282         * soft-fp/quad.h: Likewise.
30283         * soft-fp/single.h: Likewise.
30284         * soft-fp/soft-fp.h: Likewise.
30285         * soft-fp/sqrtdf2.c: Likewise.
30286         * soft-fp/sqrtsf2.c: Likewise.
30287         * soft-fp/sqrttf2.c: Likewise.
30288         * soft-fp/subdf3.c: Likewise.
30289         * soft-fp/subsf3.c: Likewise.
30290         * soft-fp/subtf3.c: Likewise.
30291         * soft-fp/truncdfsf2.c: Likewise.
30292         * soft-fp/trunctfdf2.c: Likewise.
30293         * soft-fp/trunctfsf2.c: Likewise.
30294         * soft-fp/trunctfxf2.c: Likewise.
30295         * soft-fp/unorddf2.c: Likewise.
30296         * soft-fp/unordsf2.c: Likewise.
30297         * soft-fp/unordtf2.c: Likewise.
30299 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30301         [BZ #15672]
30302         * misc/error.c (error_tail): Fix possible buffer overflow.
30304 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30306         [BZ #13028]
30307         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30308         address.
30310 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30312         [BZ #832]
30313         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30314         testing pipefail option.
30316 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30318         * soft-fp/double.h: Indent preprocessor directives inside #if.
30319         * soft-fp/extended.h: Likewise.
30320         * soft-fp/op-2.h: Likewise.
30321         * soft-fp/op-4.h: Likewise.
30322         * soft-fp/op-common.h: Likewise.
30323         * soft-fp/quad.h: Likewise.
30324         * soft-fp/single.h: Likewise.
30325         * soft-fp/soft-fp.h: Likewise.
30327 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30329         * iconv/iconv_prog.c: Fix typos.
30330         * stdio-common/psiginfo-data.h: Likewise.
30332 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30334         [BZ #15764]
30335         * locale/setlocale.c: Fix typo.
30337 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30339         [BZ #16036]
30340         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30341         signaling NaN arguments.
30342         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30343         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30345         [BZ #14910]
30346         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30347         unordered operands.
30348         * soft-fp/gesf2.c (__gesf2): Likewise.
30349         * soft-fp/getf2.c (__getf2): Likewise.
30350         * soft-fp/ledf2.c (__ledf2): Likewise.
30351         * soft-fp/lesf2.c (__lesf2): Likewise.
30352         * soft-fp/letf2.c (__letf2): Likewise.
30354         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30355         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30356         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30357         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30358         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30359         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30360         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30361         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30362         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30363         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30364         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30365         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30366         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30367         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30368         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30369         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30370         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30371         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30372         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30373         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30374         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30375         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30376         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30377         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30378         * soft-fp/floattidf.c (__floattidf): Likewise.
30379         * soft-fp/floattisf.c (__floattisf): Likewise.
30380         * soft-fp/floattitf.c (__floattitf): Likewise.
30381         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30382         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30383         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30384         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30385         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30386         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30387         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30388         * soft-fp/gesf2.c (__gesf2): Likewise.
30389         * soft-fp/getf2.c (__getf2): Likewise.
30390         * soft-fp/ledf2.c (__ledf2): Likewise.
30391         * soft-fp/lesf2.c (__lesf2): Likewise.
30392         * soft-fp/letf2.c (__letf2): Likewise.
30394         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30395         Undefine and redefine.
30396         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30397         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30398         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30399         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30400         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30401         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30402         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30403         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30404         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30405         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30406         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30407         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30408         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30409         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30410         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30412         [BZ #16032]
30413         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30414         without decrementing exponent if mantissa >= that for the
30415         denominator, not >.
30416         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30417         denominator, not >.  Decrement exponent in < case instead of
30418         incrementing in >= case.
30419         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30420         without decrementing exponent if mantissa >= that for the
30421         denominator, not >.
30423         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30424         computing saturated result for unsigned overflow.
30426 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30427             Jeff Law  <law@redhat.com>
30429         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30430         (atan2Mp): Add systemtap probe marker.
30431         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30432         (__ieee754_log): Add systemtap probe marker.
30433         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30434         (atanMp): Add systemtap probe marker.
30435         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30436         (tanMp): Add systemtap probe marker.
30437         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30438         (__slowexp): Add systemtap probe marker.
30439         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30440         (__slowpow): Add systemtap probe marker.
30441         * manual/probes.texi: Document probes.
30443 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30445         [BZ #15362]
30446         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30447         written.
30448         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30449         written.
30450         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30451         written to buffer but not flushed.
30452         * libio/iofwrite_u.c:  Likewise.
30453         * libio/iopadn.c:  Return bytes returned even if EOF was
30454         encountered.
30455         * libio/iowpadn.c:  Likewise.
30456         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30457         if _IO_padn does not write the whole buffer.
30458         [!COMPILE_WPRINTF] (PAD): Likewise.
30460 2013-10-10  David S. Miller  <davem@davemloft.net>
30462         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30463         directory block.
30465 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30467         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30468         instead of FSF address.
30469         * soft-fp/fixdfti.c: Likewise.
30470         * soft-fp/fixsfti.c: Likewise.
30471         * soft-fp/fixtfti.c: Likewise.
30472         * soft-fp/fixunsdfti.c: Likewise.
30473         * soft-fp/fixunssfti.c: Likewise.
30474         * soft-fp/fixunstfti.c: Likewise.
30475         * soft-fp/floattidf.c: Likewise.
30476         * soft-fp/floattisf.c: Likewise.
30477         * soft-fp/floattitf.c: Likewise.
30478         * soft-fp/floatuntidf.c: Likewise.
30479         * soft-fp/floatuntisf.c: Likewise.
30480         * soft-fp/floatuntitf.c: Likewise.
30481         * soft-fp/trunctfxf2.c: Likewise.
30483         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30484         * soft-fp/fixdfti.c: Likewise.
30485         * soft-fp/fixsfti.c: Likewise.
30486         * soft-fp/fixtfti.c: Likewise.
30487         * soft-fp/fixunsdfti.c: Likewise.
30488         * soft-fp/fixunssfti.c: Likewise.
30489         * soft-fp/fixunstfti.c: Likewise.
30490         * soft-fp/floattidf.c: Likewise.
30491         * soft-fp/floattisf.c: Likewise.
30492         * soft-fp/floattitf.c: Likewise.
30493         * soft-fp/floatuntidf.c: Likewise.
30494         * soft-fp/floatuntisf.c: Likewise.
30495         * soft-fp/floatuntitf.c: Likewise.
30496         * soft-fp/trunctfxf2.c: Likewise.
30498 2013-10-10  David S. Miller  <davem@davemloft.net>
30500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30502 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30504         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30505         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30506         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30507         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30508         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30509         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30510         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30513         for NaNs before doing comparisons on argument.
30514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30515         Likewise.
30517 2013-10-10  Will Newton  <will.newton@linaro.org>
30519         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30520         passed to _int_memalign does not overflow.
30522 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30524         * scripts/bench.pl: Add include-sources directive.
30525         * benchtests/README: Update documentation.
30527 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30529         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30530         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30531         instead of FP_INIT_ROUNDMODE.
30532         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30533         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30535         [BZ #16034]
30536         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30537         copy class of input value.
30538         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30539         not handle exceptions.
30540         * soft-fp/negsf2.c (__negsf2): Likewise.
30541         * soft-fp/negtf2.c (__negtf2): Likewise.
30542         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30544 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30546         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30547         semicolon.  From Linux kernel.
30549 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30551         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30553 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30555         [BZ #156]
30556         * manual/socket.texi: Added statement about buffer
30557         for gethostbyname2_r.
30559 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30561         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30562         Use .p2align directive instead, throughout.
30563         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30564         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30565         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30566         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30567         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30568         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30569         * sysdeps/x86_64/strchr.S: Likewise.
30570         * sysdeps/x86_64/strrchr.S: Likewise.
30572 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30576         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30578         * sysdeps/generic/math_private.h (__mpsin1): Remove
30579         declaration.
30580         (__mpcos1): Likewise.
30581         (__mpsin): New argument __range_reduce.
30582         (__mpcos): Likewise.
30583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30584         (slow): Use __mpsin and __mpcos.
30585         (slow1): Likewise.
30586         (slow2): Likewise.
30587         (sloww): Likewise.
30588         (sloww1): Likewise.
30589         (sloww2): Likewise.
30590         (bsloww): Likewise.
30591         (bsloww1): Likewise.
30592         (bsloww2): Likewise.
30593         (cslow2): Likewise.
30594         (csloww): Likewise.
30595         (csloww1): Likewise.
30596         (csloww2): Likewise.
30597         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30598         range_reduce.  Merge in __mpsin1.
30599         (__mpcos): Likewise.
30600         (__mpsin1): Remove.
30601         (__mpcos1): Likewise.
30603 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30605         * locale/loadlocale.c (_nl_intern_locale_data): Use
30606         LOCFILE_ALIGNED_P.
30607         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30608         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30609         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30610         obstack data is appropriately aligned.
30611         (obstack_int32_grow_fast): Likewise.
30612         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30613         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30614         (add_locale_uint32_array): Likewise.
30616 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30618         * benchtests/Makefile: Remove ARGLIST and RET variables.
30619         ($(objpfx)bench-%.c): Pass only function name to the script.
30620         * benchtests/README: Update documentation.
30621         * benchtests/acos-inputs: Add new directives.
30622         * benchtests/acosh-inputs: Likewise.
30623         * benchtests/asin-inputs: Likewise.
30624         * benchtests/asinh-inputs: Likewise.
30625         * benchtests/atan-inputs: Likewise.
30626         * benchtests/atanh-inputs: Likewise.
30627         * benchtests/cos-inputs: Likewise.
30628         * benchtests/cosh-inputs: Likewise.
30629         * benchtests/exp-inputs: Likewise.
30630         * benchtests/log-inputs: Likewise.
30631         * benchtests/pow-inputs: Likewise.
30632         * benchtests/rint-inputs: Likewise.
30633         * benchtests/sin-inputs: Likewise.
30634         * benchtests/sinh-inputs: Likewise.
30635         * benchtests/tan-inputs: Likewise.
30636         * benchtests/tanh-inputs: Likewise.
30637         * scripts/bench.pl: Add support for new directives.
30639 2013-10-07  Alan Modra  <amodra@gmail.com>
30641         * README: Fix careless merge.
30643 2013-10-05  Alan Modra  <amodra@gmail.com>
30645         * NEWS: Mention powerpc64le support and bugs fixed.
30646         * README: Both big-endian and little-endian powerpc64 supported.
30648 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30650         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30651         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30652         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30653         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30655 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30657         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30658         match prototype.
30660 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30662         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30663         Move -mhard-float appending from
30664         ports/sysdeps/powerpc/powerpc32/Makefile.
30665         [$(with-fp) = yes] (ASFLAGS): Likewise.
30666         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30667         * sysdeps/powerpc/nofpu: Move directory from
30668         ports/sysdeps/powerpc/nofpu.
30669         * sysdeps/powerpc/soft-fp: Move directory from
30670         ports/sysdeps/powerpc/soft-fp.
30671         * sysdeps/powerpc/powerpc32/405: Move directory from
30672         ports/sysdeps/powerpc/powerpc32/405.
30673         * sysdeps/powerpc/powerpc32/440: Move directory from
30674         ports/sysdeps/powerpc/powerpc32/440.
30675         * sysdeps/powerpc/powerpc32/464: Move directory from
30676         ports/sysdeps/powerpc/powerpc32/464.
30677         * sysdeps/powerpc/powerpc32/476: Move directory from
30678         ports/sysdeps/powerpc/powerpc32/476.
30679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30680         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30682         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30684         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30688         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30689         * README: Update for powerpc-*-linux-gnu software floating point
30690         support in libc.
30692         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30693         case to powerpc/powerpc32*.
30694         * sysdeps/unix/sysv/linux/configure: Regenerated.
30696         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30697         (_FPU_MASK_OM): Define as 0x04.
30698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30700         0x00c10080.
30701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30702         0x0000003c.
30703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30706         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30707         getcontext_e500.
30708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30709         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30710         setcontext_e500.
30711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30713         and setcontext_e500.
30715 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30717         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30719 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30721         * manual/threads.texi (Default Thread Attributes): Fix typo.
30723 2013-10-04  Will Newton  <will.newton@linaro.org>
30725         * malloc/Makefile: Add tst-memalign.
30726         * malloc/tst-memalign.c: New file.
30728         * malloc/tst-posix_memalign.c: Add comments.
30729         (do_test): Add comments and call free on all potentially
30730         allocated pointers. Add space after cast.
30732         * malloc/tst-pvalloc.c: Add comments.
30733         (do_test): Add comments and call free on all potentially
30734         allocated pointers. Remove duplicate check for NULL pointer.
30735         Add space after cast.
30737         * malloc/tst-valloc.c: Add comments.
30738         (do_test): Add comments and call free on all potentially
30739         allocated pointers. Remove duplicate check for NULL pointer.
30740         Add space after cast.
30742 2013-10-04  Alan Modra  <amodra@gmail.com>
30744         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30745         Use stdint types in rather than __attribute__((mode())).
30746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30748 2013-10-04  Alan Modra  <amodra@gmail.com>
30750         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30751         Correct handling of unaligned relocs for little-endian.
30752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30754 2013-10-04  Alan Modra  <amodra@gmail.com>
30756         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30757         * configure: Regenerate.
30758         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30759         * shlib-versions: Likewise.
30761 2013-10-04  Alan Modra  <amodra@gmail.com>
30763         * string/tester.c (test_memrchr): Increment reported test cycle.
30765 2013-10-04  Alan Modra  <amodra@gmail.com>
30767         * string/test-memcpy.c (do_one_test): When reporting errors, print
30768         string address and don't overrun end of string.
30770 2013-10-04  Alan Modra  <amodra@gmail.com>
30772         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30773         insrdi.  Make better use of reg selection to speed exit slightly.
30774         Schedule entry path a little better.  Remove useless "are we done"
30775         checks on entry to main loop.  Handle wrapping around zero address.
30776         Correct main loop count.  Handle single left-over word from main
30777         loop inline rather than by using loop_small.  Remove extra word
30778         case in loop_small caused by wrong loop count.  Add little-endian
30779         support.
30780         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30782         cache hint.
30783         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30784         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30785         support.  Avoid rlwimi.
30786         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30788 2013-10-04  Alan Modra  <amodra@gmail.com>
30790         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30791         insrdi.  Formatting.
30792         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30793         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30794         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30795         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30796         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30797         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30799 2013-10-04  Alan Modra  <amodra@gmail.com>
30801         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30802         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30803         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30804         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30805         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30806         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30807         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30809         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30810         use of regs.  Use power7 mtocrf.  Tidy function tails.
30812 2013-10-04  Alan Modra  <amodra@gmail.com>
30814         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30815         Formatting.  Consistently use rXXX register defines or rN defines.
30816         Use early exit labels that avoid restoring unused non-volatile regs.
30817         Make cr field use more consistent with rWORDn compares.  Rename
30818         regs used as shift registers for unaligned loop, using rN defines
30819         for short lifetime/multiple use regs.
30820         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30821         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30822         addi 1,1,64 to pop stack frame.  Simplify return value code.
30823         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30825 2013-10-04  Alan Modra  <amodra@gmail.com>
30827         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30828         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30829         rather than rlwimi.
30830         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30831         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30832         little-endian support.  Correct typos.
30833         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30834         rather than rlwimi.
30835         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30836         in loop and entry code to keep "and." results.
30837         (strchr): Add little-endian support.  Comment.  Move cntlzd
30838         earlier in tail.
30839         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30841 2013-10-04  Alan Modra  <amodra@gmail.com>
30843         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30844         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30845         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30846         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30848 2013-10-04  Alan Modra  <amodra@gmail.com>
30850         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30851         (rTMP): Define as r11.
30852         (strcmp): Add little-endian support.  Optimise tail.
30853         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30854         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30855         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30856         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30857         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30858         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30861 2013-10-04  Alan Modra  <amodra@gmail.com>
30863         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30864         little-endian support.  Remove unnecessary "are we done" tests.
30865         Handle "s" wrapping around zero and extremely large "size".
30866         Correct main loop count.  Handle single left-over word from main
30867         loop inline rather than by using small_loop.  Correct comments.
30868         Delete "zero" tail, use "end_max" instead.
30869         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30871 2013-10-04  Alan Modra  <amodra@gmail.com>
30873         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30874         support.  Don't branch over align.
30875         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30876         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30877         support.  Rearrange tmp reg use to suit.  Comment.
30878         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30880 2013-10-04  Alan Modra  <amodra@gmail.com>
30882         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30884 2013-10-04  Alan Modra  <amodra@gmail.com>
30886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30887         conditional form of branch and link when obtaining pc.
30888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30890 2013-10-04  Alan Modra  <amodra@gmail.com>
30892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30893         HIWORD/LOWORD.
30894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30897 2013-10-04  Alan Modra  <amodra@gmail.com>
30899         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30900         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30901         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30902         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30903         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30904         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30905         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30906         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30907         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30908         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30910 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30911             Alistair Popple <alistair@ozlabs.au.ibm.com>
30912             Alan Modra <amodra@gmail.com>
30914         [BZ #15723]
30915         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30916         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30917         _dl_hwcap access for little-endian.
30918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30919         destroy vmx regs when saving unaligned.
30920         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30921         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30922         destroy vmx regs when saving unaligned.
30924 2013-10-04  Alan Modra  <amodra@gmail.com>
30926         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30927         Don't use a union to pack hi/low value.
30929 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30931         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30932         for little-endian.
30933         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30935         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30936         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30937         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30939 2013-10-04  Alan Modra  <amodra@gmail.com>
30941         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30942         constants to usual value for .cst8 section, and remove redundant
30943         high address load.
30944         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30945         constant for 0x1p52.  Load little-endian words of double from
30946         correct stack offsets.
30948 2013-10-04  Alan Modra  <amodra@gmail.com>
30950         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30951         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30952         words of double from correct stack offsets.
30953         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30954         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30955         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30958         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30959         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30960         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30961         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30963         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30964         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30965         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30966         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30967         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30968         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30969         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30971 2013-10-04  Alan Modra  <amodra@gmail.com>
30973         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30974         64-bit int/double union.
30975         (_FPU_SETCW): Likewise.
30976         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30977         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30979 2013-10-04  Alan Modra  <amodra@gmail.com>
30981         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30982         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30984 2013-10-04  Alan Modra  <amodra@gmail.com>
30986         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30987         use vector int constants.
30988         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30990 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30992         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30993         array with long long.
30994         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30995         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30996         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30997         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30998         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30999         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31000         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31001         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31002         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31003         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31004         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31005         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31006         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31008 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31010         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31011         (__signbit): Likewise.  Correct for little-endian.
31012         (__signbitl): Call __signbit.
31013         (lrint): Correct for little-endian.
31014         (lrintf): Call lrint.
31016 2013-10-04  Alan Modra  <amodra@gmail.com>
31018         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31019         union 32-bit int array member with 64-bit int array.
31020         (t515, tm256): Double rather than long double.
31021         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31023 2013-10-04  Alan Modra  <amodra@gmail.com>
31025         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31026         Delete.
31027         (IEEE854_LONG_DOUBLE_BIAS): Delete.
31028         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31029         version of math_ldbl.h.
31031 2013-10-04  Alan Modra  <amodra@gmail.com>
31033         [BZ #15734], [BZ #15735]
31034         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31035         all uses of ieee875 long double macros and unions.  Simplify test
31036         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
31037         ldbl_extract_mantissa value for ix,iy exponents.  Properly
31038         normalize after ldbl_extract_mantissa, and don't add hidden bit
31039         already handled.  Don't treat low word of ieee854 mantissa like
31040         low word of IBM long double and mask off bit when testing for
31041         zero.
31042         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31043         all uses of ieee875 long double macros and unions.  Simplify tests
31044         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
31045         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
31046         two1022, instead use their values.  Recognise that tests for large
31047         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
31048         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31049         Rewrite all uses of ieee875 long double macros and unions.  Simplify
31050         test for 0.0L and nan.  Correct negation.
31051         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31052         ieee875 long double macros and unions.  Correct output for large
31053         magnitude x.  Correct absolute value calculation.
31054         (__erfcl): Likewise.
31055         * math/libm-test.inc: Add tests for errors discovered in IBM long
31056         double versions of fmodl, remainderl, erfl and erfcl.
31058 2013-10-04  Alan Modra  <amodra@gmail.com>
31060         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31061         all uses of ieee854 long double macros and unions.  Simplify tests
31062         for long doubles that are fully specified by the high double.
31063         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31064         Likewise.
31065         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31066         Remove dead code too.
31067         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31068         (__ieee754_ynl): Likewise.
31069         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31070         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31071         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31072         Remove dead code too.
31073         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31075         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31076         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31077         Simplify.
31078         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31079         Simplify.
31080         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31081         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31083         Comment on variable precision.
31084         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31085         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31086         Likewise.
31087         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31088         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31089         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31090         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31091         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31093 2013-10-04  Alan Modra  <amodra@gmail.com>
31095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31096         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31097         all uses of ieee854 long double macros and unions.
31098         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31099         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31100         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31102         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31103         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31104         Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31108         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31109         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31110         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31111         Simplify sign and nan test too.
31112         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31113         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31115         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31116         Likewise.
31117         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31119         Likewise.
31120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31121         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31122         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31123         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31127 2013-10-04  Alan Modra  <amodra@gmail.com>
31129         * stdio-common/printf_size.c (__printf_size): Don't use
31130         union ieee854_long_double in fpnum union.
31131         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31132         signbit macro to retrieve sign from long double.
31133         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31134         retrieve sign from long double.
31135         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31136         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31137         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31138         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31139         * math/test-misc.c (main): Don't use union ieee854_long_double.
31141 2013-10-04  Alan Modra  <amodra@gmail.com>
31143         [BZ #15680]
31144         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31145         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31146         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31147         calculation.  Remove unnecessary test for denormal exponent.
31148         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31149         Correct handling of denormals.  Avoid undefined shift behaviour.
31150         Correct normalisation of low mantissa when low double is denormal.
31151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31152         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31153         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31154         Correct normalisation of low mantissa.  Test for overflow of high
31155         mantissa and normalise.
31156         (ldbl_nearbyint): Use more readable constant for two52.
31157         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31158         (__mpn_construct_long_double): Fix test for overflow of high
31159         mantissa and correct normalisation.  Avoid undefined shift.
31161 2013-10-04  Alan Modra  <amodra@gmail.com>
31163         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31164         (union ibm_extended_long_double): Define as an array of ieee754_double.
31165         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31166         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31167         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31168         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31169         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31170         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31171         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31172         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31173         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31174         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31175         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31177 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31179         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31180         page size instead of calling getpagesize.
31182         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31183         (LOCFILE_ALIGN_MASK): Likewise.
31184         (LOCFILE_ALIGN_UP): Likewise.
31185         (LOCFILE_ALIGNED_P): Likewise.
31186         * locale/programs/ld-collate.c (collate_output): Use the new
31187         macros instead of __alignof__ (int32_t).
31188         * locale/weight.h (findidx): Likewise.
31190 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31192         [BZ #431]
31193         * manual/string.texi: Fix strncat and wcsncat.
31195 2013-10-03  Brooks Moses  <bmoses@google.com>
31197         [BZ #15915]
31198         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31199         * Makerules: ...here, and adjust associated comments.
31201 2013-10-02  Will Newton  <will.newton@linaro.org>
31203         * malloc/Makefile: Add tst-pvalloc.
31204         * malloc/tst-pvalloc.c: New file.
31206 2013-10-02  Will Newton  <will.newton@linaro.org>
31208         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31209         improve test coverage.
31211 2013-10-02  Will Newton  <will.newton@linaro.org>
31213         * malloc/Makefile: Add tst-posix_memalign.
31214         * malloc/tst-posix_memalign.c: New file.
31216 2013-10-01  Eric Blake  <eblake@redhat.com>
31218         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31219         Use __THROWNL rather than __THROW on static functions.
31221 2013-09-30  Petr Machata  <pmachata@redhat.com>
31223         * elf/elf.h (R_AARCH64_ABS16): New macro.
31224         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31225         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31226         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31227         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31228         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31229         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31230         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31231         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31232         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31233         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31234         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31235         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31236         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31237         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31238         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31239         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31240         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31241         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31242         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31243         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31244         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31245         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31246         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31247         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31248         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31249         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31250         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31251         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31252         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31253         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31254         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31255         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31256         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31257         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31258         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31259         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31260         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31261         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31262         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31263         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31264         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31265         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31266         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31267         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31268         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31269         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31270         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31271         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31272         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31273         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31274         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31275         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31276         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31277         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31278         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31279         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31280         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31281         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31282         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31283         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31284         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31285         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31286         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31287         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31288         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31289         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31290         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31291         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31292         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31293         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31294         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31295         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31296         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31297         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31298         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31299         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31300         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31301         (R_AARCH64_TLSDESC_LDR): Likewise.
31302         (R_AARCH64_TLSDESC_ADD): Likewise.
31303         (R_AARCH64_TLSDESC_CALL): Likewise.
31305 2013-09-30  Andreas Schwab  <schwab@suse.de>
31307         [BZ #15048]
31308         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31309         the nss database lookup.
31310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31313 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31315         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31317 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31319         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31320         ${Bash-specific parameter/pattern/string} parameter expansion.
31321         * sysdeps/unix/make-syscalls.sh: Likewise.
31323 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31325         * sysdeps/sh/stackguard-macros.h: New file.
31327 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31331         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31332         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31333         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31334         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31336 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31338         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31339         Fix thread ID register.
31341 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31343         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31344         [POSIX || UNIX98]: Require rather than permitting all symbols from
31345         <time.h>.
31346         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31347         element of struct sched_param.
31348         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31349         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31350         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31351         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31352         constant.
31354 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31356         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31357         argument calculation.
31359 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31361         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31362         Expect macro.
31363         [POSIX] (pthread_attr_t): Do not require type.
31364         [POSIX] (pthread_cond_t): Likewise.
31365         [POSIX] (pthread_condattr_t): Likewise.
31366         [POSIX] (pthread_key_t): Likewise.
31367         [POSIX] (pthread_mutex_t): Likewise.
31368         [POSIX] (pthread_mutexattr_t): Likewise.
31369         [POSIX] (pthread_once_t): Likewise.
31370         [POSIX] (pthread_t): Likewise.
31371         [POSIX-based standards] (pthread_atfork): Expect function.
31373 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31374             Richard Sandiford  <richard@codesourcery.com>
31376         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31377         (swap_endianness_p): New extern variable.
31378         (set_big_endian): New inline function.
31379         (maybe_swap_uint32): Likewise.
31380         (maybe_swap_uint32_array): Likewise.
31381         (maybe_swap_uint32_obstack): Likewise.
31382         * locale/programs/locfile.c: Include <stdbool.h>.
31383         (swap_endianness_p): New variable.
31384         (add_locale_uint32): Call maybe_swap_uint32.
31385         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31386         (write_locale_data): Call maybe_swap_uint32_array.
31387         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31388         maybe_swap_uint32.
31389         (obstack_int32_grow_fast): Likewise.
31390         (output_weightwc): Call maybe_swap_uint32_obstack.
31391         (collate_output): Likewise.
31392         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31393         (OPT_LITTLE_ENDIAN): Likewise.
31394         (options): Add --little-endian and --big-endian options.
31395         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31396         * locale/programs/locarchive.c: Include "locfile.h".
31397         (GET): New macro.
31398         (SET): Likewise.
31399         (INC): Likewise.
31400         (create_archive): Use the new macros to access fields of
31401         structures directly mapped from or written to locale archives.
31402         (oldlocrecentcmp): Likewise.
31403         (enlarge_archive): Likewise.
31404         (insert_name): Likewise.
31405         (add_alias): Likewise.
31406         (add_locale): Likewise.
31407         (delete_locales_from_archive): Likewise.
31408         (show_archive_content): Likewise.
31409         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31410         locale data.
31412 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31414         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31415         http://www.gnu.org/doc/freemanuals.texi.
31416         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31418 2013-09-24  Will Newton  <will.newton@linaro.org>
31420         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31421         macro.
31423 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31425         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31426         unsigned char.
31428 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31430         * manual/threads.texi (POSIX Threads): Fix a typo.
31432 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31434         [BZ #14547]
31435         * string/tst-strcoll-overflow.c: New test case.
31436         * string/Makefile (xtests): Add tst-strcoll-overflow.
31437         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31438         cache if string sizes may cause integer overflow.
31440         [BZ #14547]
31441         * string/strcoll_l.c (coll_seq): New members rule, idx,
31442         save_idx and back_us.
31443         (get_next_seq_nocache): New function.
31444         (do_compare_nocache): New function.
31445         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31446         when malloc fails.
31448 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31450         [BZ #15754]
31451         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31452         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31453         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31455         [BZ #15754]
31456         * elf/Makefile (tests): Add tst-ptrguard1.
31457         (tests-static): Add tst-ptrguard1-static.
31458         (tst-ptrguard1-ARGS): Define.
31459         (tst-ptrguard1-static-ARGS): Define.
31460         * elf/tst-ptrguard1.c: New file.
31461         * elf/tst-ptrguard1-static.c: New file.
31462         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31463         * sysdeps/i386/stackguard-macros.h: Likewise.
31464         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31465         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31466         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31467         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31468         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31469         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31471 2013-09-23  Hector Marco  <hecmargi@upv.es>
31472             Ismael Ripoll  <iripoll@disca.upv.es>
31473             Carlos O'Donell  <carlos@redhat.com>
31475         [BZ #15754]
31476         * sysdeps/generic/stackguard-macros.h: Define
31477         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31478         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31479         Define __pointer_chk_guard_local.
31480         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31481         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31483 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31485         [BZ #15859]
31486         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31488 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31490         * include/string.h (__ffs): Declare as hidden.
31491         * string/ffs.c (__ffs): Define as hidden.
31492         * sysdeps/i386/ffs.c (__ffs): Likewise.
31493         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31494         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31495         * sysdeps/s390/ffs.c (__ffs): Likewise.
31496         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31498 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31500         * NEWS: Mention malloc probes.
31502         * malloc/arena.c (new_heap): New memory_heap_new probe.
31503         (grow_heap): New memory_heap_more probe.
31504         (shrink_heap): New memory_heap_less probe.
31505         (heap_trim): New memory_heap_free probe.
31506         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31507         (systrim): New memory_sbrk_less probe.
31508         * manual/probes.texi: Document them.
31510         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31511         * manual/probes.texi: Document it.
31513         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31514         (__libc_realloc): Add memory_realloc_retry probe.
31515         (__libc_memalign): Add memory_memalign_retry probe.
31516         (__libc_valloc): Add memory_valloc_retry probe.
31517         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31518         (__libc_calloc): Add memory_calloc_retry probe.
31519         * manual/probes.texi: Document them.
31521         * malloc/arena.c (get_free_list): Add probe
31522         memory_arena_reuse_free_list.
31523         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31524         and memory_arena_reuse.
31525         (arena_get2) [!PER_THREAD]: Likewise.
31526         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31527         memory_arena_reuse_realloc.
31528         * manual/probes.texi: Document them.
31530         * malloc/malloc.c (__libc_free): Add
31531         memory_mallopt_free_dyn_thresholds probe.
31532         (__libc_mallopt): Add multiple memory_mallopt probes.
31533         * manual/probes.texi: Document them.
31535         * malloc/malloc.c: Include stap-probe.h.
31536         (__libc_mallopt): Add memory_mallopt probe.
31537         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31538         * manual/probes.texi: New.
31539         * manual/Makefile (chapters): Add probes.
31540         * manual/threads.texi: Set next node.
31542 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31544         [BZ #15963, #13985]
31545         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31546         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31547         Add `Chinese' to `nan' entry name.
31549 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31551         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31552         (POLYNOMIAL): Likewise.
31553         (TAYLOR_SINCOS): Likewise.
31554         (TAYLOR_SLOW): Likewise.
31555         (__sin): Use TAYLOR_SINCOS.
31556         (__cos): Likewise.
31557         (slow): Use TAYLOR_SLOW.
31558         (sloww): Likewise.
31559         (bsloww): Likewise.
31560         (csloww): Likewise.
31562 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31564         * stdlib/strtod_l.c: Fix buffer overrun.
31566 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31568         * benchtests/Makefile (bench): Add sincos.
31569         * benchtests/bench-sincos.c: New file.
31571         * math/libm-test.inc (cos_test_data): New test inputs.
31572         (sin_test_data): Likewise.
31574         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31575         macro.
31576         (__sin): Use it.
31577         (__cos): Likewise.
31578         (slow1): Likewise.
31579         (slow2): Likewise.
31580         (sloww1): Likewise.
31581         (sloww2): Likewise.
31582         (bsloww1): Likewise.
31583         (bsloww2): Likewise.
31584         (cslow2): Likewise.
31585         (csloww1): Likewise.
31586         (csloww2): Likewise.
31588         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31589         function.
31590         (__sin): Use it.
31591         (__cos): Likewise.
31593         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31594         gotos.
31595         (__cos): Likewise.
31597 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31599         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31600         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31601         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31602         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31603         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31604         * elf/cache.c (print_entry): Handle the new cache flags.
31606 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31607             Aldy Hernandez  <aldyh@redhat.com>
31609         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31610         Change condition to [_SOFT_FLOAT].
31611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31623         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31626         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31627         declaration.
31629 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31631         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31632         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31633         (__longjmp): Use LOAD_GP to load saved GPRs.
31634         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31635         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31636         (__sigsetjmp): Use SAVE_GP to save GPRs.
31638         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31639         Do not append -msoft-float.
31640         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31642 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31644         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31646 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31648         [BZ #15966]
31649         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31650         (_FPU_GETCW): Use initial "__" on variable and field names but not
31651         on macro parameter name.
31652         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31653         parentheses around reference to macro parameter.
31655 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31657         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31658         prototype.
31659         (ctype_startup): Use uint32_t in cast and sizeof for
31660         ctype->charnames.
31662 2013-09-11  Jia Liu  <proljc@gmail.com>
31664         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31665         __daddr_t_defined.
31666         [__FreeBSD__]: Likewise.
31668 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31671         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31672         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31673         (strchr): Remove __strchr_sse42 ifunc selection.
31674         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31675         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31677 2013-09-11  Will Newton  <will.newton@linaro.org>
31679         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31680         parameter to RES. Remove hardcoded 1000 value.
31681         * benchtests/bench-skeleton.c (main): Pass RES parameter
31682         to TIMING_INIT and multiply result by 1000.
31684 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31688 2013-09-11  Andreas Schwab  <schwab@suse.de>
31690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31691         if not defined.
31692         (O_TMPFILE) [__USE_GNU]: Define.
31693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31694         Define.
31696 2013-09-11  Will Newton  <will.newton@linaro.org>
31698         [BZ #15857]
31699         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31700         does not overflow.
31702 2013-09-11  Will Newton  <will.newton@linaro.org>
31704         [BZ #15856]
31705         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31706         does not overflow.
31708 2013-09-11  Will Newton  <will.newton@linaro.org>
31710         [BZ #15855]
31711         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31712         does not overflow.
31714 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31716         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31717         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31718         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31719         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31720         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31722 2013-09-10  Allan McRae  <allan@archlinux.org>
31724         [BZ #15748]
31725         * manual/arith.texi (Parsing of Floats): Clarify
31726         cross-reference.
31728         [BZ #15849]
31729         * manual/install.texi (Running make install): Mention
31730         --enable-pt-chown.
31731         * INSTALL: Regenerated.
31733 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31735         * csu/init-first.c (_init): Remove the !SHARED condition around
31736         FPU control word initialization.
31737         * elf/dl-support.c (_dl_fpu_control): New variable.
31738         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31739         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31740         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31741         * math/test-fpucw-static.c: New file.
31742         * math/test-fpucw-ieee.c: New file.
31743         * math/test-fpucw-ieee-static.c: New file.
31744         * math/Makefile (tests): Add `test-fpucw-ieee' and
31745         `$(tests-static)'.
31746         (tests-static): New variable.
31747         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31748         dependency to...
31749         [($(build-shared),yes)]
31750         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31751         ... this.
31752         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31753         New dependency.
31755 2013-09-09  Allan McRae  <allan@archlinux.org>
31757         [BZ #15939]
31758         * manual/string.texi (Collation Functions): Fix typo in
31759         strcoll example.
31760         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31762         [BZ #15893]
31763         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31765         [BZ #15892]
31766         * libio/memstream.c (open_memstream): Fix memory leak.
31767         * libio/wmemstream.c (open_wmemstream): Likewise.
31769         [BZ #15895]
31770         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31772 2013-09-09  Will Newton  <will.newton@linaro.org>
31774         * malloc/Makefile: Add tst-realloc to tests.
31775         * malloc/tst-realloc.c: New file.
31777 2013-09-09  Allan McRae  <allan@archlinux.org>
31779         [BZ #15844]
31780         * COPYING: Update from GNU website to fix FSF address.
31781         * COPYING.LIB: Likewise.
31783 2013-09-06  David S. Miller  <davem@davemloft.net>
31785         * po/zh_TW.po: Update Chinese (traditional) translation from
31786         translation project.
31788 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31789             Joseph Myers  <joseph@codesourcery.com>
31791         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31792         "localeinfo.h".
31793         (obstack_chunk_alloc): New macro.
31794         (obstack_chunk_free): Likewise.
31795         (record_offset): New function.
31796         (init_locale_data): Likewise.
31797         (align_locale_data): Likewise.
31798         (add_locale_empty): Likewise.
31799         (add_locale_raw_data): Likewise.
31800         (add_locale_raw_obstack): Likewise.
31801         (add_locale_string): Likewise.
31802         (add_locale_wstring): Likewise.
31803         (add_locale_uint32): Likewise.
31804         (add_locale_uint32_array): Likewise.
31805         (add_locale_char): Likewise.
31806         (start_locale_structure): Likewise.
31807         (end_locale_structure): Likewise.
31808         (start_locale_prelude): Likewise.
31809         (end_locale_prelude): Likewise.
31810         (write_locale_data): Take locale_file structure rather than an
31811         iovec.
31812         * locale/programs/locfile.h: Include "obstack.h".
31813         (struct locale_file): Change to store locale file contents instead
31814         of header.
31815         (init_locale_data): New prototype.
31816         (align_locale_data): Likewise.
31817         (add_locale_empty): Likewise.
31818         (add_locale_raw_data): Likewise.
31819         (add_locale_raw_obstack): Likewise.
31820         (add_locale_string): Likewise.
31821         (add_locale_wstring): Likewise.
31822         (add_locale_uint32): Likewise.
31823         (add_locale_uint32_array): Likewise.
31824         (add_locale_char): Likewise.
31825         (start_locale_structure): Likewise.
31826         (end_locale_structure): Likewise.
31827         (start_locale_prelude): Likewise.
31828         (end_locale_prelude): Likewise.
31829         (write_locale_data): Update prototype.
31830         * locale/programs/3level.h (struct TABLE): Remove result field.
31831         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31832         Use new locale_file interface.
31833         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31834         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31835         * locale/programs/ld-address.c (address_output): Use new
31836         locale_file interface.
31837         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31838         NO_ADD_LOCALE.
31839         (collate_finish): Don't call collseq_table_finalize.
31840         (collate_output): Use new locale_file interface.
31841         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31842         in file.
31843         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31844         (TABLE): Move defines earlier in file.
31845         (ELEMENT): Likewise.
31846         (DEFAULT): Likewise.
31847         (wctrans_table_add): Move macro and inline function earlier in
31848         file.
31849         (struct wctype_table): Move type earlier in file.
31850         (add_locale_wctype_table): New static prototype.
31851         (struct locale_ctype_t): Use logical types instead of struct iovec
31852         pointers for members.
31853         (ctype_output): Use new locale_file interface.
31854         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31855         new locale_file interface.
31856         (allocate_arrays): Update for use of new locale_file interface.
31857         * locale/programs/ld-identification.c (identification_output): Use
31858         new locale_file interface.
31859         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31860         * locale/programs/ld-messages.c (messages_output): Likewise.
31861         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31862         * locale/programs/ld-name.c (name_output): Likewise.
31863         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31864         * locale/programs/ld-paper.c (paper_output): Likewise.
31865         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31866         * locale/programs/ld-time.c (time_output): Likewise.
31868 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31870         * benchtests/Makefile: Add memrchr benchmark.
31871         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31872         benchmark as memrchr.
31873         * benchtests/bench-memrchr-ifunc.c: New file.
31874         * benchtests/bench-memrchr.c: New file.
31876 2013-09-06   Will Newton  <will.newton@linaro.org>
31878         * benchtests/Makefile (string-bench): Add memcpy.
31880 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31881             Cong Wang  <amwang@redhat.com>
31883         [BZ #15850]
31884         * sysdeps/unix/sysv/linux/bits/in.h
31885         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31886         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31887         before __USE_KERNEL_IPV6_DEFS uses.
31888         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31889         IPPROTO_BEETPH.
31890         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31891         sockaddr_in6, or ipv6_mreq.
31893 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31895         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31896         memory access for final bytes in some large inputs.
31897         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31899 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31901         * string/test-memrchr.c: New file.
31902         * string/test-memrchr-ifunc.c: New file.
31903         * string/Makefile: Add new memrchr testcase.
31905 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31907         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31908         fanotify_init returns EPERM.
31910 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31912         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31913         errors.
31914         (top level): Treat second token from macro or constant entries for
31915         allowed headers as allowed.
31916         * include/complex.h: Condition internal declarations on
31917         [!_ISOMAC].
31918         * include/fenv.h: Condition include of <stdbool.h> and internal
31919         declarations on [!_ISOMAC].
31921 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31923         [BZ #15923]
31924         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31926 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31928         * configure.in (--enable-versioning): Remove configure option.
31929         (libc_cv_asm_symver_directive): Remove configure test.
31930         (libc_cv_ld_version_script_option): Likewise.
31931         (VERSIONING): Remove variable and AC_SUBST.
31932         (DO_VERSIONING): Remove AC_DEFINE.
31933         * configure: Regenerated.
31934         * config.h.in (DO_VERSIONING): Remove macro.
31935         * Makerules [$(versioning) = yes]: Change conditionals to
31936         [$(build-shared) = yes].
31937         * config.make.in (versioning): Remove variable.
31938         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31939         [$(build-shared) = yes].
31940         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31941         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31942         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31943         [$(build-shared) = yes].
31944         * extra-lib.mk [$(versioning) = yes]: Likewise.
31945         * hurd/Makefile [$(versioning) = yes]: Likewise.
31946         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31947         [SHARED].
31948         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31949         [SHARED].
31950         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31951         [SHARED && !NO_HIDDEN].
31952         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31953         [SHARED].
31954         [SHARED && DO_VERSIONING]: Likewise..
31955         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31956         [$(build-shared) = yes].
31957         * manual/install.texi (--disable-versioning): Remove
31958         documentation.
31959         * INSTALL: Regenerated.
31960         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31961         to [SHARED].
31962         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31963         [$(build-shared) = yes].
31964         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31965         * sysdeps/i386/i686/multiarch/strstr-c.c
31966         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31967         [SHARED && !NO_HIDDEN].
31968         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31969         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31970         * sysdeps/powerpc/powerpc32/dl-machine.c
31971         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31972         * sysdeps/powerpc/powerpc32/sysdep.h
31973         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31974         to [SHARED && PIC && !NO_HIDDEN].
31975         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31976         conditional to [SHARED].
31978 2013-09-04   Will Newton  <will.newton@linaro.org>
31980         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31981         * benchtests/bench-string.h: Include bench-timing.h instead
31982         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31983         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31984         call to HP_TIMING_DIFF_INIT.
31985         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31986         instead of hp-timing.h macros.
31987         * benchtests/bench-memchr.c: Likewise.
31988         * benchtests/bench-memcmp.c: Likewise.
31989         * benchtests/bench-memcpy.c: Likewise.
31990         * benchtests/bench-memmem.c: Likewise.
31991         * benchtests/bench-memmove.c: Likewise.
31992         * benchtests/bench-memset.c: Likewise.
31993         * benchtests/bench-rawmemchr.c: Likewise.
31994         * benchtests/bench-strcasecmp.c: Likewise.
31995         * benchtests/bench-strcasestr.c: Likewise.
31996         * benchtests/bench-strcat.c: Likewise.
31997         * benchtests/bench-strchr.c: Likewise.
31998         * benchtests/bench-strcmp.c: Likewise.
31999         * benchtests/bench-strcpy.c: Likewise.
32000         * benchtests/bench-strcpy_chk.c: Likewise.
32001         * benchtests/bench-strlen.c: Likewise.
32002         * benchtests/bench-strncasecmp.c: Likewise.
32003         * benchtests/bench-strncat.c: Likewise.
32004         * benchtests/bench-strncmp.c: Likewise.
32005         * benchtests/bench-strncpy.c: Likewise.
32006         * benchtests/bench-strnlen.c: Likewise.
32007         * benchtests/bench-strpbrk.c: Likewise.
32008         * benchtests/bench-strrchr.c: Likewise.
32009         * benchtests/bench-strspn.c: Likewise.
32010         * benchtests/bench-strstr.c: Likewise.
32012 2013-09-04  Will Newton  <will.newton@linaro.org>
32014         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32016 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
32018         [BZ #15427]
32019         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32020         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32021         * math/libm-test.inc (lgamma_test_data): Add more tests.
32022         * sysdeps/i386/fpu/libm-test-ulps: Update.
32023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32025 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
32027         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32029         Add ifunc.
32030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32031         Add strcmp-sse2-unaligned
32032         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32034 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32036         * Versions.def (libc): Add GLIBC_2.19.
32038 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32040         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32041         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32043 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
32045         [BZ #14155]
32046         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32047         intermediate calculations in recurrence.
32048         (__ieee754_ynf): Likewise.
32049         * math/libm-test.inc (jn_test_data): Do not allow spurious
32050         underflow exception.  Add more tests.
32051         (yn_test_data): Add more tests.
32052         * sysdeps/i386/fpu/libm-test-ulps: Update.
32053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32055 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
32057         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32059 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32061         * csu/init-first.c: Fix then/than typos.
32062         * locale/programs/ld-collate.c: Likewise.
32063         * locale/programs/linereader.h: Likewise.
32064         * manual/charset.texi: Likewise.
32065         * manual/filesys.texi: Likewise.
32066         * manual/stdio.texi: Likewise.
32067         * manual/string.texi: Likewise.
32068         * stdlib/fmtmsg.c: Likewise.
32069         * sysdeps/i386/stpncpy.S: Likewise.
32070         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32071         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32073         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32075 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32077         * elf/dl-open.c: Fix typos.
32078         * iconvdata/gbbig5.c: Likewise.
32079         * iconvdata/iso-2022-jp.c: Likewise.
32080         * iconv/gconv_int.h: Likewise.
32081         * iconv/loop.c: Likewise.
32082         * nis/rpcsvc/nis.h: Likewise.
32083         * resolv/ns_name.c: Likewise.
32084         * stdio-common/vfscanf.c: Likewise.
32085         * streams/stropts.h: Likewise.
32086         * sunrpc/rpc_thread.c: Likewise.
32087         * sysdeps/i386/strpbrk.S: Likewise.
32088         * sysdeps/ieee754/k_standard.c: Likewise.
32089         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32091         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32092         * sysdeps/mach/hurd/profil.c: Likewise.
32093         * sysdeps/s390/dl-procinfo.h: Likewise.
32094         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32095         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32096         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32097         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32098         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32100 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32102         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32105 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32107         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32108         aix specific files.
32109         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32110         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32111         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32112         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32113         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32114         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32115         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32116         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32118 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32119             Roland McGrath  <roland@hack.frob.com>
32121         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32122         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32124 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32126         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32127         __executable_start symbol instead of _start.
32129 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32131         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32132         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32133         Move macros to...
32134         * sysdeps/gnu/ldsodefs.h: ... this new file.
32136         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32137         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32138         instead of ELFOSABI_LINUX.
32140         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32141         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32142         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32143         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32144         Likewise.
32145         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32146         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32147         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32148         Likewise.
32149         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32150         (ibm_extended_long_double): Add ieee_nan member.
32151         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32152         (do_test): New function.
32154         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32155         TEST_TRUNC.
32156         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32157         functions, renamed from truncdfsf_test, trunctfsf_test,
32158         trunctfdf_test.
32159         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32160         functions.
32161         (do_test): Run all these.
32163 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32165         * argp/argp-help.c: Fix typos.
32166         * argp/argp-parse.c: Likewise.
32167         * debug/backtracesyms.c: Likewise.
32168         * elf/elf.h: Likewise.
32169         * malloc/malloc.c: Likewise.
32170         * nis/nis_print.c: Likewise.
32171         * resolv/res_comp.c: Likewise.
32172         * stdlib/stdlib.h: Likewise.
32173         * sunrpc/clnt_tcp.c: Likewise.
32174         * sunrpc/clnt_udp.c: Likewise.
32175         * sunrpc/clnt_unix.c: Likewise.
32176         * sysdeps/unix/bsd/ptsname.c: Likewise.
32177         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32178         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32180         Likewise.
32181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32182         Likewise.
32183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32184         Likewise.
32185         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32187 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32189         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32192 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32194         [BZ #15897]
32195         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32196         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32197         ($(objpfx)bug-dl-leaf): New rule.
32198         ($(objpfx)bug-dl-leaf.so): Likewise.
32199         ($(objpfx)bug-dl-leaf.out): Likewise.
32200         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32201         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32202         * dlfcn/bug-dl-leaf.c: New test.
32203         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32204         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32205         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32206         (dlclose): Likewise.
32207         (dlmopen): Likewise.
32209 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32211         * include/netdb.h [!_ISOMAC]:
32212         Don't include <tls.h>.
32213         (h_errno, __libc_h_errno): Move declaration and macros out of
32214         [_LIBC_REENTRANT].
32216         * include/resolv.h [_RESOLV_H_]:
32217         Don't include <tls.h>.
32218         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32219         * resolv/res_libc.c: Don't include <tls.h>.
32220         (_res): Use __attribute__ ((nocommon)) in place of
32221         __attribute__ ((section (".bss"))).
32223         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32224         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32226         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32228         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32229         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32231         * resolv/res_mkquery.c: Include <sys/time.h>.
32233         * inet/ifreq.c: Moved to ...
32234         * sysdeps/unix/ifreq.c: ... here.
32235         * inet/ifreq.c: New file, true stub version.
32237         * socket/sa_len.c: New file.
32238         * socket/Makefile (aux): Add it.
32239         * sysdeps/unix/sysv/linux/Makefile
32240         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32241         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32242         and #include <socket/sa_len.c>.
32243         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32244         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32246         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32247         * bits/socket.h: ... here.
32249         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32250         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32251         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32253 2013-08-27  Andreas Schwab  <schwab@suse.de>
32255         [BZ #15736]
32256         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32257         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32258         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32259         * string/test-strcasecmp.c (test_main): Run tests in several
32260         locales.
32261         * string/test-strncasecmp.c (test_main): Likewise.
32263         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32264         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32265         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32266         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32267         (__strncasecmp_ssse3) [PIC]: Likewise.
32269 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32271         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32273         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32274         instead of explicitly declaring xdecrypt.
32275         * nis/nss_nis/nis-publickey.c: Likewise.
32277 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32279         [BZ #15890]
32280         * nscd/aicache.c: Include res_hconf.h.
32281         (addhstaiX): Initialize res_hconf.
32283 2013-08-26  Andreas Schwab  <schwab@suse.de>
32285         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32286         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32288 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32290         * nscd/aicache.c (addhstaiX): Fix indentation.
32292 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32294         * configure.ac: Quote $build_pt_chown test.
32295         * configure: Regenerated.
32297 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32299         [BZ #15532]
32300         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32301         * math/s_cexpf.c (__cexpf): Likewise.
32302         * math/s_cexpl.c (__cexpl): Likewise.
32303         * math/libm-test.inc (cexp_test_data): Correct expected return
32304         value for NaN + i0.  Add another test.
32306 2013-08-22  David S. Miller  <davem@davemloft.net>
32308         * po/ca.po: Update Catalan translation from translation project.
32309         * po/uk.po: Add Ukrainian translations from translation project.
32311 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32313         [BZ #15797]
32314         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32315         is infinite, not alongside NaN test.
32316         * math/s_fdimf.c (__fdimf): Likewise.
32317         * math/s_fdiml.c (__fdiml): Likewise.
32318         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32319         errno is unchanged.
32321 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32323         * argp/argp-help.c: Fix typos.
32324         * crypt/speeds.c: Likewise.
32325         * csu/check_fds.c: Likewise.
32326         * elf/dl-load.c: Likewise.
32327         * elf/dl-open.c: Likewise.
32328         * elf/reldep3.c: Likewise.
32329         * elf/reldep.c: Likewise.
32330         * elf/sprof.c: Likewise.
32331         * iconv/iconv_charmap.c: Likewise.
32332         * iconv/skeleton.c: Likewise.
32333         * iconv/strtab.c: Likewise.
32334         * io/lockf64.c: Likewise.
32335         * libio/libioP.h: Likewise.
32336         * resolv/gai_notify.c: Likewise.
32337         * resolv/ns_name.c: Likewise.
32338         * resolv/ns_samedomain.c: Likewise.
32339         * resolv/res_send.c: Likewise.
32340         * stdlib/random.c: Likewise.
32341         * sunrpc/rpc/xdr.h: Likewise.
32342         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32343         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32344         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32345         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32346         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32347         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32348         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32349         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32350         * sysdeps/mach/hurd/check_fds.c: Likewise.
32351         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32353         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32355         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32356         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32357         * sysdeps/pthread/aio_notify.c: Likewise.
32358         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32359         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32360         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32361         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32362         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32364 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32366         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32367         version if bit_Slow_SSE4_2 is set.
32368         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32369         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32371 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32373         [BZ #15867]
32374         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32375         trampoline stack frame information.
32376         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32377         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32378         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32379         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32380         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32381         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32382         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32383         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32384         sa_flags value.
32385         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32386         interrupting a syscall and set with option SA_SIGINFO.
32388 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32390         [BZ #15531]
32391         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32392         argument is infinite.
32393         * math/s_cprojf.c (__cprojf): Likewise.
32394         * math/s_cprojl.c (__cprojl): Likewise.
32395         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32396         * math/libm-test.inc (cproj_test_data): Add more tests.
32398         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32401         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32402         size.  Use __ffs to determine corresponding shift.
32404 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32405             Roland McGrath  <roland@hack.frob.com>
32407         * Makefile (INSTALL): Remove trailing blank lines from output of
32408         makeinfo.
32410 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32412         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32413         Align 32 bit compat elf_greg to 8 bytes.
32415 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32417         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32419 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32421         * string/strcoll_l.c (coll_seq): New structure.
32422         (get_next_seq_cached): New function.
32423         (get_next_seq): New function.
32424         (do_compare): New function.
32425         (STRCOLL): Use GNU style definition.  Simplify implementation
32426         by using get_next_seq, get_next_seq_cached and do_compare.
32428 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32430         [BZ #14699]
32431         CVE-2013-4237
32432         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32433         member.
32434         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32435         member.
32436         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32437         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32438         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32439         conditional.
32440         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32441         GETDENTS_64BIT_ALIGNED.
32442         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32443         * manual/filesys.texi (Reading/Closing Directory): Document
32444         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32445         strongly.
32446         * manual/conf.texi (Limits for Files): Add portability note to
32447         NAME_MAX, PATH_MAX.
32448         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32450 2013-08-13  Andreas Schwab  <schwab@suse.de>
32452         [BZ #15749]
32453         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32454         of fabs.
32455         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32456         LDBL_MAX_EXP >= 16384]: Add tests for it.
32458 2013-08-12  David S. Miller  <davem@davemloft.net>
32460         * version.h (RELEASE): Set to "development".
32461         (VERSION): Set to "2.18.90".
32462         * NEWS: Add 2.19 section.
32464 2013-08-03  David S. Miller  <davem@davemloft.net>
32466         * po/ko.po: Update Korean translation from translation project.
32468 2013-08-01  David S. Miller  <davem@davemloft.net>
32470         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32471         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32472         Bilka.
32474 2013-07-30  David S. Miller  <davem@davemloft.net>
32476         * po/fr.po: Update French translation from translation project.
32478 2013-07-28  David S. Miller  <davem@davemloft.net>
32480         * po/cs.po: Update Czech translation from translation project.
32482         * po/sv.po: Update Swedish translation from translation project.
32484 2013-07-27  David S. Miller  <davem@davemloft.net>
32486         * po/eo.po: Update Esperanto translation from translation project.
32488         * po/vi.po: Update Vietnamese translation from translation project.
32490         * po/de.po: Update German translation from translation project.
32492 2013-07-26  David S. Miller  <davem@davemloft.net>
32494         * po/bg.po: Update Bulgarian translation from translation project.
32496         * po/nl.po: Update Dutch translation from translation project.
32497         * po/pl.po: Update Polish translation from translation project.
32498         * po/ru.po: Update Russian translation from translation project.
32500 2013-07-24  David S. Miller  <davem@davemloft.net>
32502         * po/libc.pot: Update.
32504 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32506         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32507         variable page size.
32508         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32509         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32510         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32512 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32514         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32516 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32517             Andreas Schwab  <schwab@suse.de>
32518             Roland McGrath  <roland@hack.frob.com>
32519             Joseph Myers  <joseph@codesourcery.com>
32520             Carlos O'Donell  <carlos@redhat.com>
32522         [BZ #15755]
32523         * config.h.in: Define HAVE_PT_CHOWN.
32524         * config.make.in (build-pt-chown): New variable.
32525         * configure.in (--enable-pt_chown): New configure option.
32526         * configure: Regenerate.
32527         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32528         build-pt-chown is enabled.
32529         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32530         pt_chown to fix pty ownership.
32531         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32532         CLOSE_ALL_FDS.
32533         * manual/install.texi (Configuring and compiling): Mention
32534         --enable-pt_chown. Add @findex for grantpt.
32535         * INSTALL: Regenerate.
32537 2013-07-20  David S. Miller  <davem@davemloft.net>
32539         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32540         difference between 32-bit and 64-bit.
32542 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32544         [BZ #15711]
32545         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32546         Avoid system header dependency with -ffreestanding.
32547         ($(objpfx)bits/syscall%d): Likewise.
32549 2013-07-13  David S. Miller  <davem@davemloft.net>
32551         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32552         underflows from atanl/atan2l due to bug 15319.
32553         (casinh_test_data): Likewise.
32555 2013-07-07  David S. Miller  <davem@davemloft.net>
32557         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32559 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32561         * sysdeps/i386/fpu/libm-test-ulps: Update.
32562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32564 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32566         * configure.in (--enable-lock-elision): Fix message text.
32567         * INSTALL: Regenerate.
32568         * configure: Regenerate.
32570 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32574 2013-07-03  Andreas Jaeger  <aj@suse.de>
32576         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32577         define.
32578         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32579         (ptrace_peeksiginfo_args): Add.
32580         (__ptrace_peeksiginfo_flags): Add.
32581         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32582         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32585 2013-07-03  Allan McRae  <allan@archlinux.org>
32587         * sysdeps/i386/fpu/libm-test-ulps: Update.
32589 2013-07-02  David S. Miller  <davem@davemloft.net>
32591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32593 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32597 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32599         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32602 2013-07-02  Andi Kleen <ak@linux.intel.com>
32604         * config.h.in (ENABLE_LOCK_ELISION): Add.
32605         * configure.in (--enable-lock-elision): Add option.
32606         * manual/install.texi: Document --enable lock elision.
32607         * configure: Regenerate
32608         * INSTALL: Regenerate.
32610 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32612         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32613         SSE4.2 strcasecmp for libc.a.
32614         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32616 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32618         [BZ #13304]
32619         * soft-fp/op-common.h (_FP_FMA): New macro.
32620         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32621         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32622         (_FP_MUL_MEAT_1_imm): ... here.
32623         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32624         (_FP_MUL_MEAT_1_wide): ... here.
32625         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32626         (_FP_MUL_MEAT_1_hard): ... here.
32627         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32628         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32629         (_FP_MUL_MEAT_2_wide): ... here.
32630         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32631         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32632         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32633         (_FP_MUL_MEAT_2_gmp): ... here.
32634         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32635         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32636         (_FP_MUL_MEAT_4_wide): ... here.
32637         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32638         (_FP_MUL_MEAT_4_gmp): ... here.
32639         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32640         (_FP_WFRACBITS_DW_S): Likewise.
32641         (_FP_WFRACXBITS_DW_S): Likewise.
32642         (_FP_HIGHBIT_DW_S): Likewise.
32643         (FP_FMA_S): Likewise.
32644         (_FP_FRAC_HIGH_DW_S): Likewise.
32645         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32646         (_FP_WFRACBITS_DW_D): Likewise.
32647         (_FP_WFRACXBITS_DW_D): Likewise.
32648         (_FP_HIGHBIT_DW_D): Likewise.
32649         (FP_FMA_D): Likewise.
32650         (_FP_FRAC_HIGH_DW_D): Likewise.
32651         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32652         (_FP_WFRACBITS_DW_E): Likewise.
32653         (_FP_WFRACXBITS_DW_E): Likewise.
32654         (_FP_HIGHBIT_DW_E): Likewise.
32655         (FP_FMA_E): Likewise.
32656         (_FP_FRAC_HIGH_DW_E): Likewise.
32657         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32658         (_FP_WFRACBITS_DW_Q): Likewise.
32659         (_FP_WFRACXBITS_DW_Q): Likewise.
32660         (_FP_HIGHBIT_DW_Q): Likewise.
32661         (FP_FMA_Q): Likewise.
32662         (_FP_FRAC_HIGH_DW_Q): Likewise.
32663         * soft-fp/fmasf4.c: New file.
32664         * soft-fp/fmadf4.c: Likewise.
32665         * soft-fp/fmatf4.c: Likewise.
32667 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32670         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32671         Silvermont.
32672         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32673         macro.
32674         (index_Slow_SSE4_2): Likewise.
32675         (index_Prefer_PMINUB_for_stringop): Likewise.
32676         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32677         bit_Slow_SSE4_2 is set.
32678         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32679         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32681 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32683         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32684         rtld_global._dl_hwcap2.
32685         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32686         POWER8.
32687         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32688         POWER8 feature descriptions defined in _dl_hwcap2.
32689         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32690         string handling for POWER8 feature bits.
32691         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32692         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32693         _dl_powerpc_cap_flags.
32694         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32695         * sysdeps/powerpc/rtld-global-offsets.sym
32696         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32697         _dl_hwcap2 in the rtld_global_ro structure.
32699 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32701         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32702         hardware capabilities in support of AT_HWCAP2.
32703         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32704         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32705         GLRO(dl_hwcap2).
32706         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32707         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32708         explicitly the unknown a_type display mechanism is used.
32709         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32710         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32711         struct member.
32712         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32713         to macro prototype for AT_HWCAP2 support.
32714         * sysdeps/i386/dl-procinfo.h: Likewise.
32715         * sysdeps/s390/dl-procinfo.h: Likewise.
32716         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32717         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32718         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32719         return -1 for unknown a_type display fallback.
32720         * sysdeps/sparc/dl-procinfo.h: Likewise.
32721         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32722         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32724 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32726         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32727         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32729 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32731         [BZ #12492]
32732         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32733         mprotect making __stack_prot writable.
32735 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32736             Joseph Myers  <joseph@codesourcery.com>
32738         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32739         as being properly aligned.
32741 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32743         * dlfcn/modstatic5.c: New file.
32744         * dlfcn/tststatic5.c: New file.
32745         * dlfcn/Makefile (tests): Add tststatic5.
32746         (tests-static): Likewise.
32747         (modules-names): Add modstatic5.
32748         (tststatic5-ENV): New variable.
32749         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32751         [BZ #15022]
32752         * elf/dl-support.c (_dl_main_map): New variable.
32753         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32754         (_dl_nns, _dl_load_adds): Set to 1.
32755         (_dl_initial_searchlist): Refer to _dl_main_map.
32756         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32757         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32758         call to _dl_get_origin.
32759         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32760         around call_map.
32761         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32762         * dlfcn/modstatic3.c: New file.
32763         * dlfcn/tststatic3.c: New file.
32764         * dlfcn/tststatic4.c: New file.
32765         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32766         (tests-static): Likewise.
32767         (modules-names): Add modstatic3.
32768         (tststatic3-ENV, tststatic4-ENV): New variables.
32769         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32770         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32772 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32774         * configure.in (CC): Require GCC version 4.4 or later.
32775         * configure: Regenerated.
32776         * manual/install.texi (Tools for Compilation): Update GCC version
32777         requirement.
32778         * INSTALL: Regenerated.
32780 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32782         [BZ #15674]
32783         * string/test-memcmp.c (check2): New.
32784         (main): Call check2.
32786         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32788 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32790         [BZ #15022]
32791         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32792         over to...
32793         (dl_open_worker) [!SHARED]: ... here.
32795 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32797         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32799 2013-06-25  Richard Henderson  <rth@redhat.com>
32801         * locale/programs/locarchive.c: Include <libc-internal.h>
32803 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32805         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32806         trailing whitespace removed.
32808 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32810         [BZ #10283]
32811         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32812         * locale/programs/locarchive.c: Include libc-mmap.h.
32813         (prepare_address_space): Take two new outputs (the mmap base and len).
32814         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32815         values.
32816         (create_archive): Declare new mmap base and len values for
32817         prepare_address_space, and store the result in ah.
32818         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32819         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32820         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32821         Declare new mmap base and len values for
32822         prepare_address_space, and store the result in new_ah.
32823         (open_archive): Declare new mmap base and len values for
32824         prepare_address_space, and store the result in ah.
32825         (close_archive): If ah->mmap_base is not NULL, use that and
32826         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32827         * sysdeps/generic/libc-mmap.h: New file.
32829 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32831         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32832         (ALIGN_UP): Likewise.
32833         (PTR_ALIGN_DOWN): Likewise.
32834         (PTR_ALIGN_UP): Likewise.
32836 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32838         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32839         entry mapped to PPC_PLATFORM_POWER8.
32840         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32841         POWER8.
32842         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32843         (_dl_string_platform): Add case for exporting platform position for
32844         POWER8.
32845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32846         search path to sysdeps/powerpc/powerpc32/power8 directory.
32847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32848         search path to sysdeps/powerpc/powerpc64/power8 directory.
32849         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32850         power7 directories.
32851         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32852         power7 directories.
32854 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32856         * INSTALL: Regenerate.
32858         * nscd/connections.c (nscd_init): Fix comment.
32860 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32862         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32864         [BZ #15667]
32865         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32866         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32868 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32870         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32871         DL_DST_REQ_STATIC.
32872         (DL_DST_REQ_STATIC): Remove macro.
32874 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32876         [BZ #7006]
32877         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32878         with a shift of 0 bits.
32880 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32882         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32883         $(tststatic-ENV).
32885 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32887         [BZ #15655]
32888         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32890 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32892         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32893         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32894         accepts -fno-tree-loop-distribute-patterns.
32895         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32896         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32897         recursive call.
32898         * string/memset.c (memset): Likewise.
32899         * string/test-memmove.c (simple_memmove): Disable loop transformation
32900         to library calls.
32901         * string/test-memset.c (simple_memset): Likewise.
32902         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32903         * benchtests/bench-memset.c (simple_memset): Likewise.
32904         * configure: Regenerated.
32906 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32908         * math/test-misc.c (main): Ignore fesetround failure when failures
32909         of subsequent rounding tests would be ignored.
32911         [BZ #15654]
32912         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32913         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32914         * math/fegetenv.c (__fegetenv): Return 0.
32915         * math/fegetexcept.c (fegetexcept): Return 0.
32916         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32917         FE_TONEAREST.
32918         * math/feholdexcpt.c (feholdexcept): Return 0.
32919         * math/fesetenv.c (__fesetenv): Return 0.
32920         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32921         argument FE_TONEAREST.
32922         * math/feupdateenv.c (__feupdateenv): Return 0.
32923         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32925 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32927         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32928         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32929         ($(objpfx)rtld-%.os rules): Use them.
32931 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32933         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32934         fields.
32936 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32938         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32939         length of target pattern, then descending length of dependency pattern.
32940         * configure.in (AWK): Require gawk 3.1.2 or newer.
32941         * manual/install.texi (Tools for Compilation): Say that we do.
32942         * configure: Regenerated.
32944         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32945         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32946         * scripts/sysd-rules.awk: ... this new script.
32947         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32948         than a glob-style pattern.
32950 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32952         * math/test-misc.c (main): Do not treat incorrectly rounded
32953         conversions as failure unless ROUNDING_TESTS passes.
32955 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32957         [BZ #15631]
32958         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32959         restore exception state around main square root computation, then
32960         check for inexactness explicitly.
32962         * math/libm-test.inc (fma_test_data): Add another test.
32964 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32966         * manual/threads.texi (Non-POSIX Extensions): New document
32967         node.  Document pthread_getattr_default_np and
32968         pthread_setattr_default_np.
32970         * Versions.def (libpthread): Add GLIBC_2.18.
32971         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32973         Likewise.
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32975         Likewise.
32976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32977         Likewise.
32978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32979         Likewise.
32980         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32981         Likewise.
32982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32983         Likewise.
32984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32985         Likewise.
32986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32987         Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32989         Likewise.
32991 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32994         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32996 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32997             H.J. Lu  <hjl.tools@gmail.com>
32999         [BZ #15627]
33000         * sysdeps/x86_64/rtld-memset.c: Remove file.
33001         * sysdeps/x86_64/rtld-memset.S: New file.
33003 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
33005         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33006         (test_in_one_mode): Take arguments for whether the rounding mode
33007         is supported for each floating-point type.
33008         (do_test): Pass new arguments to test_in_one_mode using
33009         ROUNDING_TESTS.
33011 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33013         * posix/tst-waitid.c (do_test): Distinguish different instances of
33014         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
33015         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33016         before entering the kernel for waitpid.
33018 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33020         * NEWS: Fix note on clock function precision.  Text by Roland
33021         McGrath.
33023 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33025         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33026         it into place only when and if the sanity check passes.
33028 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
33030         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33031         output for whether conversion result is exact.  Take argument
33032         indicating whether type is IBM long double.
33033         (round_for_all): Change need_exact field to ibm_ld.
33034         * stdlib/tst-strtod-round.c (struct exactness): New type.
33035         (struct test): Change bool ld_ok field to struct exactness exact.
33036         (TEST): Update all definitions for change to field.
33037         (tests): Regenerate array contents.
33038         (test_in_one_mode): Take pointer to new field instead of old ld_ok
33039         field value.  Check for IBM long double here.
33040         (do_test): Update calls to test_in_one_mode.
33042 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33044         [BZ #12515]
33045         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33046         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33048 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33050         [BZ #15605]
33051         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33052         generated by the compiler on loop optimizations.
33053         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33054         general definitions.
33056 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
33058         * math/bug-nextafter.c: Include <math-tests.h>.
33059         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33060         the relevant type.
33061         * math/bug-nexttoward.c: Include <math-tests.h>.
33062         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33063         the relevant type.
33064         * math/test-misc.c: Include <math-tests.h>.
33065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33066         the relevant type.
33068 2013-06-12  Andreas Jaeger  <aj@suse.de>
33070         * po/ia.po: Update Interlingua translation from translation
33071         project.
33073 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33075         * include/fenv.h: Include stdbool.h.
33076         (struct rm_ctx): New structure.
33077         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33078         Define macro.
33079         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33080         (SET_RESTORE_ROUNDF): Likewise.
33081         (SET_RESTORE_ROUNDL): Likewise.
33082         (SET_RESTORE_ROUND_NOEX): Likewise.
33083         (SET_RESTORE_ROUND_NOEXF): Likewise.
33084         (SET_RESTORE_ROUND_NOEXL): Likewise.
33085         (SET_RESTORE_ROUND_53BIT): Likewise.
33086         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33087         (libc_feresetround_noexf_ctx): Likewise.
33088         (libc_feresetround_noexl_ctx): Likewise.
33089         (libc_feholdsetround_53bit_ctx): Likewise.
33090         (libc_feresetround_53bit_ctx): Likewise.
33091         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33092         (libc_feholdexcept_setround_sse_ctx): New function.
33093         (libc_fesetenv_sse_ctx): Likewise.
33094         (libc_feupdateenv_sse_ctx): Likewise.
33095         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33096         (libc_feholdexcept_setround_387_ctx): Likewise.
33097         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33098         (libc_feholdsetround_387_prec_ctx): Likewise.
33099         (libc_feholdsetround_387_ctx): Likewise.
33100         (libc_feholdsetround_387_53bit_ctx): Likewise.
33101         (libc_feholdsetround_sse_ctx): Likewise.
33102         (libc_feresetround_sse_ctx): Likewise.
33103         (libc_feresetround_387_ctx): Likewise.
33104         (libc_feupdateenv_387_ctx): Likewise.
33105         (libc_feholdexcept_setroundf_ctx): Define macro.
33106         (libc_fesetenvf_ctx): Likewise.
33107         (libc_feupdateenvf_ctx): Likewise.
33108         (libc_feholdsetroundf_ctx): Likewise.
33109         (libc_feresetroundf_ctx): Likewise.
33110         (libc_feholdexcept_setround_ctx): Likewise.
33111         (libc_fesetenv_ctx): Likewise.
33112         (libc_feupdateenv_ctx): Likewise.
33113         (libc_feholdsetround_ctx): Likewise.
33114         (libc_feresetround_ctx): Likewise.
33115         (libc_feholdexcept_setroundl_ctx): Likewise.
33116         (libc_feupdateenvl_ctx): Likewise.
33117         (libc_feholdsetroundl_ctx): Likewise.
33118         (libc_feresetroundl_ctx): Likewise.
33119         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33120         (libc_feresetround_53bit_ctx): Likewise.
33122 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33124         * locale/iso-639.def: Convert to UTF-8.
33126 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33128         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33129         (EXCEPTION_TESTS_double): Likewise.
33130         (EXCEPTION_TESTS_long_double): Likewise.
33131         (EXCEPTION_TESTS): Likewise.
33132         * math/libm-test.inc (test_exceptions): Only test exceptions if
33133         EXCEPTION_TESTS (FLOAT).
33135 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33137         * benchtests/Makefile (string-bench): Add strcpy_chk and
33138         stpcpy_chk.
33139         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33140         * benchtests/bench-stpcpy_chk.c: New file.
33141         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33142         * benchtests/bench-strcpy_chk.c: New file.
33143         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33144         code.
33145         (do_test): Likewise.
33147 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33149         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33150         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33151         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33152         with tabs where appropriate.
33153         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33154         dl-procinfo.h.
33155         [PPC_PLATFORM_PPC440]: Likewise.
33156         [PPC_PLATFORM_PPC464]: Likewise.
33157         [PPC_PLATFORM_PPC476]: Likewise.
33158         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33159         ppc464, and ppc476 platform strings merging from ports/
33160         dl-procinfo.h.
33162 2013-06-11  Andreas Schwab  <schwab@suse.de>
33164         [BZ #14991]
33165         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33166         (from_ucs4_idx): Regenerate.
33167         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33168         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33169         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33170         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33171         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33172         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33173         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33174         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33175         from FROM_LOOP and TO_LOOP specific macros.
33176         (BODY): Handle combining characters.
33177         * iconvdata/BIG5HKSCS.irreversible: Update.
33178         * iconvdata/BIG5HKSCS.precomposed: New file.
33179         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33180         characters.
33181         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33183 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33185         * include/sys/time.h: Fix indentation and add copyright header.
33187         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33188         (do_test): Likewise.
33189         * string/test-memchr.c (do_one_test): Likewise.
33190         (do_test): Likewise.
33191         * string/test-memcmp.c (do_one_test): Likewise.
33192         (do_test): Likewise.
33193         * string/test-memcpy.c (do_one_test): Likewise.
33194         (do_test): Likewise.
33195         * string/test-memmem.c (do_one_test): Likewise.
33196         (do_test): Likewise.
33197         (do_random_tests): Likewise.
33198         * string/test-memmove.c (do_one_test): Likewise.
33199         (do_test): Likewise.
33200         * string/test-memset.c (do_one_test): Likewise.
33201         (do_test): Likewise.
33202         * string/test-rawmemchr.c (do_one_test): Likewise.
33203         (do_test): Likewise.
33204         * string/test-strcasecmp.c (do_one_test): Likewise.
33205         (do_test): Likewise.
33206         * string/test-strcasestr.c (do_one_test): Likewise.
33207         (do_test): Likewise.
33208         * string/test-strcat.c (do_one_test): Likewise.
33209         (do_test): Likewise.
33210         * string/test-strchr.c (do_one_test): Likewise.
33211         (do_test): Likewise.
33212         * string/test-strcmp.c (do_one_test): Likewise.
33213         (do_test): Likewise.
33214         * string/test-strcpy.c (do_one_test): Likewise.
33215         (do_test): Likewise.
33216         * string/test-string.h: Likewise.
33217         (test_init): Likewise.
33218         * string/test-strlen.c (do_one_test): Likewise.
33219         (do_test): Likewise.
33220         * string/test-strncasecmp.c (do_one_test): Likewise.
33221         (do_test): Likewise.
33222         * string/test-strncat.c (do_one_test): Likewise.
33223         (do_test): Likewise.
33224         * string/test-strncmp.c (do_one_test): Likewise.
33225         (do_test_limit): Likewise.
33226         (do_test): Likewise.
33227         * string/test-strncpy.c (do_one_test): Likewise.
33228         (do_test): Likewise.
33229         * string/test-strnlen.c (do_one_test): Likewise.
33230         (do_test): Likewise.
33231         * string/test-strpbrk.c (do_one_test): Likewise.
33232         (do_test): Likewise.
33233         * string/test-strrchr.c (do_one_test): Likewise.
33234         (do_test): Likewise.
33235         * string/test-strspn.c (do_one_test): Likewise.
33236         (do_test): Likewise.
33237         * string/test-strstr.c (do_one_test): Likewise.
33238         (do_test): Likewise.
33240         * benchtests/Makefile (string-bench): Add string benchmarks.
33241         * benchtests/bench-bcopy-ifunc.c: New file.
33242         * benchtests/bench-bcopy.c: New file.
33243         * benchtests/bench-bzero-ifunc.c: New file.
33244         * benchtests/bench-bzero.c: New file.
33245         * benchtests/bench-memccpy-ifunc.c: New file.
33246         * benchtests/bench-memccpy.c: New file.
33247         * benchtests/bench-memchr-ifunc.c: New file.
33248         * benchtests/bench-memchr.c: New file.
33249         * benchtests/bench-memcmp-ifunc.c: New file.
33250         * benchtests/bench-memcmp.c: New file.
33251         * benchtests/bench-memmem-ifunc.c: New file.
33252         * benchtests/bench-memmem.c: New file.
33253         * benchtests/bench-memmove-ifunc.c: New file.
33254         * benchtests/bench-memmove.c: New file.
33255         * benchtests/bench-mempcpy-ifunc.c: New file.
33256         * benchtests/bench-mempcpy.c: New file.
33257         * benchtests/bench-memset-ifunc.c: New file.
33258         * benchtests/bench-memset.c: New file.
33259         * benchtests/bench-rawmemchr-ifunc.c: New file.
33260         * benchtests/bench-rawmemchr.c: New file.
33261         * benchtests/bench-stpcpy-ifunc.c: New file.
33262         * benchtests/bench-stpcpy.c: New file.
33263         * benchtests/bench-stpncpy-ifunc.c: New file.
33264         * benchtests/bench-stpncpy.c: New file.
33265         * benchtests/bench-strcasecmp-ifunc.c: New file.
33266         * benchtests/bench-strcasecmp.c: New file.
33267         * benchtests/bench-strcasestr-ifunc.c: New file.
33268         * benchtests/bench-strcasestr.c: New file.
33269         * benchtests/bench-strcat-ifunc.c: New file.
33270         * benchtests/bench-strcat.c: New file.
33271         * benchtests/bench-strchr-ifunc.c: New file.
33272         * benchtests/bench-strchr.c: New file.
33273         * benchtests/bench-strchrnul-ifunc.c: New file.
33274         * benchtests/bench-strchrnul.c: New file.
33275         * benchtests/bench-strcmp-ifunc.c: New file.
33276         * benchtests/bench-strcmp.c: New file.
33277         * benchtests/bench-strcpy-ifunc.c: New file.
33278         * benchtests/bench-strcpy.c: New file.
33279         * benchtests/bench-strcspn-ifunc.c: New file.
33280         * benchtests/bench-strcspn.c: New file.
33281         * benchtests/bench-strlen-ifunc.c: New file.
33282         * benchtests/bench-strlen.c: New file.
33283         * benchtests/bench-strncasecmp-ifunc.c: New file.
33284         * benchtests/bench-strncasecmp.c: New file.
33285         * benchtests/bench-strncat-ifunc.c: New file.
33286         * benchtests/bench-strncat.c: New file.
33287         * benchtests/bench-strncmp-ifunc.c: New file.
33288         * benchtests/bench-strncmp.c: New file.
33289         * benchtests/bench-strncpy-ifunc.c: New file.
33290         * benchtests/bench-strncpy.c: New file.
33291         * benchtests/bench-strnlen-ifunc.c: New file.
33292         * benchtests/bench-strnlen.c: New file.
33293         * benchtests/bench-strpbrk-ifunc.c: New file.
33294         * benchtests/bench-strpbrk.c: New file.
33295         * benchtests/bench-strrchr-ifunc.c: New file.
33296         * benchtests/bench-strrchr.c: New file.
33297         * benchtests/bench-strspn-ifunc.c: New file.
33298         * benchtests/bench-strspn.c: New file.
33299         * benchtests/bench-strstr-ifunc.c: New file.
33300         * benchtests/bench-strstr.c: New file.
33302         * benchtests/Makefile: Disable parallel execution of targets.
33303         (string-bench): Add memcpy.
33304         (benchset): New variable to store a list of benchmark sets.
33305         (bench-func): Renamed from bench.
33306         (bench-set): New target.
33307         (bench): Depend on bench-func and bench-set.
33308         * benchtests/README: Add section on benchmark sets.
33309         * benchtests/bench-memcpy-ifunc.c: New file.
33310         * benchtests/bench-memcpy.c: New file.
33311         * benchtests/bench-string.h: New file.
33313 2013-06-11  Andreas Schwab  <schwab@suse.de>
33315         [BZ #15577]
33316         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33317         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33318         values in the triple.
33319         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33320         terminator in the group key.
33322 2013-06-11  Andreas Jaeger  <aj@suse.de>
33324         * po/zh_TW.po: Update Chinese (traditional) translation from
33325         translation project.
33327 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33329         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33330         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33331         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33332         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33333         (clock_getcpuclockid): Likewise.
33334         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33335         Add weak_alias and libc_hidden_def.
33336         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33337         * rt/clock_gettime.c (clock_gettime): Rename to
33338         __clock_gettime.  Add weak_alias and libc_hidden_def.
33339         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33340         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33341         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33342         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33343         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33344         Likewise.
33345         * rt/clock_settime.c (clock_settime): Rename to
33346         __clock_settime.  Add weak_alias and libc_hidden_def.
33347         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33349 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33351         * mach/err_boot.sub: Remove trailing whitespace.
33352         * mach/err_ipc.sub: Likewise.
33353         * mach/err_mach.sub: Likewise.
33355         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33356         (ROUNDING_TESTS_double): Likewise.
33357         (ROUNDING_TESTS_long_double): Likewise.
33358         (ROUNDING_TESTS): Likewise.
33359         * math/libm-test.inc: Include <math-tests.h>.
33360         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33361         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33362         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33363         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33365 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33367         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33368         of assigning.
33370 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33372         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33373         otherwise empty TRANS lines.
33374         * sysdeps/gnu/errlist.c: Regenerated.
33376         * catgets/gencat.c (error_print): Use (void) in function
33377         definition.
33378         * crypt/crypt_util.c (__init_des): Likewise.
33379         * crypt/speeds.c (Stop): Likewise.
33380         (main): Likewise.
33381         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33382         * inet/ruserpass.c (token): Likewise.
33383         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33384         * intl/localealias.c (extend_alias_table): Likewise.
33385         * intl/plural-exp.c (init_germanic_plural): Likewise.
33386         * libio/fcloseall.c (__fcloseall): Likewise.
33387         * libio/genops.c (_IO_flush_all): Likewise.
33388         (_IO_flush_all_linebuffered): Likewise.
33389         (_IO_cleanup): Likewise.
33390         (_IO_iter_begin): Likewise.
33391         (_IO_iter_end): Likewise.
33392         (_IO_list_lock): Likewise.
33393         (_IO_list_unlock): Likewise.
33394         (_IO_list_resetlock): Likewise.
33395         * libio/getchar.c (getchar): Likewise.
33396         * libio/getchar_u.c (getchar_unlocked): Likewise.
33397         * libio/getwchar.c (getwchar): Likewise.
33398         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33399         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33400         * login/getpt.c (__getpt): Likewise.
33401         * login/tst-utmp.c (main): Likewise.
33402         * malloc/hooks.c (__malloc_check_init): Likewise.
33403         * malloc/malloc.c (__malloc_stats): Likewise.
33404         * malloc/mtrace.c (tr_break): Likewise.
33405         (mtrace): Likewise.
33406         (muntrace): Likewise.
33407         * misc/fstab.c (endfsent): Likewise.
33408         * misc/getclktck.c (__getclktck): Likewise.
33409         * misc/getdtsz.c (__getdtablesize): Likewise.
33410         * misc/gethostid.c (gethostid): Likewise.
33411         * misc/getpagesize.c (__getpagesize): Likewise.
33412         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33413         (__get_nprocs): Likewise.
33414         (__get_phys_pages): Likewise.
33415         (__get_avphys_pages): Likewise.
33416         * misc/getttyent.c (getttyent): Likewise.
33417         (setttyent): Likewise.
33418         (endttyent): Likewise.
33419         * misc/getusershell.c (getusershell): Likewise.
33420         (endusershell): Likewise.
33421         (setusershell): Likewise.
33422         (initshells): Likewise.
33423         * misc/hsearch.c (__hdestroy): Likewise.
33424         * misc/sync.c (sync): Likewise.
33425         * misc/syslog.c (closelog_internal): Likewise.
33426         (closelog): Likewise.
33427         * misc/ttyslot.c (ttyslot): Likewise.
33428         * misc/vhangup.c (vhangup): Likewise.
33429         * posix/fork.c (__fork): Likewise.
33430         * posix/getegid.c (__getegid): Likewise.
33431         * posix/geteuid.c (__geteuid): Likewise.
33432         * posix/getgid.c (__getgid): Likewise.
33433         * posix/getpid.c (__getpid): Likewise.
33434         * posix/getppid.c (__getppid): Likewise.
33435         * posix/getuid.c (__getuid): Likewise.
33436         * posix/pause.c (pause): Likewise.
33437         * posix/setpgrp.c (setpgrp): Likewise.
33438         * posix/setsid.c (__setsid): Likewise.
33439         * posix/test-vfork.c (noop): Likewise.
33440         * resolv/gethnamaddr.c (_endhtent): Likewise.
33441         (_gethtent): Likewise.
33442         (ht_endhostent): Likewise.
33443         (gethostent): Likewise.
33444         (dns_service): Likewise.
33445         * stdlib/drand48.c (drand48): Likewise.
33446         * stdlib/lrand48.c (lrand48): Likewise.
33447         * stdlib/mrand48.c (mrand48): Likewise.
33448         * stdlib/rand.c (rand): Likewise.
33449         * stdlib/random.c (__random): Likewise.
33450         * stdlib/setenv.c (clearenv): Likewise.
33451         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33452         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33453         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33454         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33455         (__get_nprocs): Likewise.
33456         (__get_phys_pages): Likewise.
33457         (__get_avphys_pages): Likewise.
33458         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33459         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33460         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33461         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33462         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33463         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33464         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33465         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33466         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33467         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33468         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33469         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33470         * sysdeps/posix/clock.c (clock): Likewise.
33471         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33472         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33473         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33474         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33475         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33476         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33477         (__get_nprocs_conf): Likewise.
33478         (__get_phys_pages): Likewise.
33479         (__get_avphys_pages): Likewise.
33480         * time/clock.c (clock): Likewise.
33481         * time/tzset.c (__tzname_max): Likewise.
33483 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33485         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33486         (__bswap_32): Do not use "register".
33487         * crypt/crypt.c (_ufc_doit_r): Likewise.
33488         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33489         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33490         * gmon/gmon.c (__monstartup): Likewise.
33491         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33492         * hurd/hurdmalloc.c (more_memory): Likewise.
33493         (malloc): Likewise.
33494         (free): Likewise.
33495         (realloc): Likewise.
33496         (malloc_fork_prepare): Likewise.
33497         (malloc_fork_parent): Likewise.
33498         (malloc_fork_child): Likewise.
33499         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33500         (_svcauth_des): Likewise.
33501         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33502         * inet/inet_net.c (inet_network): Likewise.
33503         * inet/inet_netof.c (inet_netof): Likewise.
33504         * inet/rcmd.c (__validuser2_sa): Likewise.
33505         * io/fts.c (fts_open): Likewise.
33506         (fts_load): Likewise.
33507         (fts_close): Likewise.
33508         (fts_read): Likewise.
33509         (fts_children): Likewise.
33510         (fts_build): Likewise.
33511         (fts_stat): Likewise.
33512         (fts_sort): Likewise.
33513         (fts_alloc): Likewise.
33514         (fts_lfree): Likewise.
33515         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33516         (_IO_file_xsgetn): Likewise.
33517         (_IO_file_xsgetn_mmap): Likewise.
33518         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33519         (_IO_cookie_write): Likewise.
33520         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33521         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33522         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33523         * malloc/obstack.c (_obstack_begin): Likewise.
33524         (_obstack_begin_1): Likewise.
33525         (_obstack_newchunk): Likewise.
33526         (_obstack_allocated_p): Likewise.
33527         (obstack_free): Likewise.
33528         (_obstack_memory_used): Likewise.
33529         * misc/getttyent.c (getttynam): Likewise.
33530         (getttyent): Likewise.
33531         (skip): Likewise.
33532         (value): Likewise.
33533         * misc/getusershell.c (initshells): Likewise.
33534         * misc/syslog.c (__vsyslog_chk): Likewise.
33535         * misc/ttyslot.c (ttyslot): Likewise.
33536         * nis/nis_hash.c (__nis_hash): Likewise.
33537         * posix/fnmatch_loop.c (FCT): Likewise.
33538         * posix/getconf.c (print_all): Likewise.
33539         (main): Likewise.
33540         * posix/getopt.c (exchange): Likewise.
33541         * posix/glob.c (globfree): Likewise.
33542         (prefix_array): Likewise.
33543         (__glob_pattern_type): Likewise.
33544         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33545         (NS_GET32): Likewise.
33546         (NS_PUT16): Likewise.
33547         (NS_PUT32): Likewise.
33548         * resolv/gethnamaddr.c (getanswer): Likewise.
33549         (gethostbyname2): Likewise.
33550         (gethostbyaddr): Likewise.
33551         (_gethtent): Likewise.
33552         (_gethtbyname2): Likewise.
33553         (_gethtbyaddr): Likewise.
33554         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33555         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33556         * resolv/res_init.c (__res_vinit): Likewise.
33557         (net_mask): Likewise.
33558         * resolv/res_mkquery.c (outchar): Likewise.
33559         (PRINT): Likewise.
33560         * stdio-common/printf_fp.c (outchar): Likewise.
33561         (PRINT): Likewise.
33562         * stdio-common/printf_fphex.c (outchar): Likewise.
33563         (PRINT): Likewise.
33564         * stdio-common/printf_size.c (outchar): Likewise.
33565         (PRINT): Likewise.
33566         * stdio-common/test_rdwr.c (main): Likewise.
33567         * stdio-common/tfformat.c (matches): Likewise.
33568         * stdio-common/vfprintf.c (outchar): Likewise.
33569         (printf_unknown): Likewise.
33570         (buffered_vfprintf): Likewise.
33571         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33572         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33573         (ReadFile): Likewise.
33574         * stdlib/qsort.c (SWAP): Likewise.
33575         (_quicksort): Likewise.
33576         * stdlib/setenv.c (__add_to_environ): Likewise.
33577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33578         * stdlib/strtol_l.c (__strtol_l): Likewise.
33579         * stdlib/tst-strtod.c (main): Likewise.
33580         * stdlib/tst-strtol.c (main): Likewise.
33581         * stdlib/tst-strtoll.c (main): Likewise.
33582         * string/bits/string2.h (__strcmp_cc): Likewise.
33583         (__strcmp_cg): Likewise.
33584         (__strcspn_c1): Likewise.
33585         (__strcspn_c2): Likewise.
33586         (__strcspn_c3): Likewise.
33587         (__strspn_c1): Likewise.
33588         (__strspn_c2): Likewise.
33589         (__strspn_c3): Likewise.
33590         (__strsep_1c): Likewise.
33591         (__strsep_2c): Likewise.
33592         (__strsep_3c): Likewise.
33593         * string/memccpy.c (__memccpy): Likewise.
33594         * string/stpcpy.c (__stpcpy): Likewise.
33595         * string/strcmp.c (strcmp): Likewise.
33596         * string/strrchr.c (strrchr): Likewise.
33597         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33598         Likewise.
33599         * sysdeps/mach/hurd/getcwd.c
33600         (_hurd_canonicalize_directory_name_internal): Likewise.
33601         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33602         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33603         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33604         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33605         Likewise, in both definitions.
33606         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33607         definitions.
33608         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33609         64] (__bswap_64): Likewise.
33610         * time/test_time.c (main): Likewise.
33611         * time/tzfile.c (__tzfile_read): Likewise.
33612         (__tzfile_compute): Likewise.
33613         * time/tzset.c (__tzset_parse_tz): Likewise.
33614         (tzset_internal): Likewise.
33615         (compute_change): Likewise.
33616         * wcsmbs/wcscat.c (__wcscat): Likewise.
33617         * wcsmbs/wcschr.c (wcschr): Likewise.
33618         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33619         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33620         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33621         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33622         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33623         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33624         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33625         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33626         * wcsmbs/wmemset.c (wmemset): Likewise.
33628 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33630         * scripts/config.guess: Update to version 2013-05-16.
33631         * scripts/config.sub: Update to version 2013-04-24.
33632         * scripts/install-sh: Update to version 2011-11-20.07.
33633         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33634         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33636 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33638         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33639         * elf/sln.c: Likewise.
33640         * hurd/hurd/ioctl.h: Likewise.
33641         * hurd/hurdmalloc.c: Likewise.
33642         * hurd/xattr.c: Likewise.
33643         * include/shlib-compat.h: Likewise.
33644         * inet/ruserpass.c: Likewise.
33645         * libio/iofgets_u.c: Likewise.
33646         * libio/iofgetws_u.c: Likewise.
33647         * locale/programs/ld-identification.c: Likewise.
33648         * locale/programs/ld-time.c: Likewise.
33649         * mach/msg-destroy.c: Likewise.
33650         * nss/nss_files/files-netgrp.c: Likewise.
33651         * resolv/res_data.c: Likewise.
33652         * soft-fp/op-1.h: Likewise.
33653         * soft-fp/op-2.h: Likewise.
33654         * soft-fp/op-4.h: Likewise.
33655         * soft-fp/op-common.h: Likewise.
33656         * stdio-common/printf_fphex.c: Likewise.
33657         * stdlib/strtod_l.c: Likewise.
33658         * sunrpc/rpc/clnt.h: Likewise.
33659         * sysdeps/generic/framestate.c: Likewise.
33660         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33661         * sysdeps/i386/bsd-setjmp.S: Likewise.
33662         * sysdeps/i386/__longjmp.S: Likewise.
33663         * sysdeps/i386/setjmp.S: Likewise.
33664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33665         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33667         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33669         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33670         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33672         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33673         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33674         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33675         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33676         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33678         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33680         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33681         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33682         * sysdeps/ieee754/support.c: Likewise.
33683         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33684         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33685         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33686         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33687         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33688         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33689         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33690         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33691         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33692         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33693         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33694         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33695         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33696         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33697         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33698         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33699         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33702 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33704         * posix/transbug.c: Remove executable mode.
33706 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33708         * crypt/speeds.c: Remove trailing whitespace.
33709         * dlfcn/default.c: Likewise.
33710         * elf/ifuncdep2.c: Likewise.
33711         * elf/ifuncmain1.c: Likewise.
33712         * elf/ifuncmain1vis.c: Likewise.
33713         * elf/testobj.h: Likewise.
33714         * elf/tst-stackguard1.c: Likewise.
33715         * gmon/sys/gmon.h: Likewise.
33716         * hurd/hurdmsg.c: Likewise.
33717         * hurd/new-fd.c: Likewise.
33718         * hurd/ports-get.c: Likewise.
33719         * iconvdata/ibm1008_420.c: Likewise.
33720         * inet/tst-getni1.c: Likewise.
33721         * inet/tst-getni2.c: Likewise.
33722         * libio/ioungetc.c: Likewise.
33723         * libio/wfiledoalloc.c: Likewise.
33724         * manual/libm-err-tab.pl: Likewise.
33725         * math/w_dremf.c: Likewise.
33726         * misc/ftruncate.c: Likewise.
33727         * posix/bug-glob2.c: Likewise.
33728         * posix/tst-pcre.c: Likewise.
33729         * posix/wait4.c: Likewise.
33730         * resolv/README: Likewise.
33731         * resolv/res_debug.h: Likewise.
33732         * resolv/tst-inet_ntop.c: Likewise.
33733         * setjmp/bug269-setjmp.c: Likewise.
33734         * soft-fp/extended.h: Likewise.
33735         * soft-fp/op-1.h: Likewise.
33736         * soft-fp/op-2.h: Likewise.
33737         * soft-fp/op-4.h: Likewise.
33738         * soft-fp/op-8.h: Likewise.
33739         * soft-fp/testit.c: Likewise.
33740         * stdio-common/bug16.c: Likewise.
33741         * stdlib/random.c: Likewise.
33742         * sunrpc/rpcsvc/rquota.x: Likewise.
33743         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33744         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33746         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33747         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33748         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33749         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33751         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33752         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33753         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33754         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33755         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33756         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33757         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33758         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33759         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33761         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33762         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33763         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33764         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33765         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33771         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33772         * sysdeps/ieee754/s_lib_version.c: Likewise.
33773         * sysdeps/mach/hurd/check_fds.c: Likewise.
33774         * sysdeps/mach/hurd/getsockname.c: Likewise.
33775         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33776         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33777         * sysdeps/powerpc/bits/link.h: Likewise.
33778         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33779         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33780         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33781         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33782         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33783         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33784         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33785         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33786         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33787         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33788         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33789         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33790         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33791         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33792         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33793         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33795         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33796         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33797         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33798         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33799         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33801         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33802         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33803         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33804         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33806         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33810         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33811         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33812         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33813         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33814         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33815         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33816         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33817         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33818         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33819         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33820         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33821         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33822         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33823         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33824         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33825         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33826         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33827         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33828         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33829         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33830         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33831         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33832         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33833         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33834         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33835         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33836         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33838         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33839         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33840         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33841         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33842         * sysdeps/powerpc/sysdep.h: Likewise.
33843         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33844         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33845         * sysdeps/sh/dl-trampoline.S: Likewise.
33846         * sysdeps/sh/memset.S: Likewise.
33847         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33848         * sysdeps/sh/strlen.S: Likewise.
33849         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33850         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33851         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33852         * sysdeps/sparc/sparc32/rem.S: Likewise.
33853         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33854         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33855         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33856         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33857         * sysdeps/sparc/sparc32/urem.S: Likewise.
33858         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33859         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33860         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33861         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33862         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33863         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33864         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33865         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33866         * sysdeps/unix/bsd/times.c: Likewise.
33867         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33868         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33872         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33873         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33874         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33875         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33876         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33877         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33878         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33879         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33880         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33881         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33882         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33883         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33884         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33885         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33886         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33887         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33888         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33889         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33890         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33891         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33892         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33893         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33894         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33895         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33896         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33897         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33898         * sysdeps/x86_64/strcspn.S: Likewise.
33900 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33902         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33903         generated file.  Regenerate properly from gen-translit.pl.
33904         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33905         locale/C-translit.h.
33907 2013-06-05  Andreas Schwab  <schwab@suse.de>
33909         [BZ #15100]
33910         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33911         week as 6 instead of -1.
33912         * time/tst-strptime.c (day_tests): Add test case.
33914 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33916         * sysdeps/generic/math_private.h
33917         (libc_feholdexcept_setround_53bit): Replace with
33918         libc_feholdsetround_53bit.
33919         (libc_feupdateenv_53bit): Replace with
33920         libc_feresetround_53bit.
33921         (SET_RESTORE_ROUND_53BIT): Adjust.
33923 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33925         * string/test-strchrnul.c: Add copyright header.
33927         * posix/tst-getaddrinfo4.c: Increase test timeout.
33929 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33931         [BZ #15536]
33932         * math/libm-test.inc (MAX_EXP): Remove
33933         (MIN_EXP): Define.
33934         (ulp): Use MIN_EXP - MANT_DIG.
33935         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33937 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33939         * po/be.po: Revert last change.
33940         * po/zh_CN.po: Likewise.
33941         * po/header.pot: Likewise.
33943 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33945         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33946         link-libc-deps to empty as target-specific variable.
33947         * Makerules (link-libc-args): New variable.
33948         (libc-for-link): Likewise.
33949         (link-libc-deps): Likewise.
33950         (lib%.so): Depend on $(link-libc-deps).  Link with
33951         $(link-libc-args).
33952         (build-module): Link with $(link-libc-args).
33953         (build-module-asneeded): Likewise.
33954         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33955         list of objects.
33956         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33957         target-specific variable.
33958         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33959         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33960         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33961         libc.
33962         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33963         libc and ld.so.
33964         ($(objpfx)libpcprofile.so): Likewise.
33965         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33966         libc_nonshared.a.
33967         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33968         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33969         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33970         $(link-libc-deps).
33971         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33972         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33973         * login/Makefile ($(objpfx)libutil.so): Likewise.
33974         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33975         * math/Makefile ($(objpfx)libm.so): Likewise.
33976         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33977         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33978         variable instead of depending directly on libc.
33979         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33980         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33981         $(link-libc-deps).
33982         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33983         libc.
33984         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33985         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33986         ($(objpfx)libanl.so): Likewise.
33987         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33988         ld.so.
33989         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33990         $(link-libc-deps).
33991         * sysdeps/i386/fpu/Makefile: Remove file.
33992         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33993         ($(objpfx)libm.so): Remove dependency on ld.so.
33995 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33997         [BZ # 15553]
33998         * nis/yp_xdr.c (XDRMAXNAME): Define.
33999         (XDRMAXRECORD): Define.
34000         (xdr_domainname): Use XDRMAXNAME.
34001         (xdr_mapname): Likewise.
34002         (xdr_peername): Likewise.
34003         (xdr_keydat): Use XDRMAXRECORD.
34004         (xdr_valdat): Likewise.
34006 2013-05-30  Jeff Law  <law@redhat.com>
34008         [BZ #14256]
34009         * manual/errno.texi (ESTALE): Update to account for more than
34010         just NFS file systems.
34011         * sysdeps/gnu/errlist.c: Regenerated.
34013 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34015         [BZ #15465]
34016         * elf/Makefile (tests): Add tst-null-argv.
34017         (modules-names):  Add tst-null-argv-lib.
34018         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34019         (tst-null-argv-ENV): Set environment for tst-null-argv.
34020         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34021         (RTLD_PROGNAME): New macro.
34022         * elf/tst-null-argv.c: New test case.
34023         * elf/tst-null-argv-lib.c: Library for test case.
34024         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34025         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34026         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34027         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34028         * elf/dl-init.c (call_init): Likewise.
34029         (_dl_init): Likewise.
34030         * elf/dl-load.c (print_search_path): Likewise.
34031         (_dl_map_object): Likewise.
34032         * elf/dl-lookup.c (do_lookup_x): Likewise.
34033         (add_dependency): Likewise.
34034         (_dl_lookup_symbol_x): Likewise.
34035         (_dl_debug_bindings): Likewise.
34036         * elf/dl-open.c (_dl_show_scope): Likewise.
34037         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34038         * elf/dl-version.c (match_symbol): Likewise.
34039         (_dl_check_map_versions): Likewise.
34040         * elf/rtld.c (dl_main): Likewise.
34041         (print_unresolved): Use RTLD_PROGNAME.
34042         (print_missing_version): Likewise.
34043         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34044         (elf_machine_rela): Likewise.
34045         * sysdeps/powerpc/powerpc32/dl-machine.c
34046         (__process_machine_rela): Likewise.
34047         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34048         Likewise.
34049         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34050         Likewise.
34051         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34052         Likewise.
34053         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34055         Likewise.
34056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34057         Likewise.
34058         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34060 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
34062         * po/be.po: Add descriptive title.
34063         * po/zh_CN.po: Likewise.
34064         * po/header.pot: Likewise.
34066 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
34068         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34069         error message.
34070         (enlarge_archive): Likewise.
34072 2013-05-28  Ben North  <ben@redfrontdoor.org>
34074         * manual/arith.texi (frexp): It is the magnitude of the return
34075         value which lies in [0.5, 1), not the return value itself.
34077 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34081 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34083         * stdio-common/bug26.c (main): Correct fscanf template.
34085         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34086         declare _dl_skip_args.
34088         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34089         Don't declare.
34091         * manual/platform.texi: Add missing @end deftypefun.
34093 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34095         [BZ #15529]
34096         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34097         bit of mantissa of 2^16382.
34098         * math/libm-test.inc (hypot_test_data): Add more tests.
34100         * math/libm-test.inc: Add drem and pow10 to list of tested
34101         functions.
34102         (pow10_test): New function.
34103         (drem_test): Likewise.
34104         (drem_test_tonearest): Likewise.
34105         (drem_test_towardzero): Likewise.
34106         (drem_test_downward): Likewise.
34107         (drem_test_upward): Likewise.
34108         (main): Call the new functions.
34110         * math/libm-test.inc (finite_test_data): Remove.
34111         (finite_test): Run tests from isfinite_test_data.
34112         (gamma_test_data): Remove.
34113         (gamma_test): Run tests from lgamma_test_data.
34114         * sysdeps/i386/fpu/libm-test-ulps: Update.
34115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34117 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34119         * manual/platform.texi: Add PowerPC PPR function set documentation.
34120         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34121         implementation.
34123 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34125         * math/libm-test.inc (MAX_EXP): Define.
34126         (ULPDIFF): Define.
34127         (ulp): New function.
34128         (check_float_internal): Use ULPDIFF.
34129         (cpow_test): Disable failing test.
34130         (check_ulp): Test ulp() implemetnation.
34131         (main): Call check_ulp before starting tests.
34133 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34135         * math/gen-libm-test.pl (generate_testfile): Do not handle
34136         START_DATA and END_DATA.
34137         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34138         END_DATA.
34139         (acos_tonearest_test_data): Likewise.
34140         (acos_towardzero_test_data): Likewise.
34141         (acos_downward_test_data): Likewise.
34142         (acos_upward_test_data): Likewise.
34143         (acosh_test_data): Likewise.
34144         (asin_test_data): Likewise.
34145         (asin_tonearest_test_data): Likewise.
34146         (asin_towardzero_test_data): Likewise.
34147         (asin_downward_test_data): Likewise.
34148         (asin_upward_test_data): Likewise.
34149         (asinh_test_data): Likewise.
34150         (atan_test_data): Likewise.
34151         (atanh_test_data): Likewise.
34152         (atan2_test_data): Likewise.
34153         (cabs_test_data): Likewise.
34154         (cacos_test_data): Likewise.
34155         (cacosh_test_data): Likewise.
34156         (carg_test_data): Likewise.
34157         (casin_test_data): Likewise.
34158         (casinh_test_data): Likewise.
34159         (catan_test_data): Likewise.
34160         (catanh_test_data): Likewise.
34161         (cbrt_test_data): Likewise.
34162         (ccos_test_data): Likewise.
34163         (ccosh_test_data): Likewise.
34164         (ceil_test_data): Likewise.
34165         (cexp_test_data): Likewise.
34166         (cimag_test_data): Likewise.
34167         (clog_test_data): Likewise.
34168         (clog10_test_data): Likewise.
34169         (conj_test_data): Likewise.
34170         (copysign_test_data): Likewise.
34171         (cos_test_data): Likewise.
34172         (cos_tonearest_test_data): Likewise.
34173         (cos_towardzero_test_data): Likewise.
34174         (cos_downward_test_data): Likewise.
34175         (cos_upward_test_data): Likewise.
34176         (cosh_test_data): Likewise.
34177         (cosh_tonearest_test_data): Likewise.
34178         (cosh_towardzero_test_data): Likewise.
34179         (cosh_downward_test_data): Likewise.
34180         (cosh_upward_test_data): Likewise.
34181         (cpow_test_data): Likewise.
34182         (cproj_test_data): Likewise.
34183         (creal_test_data): Likewise.
34184         (csin_test_data): Likewise.
34185         (csinh_test_data): Likewise.
34186         (csqrt_test_data): Likewise.
34187         (ctan_test_data): Likewise.
34188         (ctan_tonearest_test_data): Likewise.
34189         (ctan_towardzero_test_data): Likewise.
34190         (ctan_downward_test_data): Likewise.
34191         (ctan_upward_test_data): Likewise.
34192         (ctanh_test_data): Likewise.
34193         (ctanh_tonearest_test_data): Likewise.
34194         (ctanh_towardzero_test_data): Likewise.
34195         (ctanh_downward_test_data): Likewise.
34196         (ctanh_upward_test_data): Likewise.
34197         (erf_test_data): Likewise.
34198         (erfc_test_data): Likewise.
34199         (exp_test_data): Likewise.
34200         (exp_tonearest_test_data): Likewise.
34201         (exp_towardzero_test_data): Likewise.
34202         (exp_downward_test_data): Likewise.
34203         (exp_upward_test_data): Likewise.
34204         (exp10_test_data): Likewise.
34205         (exp2_test_data): Likewise.
34206         (expm1_test_data): Likewise.
34207         (fabs_test_data): Likewise.
34208         (fdim_test_data): Likewise.
34209         (finite_test_data): Likewise.
34210         (floor_test_data): Likewise.
34211         (fma_test_data): Likewise.
34212         (fma_towardzero_test_data): Likewise.
34213         (fma_downward_test_data): Likewise.
34214         (fma_upward_test_data): Likewise.
34215         (fmax_test_data): Likewise.
34216         (fmin_test_data): Likewise.
34217         (fmod_test_data): Likewise.
34218         (fpclassify_test_data): Likewise.
34219         (frexp_test_data): Likewise.
34220         (gamma_test_data): Likewise.
34221         (hypot_test_data): Likewise.
34222         (ilogb_test_data): Likewise.
34223         (isfinite_test_data): Likewise.
34224         (isgreater_test_data): Likewise.
34225         (isgreaterequal_test_data): Likewise.
34226         (isinf_test_data): Likewise.
34227         (isless_test_data): Likewise.
34228         (islessequal_test_data): Likewise.
34229         (islessgreater_test_data): Likewise.
34230         (isnan_test_data): Likewise.
34231         (isnormal_test_data): Likewise.
34232         (issignaling_test_data): Likewise.
34233         (isunordered_test_data): Likewise.
34234         (j0_test_data): Likewise.
34235         (j1_test_data): Likewise.
34236         (jn_test_data): Likewise.
34237         (ldexp_test_data): Likewise.
34238         (lgamma_test_data): Likewise.
34239         (lrint_test_data): Likewise.
34240         (lrint_tonearest_test_data): Likewise.
34241         (lrint_towardzero_test_data): Likewise.
34242         (lrint_downward_test_data): Likewise.
34243         (lrint_upward_test_data): Likewise.
34244         (llrint_test_data): Likewise.
34245         (llrint_tonearest_test_data): Likewise.
34246         (llrint_towardzero_test_data): Likewise.
34247         (llrint_downward_test_data): Likewise.
34248         (llrint_upward_test_data): Likewise.
34249         (log_test_data): Likewise.
34250         (log10_test_data): Likewise.
34251         (log1p_test_data): Likewise.
34252         (log2_test_data): Likewise.
34253         (logb_test_data): Likewise.
34254         (logb_downward_test_data): Likewise.
34255         (lround_test_data): Likewise.
34256         (llround_test_data): Likewise.
34257         (modf_test_data): Likewise.
34258         (nearbyint_test_data): Likewise.
34259         (nextafter_test_data): Likewise.
34260         (nexttoward_test_data): Likewise.
34261         (pow_test_data): Likewise.
34262         (pow_tonearest_test_data): Likewise.
34263         (pow_towardzero_test_data): Likewise.
34264         (pow_downward_test_data): Likewise.
34265         (pow_upward_test_data): Likewise.
34266         (remainder_test_data): Likewise.
34267         (remainder_tonearest_test_data): Likewise.
34268         (remainder_towardzero_test_data): Likewise.
34269         (remainder_downward_test_data): Likewise.
34270         (remainder_upward_test_data): Likewise.
34271         (remquo_test_data): Likewise.
34272         (rint_test_data): Likewise.
34273         (rint_tonearest_test_data): Likewise.
34274         (rint_towardzero_test_data): Likewise.
34275         (rint_downward_test_data): Likewise.
34276         (rint_upward_test_data): Likewise.
34277         (round_test_data): Likewise.
34278         (scalb_test_data): Likewise.
34279         (scalbn_test_data): Likewise.
34280         (scalbln_test_data): Likewise.
34281         (signbit_test_data): Likewise.
34282         (sin_test_data): Likewise.
34283         (sin_tonearest_test_data): Likewise.
34284         (sin_towardzero_test_data): Likewise.
34285         (sin_downward_test_data): Likewise.
34286         (sin_upward_test_data): Likewise.
34287         (sincos_test_data): Likewise.
34288         (sinh_test_data): Likewise.
34289         (sinh_tonearest_test_data): Likewise.
34290         (sinh_towardzero_test_data): Likewise.
34291         (sinh_downward_test_data): Likewise.
34292         (sinh_upward_test_data): Likewise.
34293         (sqrt_test_data): Likewise.
34294         (tan_test_data): Likewise.
34295         (tan_tonearest_test_data): Likewise.
34296         (tan_towardzero_test_data): Likewise.
34297         (tan_downward_test_data): Likewise.
34298         (tan_upward_test_data): Likewise.
34299         (tanh_test_data): Likewise.
34300         (tgamma_test_data): Likewise.
34301         (trunc_test_data): Likewise.
34302         (y0_test_data): Likewise.
34303         (y1_test_data): Likewise.
34304         (yn_test_data): Likewise.
34305         (significand_test_data): Likewise.
34307         * math/gen-libm-test.pl (@functions): Remove variable.
34308         (generate_testfile): Don't handle START and END lines.
34309         * math/libm-test.inc (START): New macro.
34310         (END): Likewise.
34311         (END_COMPLEX): Likewise.
34312         (acos_test): Use END macro without arguments.
34313         (acos_test_tonearest): Likewise.
34314         (acos_test_towardzero): Likewise.
34315         (acos_test_downward): Likewise.
34316         (acos_test_upward): Likewise.
34317         (acosh_test): Likewise.
34318         (asin_test): Likewise.
34319         (asin_test_tonearest): Likewise.
34320         (asin_test_towardzero): Likewise.
34321         (asin_test_downward): Likewise.
34322         (asin_test_upward): Likewise.
34323         (asinh_test): Likewise.
34324         (atan_test): Likewise.
34325         (atanh_test): Likewise.
34326         (atan2_test): Likewise.
34327         (cabs_test): Likewise.
34328         (cacos_test): Use END_COMPLEX macro without arguments.
34329         (cacosh_test): Likewise.
34330         (carg_test): Use END macro without arguments.
34331         (casin_test): Use END_COMPLEX macro without arguments.
34332         (casinh_test): Likewise.
34333         (catan_test): Likewise.
34334         (catanh_test): Likewise.
34335         (cbrt_test): Use END macro without arguments.
34336         (ccos_test): Use END_COMPLEX macro without arguments.
34337         (ccosh_test): Likewise.
34338         (ceil_test): Use END macro without arguments.
34339         (cexp_test): Use END_COMPLEX macro without arguments.
34340         (cimag_test): Use END macro without arguments.
34341         (clog_test): Use END_COMPLEX macro without arguments.
34342         (clog10_test): Likewise.
34343         (conj_test): Likewise.
34344         (copysign_test): Use END macro without arguments.
34345         (cos_test): Likewise.
34346         (cos_test_tonearest): Likewise.
34347         (cos_test_towardzero): Likewise.
34348         (cos_test_downward): Likewise.
34349         (cos_test_upward): Likewise.
34350         (cosh_test): Likewise.
34351         (cosh_test_tonearest): Likewise.
34352         (cosh_test_towardzero): Likewise.
34353         (cosh_test_downward): Likewise.
34354         (cosh_test_upward): Likewise.
34355         (cpow_test): Use END_COMPLEX macro without arguments.
34356         (cproj_test): Likewise.
34357         (creal_test): Use END macro without arguments.
34358         (csin_test): Use END_COMPLEX macro without arguments.
34359         (csinh_test): Likewise.
34360         (csqrt_test): Likewise.
34361         (ctan_test): Likewise.
34362         (ctan_test_tonearest): Likewise.
34363         (ctan_test_towardzero): Likewise.
34364         (ctan_test_downward): Likewise.
34365         (ctan_test_upward): Likewise.
34366         (ctanh_test): Likewise.
34367         (ctanh_test_tonearest): Likewise.
34368         (ctanh_test_towardzero): Likewise.
34369         (ctanh_test_downward): Likewise.
34370         (ctanh_test_upward): Likewise.
34371         (erf_test): Use END macro without arguments.
34372         (erfc_test): Likewise.
34373         (exp_test): Likewise.
34374         (exp_test_tonearest): Likewise.
34375         (exp_test_towardzero): Likewise.
34376         (exp_test_downward): Likewise.
34377         (exp_test_upward): Likewise.
34378         (exp10_test): Likewise.
34379         (exp2_test): Likewise.
34380         (expm1_test): Likewise.
34381         (fabs_test): Likewise.
34382         (fdim_test): Likewise.
34383         (finite_test): Likewise.
34384         (floor_test): Likewise.
34385         (fma_test): Likewise.
34386         (fma_test_towardzero): Likewise.
34387         (fma_test_downward): Likewise.
34388         (fma_test_upward): Likewise.
34389         (fmax_test): Likewise.
34390         (fmin_test): Likewise.
34391         (fmod_test): Likewise.
34392         (fpclassify_test): Likewise.
34393         (frexp_test): Likewise.
34394         (gamma_test): Likewise.
34395         (hypot_test): Likewise.
34396         (ilogb_test): Likewise.
34397         (isfinite_test): Likewise.
34398         (isgreater_test): Likewise.
34399         (isgreaterequal_test): Likewise.
34400         (isinf_test): Likewise.
34401         (isless_test): Likewise.
34402         (islessequal_test): Likewise.
34403         (islessgreater_test): Likewise.
34404         (isnan_test): Likewise.
34405         (isnormal_test): Likewise.
34406         (issignaling_test): Likewise.
34407         (isunordered_test): Likewise.
34408         (j0_test): Likewise.
34409         (j1_test): Likewise.
34410         (jn_test): Likewise.
34411         (ldexp_test): Likewise.
34412         (lgamma_test): Likewise.
34413         (lrint_test): Likewise.
34414         (lrint_test_tonearest): Likewise.
34415         (lrint_test_towardzero): Likewise.
34416         (lrint_test_downward): Likewise.
34417         (lrint_test_upward): Likewise.
34418         (llrint_test): Likewise.
34419         (llrint_test_tonearest): Likewise.
34420         (llrint_test_towardzero): Likewise.
34421         (llrint_test_downward): Likewise.
34422         (llrint_test_upward): Likewise.
34423         (log_test): Likewise.
34424         (log10_test): Likewise.
34425         (log1p_test): Likewise.
34426         (log2_test): Likewise.
34427         (logb_test): Likewise.
34428         (logb_test_downward): Likewise.
34429         (lround_test): Likewise.
34430         (llround_test): Likewise.
34431         (modf_test): Likewise.
34432         (nearbyint_test): Likewise.
34433         (nextafter_test): Likewise.
34434         (nexttoward_test): Likewise.
34435         (pow_test): Likewise.
34436         (pow_test_tonearest): Likewise.
34437         (pow_test_towardzero): Likewise.
34438         (pow_test_downward): Likewise.
34439         (pow_test_upward): Likewise.
34440         (remainder_test): Likewise.
34441         (remainder_test_tonearest): Likewise.
34442         (remainder_test_towardzero): Likewise.
34443         (remainder_test_downward): Likewise.
34444         (remainder_test_upward): Likewise.
34445         (remquo_test): Likewise.
34446         (rint_test): Likewise.
34447         (rint_test_tonearest): Likewise.
34448         (rint_test_towardzero): Likewise.
34449         (rint_test_downward): Likewise.
34450         (rint_test_upward): Likewise.
34451         (round_test): Likewise.
34452         (scalb_test): Likewise.
34453         (scalbn_test): Likewise.
34454         (scalbln_test): Likewise.
34455         (signbit_test): Likewise.
34456         (sin_test): Likewise.
34457         (sin_test_tonearest): Likewise.
34458         (sin_test_towardzero): Likewise.
34459         (sin_test_downward): Likewise.
34460         (sin_test_upward): Likewise.
34461         (sincos_test): Likewise.
34462         (sinh_test): Likewise.
34463         (sinh_test_tonearest): Likewise.
34464         (sinh_test_towardzero): Likewise.
34465         (sinh_test_downward): Likewise.
34466         (sinh_test_upward): Likewise.
34467         (sqrt_test): Likewise.
34468         (tan_test): Likewise.
34469         (tan_test_tonearest): Likewise.
34470         (tan_test_towardzero): Likewise.
34471         (tan_test_downward): Likewise.
34472         (tan_test_upward): Likewise.
34473         (tanh_test): Likewise.
34474         (tgamma_test): Likewise.
34475         (trunc_test): Likewise.
34476         (y0_test): Likewise.
34477         (y1_test): Likewise.
34478         (yn_test): Likewise.
34479         (significand_test): Likewise.
34481 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34483         [BZ #15381]
34484         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34486 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34488         [BZ #14894]
34489         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34490         __ppc_mdoio and __ppc_mdoom.
34491         * manual/platform.texi: Document new functions __ppc_yield,
34492         __ppc_mdoio and __ppc_mdoom.
34494 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34496         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34497         (main): Mention "tls" pseudo-hwcap is legacy.
34498         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34500 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34502         * math/gen-libm-test.pl (parse_args): Output only string of
34503         arguments as text for test name, not full call or descriptions of
34504         tests for extra outputs.
34505         (generate_testfile): Do not pass function name to parse_args.
34506         Generate this_func variable from START.
34507         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34508         field to arg_str.
34509         (struct test_ff_f_data): Likewise.
34510         (test_ff_f_data_nexttoward): Likewise.
34511         (struct test_fi_f_data): Likewise.
34512         (struct test_fl_f_data): Likewise.
34513         (struct test_if_f_data): Likewise.
34514         (struct test_fff_f_data): Likewise.
34515         (struct test_c_f_data): Likewise.
34516         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34517         (struct test_fF_f1_data): Likewise.
34518         (struct test_ffI_f1_data): Likewise.
34519         (struct test_c_c_data): Rename test_name field to arg_str.
34520         (struct test_cc_c_data): Likewise.
34521         (struct test_f_i_data): Likewise.
34522         (struct test_ff_i_data): Likewise.
34523         (struct test_f_l_data): Likewise.
34524         (struct test_f_L_data): Likewise.
34525         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34526         and extra2_name.
34527         (COMMON_TEST_SETUP): New macro.
34528         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34529         (COMMON_TEST_CLEANUP): Likewise.
34530         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34531         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34532         macros.
34533         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34534         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34535         macros.
34536         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34537         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34538         cleanup macros.
34539         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34540         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34541         macros.
34542         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34543         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34544         macros.
34545         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34546         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34547         cleanup macros.
34548         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34549         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34550         cleanup macros.
34551         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34552         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34553         cleanup macros.
34554         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34555         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34556         macros.
34557         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34558         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34559         macros.
34560         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34561         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34562         macros.
34563         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34564         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34565         cleanup macros.
34566         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34567         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34568         cleanup macros.
34569         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34570         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34571         macros.
34572         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34573         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34574         cleanup macros.
34575         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34576         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34577         macros.
34578         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34579         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34580         macros.
34581         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34582         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34583         cleanup macros.
34584         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34586 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34588         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34589         to _sifields.sigfault.
34590         (si_addr_lsb): Define new macro.
34591         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34592         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34593         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34595 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34597         [BZ #15441]
34598         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34599         returns -1.
34600         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34601         null return -1.
34602         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34603         loading the domain.
34605 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34607         * math/gen-libm-test.pl (parse_args): Do not include expected
34608         result in test name.
34609         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34610         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34616 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34618         * benchtests/Makefile: Sort function entries.
34620         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34621         tanh, asinh, acosh, atanh.
34622         * benchtests/acos-inputs: New file.
34623         * benchtests/acosh-inputs: New file.
34624         * benchtests/asin-inputs: New file.
34625         * benchtests/asinh-inputs: New file.
34626         * benchtests/atanh-inputs: New file.
34627         * benchtests/cosh-inputs: New file.
34628         * benchtests/log-inputs: New file.
34629         * benchtests/sinh-inputs: New file.
34630         * benchtests/tanh-inputs: New file.
34632 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34634         [BZ #15339]
34635         * posix/tst-getaddrinfo4.c: New test.
34636         * posix/Makefile (tests): Add it.
34638 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34640         [BZ #15339]
34641         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34642         when no services were used.
34643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34644         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34646 2013-05-21  Andreas Schwab  <schwab@suse.de>
34648         [BZ #15014]
34649         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34650         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34651         successful.
34652         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34653         redundant variable declarations and reallocation of buffer when
34654         parsing as IPv6 address.  Always set NSS status when called from
34655         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34656         buffer too small.  Correct computation of needed size.
34657         * nss/Makefile (tests): Add test-digits-dots.
34658         * nss/test-digits-dots.c: New test.
34660 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34662         * benchtests/Makefile: Remove instructions for adding
34663         benchmark tests.
34664         * benchtests/README: New file to explain how to execute and
34665         enhance the benchmark tests.
34667 2013-05-21  Andreas Schwab  <schwab@suse.de>
34669         [BZ #15493]
34670         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34671         * setjmp/tst-sigsetjmp.c: New test.
34673 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34675         * sysdeps/x86_64/memset.S (memset): New implementation.
34676         (__bzero): Likewise.
34677         (__memset_tail): New function.
34679 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34681         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34682         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34683         __memcpy_sse2_unaligned ifunc selection.
34684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34685         Add memcpy-sse2-unaligned.S.
34686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34687         Add: __memcpy_sse2_unaligned.
34689 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34691         [BZ #15490]
34692         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34693         math_force_eval before restoring floating-point envrionment.
34694         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34695         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34696         Likewise.
34697         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34698         <math_private.h>.
34699         (__nearbyintl): Use math_force_eval before restoring
34700         floating-point environment.
34701         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34703         * math/gen-libm-test.pl (special_functions): Remove.
34704         (parse_args): Don't handle TEST_extra.  Handle functions with no
34705         return value.
34706         * math/libm-test.inc (struct test_sincos_data): Replace with
34707         struct test_fFF_11_data.
34708         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34709         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34710         (sincos_test_data): Change element type to struct
34711         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34712         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34713         RUN_TEST_LOOP_sincos.
34714         * math/README.libm-test: Don't mention special handling of
34715         individual functions.
34716         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34718         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34719         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34720         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34723         * math/gen-libm-test.pl (get_variable): Remove function.
34724         (parse_args): Don't show pointer parameters to call in test
34725         names.  Use "extra output N" in test names for extra outputs
34726         rather than naming variables.
34728 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34730         [BZ #15488]
34731         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34732         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34733         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34734         double tests.
34735         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34736         disable.
34737         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34738         check_long_double.
34740         * math/gen-libm-test.pl (@tests): Remove variable.
34741         ($count): Likewise.
34742         (new_test): Remove function.
34743         (show_exceptions): New function.
34744         (special_functions): Use show_exceptions instead of new_test.
34745         (parse_args): Likewise.
34746         (generate_testfile): Pass only function name in generated call to
34747         print_max_error or print_complex_max_error.
34748         (get_ulps): Do not handle complex tests specially.
34749         (output_test): Rename to ...
34750         (get_all_ulps_for_test): ... this.  Return a string rather than
34751         printing to a file.  Require ulps to be present.
34752         (output_ulps): Generate arrays rather than #defines.
34753         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34754         (struct ulp_data): New type.
34755         (BUILD_COMPLEX_ULP): Remove macro.
34756         (compare_ulp_data): New function.
34757         (find_ulps): Likewise.
34758         (find_test_ulps): Likewise.
34759         (find_function_ulps): Likewise.
34760         (find_complex_function_ulps): Likewise.
34761         (print_max_error): Determine allowed ulps using
34762         find_function_ulps.
34763         (print_complex_max_error): Determine allowed ulps using
34764         find_complex_function_ulps.
34765         (check_float_internal): Determine max ulps using find_test_ulps.
34766         (check_float): Do not take max_ulp parameter.  Update call to
34767         check_float_internal.
34768         (check_complex): Likewise.
34769         (check_int): Do not take max_ulp parameter.
34770         (check_long): Likewise.
34771         (check_bool): Likewise.
34772         (check_longlong): Likewise.
34773         (struct test_f_f_data): Remove max_ulp field.
34774         (struct test_ff_f_data): Likewise.
34775         (struct test_ff_f_data_nexttoward): Likewise.
34776         (struct test_fi_f_data): Likewise.
34777         (struct test_fl_f_data): Likewise.
34778         (struct test_if_f_data): Likewise.
34779         (struct test_fff_f_data): Likewise.
34780         (struct test_c_f_data): Likewise.
34781         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34782         (struct test_fF_f1_data): Likewise.
34783         (struct test_ffI_f1_data): Likewise.
34784         (struct test_c_c_data): Remove max_ulp field.
34785         (struct test_cc_c_data): Likewise.
34786         (struct test_f_i_data): Likewise.
34787         (struct test_ff_i_data): Likewise.
34788         (struct test_f_l_data): Likewise.
34789         (struct test_f_L_data): Likewise.
34790         (struct test_sincos_data): Likewise.
34791         (RUN_TEST_f_f): Do not handle ulps.
34792         (RUN_TEST_LOOP_f_f): Likewise.
34793         (RUN_TEST_2_f): Likewise.
34794         (RUN_TEST_LOOP_2_f): Likewise.
34795         (RUN_TEST_fff_f): Likewise.
34796         (RUN_TEST_LOOP_fff_f): Likewise.
34797         (RUN_TEST_c_f): Likewise.
34798         (RUN_TEST_LOOP_c_f): Likewise.
34799         (RUN_TEST_f_f1): Likewise.
34800         (RUN_TEST_LOOP_f_f1): Likewise.
34801         (RUN_TEST_fF_f1): Likewise.
34802         (RUN_TEST_LOOP_fF_f1): Likewise.
34803         (RUN_TEST_fI_f1): Likewise.
34804         (RUN_TEST_LOOP_fI_f1): Likewise.
34805         (RUN_TEST_ffI_f1): Likewise.
34806         (RUN_TEST_LOOP_ffI_f1): Likewise.
34807         (RUN_TEST_c_c): Likewise.
34808         (RUN_TEST_LOOP_c_c): Likewise.
34809         (RUN_TEST_cc_c): Likewise.
34810         (RUN_TEST_LOOP_cc_c): Likewise.
34811         (RUN_TEST_f_i): Likewise.
34812         (RUN_TEST_LOOP_f_i): Likewise.
34813         (RUN_TEST_f_i_tg): Likewise.
34814         (RUN_TEST_LOOP_f_i_tg): Likewise.
34815         (RUN_TEST_ff_i_tg): Likewise.
34816         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34817         (RUN_TEST_f_b): Likewise.
34818         (RUN_TEST_LOOP_f_b): Likewise.
34819         (RUN_TEST_f_b_tg): Likewise.
34820         (RUN_TEST_LOOP_f_b_tg): Likewise.
34821         (RUN_TEST_f_l): Likewise.
34822         (RUN_TEST_LOOP_f_l): Likewise.
34823         (RUN_TEST_f_L): Likewise.
34824         (RUN_TEST_LOOP_f_L): Likewise.
34825         (RUN_TEST_sincos): Likewise.
34826         (RUN_TEST_LOOP_sincos): Likewise.
34828 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34830         [BZ #15480]
34831         [BZ #15485]
34832         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34833         main case of finite arguments, set rounding mode to FE_TONEAREST
34834         and discard exceptions.
34835         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34836         exceptions.
34837         (remainder_tonearest_test_data): New variable.
34838         (remainder_test_tonearest): New function.
34839         (remainder_towardzero_test_data): New variable.
34840         (remainder_test_towardzero): New function.
34841         (remainder_downward_test_data): New variable.
34842         (remainder_test_downward): New function.
34843         (remainder_upward_test_data): New variable.
34844         (remainder_test_upward): New function.
34845         (main): Call the new test functions.
34847         * math/libm-test.inc (struct test_f_f1_data): Remove field
34848         extra_init.
34849         (struct test_fF_f1_data): Likewise.
34850         (struct test_ffI_f1_data): Likewise.
34851         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34852         based on value of EXTRA_EXPECTED.
34853         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34854         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34855         EXTRA_VAR based on value of EXTRA_EXPECTED.
34856         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34857         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34858         EXTRA_VAR based on value of EXTRA_EXPECTED.
34859         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34860         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34861         EXTRA_VAR based on value of EXTRA_EXPECTED.
34862         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34863         * math/gen-libm-test.pl (parse_args): Don't output initializers
34864         for extra output values.
34866         * math/libm-test.inc (check_int): Expect result to be exactly
34867         equal to expected value and do not handle ulps.
34868         (check_long): Likewise.
34869         (check_longlong): Likewise.
34871         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34872         exceptions.
34873         (cimag_test_data): Likewise.
34874         (conj_test_data): Likewise.
34875         (copysign_test_data): Likewise.
34876         (cproj_test_data): Likewise.
34877         (creal_test_data): Likewise.
34878         (fabs_test_data): Likewise.
34879         (fdim_test_data): Likewise.
34880         (finite_test_data): Likewise.
34881         (floor_test_data): Likewise.
34882         (fmax_test_data): Likewise.
34883         (fmin_test_data): Likewise.
34884         (fmod_test_data): Likewise.
34885         (fpclassify_test_data): Likewise.
34886         (frexp_test_data): Likewise.
34887         (ilogb_test_data): Likewise.
34888         (isfinite_test_data): Likewise.
34889         (isgreater_test_data): Likewise.
34890         (isgreaterequal_test_data): Likewise.
34891         (isinf_test_data): Likewise.
34892         (isless_test_data): Likewise.
34893         (islessequal_test_data): Likewise.
34894         (islessgreater_test_data): Likewise.
34895         (isnan_test_data): Likewise.
34896         (isnormal_test_data): Likewise.
34897         (issignaling_test_data): Likewise.
34898         (isunordered_test_data): Likewise.
34899         (ldexp_test_data): Likewise.
34900         (lrint_test_data): Likewise.
34901         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34902         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34903         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34904         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34905         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34906         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34907         test input.
34908         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34909         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34910         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34911         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34912         that test input.
34913         (lrint_downward_test_data): Test for "inexact" exceptions.
34914         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34915         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34916         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34917         test input.
34918         (lrint_upward_test_data): Test for "inexact" exceptions.
34919         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34920         test input.
34921         (llrint_test_data): Test for "inexact" exceptions.
34922         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34923         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34924         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34925         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34926         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34927         (llrint_downward_test_data): Test for "inexact" exceptions.
34928         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34929         (llrint_upward_test_data): Test for "inexact" exceptions.
34930         (logb_test_data): Likewise.
34931         (logb_downward_test_data): Likewise.
34932         (nextafter_test_data): Likewise.
34933         (nexttoward_test_data): Likewise.
34934         (remainder_test_data): Likewise.
34935         (remquo_test_data): Likewise.
34936         (scalbn_test_data): Likewise.
34937         (scalbln_test_data): Likewise.
34938         (signbit_test_data): Likewise.
34939         (sqrt_test_data): Likewise.
34940         (significand_test_data): Likewise.
34942 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34944         [BZ #15424]
34945         * benchtests/bench-modf.c (struct args): Mark arg0 as
34946         volatile.
34947         * scripts/bench.pl: Mark members of struct args as volatile.
34949 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34951         [BZ # 15497]
34952         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34953         negative infinity on POWER6 or lower.
34954         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34956 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34958         [BZ #15442]
34959         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34960         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34961         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34962         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34963         (_FP_SETQNAN): New macro.
34964         (_FP_SETQNAN_SEMIRAW): Likewise.
34965         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34966         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34967         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34968         (FP_EXTEND): Use _FP_FRAC_SNANP.
34969         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34970         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34971         into account.
34972         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34973         New macro.
34974         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34975         Likewise.
34977 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34979         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34980         with DIVIDE_BY_ZERO_EXCEPTION.
34981         (gamma_test_data): Likewise.
34982         (lgamma_test_data): Likewise.
34983         (log_test_data): Likewise.
34984         (log10_test_data): Likewise.
34985         (log2_test_data): Likewise.
34986         (tgamma_test_data): Likewise.
34988         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34989         (acos_test_tonearest): Likewise.
34990         (acos_test_towardzero): Likewise.
34991         (acos_test_downward): Likewise.
34992         (acos_test_upward): Likewise.
34993         (acosh_test): Likewise.
34994         (asin_test): Likewise.
34995         (asin_test_tonearest): Likewise.
34996         (asin_test_towardzero): Likewise.
34997         (asin_test_downward): Likewise.
34998         (asin_test_upward): Likewise.
34999         (asinh_test): Likewise.
35000         (atan_test): Likewise.
35001         (atanh_test): Likewise.
35002         (atan2_test): Likewise.
35003         (cabs_test): Likewise.
35004         (cacos_test): Likewise.
35005         (cacosh_test): Likewise.
35006         (casin_test): Likewise.
35007         (casinh_test): Likewise.
35008         (catan_test): Likewise.
35009         (catanh_test): Likewise.
35010         (cbrt_test): Likewise.
35011         (ccos_test): Likewise.
35012         (ccosh_test): Likewise.
35013         (cexp_test): Likewise.
35014         (clog_test): Likewise.
35015         (clog10_test): Likewise.
35016         (cos_test): Likewise.
35017         (cos_test_tonearest): Likewise.
35018         (cos_test_towardzero): Likewise.
35019         (cos_test_downward): Likewise.
35020         (cos_test_upward): Likewise.
35021         (cosh_test): Likewise.
35022         (cosh_test_tonearest): Likewise.
35023         (cosh_test_towardzero): Likewise.
35024         (cosh_test_downward): Likewise.
35025         (cosh_test_upward): Likewise.
35026         (cpow_test): Likewise.
35027         (csin_test): Likewise.
35028         (csinh_test): Likewise.
35029         (csqrt_test): Likewise.
35030         (ctan_test): Likewise.
35031         (ctan_test_tonearest): Likewise.
35032         (ctan_test_towardzero): Likewise.
35033         (ctan_test_downward): Likewise.
35034         (ctan_test_upward): Likewise.
35035         (ctanh_test): Likewise.
35036         (ctanh_test_tonearest): Likewise.
35037         (ctanh_test_towardzero): Likewise.
35038         (ctanh_test_downward): Likewise.
35039         (ctanh_test_upward): Likewise.
35040         (erf_test): Likewise.
35041         (erfc_test): Likewise.
35042         (exp_test): Likewise.
35043         (exp_test_tonearest): Likewise.
35044         (exp_test_towardzero): Likewise.
35045         (exp_test_downward): Likewise.
35046         (exp_test_upward): Likewise.
35047         (exp10_test): Likewise.
35048         (exp2_test): Likewise.
35049         (expm1_test): Likewise.
35050         (fmod_test): Likewise.
35051         (gamma_test): Likewise.
35052         (hypot_test): Likewise.
35053         (j0_test): Likewise.
35054         (j1_test): Likewise.
35055         (jn_test): Likewise.
35056         (lgamma_test): Likewise.
35057         (log_test): Likewise.
35058         (log10_test): Likewise.
35059         (log1p_test): Likewise.
35060         (log2_test): Likewise.
35061         (logb_test_downward): Likewise.
35062         (pow_test): Likewise.
35063         (pow_test_tonearest): Likewise.
35064         (pow_test_towardzero): Likewise.
35065         (pow_test_downward): Likewise.
35066         (pow_test_upward): Likewise.
35067         (remainder_test): Likewise.
35068         (remquo_test): Likewise.
35069         (sin_test): Likewise.
35070         (sin_test_tonearest): Likewise.
35071         (sin_test_towardzero): Likewise.
35072         (sin_test_downward): Likewise.
35073         (sin_test_upward): Likewise.
35074         (sincos_test): Likewise.
35075         (sinh_test): Likewise.
35076         (sinh_test_tonearest): Likewise.
35077         (sinh_test_towardzero): Likewise.
35078         (sinh_test_downward): Likewise.
35079         (sinh_test_upward): Likewise.
35080         (sqrt_test): Likewise.
35081         (tan_test): Likewise.
35082         (tan_test_tonearest): Likewise.
35083         (tan_test_towardzero): Likewise.
35084         (tan_test_downward): Likewise.
35085         (tan_test_upward): Likewise.
35086         (tanh_test): Likewise.
35087         (tgamma_test): Likewise.
35088         (y0_test): Likewise.
35089         (y1_test): Likewise.
35090         (yn_test): Likewise.
35092         * math/gen-libm-test.pl (adjust_arg): Remove function.
35093         (special_function): Remove argument $in_func.  Only handle
35094         generating output for tables of tests, not inside functions.
35095         (parse_args): Likewise.
35096         (generate_testfile): Remove variable $in_func.  Update call to
35097         parse_args.
35098         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35099         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35100         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35101         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35102         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35103         (MAX_VALUE_INIT): Rename macro to max_value.
35104         (MIN_VALUE_INIT): Rename macro to min_value.
35105         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35106         (plus_zero): Remove variable.
35107         (minus_zero): Likewise.
35108         (plus_infty): Likewise.
35109         (minus_infty): Likewise.
35110         (qnan_value): Likewise.
35111         (max_value): Likewise.
35112         (min_value): Likewise.
35113         (min_subnorm_value): Likewise.
35115 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35117         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35118         uint64_t or uint32_t usage.
35119         * crypt/sha256-block.c: Likewise.
35120         * crypt/sha256-crypt.c: Likewise.
35121         * crypt/sha256.c: Likewise.
35122         * crypt/sha512-block.c: Likewise.
35123         * crypt/sha512-crypt.c: Likewise.
35124         * crypt/sha512.c: Likewise.
35125         * debug/backtrace-tst.c: Likewise.
35126         * debug/pcprofiledump.c: Likewise.
35127         * elf/cache.c: Likewise.
35128         * elf/dl-cache.c: Likewise.
35129         * elf/dl-misc.c: Likewise.
35130         * elf/dl-profile.c: Likewise.
35131         * elf/dl-support.c: Likewise.
35132         * elf/ldconfig.c: Likewise.
35133         * elf/sprof.c: Likewise.
35134         * iconv/dummy-repertoire.c: Likewise.
35135         * iconv/iconv_charmap.c: Likewise.
35136         * iconv/skeleton.c: Likewise.
35137         * iconvdata/8bit-generic.c: Likewise.
35138         * iconvdata/cp737.h: Likewise.
35139         * iconvdata/cp775.h: Likewise.
35140         * iconvdata/ibm1008.h: Likewise.
35141         * iconvdata/ibm1025.h: Likewise.
35142         * iconvdata/ibm1046.h: Likewise.
35143         * iconvdata/ibm1097.h: Likewise.
35144         * iconvdata/ibm1112.h: Likewise.
35145         * iconvdata/ibm1122.h: Likewise.
35146         * iconvdata/ibm1123.h: Likewise.
35147         * iconvdata/ibm1124.h: Likewise.
35148         * iconvdata/ibm1129.h: Likewise.
35149         * iconvdata/ibm1130.h: Likewise.
35150         * iconvdata/ibm1132.h: Likewise.
35151         * iconvdata/ibm1133.h: Likewise.
35152         * iconvdata/ibm1137.h: Likewise.
35153         * iconvdata/ibm1140.h: Likewise.
35154         * iconvdata/ibm1141.h: Likewise.
35155         * iconvdata/ibm1142.h: Likewise.
35156         * iconvdata/ibm1143.h: Likewise.
35157         * iconvdata/ibm1144.h: Likewise.
35158         * iconvdata/ibm1145.h: Likewise.
35159         * iconvdata/ibm1146.h: Likewise.
35160         * iconvdata/ibm1147.h: Likewise.
35161         * iconvdata/ibm1148.h: Likewise.
35162         * iconvdata/ibm1149.h: Likewise.
35163         * iconvdata/ibm1153.h: Likewise.
35164         * iconvdata/ibm1154.h: Likewise.
35165         * iconvdata/ibm1155.h: Likewise.
35166         * iconvdata/ibm1156.h: Likewise.
35167         * iconvdata/ibm1157.h: Likewise.
35168         * iconvdata/ibm1158.h: Likewise.
35169         * iconvdata/ibm1160.h: Likewise.
35170         * iconvdata/ibm1161.h: Likewise.
35171         * iconvdata/ibm1162.h: Likewise.
35172         * iconvdata/ibm1163.h: Likewise.
35173         * iconvdata/ibm1164.h: Likewise.
35174         * iconvdata/ibm1166.h: Likewise.
35175         * iconvdata/ibm1167.h: Likewise.
35176         * iconvdata/ibm12712.h: Likewise.
35177         * iconvdata/ibm1390.h: Likewise.
35178         * iconvdata/ibm1399.h: Likewise.
35179         * iconvdata/ibm16804.h: Likewise.
35180         * iconvdata/ibm4517.h: Likewise.
35181         * iconvdata/ibm4899.h: Likewise.
35182         * iconvdata/ibm4909.h: Likewise.
35183         * iconvdata/ibm4971.h: Likewise.
35184         * iconvdata/ibm5347.h: Likewise.
35185         * iconvdata/ibm803.h: Likewise.
35186         * iconvdata/ibm856.h: Likewise.
35187         * iconvdata/ibm901.h: Likewise.
35188         * iconvdata/ibm902.h: Likewise.
35189         * iconvdata/ibm9030.h: Likewise.
35190         * iconvdata/ibm9066.h: Likewise.
35191         * iconvdata/ibm921.h: Likewise.
35192         * iconvdata/ibm922.h: Likewise.
35193         * iconvdata/ibm9448.h: Likewise.
35194         * iconvdata/isiri-3342.h: Likewise.
35195         * iconvdata/jis0201.h: Likewise.
35196         * include/link.h: Likewise.
35197         * include/netdb.h: Likewise.
35198         * inet/check_native.c: Likewise.
35199         * inet/check_pf.c: Likewise.
35200         * inet/getipv4sourcefilter.c: Likewise.
35201         * inet/getnameinfo.c: Likewise.
35202         * inet/getsourcefilter.c: Likewise.
35203         * inet/htonl.c: Likewise.
35204         * inet/setipv4sourcefilter.c: Likewise.
35205         * inet/setsourcefilter.c: Likewise.
35206         * inet/test-inet6_opt.c: Likewise.
35207         * inet/tst-network.c: Likewise.
35208         * locale/C-collate.c: Likewise.
35209         * locale/C-ctype.c: Likewise.
35210         * locale/C-time.c: Likewise.
35211         * locale/C-translit.h: Likewise.
35212         * locale/loadarchive.c: Likewise.
35213         * locale/programs/3level.h: Likewise.
35214         * locale/programs/charmap.c: Likewise.
35215         * locale/programs/charmap.h: Likewise.
35216         * locale/programs/ld-address.c: Likewise.
35217         * locale/programs/ld-collate.c: Likewise.
35218         * locale/programs/ld-ctype.c: Likewise.
35219         * locale/programs/ld-identification.c: Likewise.
35220         * locale/programs/ld-measurement.c: Likewise.
35221         * locale/programs/ld-messages.c: Likewise.
35222         * locale/programs/ld-monetary.c: Likewise.
35223         * locale/programs/ld-name.c: Likewise.
35224         * locale/programs/ld-numeric.c: Likewise.
35225         * locale/programs/ld-paper.c: Likewise.
35226         * locale/programs/ld-telephone.c: Likewise.
35227         * locale/programs/ld-time.c: Likewise.
35228         * locale/programs/linereader.c: Likewise.
35229         * locale/programs/locale.c: Likewise.
35230         * locale/programs/locarchive.c: Likewise.
35231         * locale/programs/locfile.h: Likewise.
35232         * locale/programs/repertoire.c: Likewise.
35233         * locale/programs/simple-hash.c: Likewise.
35234         * locale/programs/simple-hash.h: Likewise.
35235         * malloc/memusage.c: Likewise.
35236         * malloc/memusagestat.c: Likewise.
35237         * nis/nis_defaults.c: Likewise.
35238         * nis/nis_hash.c: Likewise.
35239         * nis/nis_print.c: Likewise.
35240         * nis/nis_xdr.c: Likewise.
35241         * nscd/connections.c: Likewise.
35242         * nscd/hstcache.c: Likewise.
35243         * nscd/nscd_gethst_r.c: Likewise.
35244         * nscd/nscd_getserv_r.c: Likewise.
35245         * nscd/nscd_helper.c: Likewise.
35246         * nscd/servicescache.c: Likewise.
35247         * nss/makedb.c: Likewise.
35248         * nss/nss_db/db-XXX.c: Likewise.
35249         * nss/nss_db/db-initgroups.c: Likewise.
35250         * nss/nss_db/db-netgrp.c: Likewise.
35251         * nss/nss_files/files-network.c: Likewise.
35252         * nss/nss_files/files-parse.c: Likewise.
35253         * posix/bug-regex5.c: Likewise.
35254         * posix/fnmatch_loop.c: Likewise.
35255         * posix/regcomp.c: Likewise.
35256         * posix/regexec.c: Likewise.
35257         * posix/tst-rfc3484-2.c: Likewise.
35258         * posix/tst-rfc3484-3.c: Likewise.
35259         * posix/tst-rfc3484.c: Likewise.
35260         * resolv/nss_dns/dns-canon.c: Likewise.
35261         * resolv/nss_dns/dns-network.c: Likewise.
35262         * resolv/res_init.c: Likewise.
35263         * resolv/res_mkquery.c: Likewise.
35264         * resolv/tst-aton.c: Likewise.
35265         * stdlib/cxa_atexit.c: Likewise.
35266         * stdlib/cxa_finalize.c: Likewise.
35267         * stdlib/gen-fpioconst.c: Likewise.
35268         * stdlib/strtol_l.c: Likewise.
35269         * string/tst-endian.c: Likewise.
35270         * sunrpc/auth_des.c: Likewise.
35271         * sunrpc/clnt_udp.c: Likewise.
35272         * sunrpc/rtime.c: Likewise.
35273         * sunrpc/svcauth_des.c: Likewise.
35274         * sunrpc/xdr.c: Likewise.
35275         * sunrpc/xdr_intXX_t.c: Likewise.
35276         * sunrpc/xdr_rec.c: Likewise.
35277         * sysdeps/generic/ldconfig.h: Likewise.
35278         * sysdeps/generic/ldsodefs.h: Likewise.
35279         * sysdeps/generic/memusage.h: Likewise.
35280         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35281         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35282         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35283         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35286         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35287         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35288         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35289         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35290         * sysdeps/posix/getaddrinfo.c: Likewise.
35291         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35292         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35293         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35294         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35295         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35296         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35297         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35298         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35299         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35300         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35301         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35302         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35303         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35304         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35306         * sysdeps/x86_64/dl-tls.h: Likewise.
35307         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35308         * time/alt_digit.c: Likewise.
35309         * time/era.c: Likewise.
35310         * wcsmbs/tst-c16c32-1.c: Likewise.
35312 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35314         * math/libm-test.inc (struct test_sincos_data): New type.
35315         (RUN_TEST_LOOP_sincos): New macro.
35316         (sincos_test_data): New variable.
35317         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35319 2013-05-16  Richard Henderson  <rth@redhat.com>
35321         * math/atest-exp2.c (LIMB64): New macro.
35322         (CONSTSZ): New macro.
35323         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35324         (hexdig): Move ...
35325         (print_mpn_fp): ... to function scope.
35326         (read_mpn_hex): Remove.
35327         (get_log2): Remove.
35328         (exp2_mpn): Use mp_log2.
35329         (main): Use mp_exp1.
35331 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35333         * math/libm-test.inc: Remove comment about not testing "inexact"
35334         exceptions.
35335         (INEXACT_EXCEPTION): New macro.
35336         (NO_INEXACT_EXCEPTION): Likewise.
35337         (INVALID_EXCEPTION_OK): Update value.
35338         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35339         (OVERFLOW_EXCEPTION_OK): Likewise.
35340         (UNDERFLOW_EXCEPTION_OK): Likewise.
35341         (IGNORE_ZERO_INF_SIGN): Likewise.
35342         (ERRNO_UNCHANGED): Likewise.
35343         (ERRNO_EDOM): Likewise.
35344         (ERRNO_ERANGE): Likewise.
35345         (test_exceptions): Handle testing "inexact" exceptions.
35346         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35347         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35348         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35349         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35350         INEXACT_EXCEPTION.
35351         (rint_towardzero_test_data): Likewise.
35352         (rint_downward_test_data): Likewise.
35353         (rint_upward_test_data): Likewise.
35355         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35356         with OVERFLOW_EXCEPTION.
35357         (exp10_test_data): Likewise.
35358         (exp2_test_data): Likewise.
35359         (expm1_test_data): Likewise.
35360         (lgamma_test_data): Likewise.
35361         (pow_test_data): Likewise.
35362         (tgamma_test_data): Likewise.
35363         (yn_test_data): Remove duplicate test of overflow.
35365         * math/libm-test.inc (struct test_cc_c_data): New type.
35366         (RUN_TEST_LOOP_cc_c): New macro.
35367         (cpow_test_data): New variable.
35368         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35370         * math/libm-test.inc (struct test_f_L_data): New type.
35371         (RUN_TEST_LOOP_f_L): New macro.
35372         (llrint_test_data): New variable.
35373         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35374         (llrint_tonearest_test_data): New variable.
35375         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35376         (llrint_towardzero_test_data): New variable.
35377         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35378         (llrint_downward_test_data): New variable.
35379         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35380         (llrint_upward_test_data): New variable.
35381         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35382         (llround_test_data): New variable.
35383         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35385 2013-05-13  Peter Collingbourne  <pcc@google.com>
35387         * math/atest-exp2.c (get_log2): Remove const attribute.
35389 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35391         * math/libm-test.inc (struct test_f_l_data): New type.
35392         (RUN_TEST_LOOP_f_l): New macro.
35393         (lrint_test_data): New variable.
35394         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35395         (lrint_tonearest_test_data): New variable.
35396         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35397         (lrint_towardzero_test_data): New variable.
35398         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35399         (lrint_downward_test_data): New variable.
35400         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35401         (lrint_upward_test_data): New variable.
35402         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35403         (lround_test_data): New variable.
35404         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35406 2013-05-15  Peter Collingbourne  <pcc@google.com>
35408         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35409         (EXTRACT_WORDS64) Use where appropriate.
35410         (INSERT_WORDS64) Likewise.
35412         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35413         constraints with x constraints.
35414         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35416         * malloc/obstack.c (_obstack_compat): Add initializer.
35418 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35420         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35421         si_trapno and add si_addr_lsb to _sifields.sigfault.
35422         (si_trapno): Remove macro.
35423         (si_addr_lsb): Define new macro.
35424         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35426 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35428         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35429         instead of TEST_f_l.
35430         (llrint_test_tonearest): Likewise.
35431         (llrint_test_towardzero): Likewise.
35432         (llrint_test_downward): Likewise.
35433         (llrint_test_upward): Likewise.
35434         (llround_test): Likewise.
35436         * math/libm-test.inc (struct test_f_i_data): Add comment.
35437         (RUN_TEST_LOOP_f_b): New macro.
35438         (RUN_TEST_LOOP_f_b_tg): Likewise.
35439         (finite_test_data): New variable.
35440         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35441         (isfinite_test_data): New variable.
35442         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35443         (isinf_test_data): New variable.
35444         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35445         (isnan_test_data): New variable.
35446         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35447         (isnormal_test_data): New variable.
35448         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35449         (issignaling_test_data): New variable.
35450         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35451         (signbit_test_data): New variable.
35452         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35454         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35455         with INVALID_EXCEPTION.
35456         (acosh_test_data): Likewise.
35457         (asin_test_data): Likewise.
35458         (atanh_test_data): Likewise.
35459         (fmod_test_data): Likewise.
35460         (log_test_data): Likewise.
35461         (log10_test_data): Likewise.
35462         (log2_test_data): Likewise.
35463         (pow_test_data): Likewise.
35464         (sqrt_test_data): Likewise.
35465         (y0_test_data): Likewise.
35466         (y1_test_data): Likewise.
35467         (yn_test_data): Likewise.
35469         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35470         function contents.
35472         * math/libm-test.inc (struct test_ff_i_data): New type.
35473         (RUN_TEST_LOOP_ff_i_tg): New macro.
35474         (isgreater_test_data): New variable.
35475         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35476         (isgreaterequal_test_data): New variable.
35477         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35478         (isless_test_data): New variable.
35479         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35480         (islessequal_test_data): New variable.
35481         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35482         (islessgreater_test_data): New variable.
35483         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35484         (isunordered_test_data): New variable.
35485         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35487 2013-05-14  David S. Miller  <davem@davemloft.net>
35489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35491 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35493         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35495         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35496         extra_test to int.
35497         (struct test_f_i_data): Change type of max_ulp to int.
35499         * math/libm-test.inc (test_ffI_f1_data): New type.
35500         (RUN_TEST_LOOP_ffI_f1): New macro.
35501         (remquo_test_data): New variable.
35502         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35504         * setjmp/tst-setjmp-fp.c: New file.
35505         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35506         (link-libm): New variable.
35507         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35509         * math/libm-test.inc (struct test_f_i_data): New type.
35510         (RUN_TEST_LOOP_f_i): New macro.
35511         (RUN_TEST_LOOP_f_i_tg): Likewise.
35512         (fpclassify_test_data): New variable.
35513         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35514         (ilogb_test_data): New variable.
35515         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35517         * math/libm-test.inc (scalbln_test): Correct function name in END
35518         call.
35520         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35521         (RUN_TEST_LOOP_fI_f1): New macro.
35522         (frexp_test_data): New variable.
35523         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35525         * math/libm-test.inc (struct test_fF_f1_data): New type.
35526         (RUN_TEST_LOOP_fF_f1): New macro.
35527         (modf_test_data): New variable.
35528         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35530         * math/libm-test.inc (struct test_f_f1_data): New type.
35531         (RUN_TEST_LOOP_f_f1): New macro.
35532         (gamma_test_data): New variable.
35533         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35534         (lgamma_test_data): New variable.
35535         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35537 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35539         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35540         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35541         (main): Comment "tls" pseudo-hwcap.
35543 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35545         * math/libm-test.inc (struct test_fl_f_data): New type.
35546         (RUN_TEST_LOOP_fl_f): New variable.
35547         (scalbln_test_data): New variable.
35548         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35550         * math/libm-test.inc (struct test_fi_f_data): New type.
35551         (RUN_TEST_LOOP_fi_f): New macro.
35552         (ldexp_test_data): New variable.
35553         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35554         (scalbn_test_data): New variable.
35555         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35557         * math/libm-test.inc (struct test_c_f_data): New type.
35558         (RUN_TEST_LOOP_c_f): New macro.
35559         (cabs_test_data): New variable.
35560         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35561         (carg_test_data): New variable.
35562         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35563         (cimag_test_data): New variable.
35564         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35565         (creal_test_data): New variable.
35566         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35568         * math/libm-test.inc (struct test_if_f_data): New type.
35569         (RUN_TEST_LOOP_if_f): New macro.
35570         (jn_test_data): New variable.
35571         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35572         (yn_test_data): New variable.
35573         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35575         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35577 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35579         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35580         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35582 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35584         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35585         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35586         (bench-deps): Add bench-timing.h.
35587         * benchtests-bench-skeleton.c: Include bench-timing.h.
35588         (main): Use TIMING_* macros instead of clock_gettime.
35589         * benchtests/bench-timing.h: New file.
35591         [BZ #14582]
35592         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35593         Renamed from _LIB_VERSION.
35594         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35596 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35598         * math/libm-test.inc (struct test_fff_f_data): New type.
35599         (RUN_TEST_LOOP_fff_f): New macro.
35600         (fma_test_data): New variable.
35601         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35602         (fma_towardzero_test_data): New variable.
35603         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35604         (fma_downward_test_data): New variable.
35605         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35606         (fma_upward_test_data): New variable.
35607         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35609         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35610         (struct test_c_c_data): New type.
35611         (RUN_TEST_LOOP_c_c): New macro.
35612         (cacos_test_data): New variable.
35613         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35614         (cacosh_test_data): New variable.
35615         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35616         (casin_test_data): New variable.
35617         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35618         (casinh_test_data): New variable.
35619         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35620         (catan_test_data): New variable.
35621         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35622         (catanh_test_data): New variable.
35623         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35624         (ccos_test_data): New variable.
35625         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35626         (ccosh_test_data): New variable.
35627         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35628         (cexp_test_data): New variable.
35629         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35630         (clog_test_data): New variable.
35631         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35632         (clog10_test_data): New variable.
35633         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35634         (conj_test_data): New variable.
35635         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35636         (cproj_test_data): New variable.
35637         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35638         (csin_test_data): New variable.
35639         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35640         (csinh_test_data): New variable.
35641         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35642         (csqrt_test_data): New variable.
35643         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35644         (ctan_test_data): New variable.
35645         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35646         (ctan_tonearest_test_data): New variable.
35647         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35648         (ctan_towardzero_test_data): New variable.
35649         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35650         (ctan_downward_test_data): New variable.
35651         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35652         (ctan_upward_test_data): New variable.
35653         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35654         (ctanh_test_data): New variable.
35655         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35656         (ctanh_tonearest_test_data): New variable.
35657         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35658         (ctanh_towardzero_test_data): New variable.
35659         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35660         (ctanh_downward_test_data): New variable.
35661         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35662         (ctanh_upward_test_data): New variable.
35663         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35664         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35665         of BUILD_COMPLEX.
35667         * math/libm-test.inc (struct test_ff_f_data): New type.
35668         (struct test_ff_f_data_nexttoward): Likewise.
35669         (RUN_TEST_LOOP_2_f): New macro.
35670         (RUN_TEST_LOOP_ff_f): Likewise.
35671         (atan2_test_data): New variable.
35672         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35673         (copysign_test_data): New variable.
35674         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35675         (fdim_test_data): New variable.
35676         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35677         (fmax_test_data): New variable.
35678         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35679         (fmin_test_data): New variable.
35680         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35681         (fmod_test_data): New variable.
35682         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35683         (hypot_test_data): New variable.
35684         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35685         (nextafter_test_data): New variable.
35686         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35687         (nexttoward_test_data): New variable.
35688         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35689         (pow_test_data): New variable.
35690         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35691         (pow_tonearest_test_data): New variable.
35692         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35693         (pow_towardzero_test_data): New variable.
35694         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35695         (pow_downward_test_data): New variable.
35696         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35697         (pow_upward_test_data): New variable.
35698         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35699         (remainder_test_data): New variable.
35700         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35701         (scalb_test_data): New variable.
35702         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35703         * sysdeps/i386/fpu/libm-test-ulps: Update.
35705 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35707         * math/libm-test.inc (fma_test): Use max_value instead of local
35708         variable fltmax.
35709         (nextafter_test): Likewise.
35711         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35712         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35713         (acos_downward_test_data): New variable.
35714         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35715         (acos_upward_test_data): New variable.
35716         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35717         (acosh_test_data): New variable.
35718         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35719         (asin_test_data): New variable.
35720         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35721         (asin_tonearest_test_data): New variable.
35722         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35723         (asin_towardzero_test_data): New variable.
35724         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35725         (asin_downward_test_data): New variable.
35726         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35727         (asin_upward_test_data): New variable.
35728         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35729         (asinh_test_data): New variable.
35730         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35731         (atan_test_data): New variable.
35732         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35733         (atanh_test_data): New variable.
35734         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35735         (cbrt_test_data): New variable.
35736         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35737         (ceil_test_data): New variable.
35738         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35739         (cos_test_data): New variable.
35740         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35741         (cos_tonearest_test_data): New variable.
35742         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35743         (cos_towardzero_test_data): New variable.
35744         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35745         (cos_downward_test_data): New variable.
35746         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35747         (cos_upward_test_data): New variable.
35748         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35749         (cosh_test_data): New variable.
35750         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35751         (cosh_tonearest_test_data): New variable.
35752         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35753         (cosh_towardzero_test_data): New variable.
35754         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35755         (cosh_downward_test_data): New variable.
35756         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35757         (cosh_upward_test_data): New variable.
35758         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35759         (erf_test_data): New variable.
35760         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35761         (erfc_test_data): New variable.
35762         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35763         (exp_test_data): New variable.
35764         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35765         (exp_tonearest_test_data): New variable.
35766         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35767         (exp_towardzero_test_data): New variable.
35768         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35769         (exp_downward_test_data): New variable.
35770         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35771         (exp_upward_test_data): New variable.
35772         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35773         (exp10_test_data): New variable.
35774         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35775         (exp2_test_data): New variable.
35776         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35777         (expm1_test_data): New variable.
35778         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35779         (fabs_test_data): New variable.
35780         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35781         (floor_test_data): New variable.
35782         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35783         (j0_test_data): New variable.
35784         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35785         (j1_test_data): New variable.
35786         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35787         (log_test_data): New variable.
35788         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35789         (log10_test_data): New variable.
35790         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35791         (log1p_test_data): New variable.
35792         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35793         (log2_test_data): New variable.
35794         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35795         (logb_test_data): New variable.
35796         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35797         (logb_downward_test_data): New variable.
35798         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35799         (nearbyint_test_data): New variable.
35800         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35801         (rint_test_data): New variable.
35802         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35803         (rint_tonearest_test_data): New variable.
35804         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35805         (rint_towardzero_test_data): New variable.
35806         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35807         (rint_downward_test_data): New variable.
35808         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35809         (rint_upward_test_data): New variable.
35810         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35811         (round_test_data): New variable.
35812         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35813         (sin_test_data): New variable.
35814         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35815         (sin_tonearest_test_data): New variable.
35816         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35817         (sin_towardzero_test_data): New variable.
35818         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35819         (sin_downward_test_data): New variable.
35820         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35821         (sin_upward_test_data): New variable.
35822         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35823         (sinh_test_data): New variable.
35824         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35825         (sinh_tonearest_test_data): New variable.
35826         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35827         (sinh_towardzero_test_data): New variable.
35828         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35829         (sinh_downward_test_data): New variable.
35830         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35831         (sinh_upward_test_data): New variable.
35832         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35833         (sqrt_test_data): New variable.
35834         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35835         (tan_test_data): New variable.
35836         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35837         (tan_tonearest_test_data): New variable.
35838         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35839         (tan_towardzero_test_data): New variable.
35840         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35841         (tan_downward_test_data): New variable.
35842         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35843         (tan_upward_test_data): New variable.
35844         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35845         (tanh_test_data): New variable.
35846         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35847         (tgamma_test_data): New variable.
35848         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35849         (trunc_test_data): New variable.
35850         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35851         (y0_test_data): New variable.
35852         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35853         (y1_test_data): New variable.
35854         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35855         (significand_test_data): New variable.
35856         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35858 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35860         [BZ #12387]
35861         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35863 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35865         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35867 2013-05-10  Andreas Jaeger  <aj@suse.de>
35869         [BZ #15448]
35870         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35871         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35873 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35875         * math/gen-libm-test.pl (adjust_arg): New function.
35876         (special_functions): Handle generating output in both functions
35877         and arrays.
35878         (parse_args): Likewise.
35879         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35880         $in_func argument to parse_args.
35881         * math/libm-test.inc (struct test_f_f_data): New type.
35882         (IF_ROUND_INIT_): New macro.
35883         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35884         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35885         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35886         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35887         (ROUND_RESTORE_): Likewise.
35888         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35889         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35890         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35891         (ROUND_RESTORE_FE_UPWARD): Likewise.
35892         (RUN_TEST_LOOP_f_f): New macro.
35893         (acos_test_data): New variable.
35894         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35895         (acos_tonearest_test_data): New variable.
35896         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35898 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35900         * benchtests/bench-skeleton.c (startup): Fix coding style.
35902 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35904         [BZ #6809]
35905         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35906         negative infinity argument.
35907         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35908         negative infinity argument.
35909         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35910         negative infinity argument.
35911         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35912         domain errors.
35914 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35916         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35917         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35918         * iconv/iconv_prog.c (main): Likewise.
35919         * locale/programs/charmap-dir.c (charmap_readdir)
35920         (fopen_uncompressed): Likewise.
35921         * locale/programs/locfile.c (siblings_uncached)
35922         (write_locale_data): Use lstat64 instead of lstat.
35923         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35924         stat.
35926 2013-05-10  Andreas Jaeger  <aj@suse.de>
35928         [BZ #15395]
35929         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35930         localization.
35931         Include <locale.h>.
35933 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35935         * elf/dl-close.c (_dl_close_worker): Add comments.
35937 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35939         [BZ #15359]
35940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35941         high part of pi/2.
35942         (__ieee754_rem_pio2l): Update comments.
35944         [BZ #15429]
35945         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35946         high part of pi/2.
35947         (__ieee754_rem_pio2l): Update comments.
35949         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35950         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35952         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35953         M_PI_4l.
35955         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35956         (M_PI_34_LOG10El): Likewise.
35957         (M_PI2_LOG10El): Likewise.
35958         (M_PI4_LOG10El): Likewise.
35959         (M_PI_LOG10El): Likewise.
35961 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35965 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35967         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35968         (MINUS_ZERO_INIT): Likewise.
35969         (PLUS_INFTY_INIT): Likewise.
35970         (MINUS_INFTY_INIT): Likewise.
35971         (QNAN_VALUE_INIT): Likewise.
35972         (MAX_VALUE_INIT): Likewise.
35973         (MIN_VALUE_INIT): Likewise.
35974         (MIN_SUBNORM_VALUE_INIT): Likewise.
35975         (plus_zero): Initialize with PLUS_ZERO_INIT.
35976         (minus_zero): Initialize with MINUS_ZERO_INIT.
35977         (plus_infty): Initialize with PLUS_INFTY_INIT.
35978         (minus_infty): Initialize with MINUS_INFTY_INIT.
35979         (qnan_value): Initialize with QNAN_VALUE_INIT.
35980         (max_value): Initialize with MAX_VALUE_INIT.
35981         (min_value): Initialize with MIN_VALUE_INIT.
35982         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35984         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35985         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35986         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35987         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35989         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35990         (RUN_TEST_2_f): Likewise.
35991         (RUN_TEST_ff_f): Likewise.
35992         (RUN_TEST_fi_f): Likewise.
35993         (RUN_TEST_fl_f): Likewise.
35994         (RUN_TEST_fff_f): Likewise.
35995         (RUN_TEST_c_f): Likewise.
35996         (RUN_TEST_f_f1): Likewise.
35997         (RUN_TEST_fF_f1): Likewise.
35998         (RUN_TEST_fI_f1): Likewise.
35999         (RUN_TEST_ffI_f1): Likewise.
36000         (RUN_TEST_c_c): Likewise.
36001         (RUN_TEST_cc_c): Likewise.
36002         (RUN_TEST_f_i): Likewise.
36003         (RUN_TEST_f_i_tg): Likewise.
36004         (RUN_TEST_ff_i_tg): Likewise.
36005         (RUN_TEST_f_b): Likewise.
36006         (RUN_TEST_f_b_tg): Likewise.
36007         (RUN_TEST_f_l): Likewise.
36008         (RUN_TEST_f_L): Likewise.
36009         (RUN_TEST_sincos): Likewise.
36010         * math/gen-libm-test.pl (new_test): Take new argument to indicate
36011         whether to show exceptions.  Do not include ");\n" in return
36012         value.
36013         (special_functions): Output call to RUN_TEST_sincos instead of
36014         check_float calls.  Update calls to new_test.
36015         (parse_args): Output call to single RUN_TEST_* macro instead of
36016         check_* calls and other assignments.  Update calls to new_test.
36018         [BZ #2546]
36019         [BZ #2560]
36020         [BZ #5159]
36021         [BZ #15426]
36022         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36023         input to result for tgamma overflow.
36024         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36025         (gamma_coeff): New variable.
36026         (NCOEFF): New macro.
36027         (gamma_positive): New function.
36028         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36029         underflow here.  Use gamma_positive instead of exp (lgamma) for
36030         other arguments.
36031         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36032         (gamma_coeff): New variable.
36033         (NCOEFF): New macro.
36034         (gammaf_positive): New function.
36035         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36036         underflow here.  Use gamma_positive instead of exp (lgamma) for
36037         other arguments.
36038         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36039         (gamma_coeff): New variable.
36040         (NCOEFF): New macro.
36041         (gammal_positive): New function.
36042         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36043         underflow here.  Use gamma_positive instead of exp (lgamma) for
36044         other arguments.
36045         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36046         (gamma_coeff): New variable.
36047         (NCOEFF): New macro.
36048         (gammal_positive): New function.
36049         (__ieee754_gammal_r): Handle positive infinity, overflow and
36050         underflow here.  Handle NaN the same as positive infinity.  Remove
36051         check x < 0xffffffff for negative integers.  Use gamma_positive
36052         instead of exp (lgamma) for other arguments.
36053         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36054         (gamma_coeff): New variable.
36055         (NCOEFF): New macro.
36056         (gammal_positive): New function.
36057         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36058         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36059         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36060         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36061         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36062         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36063         * sysdeps/generic/math_private.h (__gamma_productf): New
36064         prototype.
36065         (__gamma_product): Likewise.
36066         (__gamma_productl): Likewise.
36067         * math/Makefile (libm-calls): Add gamma_product.
36068         * math/libm-test.inc (tgamma_test): Add more tests.
36069         * sysdeps/i386/fpu/libm-test-ulps: Update.
36070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36072 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36074         * benchtests/bench-skeleton.c (main): Preheat CPU.
36076 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36078         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36080 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36082         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36083         and _dl_skip_args_internal.
36085 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36087         * manual/message.texi (Message Translation): Talk about users.
36088         Message to key mapping impacts design.
36090 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36092         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36094         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36096         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36097         * sysdeps/wordsize-64/glob64.c: ... here.
36099         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36100         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36101         New macros.
36103         * debug/getlogin_r_chk.c: Moved to ...
36104         * login/getlogin_r_chk.c: ... here.
36105         * debug/Makefile (routines): Move getlogin_r_chk to ...
36106         * login/Makefile (routines): ... here.
36107         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36108         * login/Versions (libc: GLIBC_2.4): ... here.
36110         * io/poll.c (__poll): Renamed from poll.
36111         Add libc_hidden_def.
36112         (poll): Define as weak alias.
36114         * debug/ptsname_r_chk.c: Moved to ...
36115         * login/ptsname_r_chk.c: ... here.
36116         * debug/Makefile (routines): Move ptsname_r_chk to ...
36117         * login/Makefile (routines): ... here.
36118         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36119         * login/Versions (libc: GLIBC_2.4): ... here.
36121         * posix/getlogin.c: Moved to ...
36122         * login/getlogin.c: ... here.
36123         * posix/getlogin_r.c: Moved to ...
36124         * login/getlogin_r.c: ... here.
36125         * posix/getlogin_r.c: Moved to ...
36126         * login/getlogin_r.c: ... here.
36127         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36128         * login/Makefile (routines): ... here.
36129         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36130         * login/Versions (libc: GLIBC_2.0): ... here.
36132         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36133         (setrlimit): Define as weak alias.
36135         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36136         Call __ names for open, ftruncate, and close.
36137         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36138         (truncate): Define as weak alias.
36140 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36142         * math/gen-libm-test.pl (parse_args): Initialize x before each
36143         test of frexp, modf and remquo.
36145         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36146         test signgam value.
36148 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36150         [BZ #15418]
36151         [BZ #15419]
36152         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36153         internal tests.
36154         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36156 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36158         * elf/dl-writev.h: New file.
36159         * elf/dl-misc.c: Include it.
36160         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36161         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36163 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36165         * math/libm-test.inc (noXFails): Remove variable.
36166         (noXPasses): Likewise.
36167         (BUILD_COMPLEX_INT): Remove macro.
36168         (print_screen): Remove xfail argument.
36169         (print_screen_max_error): Likewise.
36170         (update_stats): Likewise.
36171         (print_max_error): Likewise.  Update calls to other affected
36172         functions.
36173         (print_complex_max_error): Likewise.
36174         (test_single_exception): Update calls to print_screen.
36175         (test_single_errno): Likewise.
36176         (check_float_internal): Remove xfail argument.  Update calls to
36177         other affected functions.
36178         (check_float): Likewise.
36179         (check_complex): Likewise.
36180         (check_int): Likewise.
36181         (check_long): Likewise.
36182         (check_bool): Likewise.
36183         (check_longlong): Likewise.
36184         (main): Don't print noXFails and noXPasses.
36185         * math/gen-libm-test.pl (top level): Don't mention expected
36186         failure handling in comment.
36187         (new_test): Don't handle expected failures.
36188         (parse_args): Don't mention expected failure handling in comment.
36189         (generate_testfile): Don't handle expected failures.
36190         (parse_ulps): Likewise.
36191         (print_ulps_file): Likewise.
36192         (get_failure): Remove function.
36193         (output_test): Don't handle expected failures.
36194         * make/README.libm-test: Don't mention expected failure handling.
36196         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36197         (minus_zero): Likewise.
36198         (plus_infty): Likewise.
36199         (minus_infty): Likewise.
36200         (qnan_value): Likewise.
36201         (max_value): Likewise.
36202         (min_value): Likewise.
36203         (min_subnorm_value): Likewise.
36204         (initialize): Do not initialize those variables dynamically.
36206 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36208         * io/open.c (__open_2): Moved to ...
36209         * io/open_2.c: ... this new file.
36210         * io/open64.c (__open64_2): Moved to ...
36211         * io/open64_2.c: ... this new file.
36212         * io/openat.c (__openat_2): Moved to ...
36213         * io/openat_2.c: ... this new file.
36214         * io/openat64.c (__openat64_2): Moved to ...
36215         * io/openat64_2.c: ... this new file.
36216         * io/Makefile (routines): Add them.
36217         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36218         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36219         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36220         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36221         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36222         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36223         (__openat64): Add hidden_ver.
36224         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36225         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36227         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36228         Separately conditionalize setting of GLRO(dl_sysinfo) so
36229         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36230         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36232 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36234         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36235         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36236         definition.
36237         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36238         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36239         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36240         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36241         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36243 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36245         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36246         test signgam value.
36248         * math/libm-test.inc (hypot_test): Do not use
36249         IGNORE_ZERO_INF_SIGN.
36251 2013-05-03  Andreas Jaeger  <aj@suse.de>
36253         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36254         Linux 3.9.
36255         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36256         (PF_MAX): Adjust for VSOCK change.
36258 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36262 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36264         [BZ #15264]
36265         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36266         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36267         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36269 2013-05-02  David S. Miller  <davem@davemloft.net>
36271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36273 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36275         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36277 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36279         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36281 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36283         [BZ #14952]
36284         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36285         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36286         Use __attribute__ ((__gnu_inline__)).
36287         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36288         Don't use __attribute__ ((__gnu_inline__)).
36290 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36292         [BZ #15423]
36293         * math/s_catan.c (__catan): Handle small real or imaginary part of
36294         input specially to avoid spurious underflow.
36295         * math/s_catanf.c (__catanf): Likewise.
36296         * math/s_catanh.c (__catanh): Likewise.
36297         * math/s_catanhf.c (__catanhf): Likewise.
36298         * math/s_catanhl.c (__catanhl): Likewise.
36299         * math/s_catanl.c (__catanl): Likewise.
36300         * math/libm-test.inc (catan_test): Add more tests.
36301         (catanh_test): Likewise.
36302         * sysdeps/i386/fpu/libm-test-ulps: Update.
36303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36305 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36309 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36311         [BZ #15416]
36312         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36313         accurately for denominator in atan2.
36314         * math/s_catanf.c (__catanf): Likewise.
36315         * math/s_catanh.c (__catanh): Likewise.
36316         * math/s_catanhf.c (__catanhf): Likewise.
36317         * math/s_catanhl.c (__catanhl): Likewise.
36318         * math/s_catanl.c (__catanl): Likewise.
36319         * math/libm-test.inc (catan_test): Add more tests.
36320         (catanh_test): Likewise.
36321         * sysdeps/i386/fpu/libm-test-ulps: Update.
36322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36324 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36326         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36328         * benchtests/Makefile (bench): Remove slow benchmarks.
36329         * benchtests/atan-inputs: Add slow benchmark inputs.
36330         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36331         (BENCH_FUNC): Accept variant offset.
36332         (VARIANT): Define.
36333         * benchtests/bench-skeleton.c (main): Run benchmark for each
36334         variant.
36335         * benchtests/cos-inputs: Add slow benchmark inputs.
36336         * benchtests/exp-inputs: Likewise.
36337         * benchtests/pow-inputs: Likewise.
36338         * benchtests/sin-inputs: Likewise.
36339         * benchtests/slowatan-inputs: Remove.
36340         * benchtests/slowatan.c: Remove.
36341         * benchtests/slowcos-inputs: Remove.
36342         * benchtests/slowcos.c: Remove.
36343         * benchtests/slowexp-inputs: Remove.
36344         * benchtests/slowexp.c: Remove.
36345         * benchtests/slowpow-inputs: Remove.
36346         * benchtests/slowpow.c: Remove.
36347         * benchtests/slowsin-inputs: Remove.
36348         * benchtests/slowsin.c: Remove.
36349         * benchtests/slowtan-inputs: Remove.
36350         * benchtests/slowtan.c: Remove.
36351         * benchtests/tan-inputs: Add slow benchmark inputs.
36352         * scripts/bench.pl: Parse comments and directives.
36354         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36355         in CPPFLAGS.
36356         ($(objpfx)bench-%.c): Remove *-ITER.
36357         * benchtests/bench-modf.c: Remove definition of ITER.
36358         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36359         (main): Loop for DURATION seconds instead of fixed number of
36360         iterations.
36361         * scripts/bench.pl: Don't expect iterations in parameters.
36363 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36365         * io/fchdir.c (__fchdir): Renamed from fchdir.
36366         (fchdir): Define as weak alias.
36368 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36370         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36371         (ERRNO_EDOM): Likewise.
36372         (ERRNO_ERANGE): Likewise.
36373         (noErrnoTests): New variable.
36374         (init_max_error): Set errno to 0.
36375         (test_single_errno): New function.
36376         (test_errno): Likewise.
36377         (check_float_internal): Call test_errno.  Set errno to 0.
36378         (check_complex): Refer to errno tests in comment.
36379         (check_int): Call test_errno.  Set errno to 0.
36380         (check_long): Likewise.
36381         (check_bool): Likewise.
36382         (check_longlong): Likewise.
36383         (cos_test): Use ERRNO_* flags for errno tests instead of
36384         check_int.
36385         (expm1_test): Likewise.
36386         (fmod_test): Likewise.
36387         (ilogb_test): Likewise.
36388         (lgamma_test): Likewise.
36389         (pow_test): Likewise.
36390         (remainder_test): Likewise.
36391         (sin_test): Likewise.
36392         (tan_test): Likewise.
36393         (yn_test): Likewise.
36394         (initialize): Set errno to 0.
36395         (main): Print number of errno tests.
36396         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36398 2013-04-29  Andreas Jaeger  <aj@suse.de>
36400         [BZ #15084]
36401         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36402         and RES_USEVC.
36404         [BZ #15085]
36405         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36406         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36407         unimplemented.
36409         [BZ #15380]
36410         * stdlib/random.c (__initstate): Return NULL if
36411         __initstate fails.
36413         [BZ #15086]
36414         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36415         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36416         RES_SNGLKUPREOP.
36418 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36422 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36424         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36425         of individual tests.
36426         (casin_test): Likewise.
36427         (casinh_test): Likewise.
36429 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36431         [BZ #15409]
36432         * math/s_catan.c (__catan): Handle arguments with large real or
36433         imaginary part separately without squaring.
36434         * math/s_catanf.c (__catanf): Likewise.
36435         * math/s_catanh.c (__catanh): Likewise.
36436         * math/s_catanhf.c (__catanhf): Likewise.
36437         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36438         and redefine.
36439         (__catanhl): Handle arguments with large real or imaginary part
36440         separately without squaring.
36441         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36442         and redefine.
36443         (__catanl): Handle arguments with large real or imaginary part
36444         separately without squaring.
36445         * math/libm-test.inc (catan_test): Add more tests.
36446         (catanh_test): Likewise.
36447         * sysdeps/i386/fpu/libm-test-ulps: Update.
36448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36450 2013-04-27  Andreas Jaeger  <aj@suse.de>
36452         [BZ #15007]
36453         * stdlib/stdlib.h: Update guards for qecvt.
36454         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36455         <stdlib.h>.
36457 2013-04-27  Allan McRae  <allan@archlinux.org>
36459         * sysdeps/i386/fpu/libm-test-ulps: Update.
36461 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36463         [BZ #15406]
36464         * math/s_catan.c: Include <float.h>.
36465         (__catan): Ensure underflow exception occurs for underflowed
36466         result.
36467         * math/s_catanf.c: Include <float.h>.
36468         (__catanf): Ensure underflow exception occurs for underflowed
36469         result.
36470         * math/s_catanh.c: Include <float.h>.
36471         (__catanh): Ensure underflow exception occurs for underflowed
36472         result.
36473         * math/s_catanhf.c: Include <float.h>.
36474         (__catanhf): Ensure underflow exception occurs for underflowed
36475         result.
36476         * math/s_catanhl.c: Include <float.h>.
36477         (__catanhl): Ensure underflow exception occurs for underflowed
36478         result.
36479         * math/s_catanl.c: Include <float.h>.
36480         (__catanl): Ensure underflow exception occurs for underflowed
36481         result.
36482         * math/libm-test.inc (catan_test): Add more tests.
36483         (catanh_test): Likewise.
36485         [BZ #15405]
36486         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36487         underflowed result.
36488         * math/s_ccoshf.c (__ccoshf): Likewise.
36489         * math/s_ccoshl.c (__ccoshl): Likewise.
36490         * math/s_csin.c (__csin): Likewise.
36491         * math/s_csinf.c (__csinf): Likewise.
36492         * math/s_csinh.c (__csinh): Likewise.
36493         * math/s_csinhf.c (__csinhf): Likewise.
36494         * math/s_csinhl.c (__csinhl): Likewise.
36495         * math/s_csinl.c (__csinl): Likewise.
36496         * math/libm-test.inc (ccos_test): Add more tests.
36497         (ccosh_test): Likewise.
36498         (csin_test): Likewise.
36499         (csinh_test): Likewise.
36501 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36503         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36504         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36505         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36506         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36507         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36508         powerpc/power5+/fpu folders.
36509         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36512 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36516 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36518         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36519         additions to variable.
36520         [$(config-machine) = x86_64] (modules-names): Likewise.
36521         ($(objpfx)tst-audit3): Remove dependency.
36522         ($(objpfx)tst-audit3.out): Likewise.
36523         ($(objpfx)tst-audit4): Likewise.
36524         ($(objpfx)tst-audit4.out): Likewise.
36525         ($(objpfx)tst-audit5): Likewise.
36526         ($(objpfx)tst-audit5.out): Likewise.
36527         ($(objpfx)tst-audit6): Likewise.
36528         ($(objpfx)tst-audit6.out): Likewise.
36529         ($(objpfx)tst-audit7): Likewise.
36530         ($(objpfx)tst-audit7.out): Likewise.
36531         (tst-audit3-ENV): Remove variable.
36532         (tst-audit4-ENV): Likewise.
36533         (tst-audit5-ENV): Likewise.
36534         (tst-audit6-ENV): Likewise.
36535         (tst-audit7-ENV): Likewise.
36536         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36537         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36538         addition to variable.
36539         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36540         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36541         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36542         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36543         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36544         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36545         tst-audit3, tst-audit4 and tst-audit5.
36546         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36547         tst-audit6 and tst-audit7.
36548         [$(subdir) = elf] (modules-names): Add audit modules for those
36549         tests.
36550         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36551         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36552         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36553         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36554         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36555         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36556         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36557         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36558         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36559         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36560         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36561         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36562         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36563         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36564         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36565         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36566         Likewise.
36567         [$(subdir) = elf && $(config-cflags-avx) = yes]
36568         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36569         [$(subdir) = elf && $(config-cflags-avx) = yes]
36570         (CFLAGS-tst-auditmod4a.c): Likewise.
36571         [$(subdir) = elf && $(config-cflags-avx) = yes]
36572         (CFLAGS-tst-auditmod4b.c): Likewise.
36573         [$(subdir) = elf && $(config-cflags-avx) = yes]
36574         (CFLAGS-tst-auditmod6b.c): Likewise.
36575         [$(subdir) = elf && $(config-cflags-avx) = yes]
36576         (CFLAGS-tst-auditmod6c.c): Likewise.
36577         [$(subdir) = elf && $(config-cflags-avx) = yes]
36578         (CFLAGS-tst-auditmod7b.c): Likewise.
36579         * elf/tst-audit3.c: Move to ...
36580         * sysdeps/x86_64/tst-audit3.c: ... here.
36581         * elf/tst-audit4.c: Move to ...
36582         * sysdeps/x86_64/tst-audit4.c: ... here.
36583         * elf/tst-audit5.c: Move to ...
36584         * sysdeps/x86_64/tst-audit5.c: ... here.
36585         * elf/tst-audit6.c: Move to ...
36586         * sysdeps/x86_64/tst-audit6.c: ... here.
36587         * elf/tst-audit7.c: Move to ...
36588         * sysdeps/x86_64/tst-audit7.c: ... here.
36589         * elf/tst-auditmod3a.c: Move to ...
36590         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36591         * elf/tst-auditmod3b.c: Move to ...
36592         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36593         * elf/tst-auditmod4a.c: Move to ...
36594         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36595         * elf/tst-auditmod4b.c: Move to ...
36596         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36597         * elf/tst-auditmod5a.c: Move to ...
36598         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36599         * elf/tst-auditmod5b.c: Move to ...
36600         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36601         * elf/tst-auditmod6a.c: Move to ...
36602         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36603         * elf/tst-auditmod6b.c: Move to ...
36604         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36605         * elf/tst-auditmod6c.c: Move to ...
36606         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36607         * elf/tst-auditmod7a.c: Move to ...
36608         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36609         * elf/tst-auditmod7b.c: Move to ...
36610         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36612 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36614         [BZ #15366]
36615         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36616         define unconditionally.
36617         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36618         define unconditionally.
36619         (INT8_C, INT16_C, etc.): Likewise.
36621 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36623         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36624         __ehdr_start with hidden visibility.
36626         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36628 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36630         * math/libm-test.inc (cos_test): Use accurate hex constants.
36631         (sincost_test): Likewise.
36633 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36635         * math/libm-test.inc (catan_test): Add more tests.
36636         (catanh_test): Likewise.
36638         * math/s_catanf.c (__catanf): Use suffixed floating-point
36639         constants.
36640         * math/s_catanhf.c (__catanhf): Likewise.
36641         * math/s_catanhl.c (__catanhl): Likewise.
36642         * math/s_catanl.c (__catanl): Likewise.
36644         [BZ #15394]
36645         * math/s_catan.c (__catan): Calculate imaginary part of result
36646         with log1p not log unless computing log of number close to 0.
36647         * math/s_catanf.c (__catanf): Likewise.
36648         * math/s_catanl.c (__catanl): Likewise.
36649         * math/s_catanh.c (__catanh): Calculate real part of result with
36650         log1p not log unless computing log of number close to 0.
36651         * math/s_catanhf.c (__catanhf): Likewise.
36652         * math/s_catanhl.c (__catanhl): Likewise.
36653         * math/libm-test.inc (catan_test): Add more tests.
36654         (catanh_test): Likewise.
36655         * sysdeps/i386/fpu/libm-test-ulps: Update.
36656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36658 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36660         * benchtests/Makefile: Mention files in which fast and slow
36661         paths of math functions are implemented.
36663 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36665         * sysdeps/posix/timespec_get.c: New file.
36667 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36669         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36670         POWER.
36671         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36672         for POWER.
36673         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36674         powerpc/power5/fpu folders.
36675         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36676         * benchtests/Makefile: Add modf testcase.
36677         * benchtests/bench-modf.c: New file: Benchmark test for mo
36679 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36681         [BZ #14888]
36682         * time/Makefile (tests): Add tst-strptime-whitespace.
36683         * time/strptime_l.c (get_number): Use ISSPACE.
36684         (__strptime_internal): Likewise.
36685         * time/tst-strptime-whitespace.c: New test case.
36687 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36689         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36690         member.
36691         (_nss_files_init): Set it here.
36693 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36695         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36696         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36697         unsigned.
36699 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36701         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36703 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36705         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36706         size just once.
36708 2013-04-21  David S. Miller  <davem@davemloft.net>
36710         * po/ru.po: Update Russion translation from translation project.
36712 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36714         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36715         and setfsgid.
36717 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36719         * configure.in: Remove i386 configure warning. Remove i386 case.
36720         * configure: Regenerate.
36721         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36722         Add example to error message.
36723         * sysdeps/i386/configure: Regenerate.
36725 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36727         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36728         slowtan.
36729         * benchtests/cos-inputs: New file.
36730         * benchtests/slowcos-inputs: New file.
36731         * benchtests/slowcos.c: New file.
36732         * benchtests/slowtan-inputs: New file.
36733         * benchtests/slowtan.c: New file.
36734         * benchtests/tan-inputs: New file.
36736 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36738         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36739         considered kosher.
36741 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36743         * benchtests/Makefile: Include cppflags-iterator.mk to add
36744         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36746         * Makefile.in (bench-clean): New target.
36747         * benchtests/Makefile (bench-clean): Likewise.
36749 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36751         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36753 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36755         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36757 2013-04-15  Andreas Schwab  <schwab@suse.de>
36759         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36760         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36761         * nscd/pwdcache.c (cache_addpw): Likewise.
36762         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36763         more than recsize.
36765 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36767         * benchtests/Makefile (bench): Write all output to
36768         bench-out.tmp together.
36770 2013-04-15  Andreas Schwab  <schwab@suse.de>
36772         * nscd/nscd.c (main): Don't fork again after closing files.
36774 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36776         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36778         * benchtests/Rules (bench-deps): Collect dependencies into a
36779         single variable.  Add Makefile to dependencies.
36780         ($(objpfx)bench-%.c): Depend on bench-deps.
36782 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36783             Xavier Roche  <roche+kml2@exalead.com>
36785         [BZ #15361]
36786         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36787         just that it's a file descriptor.
36788         * manual/llio.texi (Synchronizing AIO Operations): Update description
36789         for EBADF error from aio_fsync.
36791 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36793         * Rules (bench): Move target definition...
36794         * benchtests/Makefile: ... here.
36796 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36798         * math/libm-test.inc (cos_test): Fix PI/2 test.
36799         (sincos_test): Likewise.
36800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36801         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36803 2013-04-11  Andreas Schwab  <schwab@suse.de>
36805         [BZ #13988]
36806         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36807         accept exponent character only when digits were seen.
36808         * stdio-common/Makefile (tests): Add bug26.
36809         * stdio-common/bug26.c: New file.
36811         [BZ #14293]
36812         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36813         non-freeable.
36815 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36817         * Makeconfig (rtld-prefix): Define built linker prefix.
36818         * Rules (run-bench): Use it.
36819         * math/Makefile (run-regen-ulps): Likewise.
36821         * Rules (bench): Remove eval.
36823 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36824             Roland McGrath  <roland@hack.frob.com>
36825             Ondrej Bilka  <neleai@seznam.cz>
36827         [BZ #15346]
36828         * time/getdate.c: Include ctype.h and alloca.h.
36829         (__getdate_r): Trim leading and trailing spaces of input.
36830         * time/tst-getdate.c (tests): Add tests with leading and
36831         trailing spaces.
36833 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36835         [BZ #14280]
36836         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36837         when computing value.
36839 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36841         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36842         Use testrun.sh to run libm tests.
36844         [BZ #15309]
36845         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36847 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36849         [BZ #15264]
36850         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36852 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36854         * Makefile.in (regen-ulps): New target.
36855         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36856         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36857         [ifneq (no,$(PERL)] (regen-ulps): New target.
36858         [ifeq (no,$(PERL)] (regen-ulps): New target.
36859         * math/libm-test.inc (ulps_file_name): Define.
36860         (output_dir): New variable.
36861         (options): Add "output-dir" option.
36862         (parse_opt): Handle 'o' case.
36863         (main): If output_dir is non-NULL use it as a prefix
36864         otherwise use "".
36865         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36867 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36869         [BZ #10060, #10062]
36870         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36871         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36872         fail configure if __sync_val_compare_and_swap is not inlined.
36873         * sysdeps/i386/configure: Regenerate.
36874         * configure.in: Build for i686 when configured for i386.
36875         * configure: Regenerate.
36876         * README: Remove i386 reference.
36878 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36880         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36881         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36883 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36885         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36886         (lmsnanval): New variables.
36887         (F): Add conversion tests.
36888         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36889         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36891         * stdio-common/tstdiomisc.c (F): Properly collect individual
36892         tests' results.
36894         [BZ #14686, #15336]
36895         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36896         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36897         Instead, use input NaN values or generate a qNaN by arithmetic
36898         operation.  Also fix bugs to comply with the standard.
36899         * math/libm-test.inc (remainder_test): Add more tests.
36901         [BZ #15335, #15342]
36902         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36904         input NaN values or generate a qNaN by arithmetic operation.
36906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36907         unreachable code.
36909         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36910         definitions.
36912 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36914         [BZ #14478]
36915         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36916         underflowed result.
36917         * math/s_cexpf.c (__cexpf): Likewise.
36918         * math/s_cexpl.c (__cexpl): Likewise.
36919         * math/libm-test.inc (cexp_test): Add more tests.
36921 2013-04-03  Andreas Schwab  <schwab@suse.de>
36923         [BZ #15330]
36924         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36925         order arrays from heap if bigger than alloca cutoff.
36927 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36929         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36930         (SNAN_TESTS_double): Refer to GCC PR56831.
36931         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36932         GCC PR56828.
36934 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36936         * Rules (bench): Move bench.out after the run is complete.
36938         * Rules (bench): Echo currently running benchmark.
36940         * benchtests/Makefile (bench): Add atan and slowatan.
36941         * benchtests/atan-inputs: New file.
36942         * benchtests/slowatan-inputs: New file.
36943         * benchtests/slowatan.c: New file.
36945         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36946         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36947         its value.
36949         [BZ #15305]
36950         * sysdeps/unix/sysv/linux/kernel-features.h
36951         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36952         __ASSUME_XFS_RESTRICTED_CHOWN.
36953         * sysdeps/unix/sysv/linux/pathconf.c
36954         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36955         Save and restore errno.
36957 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36959         [BZ #15327]
36960         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36961         arguments using __kernel_casinh.
36962         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36963         arguments using __kernel_casinhf.
36964         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36965         arguments using __kernel_casinhl.
36966         * math/libm-test.inc (cacosh_test): Add more tests.
36967         * sysdeps/i386/fpu/libm-test-ulps: Update.
36968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36970 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36972         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36975         * bench/Makefile (bench): Add sin and slowsin.
36976         * benchtests/sin-inputs: New file.
36977         * benchtests/slowsin-inputs: New file.
36978         * benchtests/slowsin.c: New file.
36980         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36981         (bench): Add slowexp and slowpow.
36982         (exp-ITER): Increase iterations.
36983         (pow-ITER): Likewise.
36984         * benchtests/exp-inputs: Change input.
36985         * benchtests/pow-inputs: Likewise.
36986         * benchtests/slowexp-inputs: New file.
36987         * benchtests/slowexp.c: New file.
36988         * benchtests/slowpow-inputs: New file.
36989         * benchtests/slowpow.c: New file.
36991 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36993         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36994         instructions.
36995         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36996         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36997         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36998         * benchtests/Makefile: Add rint benchtest.
36999         * benchtests/rint-inputs: Input for rint benchtest.
37001 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37003         * Versions.def (libm): Add GLIBC_2.18.
37004         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37005         hidden libm prototypes.
37006         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37007         * math/Makefile (libm-calls): Add s_issignaling.
37008         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37009         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
37010         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37011         declaration.
37012         * math/math.h [__USE_GNU] (issignaling): New macro.
37013         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37014         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37015         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37016         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37017         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37018         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37019         * manual/arith.texi (issignaling): New section.
37020         * manual/libm-err-tab.pl (@all_functions): Update comment.
37021         * math/gen-libm-test.pl (parse_args): Apply special handling for
37022         issignaling.
37023         * math/libm-test.inc (print_float, issignaling_test): New
37024         functions.
37025         (check_float_internal): Add issignaling checks.
37026         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37027         default definition.
37028         * sysdeps/powerpc/math-tests.h: New file.
37029         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37030         tests.
37031         * math/test-snan.c (TEST_FUNC): Likewise.
37033 2013-03-30  David S. Miller  <davem@davemloft.net>
37035         * po/de.po: Update from translation team.
37037 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
37039         [BZ #10357]
37040         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37041         imaginary part less than 1.0 and real part less than 0.5
37042         specially.
37043         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37044         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37045         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37046         (cacos_test): Add more tests.
37047         (casin_test): Likewise.
37048         (casinh_test): Likewise.
37049         * sysdeps/i386/fpu/libm-test-ulps: Update.
37050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37052 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37054         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37055         ONE with its value.
37057         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37058         (__pow_mp): Replace ONE and MONE with their values.
37059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37061         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37062         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37063         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37064         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37066         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37068         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37069         (__pow_mp): Replace ZERO and MZERO with their values.
37070         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37071         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37072         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37074         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37075         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37076         (__sqr): Likewise.
37078         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37080         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37082 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37084         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37085         Declare with __attribute__ ((weak)).
37086         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37087         Call __call_tls_dtors only if it's not NULL.
37089 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37091         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37092         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37093         magic __ehdr_start linker symbol if it's defined.
37094         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37095         them up here if it was already done.
37097         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37098         (_dl_aux_init): Use const in cast when setting it.
37099         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37100         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37101         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37103         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37104         Declare them here.
37105         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37106         * csu/libc-tls.c: Nor here.
37107         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37109         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37110         (__libc_message): Never call vsyslog.
37112 2013-03-28  Alan Modra  <amodra@gmail.com>
37114         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37115         Define as empty.
37116         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37117         Likewise.
37119 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37121         [BZ #15214]
37122         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37123         underflow.
37124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37126 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37128         [BZ #15304]
37129         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37130         Don't add gid passed as argument.
37132         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37134 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37136         [BZ #15307]
37137         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37138         imaginary part between 1.0 and 1.5 and real part less than 0.5
37139         specially.
37140         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37141         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37142         * math/libm-test.inc (cacos_test): Add more tests.
37143         (casin_test): Likewise.
37144         (casinh_test): Likewise.
37145         * sysdeps/i386/fpu/libm-test-ulps: Update.
37146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37148 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37150         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37151         constants.
37152         (norm): Likewise.
37153         (denorm): Likewise.
37154         (__dbl_mp): Likewise.
37155         (add_magnitudes): Likewise.
37156         (sub_magnitudes): Likewise.
37157         (__add): Likewise.
37158         (__sub): Likewise.
37159         (__mul): Likewise.
37160         (__sqr): Likewise.
37161         (__inv): Likewise.
37162         (__dvd): Likewise.
37164         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37165         commented code.
37166         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37167         (__dubcos): Likewise.
37168         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37169         (__ieee754_acos): Likewise.
37170         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37171         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37172         (__exp1): Likewise.
37173         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37174         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37175         (log1): Likewise.
37176         (my_log2): Likewise.
37177         (checkint): Likewise.
37178         * sysdeps/ieee754/dbl-64/e_remainder.c
37179         (__ieee754_remainder): Likewise.
37180         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37182         (bsloww): Likewise.
37183         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37185         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37186         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37187         MANTISSA_STORE_T to store computations on mantissa.  Use
37188         macros for rounding and division.
37189         (denorm): Likewise.
37190         (__dbl_mp): Likewise.
37191         (add_magnitudes): Likewise.
37192         (sub_magnitudes): Likewise.
37193         (__mul): Likewise.
37194         (__sqr): Likewise.
37195         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37196         powers of two in terms of TWOPOW macro.
37197         (mp_no): Make type of mantissa as MANTISSA_T.
37198         [!RADIXI]: Define RADIXI.
37199         [!TWO52]: Define TWO52.
37200         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37202 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37204         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37205         llroundl symbol when building for PPC32.
37207 2013-03-24  Mark H Weaver  <mhw@netris.org>
37209         * manual/arith.texi (Normalization Functions): Fix prototypes for
37210         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37212 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37214         [BZ #13889]
37215         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37216         high value to check if expl overflow.
37217         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37218         to check for underflow and overflow.
37219         * math/libm-test.inc: Add exp test.
37221 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37223         [BZ #11120]
37224         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37225         with NOT_IN_libc.
37227 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37229         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37230         symbol.
37232 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37234         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37235         wrap blocks consisting of several statements.
37237         * sysdeps/generic/math-tests.h: New file.
37238         * sysdeps/i386/fpu/math-tests.h: Likewise.
37239         * math/test-snan.c: Include it.
37240         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37242 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37244         [BZ #15285]
37245         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37246         (__ieee754_j0l): Do not improve calculations using cos of twice
37247         input for inputs above LDBL_MAX / 2.0L.
37248         (__ieee754_y0l): Likewise.
37249         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37250         (__ieee754_j1l): Do not improve calculations using cos of twice
37251         input for inputs above LDBL_MAX / 2.0L.
37252         (__ieee754_y1l): Likewise.
37253         * math/libm-test.inc (j0_test): Add another test.
37254         (j1_test): Likewise.
37255         (y0_test): Likewise.
37256         (y1_test): Likewise.
37257         * sysdeps/i386/fpu/libm-test-ulps: Update.
37259 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37261         * Rules ($(objpfx)bench-%.c): Include code from a C source
37262         file.
37264 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37266         [BZ #15287]
37267         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37268         imaginary part 1.0 and real part less than 0.5 specially.
37269         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37270         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37271         * math/libm-test.inc (cacos_test): Add more tests.
37272         (casin_test): Likewise.
37273         (casinh_test): Likewise.
37274         * sysdeps/i386/fpu/libm-test-ulps: Update.
37275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37277 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37279         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37280         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37282 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37284         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37285         * config.make.in (config-cflags-sse4): Remove variable.
37286         (config-cflags-avx): Likewise.
37287         (config-cflags-sse2avx): Likewise.
37288         (config-cflags-novzeroupper): Likewise.
37289         (config-asflags-i686): Likewise.
37290         (have-mfma4): Likewise.
37291         (have-as-vis3): Likewise.
37292         (MIG): Likewise.
37293         * configure.in (MIG): Do not AC_SUBST.
37294         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37295         (libc_cv_cc_sse4): Do not AC_SUBST.
37296         (libc_cv_cc_avx): Likewise.
37297         (libc_cv_cc_sse2avx): Likewise.
37298         (libc_cv_cc_novzeroupper): Likewise.
37299         (libc_cv_cc_fma4): Likewise.
37300         (libc_cv_as_i686): Likewise.
37301         (libc_cv_sparc_as_vis3): Likewise.
37302         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37303         LIBC_CONFIG_VAR.
37304         (config-asflags-i686): Likewise.
37305         (config-cflags-avx): Likewise.
37306         (config-cflags-sse2avx): Likewise.
37307         (have-mfma4): Likewise.
37308         (config-cflags-novzeroupper): Likewise.
37309         * sysdeps/mach/configure.in (MIG): Likewise.
37310         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37311         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37312         LIBC_CONFIG_VAR.
37313         (config-cflags-avx): Likewise.
37314         (config-cflags-sse2avx): Likewise.
37315         (have-mfma4): Likewise.
37316         (config-cflags-novzeroupper): Likewise.
37317         * configure: Regenerated.
37318         * sysdeps/i386/configure: Likewise.
37319         * sysdeps/mach/configure: Likewise.
37320         * sysdeps/sparc/configure: Likewise.
37321         * sysdeps/x86_64/configure: Likewise.
37323 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37325         [BZ #14812]
37326         * locale/programs/localedef.c (options): Put N_ translation marker
37327         on argument names, not just descriptions.
37329 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37331         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37333 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37335         [BZ #14176]
37336         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37338 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37340         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37341         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37342         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37343         [!BEFORE_ABORT] (before_abort): New function.
37344         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37345         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37346         (writev_for_fatal): New function.
37347         (WRITEV_FOR_FATAL): New macro; call that.
37348         (backtrace_and_maps): New function.
37349         (BEFORE_ABORT): New macro; call that.
37350         (struct str_list): Type removed.
37351         (__libc_message, __libc_fatal): Functions removed.
37352         Include <sysdeps/posix/libc_fatal.c> instead.
37354 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37356         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37357         constants.
37358         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37359         double constants.
37361 2013-03-19  Andreas Schwab  <schwab@suse.de>
37363         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37364         * sysdeps/gnu/configure: Regenerate.
37366         * configure.in: Substitute libc_cv_rtlddir.
37367         * configure: Regenerate.
37368         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37369         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37370         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37371         * elf/Makefile (install-others, CFLAGS-interp.c)
37372         (ldso_install, common-ldd-rewrite): Likewise.
37373         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37374         $(inst_slibdir)/$(rtld-installed-name).
37375         * scripts/rellns-sh: Add -p option.
37376         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37377         for source.
37379 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37381         * manual/nptl.texi: Renamed to ...
37382         * manual/threads.texi: ... this.
37383         * manual/Makefile (chapters): Update.
37385 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37387         [BZ #14812]
37388         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37389         on argument names, not just descriptions.
37390         * malloc/memusagestat.c (options): Likewise.
37391         * nss/getent.c (options): Likewise.
37393 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37395         [BZ #14812]
37396         * iconv/iconv_prog.c (options): Put N_ translation marker
37397         on argument names, not just descriptions.
37398         * iconv/iconvconfig.c (options): Likewise.
37400 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37402         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37403         implementation which is faster on all x86_64 architectures.
37404         Tested on AMD, Intel Nehalem, SNB, IVB.
37405         * sysdeps/x86_64/strnlen.S: Likewise.
37407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37408         Remove all multiarch strlen and strnlen versions.
37409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37410         Remove strlen and strnlen related parts.
37412         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37413         Inline strlen part.
37414         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37416         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37417         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37418         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37419         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37420         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37421         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37423 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37425         * manual/memory.texi (Malloc Tunable Parameters):
37426         Sort parameters alphabetically. Add comments for missing entries.
37428 2013-03-17  David S. Miller  <davem@davemloft.net>
37430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37432 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37434         [BZ #15283]
37435         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37436         for arguments at most half maximum finite value.
37437         * math/libm-test.inc (j0_test): Add more tests.
37438         (j1_test): Likewise.
37439         (y0_test): Likewise.
37440         (y1_test): Likewise.
37441         * sysdeps/i386/fpu/libm-test-ulps: Update.
37442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37444         [BZ #14155]
37445         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37446         1 / x and functions P and Q for arguments above 0x1p256L.
37447         (__ieee754_y0l): Likewise.
37448         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37449         (__ieee754_y1l): Likewise.
37450         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37451         (j1_test): Likewise.
37452         (y0_test): Likewise.
37453         (y1_test): Likewise.
37455 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37457         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37458         variable.
37460 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37462         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37463         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37464         zero since it's initialized to EXEC_PAGESIZE.
37466         * sysdeps/unix/sysv/linux/ldsodefs.h
37467         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37468         * sysdeps/generic/ldsodefs.h: ... here.
37470 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37472         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37474         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37475         math/test-snan.c.
37476         * math/test-snan.c: Renamed from
37477         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37478         * math/Makefile (tests): Add test-snan.
37479         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37480         test-powerpc-snan.
37482         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37483         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37484         functions.
37485         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37486         __builtin_nan family of functions.
37487         * math/libm-test.inc (initialize): Initialize qnan_value with
37488         __builtin_nan family of functions.
37489         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37490         Remove variables.
37491         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37492         Remove functions.
37493         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37494         storage class.  Initialize qNaN_var and sNaN_var with
37495         __builtin_nan and __builtin_nans families of functions,
37496         respectively.
37498         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37499         (sqrt_test): Remove duplicate test with qNaN input.
37500         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37501         (round_test, signbit_test, significand_test): Note missing +/-Inf
37502         as well as qNaN tests.
37504         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37505         qNaN_var.  Fix a few strings, too.
37506         * math/libm-test.inc (nan_value): Rename to qnan_value.
37507         * math/gen-libm-test.pl (%beautify): Adjust to that.
37508         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37509         * math/test-misc.c (main): Likewise.
37510         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37511         to __qnan_bytes, and __qnan_union, respectively.
37512         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37513         Likewise.
37514         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37515         and lqnanval, respectively.
37516         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37517         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37518         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37519         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37521         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37522         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37523         doubles.
37525         * math/test-misc.c (main): Fix copy'n'pastos.
37526         * misc/tst-efgcvt.c (special): Likewise.
37528         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37529         Remove declarations.
37531 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37533         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37534         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37535         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37536         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37538 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37540         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37541         macro to return vdso values correctly in IFUNC implementations.
37542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37543         Optimization by using IFUNC.
37545 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37546             Richard Henderson  <rth@redhat.com>
37547             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37549         * Makefile.in (bench): New target.
37550         * NEWS: Mention the benchmark framework.
37551         * Rules (bench): Likewise.
37552         (binaries-bench): Generate binaries for functions to
37553         benchmark.
37554         * benchtests/Makefile: New makefile for benchmark tests.
37555         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37556         programs.
37557         * benchtests/exp-inputs: New input file for EXP function.
37558         * benchtests/pow-inputs: New input file for POW function.
37559         * scripts/bench.pl: New script to generate source files for
37560         benchmark programs.
37562 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37564         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37565         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37566         computations on mantissa.  Use macros for rounding and
37567         division.
37568         (denorm): Likewise.
37569         (__dbl_mp): Likewise.
37570         (add_magnitudes): Likewise.
37571         (sub_magnitudes): Likewise.
37572         (__mul): Likewise.
37573         (__sqr): Likewise.
37574         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37575         powers of two in terms of TWOPOW macro.
37576         (mp_no): Make type of mantissa as MANTISSA_T.
37577         [!RADIXI]: Define RADIXI.
37578         [!TWO52]: Define TWO52.
37579         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37581         * manual/nptl.texi (cindex): Modify threads to pthreads.
37583 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37585         * sysdeps/x86_64/preconfigure: Regenerated.
37587 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37589         [BZ #14155]
37590         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37591         0x1p28 and above.
37592         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37593         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37594         0x1p28 and above.
37595         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37596         * math/libm-test.inc (j0_test): Do not allow one spurious
37597         underflow exception.
37598         (y1_test): Likewise.
37600 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37602         * manual/Makefile (chapters): Add nptl.
37603         * manual/debug.texi (Debugging Support): Add link to Threads
37604         chapter.
37605         * manual/nptl.texi: New file.
37607         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37609 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37611         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37612         for non-NULL pointer before the memory validity test. Pointed
37613         out by Holger Brunck <holger.brunck@keymile.com>.
37615 2013-03-13  Andreas Schwab  <schwab@suse.de>
37617         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37618         instead of .os.
37620 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37622         * timezone/zic.c: Update from tzcode 2013b.
37624 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37626         * manual/install.texi (Configuring and compiling):
37627         Mention i686 and i586.
37628         * INSTALL: Regenerate.
37630 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37632         * sysdeps/init_array/elf-init.c: New file.
37633         * csu/elf-init.c
37634         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37635         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37637         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37638         __gmon_start__ as global, but as static with a .preinit_array pointer.
37639         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37640         * sysdeps/init_array/crti.S: New file, empty except for comments.
37641         * sysdeps/init_array/crtn.S: Likewise.
37643 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37645         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37646         definining bcopy.
37647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37648         Remove Prefer_SSE_for_memop.
37649         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37650         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37651         HAS_PREFER_SSE_FOR_MEMOP.
37652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37653         memset-x86-64.
37654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37655         Remove bzero, memset ifunc support.
37656         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37657         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37658         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37659         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37661 2013-03-11  Andreas Schwab  <schwab@suse.de>
37663         [BZ #15234]
37664         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37665         by SHLIB_COMPAT.
37666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37667         (GLIBC_2.16): Remove pthread_atfork.
37669 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37671         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37672         (ptestcases.h): Likewise.
37674 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37676         * Makeconfig ($(common-objpfx)config.status): Depend on
37677         sysdeps/*/preconfigure{,.in} too.
37679 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37681         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37682         (__free_hook): Use void * instead of __malloc_ptr_t.
37683         (__malloc_hook): Likewise.
37684         (__realloc_hook): Likewise.
37685         (__memalign_hook): Likewise.
37686         (__after_morecore_hook): Likewise.
37687         * malloc/arena.c (save_malloc_hook): Likewise.
37688         (save_free_hook): Likewise.
37689         * malloc/hooks.c (malloc_hook_ini): Likewise.
37690         (realloc_hook_ini): Likewise.
37691         (memalign_hook_ini): Likewise.
37692         * malloc/malloc.c (malloc_hook_ini): Likewise.
37693         (realloc_hook_ini): Likewise.
37694         (memalign_hook_ini): Likewise.
37695         (__free_hook): Likewise.
37696         (__malloc_hook): Likewise.
37697         (__realloc_hook): Likewise.
37698         (__memalign_hook): Likewise.
37699         (__libc_malloc): Likewise.
37700         (__libc_free): Likewise.
37701         (__libc_realloc): Likewise.
37702         (__libc_memalign): Likewise.
37703         (__libc_valloc): Likewise.
37704         (__libc_pvalloc): Likewise.
37705         (__libc_calloc): Likewise.
37706         (__posix_memalign): Likewise.
37707         * malloc/morecore.c (__sbrk): Likewise.
37708         (__default_morecore): Likewise.
37710         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37712         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37713         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37714         __malloc_ptrdiff_t.
37716         * malloc/malloc.h (__malloc_size_t): Remove macro.
37717         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37718         __malloc_size_t.
37719         (old_memalign_hook): Likewise.
37720         (old_realloc_hook): Likewise.
37721         (struct hdr): Likewise.
37722         (flood): Likewise.
37723         (mallochook): Likewise.
37724         (memalignhook): Likewise.
37725         (reallochook): Likewise.
37726         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37727         (tr_old_realloc_hook): Likewise.
37728         (tr_old_memalign_hook): Likewise.
37729         (tr_mallochook): Likewise.
37730         (tr_reallochook): Likewise.
37731         (tr_memalignhook): Likewise.
37733 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37736         default_ldbl_pack and using as default implementation.
37737         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37738         implementation.
37739         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37740         redundant definition.
37741         (ldbl_insert_mantissa): Likewise.
37742         (ldbl_canonicalize): Likewise.
37743         (ldbl_nearbyint): Likewise.
37744         (ldbl_pack): Rename to ldbl_pack_ppc.
37745         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37746         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37747         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37749 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37752         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37753         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37754         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37756         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37757         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37758         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37760 2013-03-07  Andreas Jaeger  <aj@suse.de>
37762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37763         bits/mman-linux.h.
37765 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37767         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37768         Include mpa.h and declare __MPEXP.
37769         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37770         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37771         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37772         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37773         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37774         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37775         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37777         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37778         (__slowpow): Use long double EXPL and LOGL functions to
37779         compute POW.
37780         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37781         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37783         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37784         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37785         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37788         intermediate variable to calculate exponent.
37789         (__sqr): Likewise.
37790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37791         Likewise.
37792         (__sqr): Likewise.
37794         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37795         [!NO__SQR]: Define __sqr.
37796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37797         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37798         sysdeps/ieee754/dbl-64/mpa.c.
37799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37801         [BZ #12723]
37802         * posix/Makefile (tests): Add tst-pathconf.
37803         * posix/tst-pathconf.c: New test case.
37804         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37805         _PC_PIPE_BUF.
37806         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37808 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37810         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37812 2013-03-06  Andreas Jaeger  <aj@suse.de>
37814         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37815         definition via __MAP_ANONYMOUS.
37817         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37818         it's not part of Linux headers.
37820         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37821         (MAP_HUGE_MASK): Define.
37823         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37824         Define.
37825         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37826         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37827         Define.
37828         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37829         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37830         Define.
37831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37832         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37833         Define.
37834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37836         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37837         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37838         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37839         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37840         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37841         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37843         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37844         Handle f2fs.
37846         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37847         Handle f2fs and efivarfs.
37849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37850         f2fs.
37852         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37853         (EFIVARFS_MAGIC): Add.
37854         (F2FS_LINK_MAX): Add.
37856 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37858         * stdio-common/vfprintf.c: Replace __builtin_expect with
37859         __glibc_unlikely.
37861 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37863         [BZ #13550]
37864         * sysdeps/generic/bp-sym.h: Remove file.
37865         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37866         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37867         <bp-sym.h> and <bp-asm.h>.
37868         (__longjmp): Don't use BP_SYM.
37869         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37870         and <bp-asm.h>.
37871         (memcpy): Don't use BP_SYM.
37872         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37873         <bp-sym.h> and <bp-asm.h>.
37874         (memcpy): Don't use BP_SYM.
37875         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37876         <bp-asm.h>.
37877         (memcpy): Don't use BP_SYM.
37878         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37879         <bp-asm.h>.
37880         (memset): Don't use BP_SYM.
37881         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37882         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37883         (__bzero): Don't use BP_SYM.
37884         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37885         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37887         <bp-sym.h> and <bp-asm.h>.
37888         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37889         pointers.
37890         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37891         <bp-sym.h> and <bp-asm.h>.
37892         (memcpy): Don't use BP_SYM.
37893         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37894         <bp-sym.h> and <bp-asm.h>.
37895         (memset): Don't use BP_SYM.
37896         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37897         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37898         (__bzero): Don't use BP_SYM.
37899         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37900         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37901         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37902         <bp-sym.h> and <bp-asm.h>.
37903         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37904         pointers.
37905         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37906         <bp-sym.h> and <bp-asm.h>.
37907         (memcpy): Don't use BP_SYM.
37908         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37909         <bp-sym.h> and <bp-asm.h>.
37910         (memset): Don't use BP_SYM.
37911         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37912         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37913         (__bzero): Don't use BP_SYM.
37914         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37915         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37917         <bp-sym.h> and <bp-asm.h>.
37918         (__memchr): Don't use BP_SYM.
37919         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37920         <bp-sym.h> and <bp-asm.h>.
37921         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37922         pointers.
37923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37924         <bp-sym.h> and <bp-asm.h>.
37925         (memcpy): Don't use BP_SYM.
37926         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37927         <bp-sym.h> and <bp-asm.h>.
37928         (__mempcpy): Don't use BP_SYM.
37929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37930         <bp-sym.h> and <bp-asm.h>.
37931         (__memrchr): Don't use BP_SYM.
37932         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37933         <bp-sym.h> and <bp-asm.h>.
37934         (memset): Don't use BP_SYM.
37935         (__bzero): Likewise.
37936         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37937         <bp-sym.h> and <bp-asm.h>.
37938         (__rawmemchr): Don't use BP_SYM.
37939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37940         <bp-sym.h> and <bp-asm.h>.
37941         (__STRCMP): Don't use BP_SYM.
37942         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37943         <bp-sym.h> and <bp-asm.h>.
37944         (strchr): Don't use BP_SYM.
37945         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37946         <bp-sym.h> and <bp-asm.h>.
37947         (__strchrnul): Don't use BP_SYM.
37948         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37949         <bp-sym.h> and <bp-asm.h>.
37950         (strlen): Don't use BP_SYM.
37951         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37952         <bp-sym.h> and <bp-asm.h>.
37953         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37954         pointers.
37955         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37956         <bp-sym.h> and <bp-asm.h>.
37957         (__strnlen): Don't use BP_SYM.
37958         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37959         <bp-sym.h> and <bp-asm.h>.
37960         (__GI__setjmp): Don't use BP_SYM.
37961         (_setjmp): Likewise.
37962         (__sigsetjmp): Likewise.
37963         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37964         (L(start_addresses)): Don't use BP_SYM.
37965         (_start): Likewise.
37966         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37967         <bp-asm.h>.
37968         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37969         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37970         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37971         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37972         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37973         <bp-asm.h>.
37974         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37975         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37976         about bounded pointers.
37977         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37978         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37979         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37980         <bp-asm.h>.
37981         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37982         about bounded pointers.  Remove GKM FIXME comments.
37983         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37984         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37985         <bp-asm.h>.
37986         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37987         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37988         Remove GKM FIXME comments.
37989         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37990         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37991         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37992         <bp-asm.h>.
37993         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37994         about bounded pointers.  Remove GKM FIXME comment.
37995         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37996         and <bp-asm.h>.
37997         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37998         pointers.
37999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38000         <bp-sym.h> and <bp-asm.h>.
38001         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38003         <bp-sym.h> and <bp-asm.h>.
38004         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38005         comment.
38007 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38009         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38010         call free(NULL).
38012 2013-03-05  David S. Miller  <davem@davemloft.net>
38014         * po/es.po: Update from translation team.
38016 2013-03-05  Andreas Jaeger  <aj@suse.de>
38018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38019         <bits/mman-linux.h>.
38020         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38021         is fine.
38022         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38023         <bits/mman-linux.h> to end of file.
38024         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38025         is fine.
38026         * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
38031         <bits/mman-linux.h> to end of file.
38033         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38034         (MCL_CURRENT, MCL_FUTURE): Define here.
38036 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38038         [BZ #15232]
38039         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38040         attribute_hidden.
38041         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38043 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38046         fourth parameter needed for rt_sigprocmask syscall.
38047         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38048         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38050         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38051         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38052         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38054 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
38056         [BZ #13550]
38057         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38058         comment about bounded pointers.
38059         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38060         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38062 2013-03-04  Andreas Jaeger  <aj@suse.de>
38064         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38065         common definitions.
38067         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38068         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38069         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38070         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38072         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38074 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38076         [BZ #15055]
38077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38078         __ieee754_sqrl instead of __sqrl.
38080 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38082         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38083         * sysdeps/powerpc/fpu_control.h: ... here.
38084         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38085         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38086         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38087         * sysdeps/powerpc/bits/mathinline.h: ... here.
38089 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38091         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38092         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38093         to just [NEED_DL_SYSINFO_DSO].
38094         * elf/dl-support.c: Likewise.
38095         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38096         * elf/rtld.c (dl_main): Likewise.
38097         * elf/setup-vdso.h (setup_vdso): Likewise.
38098         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38099         * sysdeps/unix/sysv/linux/dl-sysdep.c
38100         (_dl_discover_osversion): Likewise.
38102 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38104         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38105         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38107 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38109         * NEWS: Mention libm performance improvements and non-x86 PI
38110         futex support.
38112         * csu/libc-start.c (__pthread_initialize_minimal): Change
38113         function arguments.
38114         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38116 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38118         [BZ #13550]
38119         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38120         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38121         <bp-sym.h> and <bp-asm.h>.
38122         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38123         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38124         and <bp-asm.h>.
38125         (memcpy): Don't use BP_SYM.
38126         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38127         <bp-asm.h>.
38128         (__mpn_add_n): Don't use BP_SYM.
38129         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38130         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38131         and <bp-asm.h>.
38132         (__mpn_addmul_1): Don't use BP_SYM.
38133         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38134         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38135         <bp-sym.h>.
38136         (_setjmp): Don't use BP_SYM.
38137         (__novmx_setjmp): Likewise.
38138         (__GI__setjmp): Likewise.
38139         (__vmx_setjmp): Likewise.
38140         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38141         <bp-sym.h>.
38142         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38143         (__bzero): Don't use BP_SYM.
38144         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38145         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38146         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38147         <bp-sym.h> and <bp-asm.h>.
38148         (memcpy): Don't use BP_SYM.
38149         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38150         <bp-sym.h> and <bp-asm.h>.
38151         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38152         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38153         <bp-sym.h> and <bp-asm.h>.
38154         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38155         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38156         <bp-asm.h>.
38157         (__mpn_lshift): Don't use BP_SYM.
38158         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38159         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38160         <bp-asm.h>.
38161         (memset): Don't use BP_SYM.
38162         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38163         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38164         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38165         <bp-asm.h>.
38166         (__mpn_mul_1): Don't use BP_SYM.
38167         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38168         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38169         <bp-sym.h> and <bp-asm.h>.
38170         (memcmp): Don't use BP_SYM.
38171         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38172         <bp-sym.h> and <bp-asm.h>.
38173         (memcpy): Don't use BP_SYM.
38174         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38175         <bp-sym.h> and <bp-asm.h>.
38176         (memset): Don't use BP_SYM.
38177         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38178         <bp-sym.h> and <bp-asm.h>.
38179         (strncmp): Don't use BP_SYM.
38180         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38181         <bp-sym.h> and <bp-asm.h>.
38182         (memcpy): Don't use BP_SYM.
38183         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38184         <bp-sym.h> and <bp-asm.h>.
38185         (memset): Don't use BP_SYM.
38186         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38187         <bp-sym.h> and <bp-asm.h>.
38188         (__memchr): Don't use BP_SYM.
38189         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38190         <bp-sym.h> and <bp-asm.h>.
38191         (memcmp): Don't use BP_SYM.
38192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38193         <bp-sym.h> and <bp-asm.h>.
38194         (memcpy): Don't use BP_SYM.
38195         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38196         <bp-sym.h> and <bp-asm.h>.
38197         (__mempcpy): Don't use BP_SYM.
38198         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38199         <bp-sym.h> and <bp-asm.h>.
38200         (__memrchr): Don't use BP_SYM.
38201         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38202         <bp-sym.h> and <bp-asm.h>.
38203         (memset): Don't use BP_SYM.
38204         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38205         <bp-sym.h> and <bp-asm.h>.
38206         (__rawmemchr): Don't use BP_SYM.
38207         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38208         <bp-sym.h> and <bp-asm.h>.
38209         (__STRCMP): Don't use BP_SYM.
38210         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38211         <bp-sym.h> and <bp-asm.h>.
38212         (strchr): Don't use BP_SYM.
38213         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38214         <bp-sym.h> and <bp-asm.h>.
38215         (__strchrnul): Don't use BP_SYM.
38216         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38217         <bp-sym.h> and <bp-asm.h>.
38218         (strlen): Don't use BP_SYM.
38219         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38220         <bp-sym.h> and <bp-asm.h>.
38221         (strncmp): Don't use BP_SYM.
38222         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38223         <bp-sym.h> and <bp-asm.h>.
38224         (__strnlen): Don't use BP_SYM.
38225         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38226         <bp-asm.h>.
38227         (__mpn_rshift): Don't use BP_SYM.
38228         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38229         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38230         <bp-sym.h> and <bp-asm.h>.
38231         (__sigsetjmp): Don't use BP_SYM.
38232         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38233         (L(start_addresses)): Don't use BP_SYM.
38234         (_start): Likewise.
38235         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38236         <bp-asm.h>.
38237         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38238         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38239         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38240         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38241         <bp-asm.h>.
38242         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38243         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38244         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38245         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38246         <bp-asm.h>.
38247         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38248         comments.
38249         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38250         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38251         <bp-asm.h>.
38252         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38253         FIXME comments.
38254         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38255         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38256         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38257         <bp-asm.h>.
38258         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38259         comment.
38260         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38261         and <bp-asm.h>.
38262         (strncmp): Don't use BP_SYM,
38263         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38264         <bp-asm.h>.
38265         (__mpn_sub_n): Don't use BP_SYM.
38266         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38267         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38268         and <bp-asm.h>.
38269         (__mpn_submul_1): Don't use BP_SYM.
38270         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38272         <bp-sym.h> and <bp-asm.h>.
38273         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38275         <bp-sym.h> and <bp-asm.h>.
38276         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38277         comment.
38279 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38282         Use ZK to minimize writes to Z.
38283         (sub_magnitudes): Simplify code a bit.
38284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38285         Use ZK to minimize writes to Z.
38286         (sub_magnitudes): Simplify code a bit.
38288 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38290         * csu/gmon-start.c: Add special exception to license text.
38292 2013-02-27  Richard Henderson  <rth@redhat.com>
38294         * scripts/config.guess: Update from config.git.
38295         * scripts/config.sub: Likewise.
38297 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38299         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38301         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38303         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38305         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38307         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38309 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38311         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38312         [$(build-shared = yes].
38314 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38316         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38317         (__mul): Reduce iterations for calculating mantissa.
38319         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38320         MPTWO.
38321         (__mpranred): Likewise.
38323         [BZ #15160]
38324         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38325         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38327 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38329         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38330         Define __attribute__.
38332 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38334         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38335         unused.
38336         * posix/regex_internal.h (__attribute): Remove.
38337         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38338         (re_string_context_at): Likewise.
38339         (bitset_not): Use __attribute__ and mark function as possibly
38340         unused.
38341         (bitset_merge): Likewise.
38342         (bitset_mask): Likewise.
38343         (re_string_char_size_at): Likewise.
38344         (re_string_wchar_at): Likewise.
38345         (re_string_elem_size_at): Likewise.
38347 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38349         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38350         code.
38351         (cc32): Likewise.
38353         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38354         (__acr): Likewise.
38355         (__cpy): Likewise.
38356         (norm): Likewise.
38357         (denorm): Likewise.
38358         (__dbl_mp): Likewise.
38359         (add_magnitudes): Likewise.
38360         (sub_magnitudes): Likewise.
38361         (__mul): Likewise.
38362         (__inv): Likewise.
38364         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38365         style.
38367         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38368         style.
38370         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38371         code.
38373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38374         up changes with default code.
38375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38376         Likewise.
38378 2013-02-24  Allan McRae  <allan@archlinux.org>
38380         * manual/socket.texi (The Internet Namespace): Order menu items
38381         to match that in the file.
38383         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38384         node listing of the info page menu.
38386 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38388         [BZ #13550]
38389         * sysdeps/i386/bp-asm.h: Remove file.
38390         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38391         (PARMS): Do not use macros from bp-asm.h.
38392         (S1): Likewise.
38393         (S2): Likewise.
38394         (SIZE): Likewise.
38395         (__mpn_add_n): Do not use BP_SYM
38396         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38397         "bp-asm.h".
38398         (PARMS): Do not use macros from bp-asm.h.
38399         (S1): Likewise.
38400         (SIZE): Likewise.
38401         (__mpn_addmul_1): Do not use BP_SYM
38402         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38403         "bp-asm.h".
38404         (PARMS): Do not use macros from bp-asm.h.
38405         (SIGMSK): Likewise.
38406         (_setjmp): Likewise.  Do not use BP_SYM.
38407         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38408         "bp-asm.h".
38409         (PARMS): Do not use macros from bp-asm.h.
38410         (SIGMSK): Likewise.
38411         (setjmp): Likewise.  Do not use BP_SYM.
38412         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38413         "bp-asm.h".
38414         (PARMS): Do not use macros from bp-asm.h.
38415         (__frexp): Do not use BP_SYM.
38416         (frexp): Likewise.
38417         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38418         "bp-asm.h".
38419         (PARMS): Do not use macros from bp-asm.h.
38420         (__frexpf): Do not use BP_SYM.
38421         (frexpf): Likewise.
38422         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38423         "bp-asm.h".
38424         (PARMS): Do not use macros from bp-asm.h.
38425         (__frexpl): Do not use BP_SYM.
38426         (frexpl): Likewise.
38427         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38428         "bp-asm.h".
38429         (PARMS): Do not use macros from bp-asm.h.
38430         (__remquo): Do not use BP_SYM.
38431         (remquo): Likewise.
38432         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38433         "bp-asm.h".
38434         (PARMS): Do not use macros from bp-asm.h.
38435         (__remquof): Do not use BP_SYM.
38436         (remquof): Likewise.
38437         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38438         "bp-asm.h".
38439         (PARMS): Do not use macros from bp-asm.h.
38440         (__remquol): Do not use BP_SYM.
38441         (remquol): Likewise.
38442         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38443         "bp-asm.h".
38444         (PARMS): Do not use macros from bp-asm.h.
38445         (DEST): Likewise.
38446         (SRC): Likewise.
38447         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38448         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38449         "bp-asm.h".
38450         (PARMS): Do not use macros from bp-asm.h.
38451         (strlen): Do not use BP_SYM.
38452         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38453         "bp-asm.h".
38454         (PARMS): Do not use macros from bp-asm.h.
38455         (S1): Likewise.
38456         (S2): Likewise.
38457         (SIZE): Likewise.
38458         (__mpn_add_n): Do not use BP_SYM.
38459         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38460         "bp-asm.h".
38461         (PARMS): Do not use macros from bp-asm.h.
38462         (S1): Likewise.
38463         (SIZE): Likewise.
38464         (__mpn_addmul_1): Do not use BP_SYM.
38465         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38466         weak_alias.
38467         (bzero): Likewise.
38468         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38469         "bp-asm.h".
38470         (PARMS): Do not use macros from bp-asm.h.
38471         (S): Likewise.
38472         (SIZE): Likewise.
38473         (__mpn_lshift): Do not use BP_SYM.
38474         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38475         "bp-asm.h".
38476         (PARMS): Do not use macros from bp-asm.h.
38477         (DEST): Likewise.
38478         (SRC): Likewise.
38479         (LEN): Likewise.
38480         (memcpy): Likewise.  Do not use BP_SYM.
38481         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38482         libc_hidden_def and weak_alias.
38483         (mempcpy): Do not use BP_SYM in weak_alias.
38484         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38485         "bp-asm.h".
38486         (PARMS): Do not use macros from bp-asm.h.
38487         (DEST): Likewise.
38488         (LEN): Likewise.
38489         [!BZERO_P] (CHR): Likewise.
38490         (memset): Likewise.  Do not use BP_SYM.
38491         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38492         "bp-asm.h".
38493         (PARMS): Do not use macros from bp-asm.h.
38494         (S1): Likewise.
38495         (SIZE): Likewise.
38496         (__mpn_mul_1): Do not use BP_SYM.
38497         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38498         "bp-asm.h".
38499         (PARMS): Do not use macros from bp-asm.h.
38500         (S): Likewise.
38501         (SIZE): Likewise.
38502         (__mpn_rshift): Do not use BP_SYM.
38503         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38504         "bp-asm.h".
38505         (PARMS): Do not use macros from bp-asm.h.
38506         (STR): Likewise.
38507         (CHR): Likewise.
38508         (strchr): Likewise.  Do not use BP_SYM.
38509         (index): Do not use BP_SYM in weak_alias.
38510         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38511         "bp-asm.h".
38512         (PARMS): Do not use macros from bp-asm.h.
38513         (DEST): Likewise.
38514         (SRC): Likewise.
38515         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38516         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38517         "bp-asm.h".
38518         (PARMS): Do not use macros from bp-asm.h.
38519         (strlen): Do not use BP_SYM.
38520         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38521         "bp-asm.h".
38522         (PARMS): Do not use macros from bp-asm.h.
38523         (S1): Likewise.
38524         (S2): Likewise.
38525         (SIZE): Likewise.
38526         (__mpn_sub_n): Do not use BP_SYM.
38527         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38528         "bp-asm.h".
38529         (PARMS): Do not use macros from bp-asm.h.
38530         (S1): Likewise.
38531         (SIZE): Likewise.
38532         (__mpn_submul_1): Do not use BP_SYM.
38533         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38534         "bp-asm.h".
38535         (PARMS): Do not use macros from bp-asm.h.
38536         (S1): Likewise.
38537         (S2): Likewise.
38538         (SIZE): Likewise.
38539         (__mpn_add_n): Do not use BP_SYM.
38540         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38541         weak_alias.
38542         (bzero): Likewise.
38543         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38544         "bp-asm.h".
38545         (PARMS): Do not use macros from bp-asm.h.
38546         (BLK2): Likewise.
38547         (LEN): Likewise.
38548         (memcmp): Do not use BP_SYM.
38549         (bcmp): Do not use BP_SYM in weak_alias.
38550         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38551         "bp-asm.h".
38552         (PARMS): Do not use macros from bp-asm.h.
38553         (DEST): Likewise.
38554         (SRC): Likewise.
38555         (LEN): Likewise.
38556         (memcpy): Likewise.  Do not use BP_SYM.
38557         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38558         "bp-asm.h".
38559         (PARMS): Do not use macros from bp-asm.h.
38560         (DEST): Likewise.
38561         (SRC): Likewise.
38562         (LEN): Likewise.
38563         (memmove): Likewise.  Do not use BP_SYM.
38564         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38565         "bp-asm.h".
38566         (PARMS): Do not use macros from bp-asm.h.
38567         (DEST): Likewise.
38568         (SRC): Likewise.
38569         (LEN): Likewise.
38570         (__mempcpy): Likewise.  Do not use BP_SYM.
38571         (mempcpy): Do not use BP_SYM in weak_alias.
38572         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38573         "bp-asm.h".
38574         (PARMS): Do not use macros from bp-asm.h.
38575         (DEST): Likewise.
38576         (LEN): Likewise.
38577         [!BZERO_P] (CHR): Likewise.
38578         (memset): Likewise.  Do not use BP_SYM.
38579         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38580         "bp-asm.h".
38581         (PARMS): Do not use macros from bp-asm.h.
38582         (STR2): Likewise.
38583         (strcmp): Do not use BP_SYM.
38584         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38585         "bp-asm.h".
38586         (PARMS): Do not use macros from bp-asm.h.
38587         (STR): Likewise.
38588         (DELIM): Likewise.
38589         [USE_AS_STRTOK_R] (SAVE): Likewise.
38590         (FUNCTION): Likewise.  Do not use BP_SYM.
38591         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38592         aliases.
38593         (strtok_r): Likewise.
38594         (__GI___strtok_r): Likewise.
38595         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38596         (PARMS): Do not use macros from bp-asm.h.
38597         (S): Likewise.
38598         (SIZE): Likewise.
38599         (__mpn_lshift): Do not use BP_SYM.
38600         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38601         (PARMS): Do not use macros from bp-asm.h.
38602         (STR): Likewise.
38603         (CHR): Likewise.
38604         (__memchr): Do not use BP_SYM.
38605         (memchr): Do not use BP_SYM in weak_alias.
38606         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38607         (PARMS): Do not use macros from bp-asm.h.
38608         (BLK2): Likewise.
38609         (LEN): Likewise.
38610         (memcmp): Do not use BP_SYM.
38611         (bcmp): Do not use BP_SYM in weak_alias.
38612         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38613         (PARMS): Do not use macros from bp-asm.h.
38614         (S1): Likewise.
38615         (SIZE): Likewise.
38616         (__mpn_mul_1): Do not use BP_SYM.
38617         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38618         "bp-asm.h".
38619         (PARMS): Do not use macros from bp-asm.h.
38620         (STR): Likewise.
38621         (CHR): Likewise.
38622         (__rawmemchr): Do not use BP_SYM.
38623         (rawmemchr): Do not use BP_SYM in weak_alias.
38624         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38625         (PARMS): Do not use macros from bp-asm.h.
38626         (S): Likewise.
38627         (SIZE): Likewise.
38628         (__mpn_rshift): Do not use BP_SYM.
38629         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38630         (PARMS): Do not use macros from bp-asm.h.
38631         (SIGMSK): Likewise.
38632         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38633         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38634         (_start): Do not use BP_SYM.
38635         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38636         (PARMS): Do not use macros from bp-asm.h.
38637         (DEST): Likewise.
38638         (SRC): Likewise.
38639         (__stpcpy): Likewise.  Do not use BP_SYM.
38640         (stpcpy): Do not use BP_SYM in weak_alias.
38641         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38642         "bp-asm.h".
38643         (PARMS): Do not use macros from bp-asm.h.
38644         (DEST): Likewise.
38645         (SRC): Likewise.
38646         (LEN): Likewise.
38647         (__stpncpy): Likewise.  Do not use BP_SYM.
38648         (stpncpy): Do not use BP_SYM in weak_alias.
38649         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38650         (PARMS): Do not use macros from bp-asm.h.
38651         (STR): Likewise.
38652         (CHR): Likewise.
38653         (strchr): Likewise.  Do not use BP_SYM.
38654         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38655         "bp-asm.h".
38656         (PARMS): Do not use macros from bp-asm.h.
38657         (STR): Likewise.
38658         (CHR): Likewise.
38659         (__strchrnul): Likewise.  Do not use BP_SYM.
38660         (strchrnul): Do not use BP_SYM in weak_alias.
38661         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38662         "bp-asm.h".
38663         (PARMS): Do not use macros from bp-asm.h.
38664         (STOP): Likewise.
38665         (strcspn): Do not use BP_SYM.
38666         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38667         "bp-asm.h".
38668         (PARMS): Do not use macros from bp-asm.h.
38669         (STR): Likewise.
38670         (STOP): Likewise.
38671         (strpbrk): Likewise.  Do not use BP_SYM.
38672         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38673         "bp-asm.h".
38674         (PARMS): Do not use macros from bp-asm.h.
38675         (STR): Likewise.
38676         (CHR): Likewise.
38677         (strrchr): Likewise.  Do not use BP_SYM.
38678         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38679         (PARMS): Do not use macros from bp-asm.h.
38680         (SKIP): Likewise.
38681         (strspn): Do not use BP_SYM.
38682         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38683         (PARMS): Do not use macros from bp-asm.h.
38684         (STR): Likewise.
38685         (DELIM): Likewise.
38686         (SAVE): Likewise.
38687         (FUNCTION): Likewise.  Do not use BP_SYM.
38688         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38689         aliases.
38690         (strtok_r): Likewise.
38691         (__GI___strtok_r): Likewise.
38692         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38693         (PARMS): Do not use macros from bp-asm.h.
38694         (S1): Likewise.
38695         (S2): Likewise.
38696         (SIZE): Likewise.
38697         (__mpn_sub_n): Do not use BP_SYM.
38698         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38699         "bp-asm.h".
38700         (PARMS): Do not use macros from bp-asm.h.
38701         (S1): Likewise.
38702         (SIZE): Likewise.
38703         (__mpn_submul_1): Do not use BP_SYM.
38704         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38705         <bp-sym.h>.
38706         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38707         and <bp-asm.h>.
38708         (PARMS): Do not use macros from bp-asm.h.
38709         (FLAGS): Likewise.
38710         (PTID): Likewise.
38711         (TLS): Likewise.
38712         (CTID): Likewise.
38713         (__clone): Do not use BP_SYM.
38714         (clone): Do not use BP_SYM in weak_alias.
38715         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38716         and <bp-asm.h>.
38717         (PARMS): Do not use macros from bp-asm.h.
38718         (LEN): Likewise.
38719         (__mmap64): Do not use BP_SYM.
38720         (mmap64): Do not use BP_SYM in weak_alias.
38721         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38722         <bp-sym.h> and <bp-asm.h>.
38723         (PARMS): Do not use macros from bp-asm.h.
38724         (__posix_fadvise64_l64): Do not use BP_SYM.
38725         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38726         (PARMS): Do not use macros from bp-asm.h.
38727         (NSOPS): Likewise.
38728         (semtimedop): Do not use BP_SYM.
38729         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38730         and <bp-asm.h>.
38732 2013-02-21  Allan McRae  <allan@archlinux.org>
38734         * manual/message.texi (Charset conversion in gettext):
38735         Move @end statement to beginning of line.
38737 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38740         static.
38741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38742         Likewise.
38744         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38745         (denorm): Likewise.
38746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38749 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38751         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38752         tail-call to the resolved function if pltexit isn't needed.
38754 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38757         or Y being zero as being unlikely.
38758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38759         Likewise.
38761 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38763         * manual/nss.texi (System Databases and Name Service Switch):
38764         Remove frobnicate @pxref.
38766 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38768         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38769         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38771 2013-02-20  Petr Machata  <pmachata@redhat.com>
38773         * elf/elf.h (R_ARM_TARGET1): New macro.
38774         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38775         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38776         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38777         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38778         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38779         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38780         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38781         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38782         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38783         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38784         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38785         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38786         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38787         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38788         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38789         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38790         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38791         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38792         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38793         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38794         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38795         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38796         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38797         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38798         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38799         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38800         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38801         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38802         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38803         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38804         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38805         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38806         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38807         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38808         (R_ARM_THM_GOT_BREL12): Likewise.
38809         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38810         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38811         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38812         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38813         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38814         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38815         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38816         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38817         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38819 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38821         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38822         __attribute_used__ to __attribute__ ((unused)).
38824 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38826         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38827         powerpc mpa.c.
38828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38829         comment formatting.
38830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38832 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38834         [BZ #13550]
38835         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38836         Remove macro.
38837         (ENTER): Remove both macro definitions.
38838         (LEAVE): Likewise.
38839         (CHECK_BOUNDS_LOW): Likewise.
38840         (CHECK_BOUNDS_HIGH): Likewise.
38841         (CHECK_BOUNDS_BOTH): Likewise.
38842         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38843         (RETURN_BOUNDED_POINTER): Likewise.
38844         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38845         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38846         (POP_ERRNO_LOCATION_RETURN): Likewise.
38847         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38848         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38849         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38850         macros.
38851         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38852         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38853         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38854         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38855         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38856         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38857         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38858         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38859         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38860         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38861         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38862         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38863         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38864         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38865         removed macros.
38866         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38867         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38868         macros.
38869         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38870         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38871         * sysdeps/i386/i586/memset.S (memset): Likewise.
38872         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38873         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38874         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38875         macros.
38876         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38877         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38878         Change uses of L(2) to L(out).
38879         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38880         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38881         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38882         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38883         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38884         removed macros.
38885         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38886         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38887         macros.
38888         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38889         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38890         (RETURN): Do not use macro LEAVE.
38891         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38892         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38893         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38894         * sysdeps/i386/i686/memset.S (memset): Likewise.
38895         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38896         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38897         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38898         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38899         Likewise.
38900         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38901         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38902         L(1_2) and L(1_3) into L(1).
38903         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38904         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38905         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38906         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38907         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38908         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38909         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38910         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38911         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38912         macros.
38913         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38914         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38915         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38916         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38917         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38918         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38919         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38920         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38921         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38922         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38923         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38924         * sysdeps/i386/strspn.S (strspn): Likewise.
38925         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38926         conditional code.
38927         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38928         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38929         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38930         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38931         L(1_3) into L(1_1).
38932         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38933         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38934         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38935         macros.
38936         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38938 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38940         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38941         macro.
38943 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38945         * math/atest-exp.c (exp_mpn): Remove ROUND.
38946         * math/atest-exp2.c (exp_mpn): Likewise.
38947         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38949         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38950         * stdlib/tst-tls-atexit-lib.c: Likewise.
38951         * stdlib/tst-tls-atexit.c: Likewise.
38953 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38955         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38956         and __attribute_alloc_size__.
38958 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38960         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38961         __attribute_alloc_size__.
38962         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38963         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38965 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38967         * include/programs/xmalloc.h: New file.
38968         * catgets/gencat.c: Include it.
38969         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38970         * elf/pldd.c: Likewise.
38971         * iconv/iconv_charmap.c: Likewise.
38972         * iconv/iconvconfig.c: Likewise.
38973         * iconv/strtab.c: Likewise.
38974         * locale/programs/locale.c: Likewise.
38975         * locale/programs/localedef.h: Likewise.
38976         * locale/programs/simple-hash.c: Likewise.
38977         * nscd/nscd.h: Likewise.
38978         * nss/makedb.c: Likewise.
38979         * sysdeps/generic/ldconfig.h: Likewise.
38981 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38983         * Versions.def: Add GLIBC_2.18.
38984         * include/link.h (struct link_map): New member l_tls_dtor_count.
38985         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38986         (__call_tls_dtors): Likewise.
38987         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38988         __cxa_thread_atexit_impl.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38990         Likewise.
38991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38992         Likewise.
38993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38994         Likewise.
38995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38996         Likewise.
38997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38999         Likewise.
39000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39001         Likewise.
39002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39004         Likewise.
39005         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39006         (tests): Add test case tst-tls-atexit.
39007         (modules-names): Add shared library for tst-tls-atexit.
39008         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39009         (GLIBC_PRIVATE): Add __call_tls_dtors.
39010         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39011         for libstdc++.
39012         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39013         * stdlib/tst-tls-atexit.c: New test case.
39014         * stdlib/tst-tls-atexit-lib.c: New test case.
39016         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39018         * elf/Versions (ld): Add _dl_find_dso_for_object.
39019         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39020         * elf/dl-open.c (_dl_find_dso_for_object): New function.
39021         (dl_open_worker): Use _dl_find_dso_for_object.
39022         * elf/dl-sym.c (do_sym): Likewise.
39023         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39025 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39027         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39028         Syntactic changes only.
39029         (_dl_runtime_profile): Do a tail-call to the resolved function.
39031 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
39033         [BZ #13550]
39034         * sysdeps/x86_64/bp-asm.h: Remove file.
39035         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39036         <bp-sym.h> and <bp-asm.h>.
39037         (__clone): Do not use BP_SYM.
39038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39039         <bp-sym.h> and <bp-asm.h>.
39040         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39041         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39042         "bp-asm.h".
39043         (_setjmp): Do not use BP_SYM.
39044         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39045         "bp-asm.h".
39046         (setjmp): Do not use BP_SYM.
39047         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39048         libc_hidden_def.
39049         (mempcpy): Do not use BP_SYM in weak_alias.
39050         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39051         "bp-asm.h".
39052         (strchr): Do not use BP_SYM.
39053         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39054         "bp-asm.h".
39055         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39056         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39057         (_start): Do not use BP_SYM.
39058         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39059         "bp-asm.h".
39060         (strcat): Do not use BP_SYM.
39061         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39062         "bp-asm.h".
39063         (STRCMP): Do not use BP_SYM.
39064         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39065         "bp-asm.h".
39066         (STRCPY): Do not use BP_SYM.
39067         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39068         "bp-asm.h".
39069         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39070         "bp-asm.h".
39071         (FUNCTION): Do not use BP_SYM.
39072         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39073         weak_alias.
39074         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39076 2013-02-17  Andreas Jaeger  <aj@suse.de>
39078         * time/Versions: Sort entries.
39079         * string/Versions: Likewise.
39080         * resolv/Versions: Likewise.
39081         * posix/Versions: Likewise.
39082         * iconv/Versions: Likewise.
39083         * elf/Versions: Likewise.
39084         * wcsmbs/Versions: Likewise.
39086 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39088         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39089         loop termination condition.
39091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39092         variable to calculate EZ.
39093         (__sqr): Likewise.
39095         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39096         the lower precision input.
39098 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39100         [BZ #13550]
39101         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39102         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39103         (run-via-rtld-prefix): Do not handle %-bp tests.
39104         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39105         (all-object-suffixes): Remove .ob.
39106         (bppfx): Remove variable.
39107         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39108         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39109         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39110         [$(build-bounded) = yes] (libtype.ob): Likewise.
39111         * Makerules (elide-routines.ob): Remove variable.
39112         (do-tests-clean): Do not handle *-bp.out.
39113         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39114         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39115         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39116         (tests): Do not include $(tests-bp.out).
39117         (xtests): Do not include $(xtests-bp.out).
39118         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39119         [$(build-bounded) = yes] ($(addprefix
39120         $(objpfx),$(binaries-bounded))): Remove rule.
39121         ($(objpfx)%-bp.out): Remove rule.
39122         * config.make.in (build-bounded): Remove variable.
39123         * crypt/Makefile [$(build-bounded) = yes]
39124         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39125         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39126         append to variable.
39127         [$(build-bounded) = yes] (install-lib): Likewise.
39128         [$(build-bounded) = yes] (generated): Likewise.
39129         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39130         Remove rule.
39131         * intl/Makefile [$(build-bounded) = yes]
39132         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39133         * math/Makefile [$(build-bounded) = yes]
39134         ($(tests:%=$(objpfx)%-bp): Likewise.
39135         * misc/Makefile [$(build-bounded) = yes]
39136         ($(objpfx)tst-tsearch-bp): Likewise.
39137         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39138         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39139         Remove dependency.
39140         * string/Makefile (o-objects.ob): Remove variable.
39141         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39142         (CFLAGS-.ob): Remove variable.
39143         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39144         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39145         both definitions of variable.
39146         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39147         (ASFLAGS-.ob): Remove variable.
39149 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39151         [BZ #13550]
39152         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39153         Remove __BOUNDED_POINTERS__ from condition.
39154         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39155         * string/bits/string2.h [!__NO_STRING_INLINES &&
39156         !__BOUNDED_POINTERS__]: Likewise.
39157         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39158         Likewise.
39159         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39160         Remove conditional code.
39161         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39162         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39163         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39164         condition.
39166         [BZ #13550]
39167         * csu/libc-start.c: Do not include <bp-sym.h>.
39168         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39169         * elf/dl-open.c: Do not include <bp-sym.h>.
39170         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39171         * math/fegetenv.c: Do not include <bp-sym.h>.
39172         (fegetenv): Do not use BP_SYM in versioned symbols.
39173         * nptl/sysdeps/pthread/bits/libc-lockP.h
39174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39175         <bp-sym.h>.
39176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39177         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39179         (__pthread_mutex_destroy): Likewise.
39180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39181         (__pthread_mutex_lock): Likewise.
39182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39183         (__pthread_mutex_trylock): Likewise.
39184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39185         (__pthread_mutex_unlock): Likewise.
39186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39187         (__pthread_mutexattr_init): Likewise.
39188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39189         (__pthread_mutexattr_destroy): Likewise.
39190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39191         (__pthread_mutexattr_settype): Likewise.
39192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39193         (__pthread_rwlock_init): Likewise.
39194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39195         (__pthread_rwlock_destroy): Likewise.
39196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39197         (__pthread_rwlock_rdlock): Likewise.
39198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39199         (__pthread_rwlock_tryrdlock): Likewise.
39200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39201         (__pthread_rwlock_wrlock): Likewise.
39202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39203         (__pthread_rwlock_trywrlock): Likewise.
39204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39205         (__pthread_rwlock_unlock): Likewise.
39206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39207         (__pthread_key_create): Likewise.
39208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39209         (__pthread_setspecific): Likewise.
39210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39211         (__pthread_getspecific): Likewise.
39212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39213         Likewise.
39214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39215         (_pthread_cleanup_push_defer): Likewise.
39216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39217         (_pthread_cleanup_pop_restore): Likewise.
39218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39219         (pthread_setcancelstate): Likewise.
39220         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39221         <bp-sym.h>.
39222         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39223         (memchr): Do not use BP_SYM in weak_alias.
39224         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39225         (fegetenv): Do not use BP_SYM in versioned symbols.
39226         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39227         (fesetenv): Do not use BP_SYM in versioned symbols.
39228         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39229         (feupdateenv): Do not use BP_SYM in versioned symbols.
39230         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39231         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39232         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39233         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39234         (open64): Do not use BP_SYM in weak_alias.
39235         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39236         (fegetenv): Do not use BP_SYM in versioned symbols.
39237         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39238         (fesetenv): Do not use BP_SYM in versioned symbols.
39239         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39240         (feupdateenv): Do not use BP_SYM in versioned symbols.
39241         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39242         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39243         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39244         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39245         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39246         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39247         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39248         <bp-sym.h>.
39249         (__libc_start_main): Do not use BP_SYM.
39251 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39254         redundant return line.
39255         (norm): Likewise.
39256         (denorm): Likewise.
39257         (dbl_mp): Likewise.
39258         (sub_magnitudes): Likewise.
39259         (__add): Likewise.
39260         (__sub): Likewise.
39261         (__mul): Likewise.
39262         (__inv): Likewise.
39263         (__dvd): Likewise.
39264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39265         (norm): Likewise.
39266         (denorm): Likewise.
39267         (dbl_mp): Likewise.
39268         (sub_magnitudes): Likewise.
39269         (__add): Likewise.
39270         (__sub): Likewise.
39271         (__mul): Likewise.
39272         (__inv): Likewise.
39273         (__dvd): Likewise.
39275         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39276         instead of __mul.
39277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39278         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39279         (cc32): Likewise.
39281         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39282         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39284         of __mul for squares.
39285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39286         function
39287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39288         Likewise.
39289         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39290         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39292 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39294         [BZ #13550]
39295         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39296         code.
39297         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39298         prototype or function definition.  Rename ubp_* variables and
39299         parameters.  Remove argv definitions conditional on
39300         [__BOUNDED_POINTERS__].
39301         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39302         * elf/dl-runtime.c (_dl_fixup): Likewise.
39303         * include/set-hooks.h (RUN_HOOK): Likewise.
39304         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39305         definition.
39306         * string/strcpy.c (strcpy): Do not use __unbounded.
39307         * sysdeps/generic/frame.h (struct layout): Likewise.
39308         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39309         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39310         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39311         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39312         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39313         (__backtrace): Likewise.
39314         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39315         use __ptrvalue.
39316         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39317         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39318         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39319         Likewise.
39320         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39321         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39322         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39323         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39324         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39325         Do not use __unbounded.
39326         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39327         Rename __unboundedrlimits parameter to rlimits in prototype.
39328         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39329         Do not use __unbounded.
39330         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39331         not use __ptrvalue.
39332         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39333         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39334         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39335         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39336         __ptrvalue or __unbounded.
39337         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39338         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39339         use __unbounded.
39340         (__new_msgctl): Do not use __ptrvalue.
39341         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39342         __unbounded.
39343         (__libc_msgrcv): Do not use __ptrvalue.
39344         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39345         startup_info): Do not use __unbounded.
39346         (__libc_start_main): Likewise.  Rename ubp_* variables and
39347         parameters.  Remove argv definitions conditional on
39348         [__BOUNDED_POINTERS__].
39349         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39350         __ptrvalue.
39351         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39352         use __unbounded.
39353         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39354         or __ptrvalue.
39355         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39356         use __unbounded.
39357         (__new_shmctl): Do not use __ptrvalue.
39358         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39359         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39360         Likewise.
39361         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39362         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39363         (__libc_sigaction): Likewise.
39364         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39365         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39366         Likewise.
39367         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39369 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39371         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39373         * string/mempcpy.c: Implement by calling memcpy.
39375 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39380         evaluation.
39382         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39383         values in the mantissa.
39385         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39386         minimize writes to Z.
39387         (sub_magnitudes): Simplify code a bit.
39389 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39391         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39392         from the message.  The linker prefixes all warnings with that already.
39394 2013-02-12  Andreas Schwab  <schwab@suse.de>
39396         [BZ #15078]
39397         * posix/regexec.c (extend_buffers): Add parameter min_len.
39398         (check_matching): Pass minimum needed length.
39399         (clean_state_log_if_needed): Likewise.
39400         (get_subexp): Likewise.
39401         * posix/Makefile (tests): Add bug-regex34.
39402         (bug-regex34-ENV): Define.
39403         * posix/bug-regex34.c: New file.
39405         [BZ #11561]
39406         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39407         elements compare against the byte sequence of it, not its name.
39408         * posix/Makefile (tests): Add bug-regex35.
39409         (bug-regex35-ENV): Define.
39410         * posix/bug-regex35.c: New file.
39412 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39414         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39415         comment.
39416         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39417         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39418         (CHECK_EOL): Add undef.
39420 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39422         * bits/stdlib-bsearch.h: New file.
39423         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39424         * stdlib/stdlib.h: Likewise.
39426 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39428         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39429         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39430         declaration.
39431         * manual/search.texi (Array Search Function): Add missing const in
39432         lfind prototype.
39433         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39434         declaration to use rlim_t.
39435         (Basic Scheduling Functions): Remove erroneous const from
39436         sched_getparam prototype.  Remove erroneous * from
39437         sched_get_priority_max and sched_get_priority_min prototypes.
39438         (Resource Usage): Fix summary @comment on vtimes to refer to
39439         sys/vtimes.h rather than vtimes.h.
39440         Add missing *s in vtimes prototype.
39441         (Limits on Resources): Fix ulimit prototype to return long int.
39442         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39443         prototypes to use long int rather than double.
39444         (BSD Random): Fix initstate and setstate to use char *, not void *.
39445         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39446         prototype to make second argument 'struct aiocb64 *const[]'.
39447         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39448         (Status of AIO Operations): Remove erroneous const in aio_return and
39449         aio_return64 prototypes.
39450         (Synchronizing I/O): Fix sync prototype to return void.
39451         * manual/startup.texi (Suboptions): Remove an erroneous const in
39452         getsubopt prototype.
39453         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39454         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39455         use size_t rather than int.
39456         (Scanning All Users): Likewise for getpwent_r.
39457         (Setting Groups): Add missing const to setgroups prototype.
39458         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39459         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39460         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39461         'const void *' rather than 'const char *'.
39462         (Host Address Functions): Likewise for inet_ntop.
39463         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39464         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39465         ssize_t for return value.
39466         (Sending Data): Likewise for send, sendto, sendmsg.
39467         (Socket Option Functions): Add a missing const in setsockopt prototype.
39468         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39469         use wchar_t for the argument.
39470         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39471         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39472         take no arguments.
39473         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39474         double/float/long double for second argument.
39475         Fix return types of significand, significandf, significandl.
39476         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39477         argument in fchmod prototype.
39478         (File Owner): Use uid_t and gid_t in fchown prototype.
39479         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39480         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39481         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39482         use 'const struct dirent **' as argument types to CMP function pointer
39483         argument.
39484         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39485         (File Times): Fix summary magic @comment for struct utimbuf and utime
39486         to refer to utime.h, not time.h.
39487         * manual/string.texi (Argz Functions): Add missing const in
39488         argz_extract and argz_next prototypes.
39489         (Finding Tokens in a String): Likewise for basename.
39490         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39491         (Copying and Concatenation): Fix typo in wmemmove prototype.
39492         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39493         (Signal Stack): Remove erroneous const in sigstack prototype.
39494         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39495         prototype.
39496         (Simple Calendar Time): Likewise for stime.
39497         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39498         prototype.
39499         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39500         say sys/sysctl.h instead.
39501         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39502         and vsyslog prototypes.
39504 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39506         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39507         Remove.
39509 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39511         * misc/sys/mman.h: Fix typo in mremap comment.
39513 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39515         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39516         the '\0' terminator.
39518 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39520         [BZ #13550]
39521         * debug/segfault.c: Don't include <bp-checks.h>.
39522         * sysdeps/generic/bp-checks.h: Remove file.
39523         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39524         (__GETDENTS): Don't use CHECK_N.
39525         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39526         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39527         (__getgroups): Don't use CHECK_N.
39528         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39529         (setgroups): Don't use CHECK_N.
39530         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39531         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39532         (__libc_msgrcv): Don't use CHECK_N.
39533         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39534         (__libc_msgsnd): Don't use CHECK_N.
39535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39536         <bp-checks.h>.
39537         (__libc_pread): Don't use CHECK_N.
39538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39539         include <bp-checks.h>.
39540         (__libc_pread64): Don't use CHECK_N.
39541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39542         include <bp-checks.h>.
39543         (__libc_pwrite): Don't use CHECK_N.
39544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39545         include <bp-checks.h>.
39546         (__libc_pwrite64): Don't use CHECK_N.
39547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39548         <bp-checks.h>.
39549         (__libc_pread): Don't use CHECK_N.
39550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39551         include <bp-checks.h>.
39552         (__libc_pread64): Don't use CHECK_N.
39553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39554         include <bp-checks.h>.
39555         (__libc_pwrite): Don't use CHECK_N.
39556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39557         include <bp-checks.h>.
39558         (__libc_pwrite64): Don't use CHECK_N.
39559         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39560         (do_pread): Don't use CHECK_N.
39561         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39562         (do_pread64): Don't use CHECK_N.
39563         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39564         (do_pwrite): Don't use CHECK_N.
39565         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39566         (do_pwrite64): Don't use CHECK_N.
39567         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39568         (__libc_readv): Don't use CHECK_N.
39569         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39570         (semop): Don't use CHECK_N.
39571         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39572         <bp-checks.h>.
39573         (semtimedop): Don't use CHECK_N.
39574         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39575         (__libc_pread): Don't use CHECK_N.
39576         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39577         <bp-checks.h>.
39578         (__libc_pread64): Don't use CHECK_N.
39579         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39580         <bp-checks.h>.
39581         (__libc_pwrite): Don't use CHECK_N.
39582         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39583         <bp-checks.h>.
39584         (__libc_pwrite64): Don't use CHECK_N.
39585         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39586         <bp-checks.h>.
39587         (__libc_msgrcv): Don't use CHECK_N.
39588         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39589         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39590         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39591         (__libc_writev): Don't use CHECK_N.
39593 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39595         * string/strcpy.c: Removed unused variable.
39597         * Makeconfig (+sysdep-includes): Define with := rather than =.
39598         Use an existing include/ subdir of each sysdeps dir before it.
39600 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39602         * nscd/connection.c (register_traced_file): Comment function.
39603         [HAVE_INOTIFY] (union __inev): Define.
39604         [HAVE_INOTIFY] (inotify_check_files): New function.
39605         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39606         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39607         clear_db_cache.
39608         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39610 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39612         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39613         loaded if not already and that a failure is permanent.
39615 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39617         [BZ #15006]
39618         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39619         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39621 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39623         [BZ #13550]
39624         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39625         (CHECK_1_NULL_OK): Likewise.
39626         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39627         (__fxstat): Do not use CHECK_1.
39628         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39629         <bp-checks.h>.
39630         (___fxstat64): Do not use CHECK_1.
39631         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39632         <bp-checks.h>.
39633         (__fxstatat): Do not use CHECK_1.
39634         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39635         <bp-checks.h>.
39636         (__fxstatat64): Do not use CHECK_1.
39637         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39638         <bp-checks.h>.
39639         (__fxstat): Do not use CHECK_1.
39640         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39641         <bp-checks.h>.
39642         (__fxstatat): Do not use CHECK_1.
39643         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39644         <bp-checks.h>.
39645         (__getresgid): Do not use CHECK_1.
39646         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39647         <bp-checks.h>.
39648         (__getresuid): Do not use CHECK_1.
39649         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39650         <bp-checks.h>.
39651         (__lxstat): Do not use CHECK_1.
39652         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39653         <bp-checks.h>.
39654         (__old_msgctl): Do not use CHECK_1.
39655         (__new_msgctl): Likewise.
39656         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39657         <bp-checks.h>.
39658         (__new_setrlimit): Do not use CHECK_1.
39659         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39660         <bp-checks.h>.
39661         (__old_shmctl): Do not use CHECK_1.
39662         (__new_shmctl): Likewise.
39663         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39664         <bp-checks.h>.
39665         (__xstat): Do not use CHECK_1.
39666         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39667         (__lxstat): Do not use CHECK_1.
39668         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39669         <bp-checks.h>.
39670         (___lxstat64): Do not use CHECK_1.
39671         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39672         (__old_msgctl): Do not use CHECK_1.
39673         (__new_msgctl): Likewise.
39674         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39675         <bp-checks.h>.
39676         (__gettimeofday): Do not use CHECK_1.
39677         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39678         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39679         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39680         <bp-checks.h>.
39681         (__gettimeofday): Do not use CHECK_1.
39682         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39683         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39684         (__new_shmctl): Do not use CHECK_1.
39685         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39686         <bp-checks.h>.
39687         (do_sigtimedwait): Do not use CHECK_1.
39688         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39689         <bp-checks.h>.
39690         (do_sigwaitinfo): Do not use CHECK_1.
39691         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39692         <bp-checks.h>.
39693         (msgctl): Do not use CHECK_1.
39694         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39695         <bp-checks.h>.
39696         (shmctl): Do not use CHECK_1.
39697         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39698         (ustat): Do not use CHECK_1.
39699         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39700         <bp-checks.h>.
39701         (__fxstat): Do not use CHECK_1.
39702         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39703         <bp-checks.h>.
39704         (__fxstatat): Do not use CHECK_1.
39705         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39706         <bp-checks.h>.
39707         (__lxstat): Do not use CHECK_1.
39708         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39709         <bp-checks.h>.
39710         (__xstat): Do not use CHECK_1.
39711         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39712         (__xstat): Do not use CHECK_1.
39713         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39714         (___xstat64): Do not use CHECK_1.
39716         [BZ #13550]
39717         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39718         definitions.
39719         (CHECK_BOUNDS_HIGH): Likewise.
39720         * string/strcpy.c: Do not include <bp-checks.h>.
39721         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39723 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39725         * nscd/nscd-client.h (__nscd_drop_map_ref):
39726         Add __attribute__ ((unused)).
39727         * nis/nss-nisplus.h (niserr2nss): Likewise.
39729         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39730         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39732         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39733         Remove inline keyword.
39734         * include/rounding-mode.h (round_away): Likewise.
39735         * libio/wfileops.c (adjust_wide_data): Likewise.
39736         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39737         (__m128i_strloadu_tolower): Likewise.
39738         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39739         (__m128i_strloadu_tolower): Likewise.
39740         * time/mktime.c (ydhms_diff): Likewise.
39741         * locale/elem-hash.h (elem_hash): Likewise.
39742         * locale/setlocale.c (setdata): Likewise.
39743         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39744         (re_string_wchar_at): Likewise.
39745         (bitset_not, bitset_merge, bitset_mask): Likewise.
39746         [!(__GNUC__ > 3)] (inline): Remove macro.
39747         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39748         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39749         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39750         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39751         * string/memcmp.c (memcmp_bytes): Likewise.
39752         * locale/programs/locarchive.c (compute_hashval): Likewise.
39753         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39754         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39755         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39756         * nss/getent.c (print_rpc, print_protocols): Likewise.
39757         (print_passwd, print_group, print_aliases): Likewise.
39758         * nis/nss-nisplus.h (niserr2nss): Likewise.
39759         * nscd/connections.c (restart_p): Likewise.
39760         Change return type to bool.
39762 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39764         * Makeconfig (all-Depend-files): Add existing
39765         $(sorted-subdirs:=/Depend) files.
39766         (all-subdirs): Remove nss.
39767         * sysdeps/unix/inet/Subdirs: Add it here instead.
39768         * hesiod/Depend: New file.
39770         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39771         instead of calling alloca.
39773         * io/lseek.c (__lseek): Rename to __libc_lseek.
39774         Define __lseek as an alias.
39776         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39778 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39780         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39781         else clause and remove check for non-standard endianness.
39783 2013-02-04  David S. Miller  <davem@davemloft.net>
39785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39787 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39789         [BZ #13550]
39790         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39791         (__ubp_memchr): Remove prototype.
39792         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39793         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39794         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39795         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39796         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39797         Remove alias.
39798         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39799         (__ubp_memchr): Likewise.
39800         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39801         (__ubp_memchr): Likewise.
39802         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39803         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39804         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39805         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39806         CHECK_STRING.
39807         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39808         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39809         (__getcwd): Do not use CHECK_STRING.
39810         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39811         <bp-checks.h>.
39812         (__real_chown): Do not use CHECK_STRING.
39813         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39814         <bp-checks.h>.
39815         (fchownat): Do not use CHECK_STRING.
39816         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39817         CHECK_STRING.
39818         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39819         <bp-checks.h>.
39820         (__lchown): Do not use CHECK_STRING.
39821         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39822         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39823         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39824         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39826         include <bp-checks.h>.
39827         (truncate64): Do not use CHECK_STRING.
39828         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39829         <bp-checks.h>.
39830         (__real_chown): Do not use CHECK_STRING.
39831         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39832         <bp-checks.h>.
39833         (__lchown): Do not use CHECK_STRING.
39834         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39835         <bp-checks.h>.
39836         (__chown): Do not use CHECK_STRING.
39837         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39838         <bp-checks.h>.
39839         (truncate64): Do not use CHECK_STRING.
39840         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39841         Likewise.
39842         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39843         (__xmknod): Do not use CHECK_STRING.
39844         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39845         <bp-checks.h>.
39846         (__xmknodat): Do not use CHECK_STRING.
39847         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39848         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39850 2013-02-04  Andreas Schwab  <schwab@suse.de>
39852         [BZ #14142]
39853         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39854         * include/netdb.h: Likewise for h_errno.
39855         * elf/tst-stackguard1.c: Include <tls.h>.
39857 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39859         * elf/link.h (struct link_map): Extend the l_addr comment.
39860         * include/link.h (struct link_map): Likewise.
39862 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39864         [BZ #13550]
39865         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39866         (BOUNDED_1): Remove macro.
39867         * debug/backtrace.c: Don't include <bp-checks.h>.
39868         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39869         (__backtrace): Likewise.
39870         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39871         <bp-checks.h>.
39872         (__backtrace): Don't use BOUNDED_1.
39873         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39874         <bp-checks.h>.
39875         (__backtrace): Don't use BOUNDED_1.
39876         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39877         (__backtrace): Don't use BOUNDED_1.
39878         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39879         (shmat): Don't use BOUNDED_N.
39881 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39883         [BZ #13550]
39884         * sysdeps/generic/bp-start.h: Remove file.
39885         * csu/libc-start.c: Don't include <bp-start.h>.
39886         (LIBC_START_MAIN): Set up __environ directly instead of using
39887         INIT_ARGV_and_ENVIRON.
39888         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39889         <bp-start.h>.
39891         [BZ #13550]
39892         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39893         definitions.
39894         (CHECK_FCNTL): Likewise.
39895         (CHECK_N_PAGES): Likewise.
39897         [BZ #13550]
39898         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39899         definitions.
39900         (CHECK_SIGSET_NULL_OK): Likewise.
39901         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39902         <bp-checks.h>.
39903         (sigpending): Don't use CHECK_SIGSET.
39904         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39905         <bp-checks.h>.
39906         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39907         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39908         <bp-checks.h>.
39909         (do_sigsuspend): Don't use CHECK_SIGSET.
39910         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39911         use CHECK_SIGSET.
39912         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39913         (do_sigwait): Don't use CHECK_SIGSET.
39914         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39915         use CHECK_SIGSET.
39916         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39917         include <bp-checks.h>.
39918         (sigpending): Don't use CHECK_SIGSET.
39919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39920         include <bp-checks.h>.
39921         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39922         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39923         <bp-checks.h>.
39924         (sigpending): Don't use CHECK_SIGSET.
39925         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39926         <bp-checks.h>.
39927         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39929         [BZ #13550]
39930         * sysdeps/generic/bp-semctl.h: Remove file.
39931         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39932         <bp-checks.h> and <bp-semctl.h>.
39933         (__old_semctl): Don't use CHECK_SEMCTL.
39934         (__new_semctl): Likewise.
39935         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39936         and <bp-semctl.h>.
39937         (__old_semctl): Don't use CHECK_SEMCTL.
39938         (__new_semctl): Likewise.
39939         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39940         <bp-checks.h> and <bp-semctl.h>.
39941         (__old_semctl): Don't use CHECK_SEMCTL.
39942         (__new_semctl): Likewise.
39943         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39944         <bp-checks.h> and <bp-semctl.h>.
39945         (semctl): Don't use CHECK_SEMCTL.
39947         [BZ #13550]
39948         * Makerules (elide-bp-thunks): Remove variable.
39949         (elide-routines.oS): Don't use $(elide-bp-thunks).
39950         (elide-routines.os): Likewise.
39951         (elide-routines.o): Likewise.
39952         (elide-routines.op): Likewise.
39953         (elide-routines.og): Likewise.
39954         (objects): Don't use $(bp-thunks).
39955         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39956         include.
39957         (common-generated): Do not add s-proto-bp.d.
39958         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39959         (int): Likewise.
39960         (typ): Likewise.
39961         Do not generate makefile rules for bounded-pointer thunks.
39962         * sysdeps/generic/bp-thunks.h: Remove file.
39963         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39964         * sysdeps/unix/s-proto-bp.S: Likewise.
39966         [BZ #15062]
39967         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39968         parts of result separately when argument is not close to line from
39969         -i to i and one part of argument is small.
39970         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39971         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39972         * math/libm-test.inc (cacos_test): Add more tests.
39973         (casin_test): Likewise.
39974         (casinh_test): Likewise.
39975         * sysdeps/i386/fpu/libm-test-ulps: Update.
39976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39978 2013-01-31  David S. Miller  <davem@davemloft.net>
39980         * po/de.po: Update from translation team.
39982 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39984         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39986 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39988         * configure.in (_AC_PROG_CC_C89): New definition.
39989         * configure: Regenerate.
39991         * configure.in (AC_PROG_CPP): New definition.
39992         * configure: Regenerate.
39994 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39996         * debug/tst-backtrace.h: New file.
39997         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39998         (ret): Remove variable.
39999         (x): Likewise.
40000         (FAIL): Remove macro.
40001         (NO_INLINE): Likewise.
40002         (fn1): Use match function instead of strstr.
40003         * debug/tst-backtrace3.c: Include tst-backtrace.h.
40004         (ret): Remove variable.
40005         (x): Likewise.
40006         (FAIL): Remove macro.
40007         (NO_INLINE): Likewise.
40008         (fn): Use match function instead of strstr.
40009         * debug/tst-backtrace4.c: Include tst-backtrace.h.
40010         (ret): Remove variable.
40011         (x): Likewise.
40012         (FAIL): Remove macro.
40013         (NO_INLINE): Likewise.
40014         (handle_signal): Use match function instead of strstr.
40015         * debug/tst-backtrace5.c: Include tst-backtrace.h.
40016         (ret): Remove variable.
40017         (x): Likewise.
40018         (FAIL): Remove macro.
40019         (NO_INLINE): Likewise.
40020         (handle_signal): Use match function instead of strstr.
40022 2013-01-23  Roland McGrath  <roland@hack.frob.com>
40024         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40026 2013-01-23  David S. Miller  <davem@davemloft.net>
40028         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40029         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40030         argument of CAS if possible.
40031         * sysdeps/sparc/sparc64/bits/atomic.h
40032         (__arch_compare_and_exchange_val_32_acq): Likewise.
40033         (__arch_compare_and_exchange_val_64_acq): Likewise.
40035 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
40037         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40038         * sysdeps/posix/ulimit.c: ... this.
40039         Include <limits.h>.
40040         * sysdeps/unix/bsd/ulimit.c: Remove file.
40042 2013-01-23  Adam Conrad  <adconrad@0c3.net>
40044         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40045         (LDFLAGS-tst-array5): Likewise.
40047 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40049         [BZ #15036]
40050         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40051         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40052         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40053         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40055 2013-01-21  David S. Miller  <davem@davemloft.net>
40057         * sysdeps/sparc/backtrace.c: New file.
40058         * sysdeps/sparc/sparc32/backtrace.h: New file.
40059         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40060         * sysdeps/sparc/sparc64/backtrace.h: New file.
40061         * sysdeps/sparc/sparc64/backtrace.c: Delete.
40062         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40063         -funwind-tables.
40065 2013-01-21  Andreas Schwab  <schwab@suse.de>
40067         [BZ #15020]
40068         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40069         closed its stdout.
40071 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40074         "mpa2.h".
40075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40077 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40078             Mark Mitchell  <mark@codesourcery.com>
40079             Tom de Vries  <tom@codesourcery.com>
40080             Paul Pluzhnikov  <ppluzhnikov@google.com>
40082         * debug/tst-backtrace2.c: New file.
40083         * debug/tst-backtrace3.c: Likewise.
40084         * debug/tst-backtrace4.c: Likewise.
40085         * debug/tst-backtrace5.c: Likewise.
40086         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40087         (CFLAGS-tst-backtrace3.c): Likewise.
40088         (CFLAGS-tst-backtrace4.c): Likewise.
40089         (CFLAGS-tst-backtrace5.c): Likewise.
40090         (LDFLAGS-tst-backtrace2): Likewise.
40091         (LDFLAGS-tst-backtrace3): Likewise.
40092         (LDFLAGS-tst-backtrace4): Likewise.
40093         (LDFLAGS-tst-backtrace5): Likewise.
40094         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40095         tst-backtrace4 and tst-backtrace5.
40097 2013-01-18  Anton Blanchard  <anton@samba.org>
40098             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40100         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40101         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40102         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40103         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40105         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40106         "+r" and remove output regs list as redundant.  Add explicit inline
40107         asm to specify register of return val to work around compiler codegen
40108         bug.  Remove (int) cast on return value.  Add return type parameter to
40109         use in macro so that this macro does not truncate return value for
40110         64-bit values.
40111         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40112         pass to INTERNAL_VSYSCALL_NCS.
40113         (INLINE_VSYSCALL): Add 'long int' as return type to
40114         INTERNAL_VSYSCALL_NCS macro invocation.
40115         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40116         INTERNAL_VSYSCALL_NCS macro invocation.
40117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40119 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40121         [BZ #14496]
40122         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40123         Fix application of SIMD FP exception mask.
40125         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40126         mp_no from a power of two.
40127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40128         __mpexp_twomm1.  Use __pow_mp.
40130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40131         multiplication.
40133 2013-01-17  David S. Miller  <davem@davemloft.net>
40135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40137 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40139         [BZ #15023]
40140         * include/complex.h: Condition contents on [!_COMPLEX_H].
40141         (__kernel_casinhf): New prototype.
40142         (__kernel_casinh): Likewise.
40143         (__kernel_casinhl): Likewise.
40144         * math/Makefile (libm_calls): Add k_casinh.
40145         * math/k_casinh.c: New file.
40146         * math/k_casinhf.c: Likewise.
40147         * math/k_casinhl.c: Likewise.
40148         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40149         finite nonzero arguments.
40150         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40151         finite nonzero arguments.
40152         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40153         finite nonzero arguments.
40154         * math/s_casinh.c: Do not include <float.h>.
40155         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40156         * math/s_casinhf.c: Do not include <float.h>.
40157         (__casinhf): Move code for finite nonzero arguments to
40158         k_casinhf.c.
40159         * math/s_casinhl.c: Do not include <float.h>.
40160         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40161         redefine.
40162         (__casinhl): Move code for finite nonzero arguments to
40163         k_casinhl.c.
40164         * math/libm-test.inc (cacos_test): Add more tests.
40165         * sysdeps/i386/fpu/libm-test-ulps: Update.
40166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40168 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40170         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40171         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40172         [!HAVE_MREMAP]: Remove [defined linux] case.
40173         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40175 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40177         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40179 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40181         * elf/elf.h (R_386_SIZE32): New relocation.
40182         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40183         R_386_SIZE32.
40184         (elf_machine_rela): Likewise.
40185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40186         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40188 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40190         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40191         (FP_FAST_FMA): Do not define.
40192         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40193         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40194         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40195         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40196         !_SOFT_FLOAT]: Likewise.
40197         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40199         value.
40200         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40201         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40202         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40203         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40204         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40205         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40206         file.
40208 2013-01-16  Andreas Schwab  <schwab@suse.de>
40210         [BZ #14327]
40211         * include/stdlib.h (__mktemp): Add declaration.
40212         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40213         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40215 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40217         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40218         definitions.
40219         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40220         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40221         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40222         definitions here.
40223         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40224         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40225         definitions.
40226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40227         and ONE.
40228         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40229         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40230         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40231         definitions.
40232         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40233         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40234         definitions.
40235         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40237         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40239 2013-01-15  David S. Miller  <davem@davemloft.net>
40241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40242         trunc{,f} to libm-sysdep_routes.
40243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40245         file.
40246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40248         file.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40250         file.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40253         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40254         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40258         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40261         nearbyint{,f} to libm-sysdep_routes.
40262         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40264         New file.
40265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40266         file.
40267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40268         New file.
40269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40270         file.
40271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40274         file.
40275         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40277         file.
40278         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40279         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40280         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40282         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40283         libc_feholdexcept and libc_fesetenv.
40285 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40287         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40289 2013-01-14  David S. Miller  <davem@davemloft.net>
40291         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40292         (SPARC_ASM_VIS2_IFUNC): Likewise.
40293         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40295         use of 'siam' instruction.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40297         Likewise.
40298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40299         Likewise.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40301         Likewise.
40302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40307         file.
40308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40309         file.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40311         file.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40313         file.
40314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40319         new VIS2 routines.
40320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40323         Likewise.
40324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40329         routines to libm-sysdep_routines.
40330         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40333         fdim/fdimf to libm-sysdep_routines.
40334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40335         file.
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40338         file.
40339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40342         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40343         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40344         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40345         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40347 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40349         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40350         to optimize copies.
40352         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40357         local variable MPTWO.
40358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40359         Likewise.
40361 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40363         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40364         GLOB_NOESCAPE.
40366 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40368         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40370 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40372         * manual/pattern.texi (glob_t): Document gl_flags.
40373         (glob64_t): Likewise.
40375 2013-01-11  David S. Miller  <davem@davemloft.net>
40377         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40378         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40379         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40380         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40381         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40382         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40383         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40384         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40385         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40386         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40387         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40388         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40389         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40391         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40392         sparc V9 rather than using V8 code.
40393         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40394         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40396         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40397         Move to...
40398         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40399         Here.
40401 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40403         [BZ #14941]
40404         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40405         not in the main loop.
40406         * configure: Regenerated.
40408 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40410         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40411         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40412         to just #else.
40413         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40414         [!__GLIBC_HAVE_LONG_LONG] case.
40415         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40416         condition to just #else.
40417         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40418         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40419         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40420         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40421         unconditional.
40422         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40423         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40424         #elif condition to just #else.
40425         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40426         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40427         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40428         #elif condition to just #else.
40430 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40432         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40433         (EF_MIPS_ARCH_64): Fix value.
40434         (EF_MIPS_ARCH_32R2): New.
40435         (EF_MIPS_ARCH_64R2): New.
40437 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40439         * Makeconfig (+link-pie-before-libc): New.
40440         (+link-pie-after-libc): Likewise.
40441         (+link-pie-tests): Likewise.
40442         (+link-pie): Rewritten.
40443         (link-before-libc): Remove $(config-LDFLAGS).
40444         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40445         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40446         (config-LDFLAGS): Renamed to ...
40447         (rtld-LDFLAGS): This.
40448         (rtld-tests-LDFLAGS): New macro.
40449         (link-libc-rpath-link): Likewise.
40450         (link-libc-tests-rpath-link): Likewise.
40451         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40452         (link-libc): Prepand $(link-libc-rpath-link).
40453         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40454         (test-program-prefix): New macro.
40455         (test-via-rtld-prefix): Likewise.
40456         (test-program-cmd): Likewise.
40457         (host-test-program-cmd): Likewise.
40458         * Makefile ($(common-objpfx)testrun.sh): Replace
40459         $(run-program-prefix) with $(test-program-prefix).
40460         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40461         $(rtld-LDFLAGS).
40462         ($(common-objpfx)shlib.lds): Likewise.
40463         (build-module-helper): Likewise.
40464         ($(common-objpfx)format.lds): Likewise.
40465         * Rules (binaries-pie-tests): New.
40466         (binaries-pie-notests): Likewise.
40467         (binaries-pie): Rewritten.
40468         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40469         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40470         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40471         (make-test-out): Replace $(host-built-program-cmd) with
40472         $(host-test-program-cmd).
40473         * config.make.in (build-hardcoded-path-in-tests): New variable.
40474         * configure.in (--enable-hardcoded-path-in-tests): New configure
40475         option.
40476         (hardcoded_path_in_tests): New AC_SUBST.
40477         * configure: Regenerated.
40478         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40479         $(built-program-cmd) with $(test-program-cmd).
40480         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40481         (test_program_cmd): This.
40482         * elf/Makefile ($(objpfx)order.out): Run test with
40483         $(test-program-prefix).
40484         ($(objpfx)order2.out): Likewise.
40485         ($(objpfx)tst-initorder.out): Likewise.
40486         ($(objpfx)tst-initorder2.out): Likewise.
40487         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40488         $(test-program-cmd).
40489         ($(objpfx)tst-array1-static.out): Likewise.
40490         ($(objpfx)tst-array2.out): Likewise.
40491         ($(objpfx)tst-array3.out): Likewise.
40492         ($(objpfx)tst-array4.out): Likewise.
40493         ($(objpfx)tst-array5.out): Likewise.
40494         ($(objpfx)tst-array5-static.out): Likewise.
40495         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40496         $(test-program-cmd).
40497         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40498         $(run-program-prefix) with $(test-program-prefix).
40499         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40500         (test_program_prefix): This.
40501         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40502         $(run-program-prefix) with $(test-program-prefix).
40503         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40504         (test_program_prefix): This.
40505         * iconvdata/tst-tables.sh: Likewise.
40506         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40507         $(run-program-prefix) with $(test-program-prefix).
40508         ($(objpfx)tst-translit.out): Likewise.
40509         ($(objpfx)tst-gettext2.out): Likewise.
40510         ($(objpfx)tst-gettext4.out): Likewise.
40511         ($(objpfx)tst-gettext6.out): Likewise.
40512         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40513         (test_program_prefix): This.
40514         * intl/tst-gettext2.sh: Likewise.
40515         * intl/tst-gettext4.sh  Likewise.
40516         * intl/tst-gettext6.sh: Likewise.
40517         * intl/tst-translit.sh: Likewise.
40518         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40519         with $(test-program-cmd).
40520         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40521         $(run-program-prefix) with $(test-program-prefix).
40522         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40523         (test_program_prefix): This.
40524         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40525         $(run-program-prefix) with $(test-program-prefix).
40526         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40527         (test_program_prefix): This.
40528         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40529         * posix/Makefile ($(objpfx)globtest.out): Replace
40530         $(run-via-rtld-prefix) and $(test-wrapper) with
40531         $(test-program-prefix) and $(test-via-rtld-prefix).
40532         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40533         $(test-program-prefix).
40534         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40535         $(host-test-program-cmd).
40536         (tst-spawn-ARGS): Likewise.
40537         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40538         $(test-program-prefix).
40539         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40540         (test_via_rtld_prefix): This.
40541         (test_wrapper): Renamed to ...
40542         (test_program_prefix): This.
40543         (run_program_prefix): Replaced by test_program_prefix.
40544         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40545         (test_program_prefix): This.
40546         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40547         with $(host-test-program-cmd).
40548         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40549         $(run-program-prefix) with $(test-program-prefix).
40550         ($(objpfx)tst-printf.out): Likewise.
40551         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40552         $(test-program-cmd).
40553         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40554         (test_program_prefix): This.
40555         * stdio-common/tst-unbputc.sh: Likewise.
40556         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40557         $(run-program-prefix) with $(test-program-prefix).
40558         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40559         (test_program_prefix): This.
40560         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40561         $(built-program-cmd) with $(test-program-cmd).
40563 2013-01-11  Andreas Jaeger  <aj@suse.de>
40565         [BZ #15003]
40566         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40567         value. Sync with Linux 3.7.
40569 2013-01-10  David S. Miller  <davem@davemloft.net>
40571         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40572         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40573         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40575 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40577         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40578         never set.
40579         * configure: Regenerated.
40581 2013-01-10  David S. Miller  <davem@davemloft.net>
40583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40584         sparc V9 rather than using V8 code.
40585         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40586         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40588 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40590         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40591         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40592         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40593         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40594         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40595         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40596         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40597         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40598         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40599         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40600         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40601         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40602         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40603         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40604         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40605         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40606         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40607         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40608         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40609         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40610         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40611         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40612         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40613         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40614         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40615         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40616         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40618 2013-01-10  David S. Miller  <davem@davemloft.net>
40620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40622 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40624         * posix/Makefile (tests-static): New variable.
40625         (tests): Add $(tests-static).
40626         (tst-exec-static-ARGS): New variable.
40627         (tst-spawn-static-ARGS): Likewise.
40628         * posix/tst-exec-static.c: New file.
40629         * posix/tst-spawn-static.c: Likewise.
40630         * posix/tst-exec.c: Support run directly.
40631         * posix/tst-spawn.c: Likewise.
40633 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40635         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40636         long.
40637         * math/bits/mathcalls.h (llrint): Likewise.
40638         (llround): Likewise.
40639         * stdlib/stdlib.h (struct drand48_data): Likewise.
40640         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40641         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40642         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40643         Likewise.
40644         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40645         Likewise.
40646         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40647         (elf_greg_t): Likewise.
40648         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40649         (__jmp_buf): Likewise.
40650         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40651         definitions.
40652         (llrint): Likewise, for all definitions.
40653         (llrintl): Likewise.
40655         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40656         Remove [__GNUC__] condition.
40657         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40658         condition to just [__USE_ISOC99].
40659         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40661 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40663         [BZ #14200]
40664         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40665         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40666         defined.
40667         (_POSIX_V6_ILP32_OFF32): Likewise.
40668         (_XBS5_ILP32_OFF32): Likewise.
40669         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40670         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40672 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40674         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40677         doubles __mpexp_twomm1.  Adjust usage.
40678         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40679         Remove.
40681 2013-01-10  Andreas Schwab  <schwab@suse.de>
40683         [BZ #14964]
40684         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40685         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40687 2013-01-09  David S. Miller  <davem@davemloft.net>
40689         [BZ #15003]
40690         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40691         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40692         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40693         (TCP_FASTOPEN): Define.
40694         (tcp_repair_opt): New structure.
40695         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40696         enum values.
40697         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40698         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40699         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40700         (tcp_cookie_transactions): New structure.
40702 2013-01-09  Anton Blanchard  <anton@samba.org>
40704         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40705         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40707         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40709 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40711         * include/features.h (__USE_ANSI): Remove.
40713 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40715         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40717         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40719 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40721         * sysdeps/s390/fpu/libm-test-ulps: Update.
40723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40725         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40726         (__acr): Likewise.
40727         (__cpy): Likewise.
40728         (norm): Likewise.
40729         (denorm): Likewise.
40730         (__mp_dbl): Likewise.
40731         (__dbl_mp): Likewise.
40732         (add_magnitudes): Likewise.
40733         (sub_magnitudes): Likewise.
40734         (__add): Likewise.
40735         (__sub): Likewise.
40736         (__mul): Likewise.
40737         (__inv): Likewise.
40738         (__dvd): Likewise.
40739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40740         (__acr): Likewise.
40741         (__cpy): Likewise.
40742         (norm): Likewise.
40743         (denorm): Likewise.
40744         (__mp_dbl): Likewise.
40745         (__dbl_mp): Likewise.
40746         (add_magnitudes): Likewise.
40747         (sub_magnitudes): Likewise.
40748         (__add): Likewise.
40749         (__sub): Likewise.
40750         (__mul): Likewise.
40751         (__inv): Likewise.
40752         (__dvd): Likewise.
40753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40754         (__acr): Likewise.
40755         (__cpy): Likewise.
40756         (norm): Likewise.
40757         (denorm): Likewise.
40758         (__mp_dbl): Likewise.
40759         (__dbl_mp): Likewise.
40760         (add_magnitudes): Likewise.
40761         (sub_magnitudes): Likewise.
40762         (__add): Likewise.
40763         (__sub): Likewise.
40764         (__mul): Likewise.
40765         (__inv): Likewise.
40766         (__dvd): Likewise.
40768 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40770         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40771         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40772         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40773         2 && __USE_EXTERN_INLINES]: Likewise.
40775 2013-01-08  Andreas Jaeger  <aj@suse.de>
40777         [BZ# 14985]
40778         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40779         Remove.
40780         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40781         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40783 2013-01-07  Anton Blanchard  <anton@samba.org>
40785         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40786         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40787         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40788         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40789         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40790         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40791         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40792         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40794         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40795         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40796         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40798         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40799         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40800         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40801         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40802         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40803         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40804         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40805         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40806         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40808         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40809         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40810         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40811         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40812         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40814         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40815         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40817         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40818         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40820         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40821         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40822         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40823         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40825         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40826         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40827         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40829 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40831         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40832         (__MALLOC_PMT): Likewise.
40833         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40834         [__GNUC__], only on [_LIBC].
40835         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40836         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40837         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40838         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40839         forward declaration.
40840         (realloc_hook_ini): Likewise.
40841         (memalign_hook_ini): Likewise.
40842         (__libc_memalign): Do not use __MALLOC_PMT in variable
40843         declaration.
40844         (__libc_valloc): Likewise.
40845         (__libc_pvalloc): Likewise.
40846         (__libc_calloc): Likewise.
40847         (__posix_memalign): Likewise.
40849         [BZ #14996]
40850         * math/s_casinh.c: Include <float.h>.
40851         (__casinh): Do not do computation with squaring and square root
40852         for large arguments.
40853         * math/s_casinhf.c: Include <float.h>.
40854         (__casinhf): Do not do computation with squaring and square root
40855         for large arguments.
40856         * math/s_casinhl.c: Include <float.h>.
40857         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40858         (__casinhl): Do not do computation with squaring and square root
40859         for large arguments.
40860         * math/libm-test.inc (casin_test): Add more tests.
40861         (casinh_test): Likewise.
40862         * sysdeps/i386/fpu/libm-test-ulps: Update.
40863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40865 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40867         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40868         (__x86_64_raw_data_cache_size): Likewise.
40869         (__x86_64_data_cache_size_half): Likewise.
40870         (__x86_64_raw_data_cache_size_half): Likewise.
40871         (__x86_64_shared_cache_size): Likewise.
40872         (__x86_64_raw_shared_cache_size): Likewise.
40873         (__x86_64_shared_cache_size_half): Likewise.
40874         (__x86_64_raw_shared_cache_size_half): Likewise.
40875         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40876         to ...
40877         (__x86_data_cache_size): This.
40878         (__x86_64_raw_data_cache_size): Renamed to ...
40879         (__x86_raw_data_cache_size): This.
40880         (__x86_64_data_cache_size_half): Renamed to ...
40881         (__x86_data_cache_size_half): This.
40882         (__x86_64_raw_data_cache_size_half): Renamed to ...
40883         (__x86_raw_data_cache_size_half): This.
40884         (__x86_64_shared_cache_size): Renamed to ...
40885         (__x86_shared_cache_size): This.
40886         (__x86_64_raw_shared_cache_size): Renamed to ...
40887         (__x86_raw_shared_cache_size): This.
40888         (__x86_64_shared_cache_size_half): Renamed to ...
40889         (__x86_shared_cache_size_half): This.
40890         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40891         (__x86_raw_shared_cache_size_half): This.
40892         * sysdeps/x86_64/memcpy.S: Updated.
40893         * sysdeps/x86_64/memset.S: Likewise.
40894         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40895         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40896         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40898 2013-01-04  David S. Miller  <davem@davemloft.net>
40900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40902 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40904         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40905         1 to avoid redefinition warning.
40906         (__USE_GNU): Don't define.
40907         (init_signaling_nan): Protoize.
40909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40911 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40913         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40915         (__cpymn): Likewise.
40916         (norm): Remove commented code.
40917         (denorm): Likewise.
40918         (__mp_dbl): Likewise.
40919         (__inv): Likewise.
40920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40921         (__cpymn): Likewise.
40922         (norm): Remove commented code.
40923         (denorm): Likewise.
40924         (__mp_dbl): Likewise.
40925         (__inv): Likewise.
40927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40928         mp_no value for 1.0 and 2.0.
40929         (norm): Use RADIXI instead of radixi.d.
40930         (denorm): Likewise.
40931         (__mul): Use 0.0 instead of zero.d.
40932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40933         mp_no value for 1.0 and 2.0.
40934         (norm): Use RADIXI instead of radixi.d.
40935         (denorm): Likewise.
40936         (__mul): Use 0.0 instead of zero.d.
40938 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40940         [BZ #14994]
40941         * math/s_casinh.c (__casinh): Reduce finite argument to first
40942         quadrant then set signs of results at the end.
40943         * math/s_casinhf.c (__casinhf): Likewise.
40944         * math/s_casinhl.c (__casinhl): Likewise.
40945         * math/libm-test.inc (casin_test): Add more tests.
40946         (casinh_test): Likewise.
40947         * sysdeps/i386/fpu/libm-test-ulps: Update.
40948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40950 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40952         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40954         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40956         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40957         declarations.
40958         (denorm): Likewise.
40959         (__mp_dbl): Likewise.
40960         (__inv): Likewise.
40962         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40963         and adjust the header comment.
40965         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40966         variable name from declaration.
40968 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40971         Initialize COMMON_CPUID_INDEX_7 element.
40972         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40973         (CPUID_RTM): Likewise.
40974         (HAS_RTM): Likewise.
40975         (COMMON_CPUID_INDEX_7): New enum.
40977 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40979         [BZ #14981]
40980         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40981         size is zero, record memory as freed.
40983 2013-01-03  Andreas Jaeger  <aj@suse.de>
40985         * po/ia.po: Add new Interlingua translation.
40987 2012-01-03  Allan McRae  <allan@archlinux.org>
40989         * locale/programs/localedef.c: Fix description of '--posix' flag.
40991 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40993         * NEWS: Update dates in second copyright notice.
40994         * README: Update copyright dates in example.
40995         * manual/libc.texinfo: Update copyright dates.
40996         * scripts/test-installation.pl: Update copyright date in --version
40997         output.
40999         * hurd/ctty-input.c: Fix copyright notice formatting.
41000         * hurd/ctty-output.c: Likewise.
41001         * hurd/dtable.c: Likewise.
41002         * hurd/hurd-raise.c: Likewise.
41003         * hurd/hurdprio.c: Likewise.
41004         * hurd/msgportdemux.c: Likewise.
41005         * misc/sys/file.h: Likewise.
41006         * misc/sys/ioctl.h: Likewise.
41007         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41008         * sysdeps/mach/hurd/chdir.c: Likewise.
41009         * sysdeps/mach/hurd/fchdir.c: Likewise.
41010         * sysdeps/mach/hurd/rename.c: Likewise.
41011         * sysdeps/mach/hurd/rmdir.c: Likewise.
41012         * sysdeps/mach/hurd/seekdir.c: Likewise.
41013         * sysdeps/mach/hurd/setsid.c: Likewise.
41014         * sysdeps/posix/wait3.c: Likewise.
41016         * All files with FSF copyright notices: Update copyright dates
41017         using scripts/update-copyrights.
41018         * intl/plural.c: Regenerated.
41019         * locale/programs/charmap-kw.h: Likewise.
41020         * locale/programs/locfile-kw.h: Likewise.
41022 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41024         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41025         four values.
41027         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41028         calculation loop and add branch prediction.
41030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41031         check access beyond bounds of m1np.
41033         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41034         MPTWO.
41035         (__inv): Remove local variable MPTWO to use the global
41036         constant.
41037         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41039         variable MPTWO.
41040         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41041         MP3HALFS static const.
41043 2013-01-01  David S. Miller  <davem@davemloft.net>
41045         * po/ca.po: Update from translation team.
41047 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
41049         * scripts/update-copyrights: New file.
41050         * Makeconfig: Reformat copyright notice.
41051         * ctype/ctype.h: Likewise.
41052         * debug/swprintf_chk.c: Likewise.
41053         * elf/dl-cache.c: Likewise.
41054         * elf/dl-debug.c: Likewise.
41055         * elf/dl-object.c: Likewise.
41056         * grp/initgroups.c: Likewise.
41057         * hurd/Makefile: Likewise.
41058         * hurd/hurd/signal.h: Likewise.
41059         * hurd/hurdfault.c: Likewise.
41060         * hurd/hurdioctl.c: Likewise.
41061         * hurd/hurdlookup.c: Likewise.
41062         * hurd/intr-msg.c: Likewise.
41063         * iconv/gconv_open.c: Likewise.
41064         * libio/swprintf.c: Likewise.
41065         * locale/lc-ctype.c: Likewise.
41066         * locale/nl_langinfo.c: Likewise.
41067         * mach/Machrules: Likewise.
41068         * mach/Makefile: Likewise.
41069         * malloc/obstack.h: Likewise.
41070         * manual/Makefile: Likewise.
41071         * manual/tsort.awk: Likewise.
41072         * misc/bits/stab.def: Likewise.
41073         * nis/nis_print_group_entry.c: Likewise.
41074         * nis/nis_table.c: Likewise.
41075         * nis/nss_compat/compat-pwd.c: Likewise.
41076         * nis/nss_compat/compat-spwd.c: Likewise.
41077         * po/Makefile: Likewise.
41078         * posix/fnmatch.c: Likewise.
41079         * posix/regex.h: Likewise.
41080         * resolv/Makefile: Likewise.
41081         * resolv/nss_dns/dns-network.c: Likewise.
41082         * resolv/res_hconf.c: Likewise.
41083         * scripts/gen-sorted.awk: Likewise.
41084         * soft-fp/soft-fp.h: Likewise.
41085         * stdio-common/printf.h: Likewise.
41086         * stdlib/monetary.h: Likewise.
41087         * stdlib/random.c: Likewise.
41088         * stdlib/random_r.c: Likewise.
41089         * sysdeps/generic/Makefile: Likewise.
41090         * sysdeps/gnu/Makefile: Likewise.
41091         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41119         * sysdeps/mach/hurd/errnos.awk: Likewise.
41120         * sysdeps/mach/hurd/fork.c: Likewise.
41121         * sysdeps/mach/hurd/getcwd.c: Likewise.
41122         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41123         * sysdeps/mach/hurd/mmap.c: Likewise.
41124         * sysdeps/mach/hurd/utimes.c: Likewise.
41125         * sysdeps/mach/hurd/xmknod.c: Likewise.
41126         * sysdeps/posix/profil.c: Likewise.
41127         * sysdeps/posix/readdir_r.c: Likewise.
41128         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41129         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41130         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41131         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41133         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41134         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41135         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41137         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41138         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41139         * sysdeps/pthread/lio_listio.c: Likewise.
41140         * sysdeps/sparc/dl-procinfo.h: Likewise.
41141         * sysdeps/unix/i386/sysdep.S: Likewise.
41142         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41143         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41144         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41145         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41147         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41148         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41149         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41150         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41151         * sysdeps/wordsize-32/divdi3.c: Likewise.
41152         * time/sys/time.h: Likewise.
41153         * wcsmbs/Makefile: Likewise.
41155 2013-01-01  David S. Miller  <davem@davemloft.net>
41157         * po/fr.po: Update from translation team.
41159         * catgets/gencat.c: Update copyright year.
41160         * csu/version.c: Likewise.
41161         * debug/catchsegv.sh: Likewise.
41162         * debug/pcprofiledump.c: Likewise.
41163         * debug/xtrace.sh: Likewise.
41164         * elf/ldconfig.c: Likewise.
41165         * elf/ldd.bash.in: Likewise.
41166         * elf/pldd.c: Likewise.
41167         * elf/sotruss.ksh: Likewise.
41168         * elf/sprof.c: Likewise.
41169         * iconv/iconv_prog.c: Likewise.
41170         * iconv/iconvconfig.c: Likewise.
41171         * locale/programs/locale.c: Likewise.
41172         * locale/programs/localedef.c: Likewise.
41173         * login/programs/pt_chown.c: Likewise.
41174         * malloc/memusage.sh: Likewise.
41175         * malloc/memusagestat.c: Likewise.
41176         * malloc/mtrace.pl: Likewise.
41177         * nscd/nscd.c: Likewise.
41178         * nss/getent.c: Likewise.
41179         * nss/makedb.c: Likewise.
41180         * posix/getconf.c: Likewise.
41182 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41184         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41185         numbers.
41187 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41189         * math/bits/mathcalls.h (modf): Use __nonnull.
41191 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41193         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41194         (split): Use macro CN instead of the bare value.
41195         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41196         could be used.
41197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41198         instead of the bare value.
41199         (power1): Likewise.
41201 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41204         __ATAN_TWOM.
41205         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41207         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41208         their values.
41209         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41210         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41211         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41212         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41214 2012-12-28  Andreas Jaeger  <aj@suse.de>
41216         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41217         values are from Linux 3.7.
41219         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41220         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41222 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41224         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41225         TRUE case.
41227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41228         (norm): Likewise.
41229         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41230         variables with preprocessor constants.
41231         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41232         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41233         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41235 2012-12-27  Bruno Haible  <bruno@clisp.org>
41237         [BZ #14317]
41238         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41239         only if needed.
41241 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41244         and use variable directly.
41245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41247         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41248         MPONE.
41249         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41251         variable MPONE.
41252         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41254         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41255         include directive.  Remove local variable MPONE.
41256         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41257         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41258         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41260 2012-12-25  David S. Miller  <davem@davemloft.net>
41262         * version.h (RELEASE): Set to "development".
41263         (VERSION): Set to "2.17.90".
41264         * NEWS: Add 2.18 section.
41266 2012-12-21  David S. Miller  <davem@davemloft.net>
41268         * po/hr.po: Update from translation team.
41270 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41272         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41274 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41276         * NEWS:  Mention new memcpy for MIPS.
41278 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41280         * manual/contrib.texi (Contributors): Spelling correction.
41282 2012-12-15  David S. Miller  <davem@davemloft.net>
41284         * po/ru.po: Update from translation team.
41286 2012-12-13  David S. Miller  <davem@davemloft.net>
41288         * NEWS: Mention IFUNC testsuite enhancements.
41290         * po/pl.po: Update from translation team.
41291         * po/bg.po: Likewise.
41293         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41294         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41296 2012-12-11  David S. Miller  <davem@davemloft.net>
41298         * po/sv.po: Update from translation team.
41300         * po/vi.po: Update from translation team.
41302         * po/cs.po: Update from translation team.
41304         * po/de.po: Update from translation team.
41305         * po/eo.po: Likewise.
41306         * po/nl.po: Likewise.
41308 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41310         [BZ #14246]
41311         * manual/argp.texi (Argp Helper Functions): Move node to follow
41312         Argp Parsing State.
41314         [BZ #14872]
41315         * manual/conf.texi (Limits on File System Capacity): Mention if
41316         terminating null is included in the max size.
41318 2012-12-10  Andreas Jaeger  <aj@suse.de>
41320         * po/cs.po: Update from translation team.
41322 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41324         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41325         void pointer and cast to uintptr_t.
41326         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41327         path.
41328         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41329         * sysdeps/s390/s390-64/memset.S: Likewise.
41331 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41333         [BZ #14833]
41334         * menual/message.texi (Message Translation): Fix typos.
41335         (Helper programs for gettext): Likewise.
41337 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41339         [BZ #14898]
41340         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41341         Change to -1.
41343 2012-12-07  David S. Miller  <davem@davemloft.net>
41345         * po/libc.pot: Update.
41347 2012-12-07  Richard Henderson  <rth@redhat.com>
41349         [BZ #10114]
41350         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41351         normal/normal case to before the switch.
41352         (_FP_DIV): Likewise.
41354 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41355             Mike Frysinger  <vapier@gentoo.org>
41357         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41358         check for __NR_fadvise64_64.
41360 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41362         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41363         0, not just to plain "0" as a statement.
41364         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41365         with cw.
41367 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41369         * NEWS: Use sourceware.org in Bugzilla URL.
41371 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41374         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41376         * stdio-common/tst-put-error.c (do_test): Add newline to the
41377         padded test to ensure flush.
41379 2012-12-05  Jeff Law  <law@redhat.com>
41381         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41383 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41385         * README: Don't refer to ports add-on as distributed separately.
41386         Mention AArch64 in list of systems supported in the ports add-on.
41388         * LICENSES: Add more non-FSF copyright and license notices.
41390         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41391         ((unused)).
41393         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41395         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41396         10000 as width of padded output.
41398 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41400         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41402         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41403         variable LX with __attribute__ ((unused)).
41404         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41405         Likewise.
41406         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41407         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41409         with __attribute__ ((unused)).
41411 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41413         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41415 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41417         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41418         (CFLAGS-nldbl-acos.c): New variable.
41419         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41420         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41421         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41422         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41423         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41424         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41425         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41426         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41427         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41428         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41429         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41430         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41431         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41432         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41433         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41434         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41435         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41436         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41437         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41438         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41439         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41440         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41441         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41442         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41443         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41444         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41445         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41446         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41447         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41448         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41449         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41450         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41451         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41452         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41453         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41454         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41455         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41456         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41457         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41458         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41459         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41460         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41461         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41462         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41463         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41464         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41465         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41466         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41467         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41468         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41469         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41470         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41471         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41472         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41473         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41474         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41475         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41476         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41477         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41478         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41479         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41480         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41481         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41482         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41483         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41484         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41485         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41486         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41487         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41488         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41489         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41490         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41491         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41492         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41493         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41494         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41495         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41496         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41497         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41498         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41499         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41500         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41501         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41502         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41503         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41504         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41505         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41506         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41507         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41508         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41509         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41510         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41511         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41512         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41513         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41514         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41515         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41518         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41520         [BZ #14914]
41521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41522         whole low double instead of just low 47 bits when splitting values
41523         into two parts.
41525 2012-12-03  Allan McRae  <allan@archlinux.org>
41527         * manual/stdio.texi (Predefined Printf Handlers): Remove
41528         @hsep and @vsep usage.
41530 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41532         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41533         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41535 2012-12-03  Jeff Law  <law@redhat.com>
41537         * time/sys/time.h (settimeofday): Do not mark TV argument
41538         as __nonnull.
41540 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41542         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41543         when currently writing and seek to current position when not.
41544         * libio/Makefile (tests): Remove bug-fclose1.
41545         * libio/bug-fclose1.c: Delete.
41547 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41549         * manual/arith.texi (feenableexcept): Fix typo.
41550         (fedisableexcept): Likewise.
41552 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41554         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41555         second, differently-typed declaration, rather than a cast.
41557 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41559         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41560         * include/rpc/svc.h: ... here.
41562 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41564         [BZ #13013]
41565         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41566         depending n and resplen2 to catch cases where answer
41567         equals answerp2.
41569 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41571         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41572         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41574 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41576         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41578 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41580         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41582 2012-11-28  Jeff Law  <law@redhat.com>
41584         [BZ #13761]
41585         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41586         dataset_temporary.  Track alloca usage into alloca_used.
41587         If dataset is large allocate and release it via malloc/free.
41589 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41591         [BZ #14197]
41592         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41594 2012-11-28  David S. Miller  <davem@davemloft.net>
41596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41598 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41600         [BZ #14803]
41601         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41602         of pi/2 rounded to nearest to 64 bits.
41603         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41604         nearest to 64 bits.
41605         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41606         bits.
41608 2012-11-28  Jeff Law <law@redhat.com>
41609             Martin Osvald <mosvald@redhat.com>
41611         [BZ #14889]
41612         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41613         * sunrpc/svc.c: Include time.h.
41614         (__svc_accept_failed): New function.
41615         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41616         any reason other than EINTR, call __svc_accept_failed.
41617         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41618         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41620 2012-11-28  Andreas Schwab  <schwab@suse.de>
41622         * scripts/abilist.awk: Also handle indirect functions in .opd
41623         section.
41625 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41627         [BZ #13881]
41628         * sysdeps/x86/fpu/powl_helper.c: New file.
41629         * sysdeps/x86/fpu/Makefile: Likewise.
41630         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41631         (p3): New object.
41632         (__ieee754_powl): Use __powl_helper for finite arguments except
41633         integer exponents below 8.
41634         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests and enable some
41639         previously disabled tests.
41640         * sysdeps/i386/fpu/libm-test-ulps: Update.
41641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41643 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41644             Carlos O'Donell  <carlos_odonell@mentor.com>
41646         * nss/makedb.c (is_prime): Assert that input is odd and greater
41647         than 4.  Note that fact in a comment too.
41648         (next_prime): Add 4 to input.
41650 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41652         [BZ #11741]
41653         * libio/Makefile (tests): Add test case tst-fwrite-error.
41654         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41655         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41656         * libio/tst-fwrite-error.c: New test case.
41658 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41660         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41661         before casting to void *.
41662         * include/libc-internal.h (__pointer_type): New macro.
41663         (__integer_if_pointer_type_sub): Likewise.
41664         (__integer_if_pointer_type): Likewise.
41665         (cast_to_integer): Likewise.
41666         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41667         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41668         before casting to atomic64_t.
41669         (atomic_exchange_acq): Likewise.
41670         (__arch_exchange_and_add_body): Likewise.
41671         (__arch_add_body): Likewise.
41672         (atomic_add_negative): Likewise.
41673         (atomic_add_zero): Likewise.
41675 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41677         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41678         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41679         (add_fdes): Likewise.
41680         (linear_search_fdes): Likewise.
41681         (binary_search_unencoded_fdes): Likewise.
41683 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41685         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41687 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41689         * configure.in: Autodetect C++ header directories.
41690         * configure: Regenerated.
41692 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41694         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41696 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41700 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41702         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41703         LDBL_MANT_DIG == 106]: Disable some tests.
41704         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41705         Likewise.
41706         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41707         Likewise.
41709         [BZ #14871]
41710         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41711         input for small inputs.  Return +/- pi/2 for large inputs.
41712         * math/libm-test.inc (atan_test): Add more tests.
41714         * sysdeps/generic/unwind-dw2-fde-glibc.c
41715         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41716         __attribute__ ((unused)).
41718         [BZ #14645]
41719         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41720         x * y if x and y are nonzero and z is zero.
41722         [BZ #14811]
41723         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41724         nonzero exponents with absolute value below 0x1p-117 to +/-
41725         0x1p-117.
41727         [BZ #14869]
41728         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41729         up arguments below 2**-450, not just those below 2**-500.
41730         * math/libm-test.inc (hypot_test): Add another test.
41732         [BZ #14868]
41733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41734         Return a+b for ratio over 2**120, not 2**60.
41735         * math/libm-test.inc (hypot_test): Add another test.
41737         * math/libm-test.inc (clog_test): Use
41738         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41739         (clog10_test): Likewise.
41741         [BZ #6778]
41742         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41744 2012-11-22  Andreas Schwab  <schwab@suse.de>
41746         * sysdeps/i386/fpu/libm-test-ulps: Update.
41748 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41750         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41751         printf output with newline.
41753 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41755         [BZ #14865]
41756         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41757         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41758         -z nodlopen, -z initfirst and -z execstack support.
41759         * configure: Regenerated.
41761         * elf/elf.h (DF_1_NODIRECT): New macro.
41762         (DF_1_IGNMULDEF): Likewise.
41763         (DF_1_NOKSYMS): Likewise.
41764         (DF_1_NOHDR): Likewise.
41765         (DF_1_EDITED): Likewise.
41766         (DF_1_NORELOC): Likewise.
41767         (DF_1_SYMINTPOSE): Likewise.
41768         (DF_1_GLOBAUDIT): Likewise.
41769         (DF_1_SINGLETON): Likewise.
41770         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41771         DT_1_SUPPORTED_MASK bits.
41772         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41774 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41776         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41778 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41780         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41781         macro.
41783         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41784         (sendmmsg): Move declarations...
41785         * socket/sys/socket.h: ... here.
41786         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41787         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41788         include it from...
41789         * socket/recvmmsg.c: ... this new file.
41790         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41791         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41792         definition of __sendmmsg hidden.
41793         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41794         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41795         Move ENOSYS stub into and include it from...
41796         * socket/sendmmsg.c: ... this new file.
41797         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41798         (sysdep_routines): Move recvmmsg and sendmmsg...
41799         * socket/Makefile (routines): ... here.
41800         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41801         (GLIBC_PRIVATE): Add __sendmmsg.
41802         * include/sys/socket.h (__sendmmsg): Add declarations.
41803         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41804         sendmmsg.
41806 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41808         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41809         variable I1 with __attribute__ ((unused)).
41810         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41812 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41814         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41815         DUMMY variables with __attribute__ ((unused)).
41817         * bits/byteswap.h: Include <bits/types.h>.
41818         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41820 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41822         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41823         string_t.  Do not manually set errno.
41824         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41825         length with __strnlen.  Make sure to both set errno and return it on
41826         failure.
41828 2012-11-19  David S. Miller  <davem@davemloft.net>
41830         With help from Joseph Myers.
41831         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41832         very large arguments properly.
41833         * math/libm-test.inc (atan_test): New tests.
41834         (atan2_test): New tests.
41835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41838 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41840         [BZ #14856]
41841         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41842         Define to 3.
41844         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41845         [POSIX] (EADDRNOTAVAIL): Likewise.
41846         [POSIX] (EAFNOSUPPORT): Likewise.
41847         [POSIX] (EALREADY): Likewise.
41848         [POSIX] (ECONNABORTED): Likewise.
41849         [POSIX] (ECONNREFUSED): Likewise.
41850         [POSIX] (ECONNRESET): Likewise.
41851         [POSIX] (EDESTADDRREQ): Likewise.
41852         [POSIX] (EDQUOT): Likewise.
41853         [POSIX] (EHOSTUNREACH): Likewise.
41854         [POSIX] (EIDRM): Likewise.
41855         [POSIX] (EISCONN): Likewise.
41856         [POSIX] (ELOOP): Likewise.
41857         [POSIX] (EMULTIHOP): Likewise.
41858         [POSIX] (ENETDOWN): Likewise.
41859         [POSIX] (ENETUNREACH): Likewise.
41860         [POSIX] (ENOBUFS): Likewise.
41861         [POSIX] (ENODATA): Likewise.
41862         [POSIX] (ENOLINK): Likewise.
41863         [POSIX] (ENOMSG): Likewise.
41864         [POSIX] (ENOPROTOOPT): Likewise.
41865         [POSIX] (ENOSR): Likewise.
41866         [POSIX] (ENOSTR): Likewise.
41867         [POSIX] (ENOTCONN): Likewise.
41868         [POSIX] (ENOTSOCK): Likewise.
41869         [POSIX] (EOPNOTSUPP): Likewise.
41870         [POSIX] (EOVERFLOW): Likewise.
41871         [POSIX] (EPROTO): Likewise.
41872         [POSIX] (EPROTONOSUPPORT): Likewise.
41873         [POSIX] (EPROTOTYPE): Likewise.
41874         [POSIX] (ESTALE): Likewise.
41875         [POSIX] (ETIME): Likewise.
41876         [POSIX] (ETXTBSY): Likewise.
41877         [POSIX] (EWOULDBLOCK): Likewise.
41878         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41879         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41880         [POSIX] (SEEK_CUR): Likewise.
41881         [POSIX] (SEEK_END): Likewise.
41882         [POSIX || UNIX98] (mode_t): Do not require.
41883         [POSIX] (off_t): Likewise.
41884         [POSIX] (pid_t): Likewise.
41885         [POSIX] (sys/stat.h): Do not allow header.
41886         [POSIX] (unistd.h): Likewise.
41887         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41888         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41889         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41890         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41891         require.
41892         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41893         sigevent): Specify elements.
41894         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41895         entry.
41896         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41897         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41899         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41900         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41901         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41902         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41903         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41904         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41905         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41906         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41907         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41908         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41909         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41910         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41911         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41912         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41913         Likewise.
41914         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41915         Likewise.
41916         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41917         Likewise.
41918         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41919         Likewise.
41920         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41921         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41922         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41923         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41924         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41925         Specify lower bound on value.
41926         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41927         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41928         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41929         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41930         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41931         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41932         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41933         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41934         value.
41935         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41936         as optional.
41937         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41938         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41939         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41940         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41941         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41942         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41943         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41944         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41945         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41946         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41947         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41948         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41949         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41950         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41951         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41952         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41953         entry.
41954         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41955         optional.
41956         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41957         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41958         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41959         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41960         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41961         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41962         Likewise.
41963         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41964         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41965         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41966         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41967         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41968         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41969         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41970         as optional.
41971         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41972         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41973         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41974         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41975         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41976         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41977         specify as optional.
41978         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41979         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41980         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41981         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41982         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41983         [XPG3] (NL_LANGMAX): Likewise.
41984         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41985         [POSIX || XPG3] (NL_NMAX): Likewise.
41986         [POSIX || XPG3] (NL_SETMAX): Likewise.
41987         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41988         [XPG3] (NZERO): Likewise.
41989         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41990         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41991         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41992         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41993         (REG_ERANGE): Expect.
41994         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41995         optional-constant.
41996         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41997         Use (void) in prototype.
41998         [POSIX] (*_t): Allow.
41999         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42000         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42001         (WRDE_BADVAL): Expect.
42003         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42004         expect.
42005         [XPG3 || XPG4] (O_RSYNC): Likewise.
42006         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42007         Likewise.
42008         [XPG3 || XPG4] (pthread_sigmask): Likewise.
42009         [XPG3 || XPG4] (sigqueue): Likewise.
42010         [XPG3 || XPG4] (sigtimedwait): Likewise.
42011         [XPG3 || XPG4] (sigwaitinfo): Likewise.
42012         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42013         [XPG3 || XPG4] (vsnprintf): Likewise.
42014         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42015         Likewise.
42016         [XPG3 || XPG4] (blksize_t): Likewise.
42017         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42018         Likewise.
42019         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42020         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42021         [XPG3 || XPG4] (struct itimerspec): Likewise.
42022         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42023         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42024         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42025         [XPG3 || XPG4] (clockid_t): Likewise.
42026         [XPG3 || XPG4] (timer_t): Likewise.
42027         [XPG3 || XPG4] (clock_getres): Likewise.
42028         [XPG3 || XPG4] (clock_gettime): Likewise.
42029         [XPG3 || XPG4] (clock_settime): Likewise.
42030         [XPG3 || XPG4] (nanosleep): Likewise.
42031         [XPG3 || XPG4] (timer_create): Likewise.
42032         [XPG3 || XPG4] (timer_delete): Likewise.
42033         [XPG3 || XPG4] (timer_gettime): Likewise.
42034         [XPG3 || XPG4] (timer_getoverrun): Likewise.
42035         [XPG3 || XPG4] (timer_settime): Likewise.
42036         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42037         [XPG3 || XPG4] (getlogin_r): Likewise.
42038         [XPG3 || XPG4] (pread): Likewise.
42039         [XPG3 || XPG4] (pthread_atfork): Likewise.
42040         [XPG3 || XPG4] (pwrite): Likewise.
42042         [BZ #14835]
42043         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42044         <bits/siginfo.h>.
42046 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42048         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42049         finalizing MALLSTREAM.
42051         * sysdeps/mach/hurd/syncfs.c: New file.
42053 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42055         [BZ #14719]
42056         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42057         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42058         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42059         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42060         (_nss_dns_gethostbyname4_r): Likewise.
42061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42062         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42064 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
42066         [BZ #13763]
42067         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42069 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42071         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42072         * elf/cache.c (print_entry): Print ",AArch64" for
42073         FLAG_AARCH64_LIB64
42075         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42076         * elf/cache.c (print_entry): Print ",hard-float" for
42077         FLAG_ARM_LIBHF.
42079 2012-11-18  David S. Miller  <davem@davemloft.net>
42081         With help from Joseph Myers.
42082         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42083         cutoff to 2**-13.
42084         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42085         cutoff to 2**-25.
42086         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42087         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42088         small.
42089         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42090         * math/libm-test.inc (y0_test): New tests.
42091         (y1_test): New tests.
42092         * sysdeps/i386/fpu/libm-test-ulps: Update.
42093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42096 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42098         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42099         64-bit targets.
42100         * configure: Regenerated.
42102 2012-11-17  David S. Miller  <davem@davemloft.net>
42104         [BZ #14811]
42105         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42106         nonzero exponents with absolute value below 0x1p-128 to +/-
42107         0x1p-128.
42109 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42111         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42113         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42115         * posix/getconf-speclist.c: New file.
42116         * posix/posix-envs.def: Likewise.
42117         * posix/confstr.c (START_ENV_GROUP): New macro.
42118         (END_ENV_GROUP): Likewise.
42119         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42120         (KNOWN_PRESENT_ENV_STRING): Likewise.
42121         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42122         (UNKNOWN_ENVIRONMENT): Likewise.
42123         (confstr): Include posix-envs.def instead of handling
42124         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42125         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42126         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42127         (END_ENV_GROUP): Likewise.
42128         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42129         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42130         (UNKNOWN_ENVIRONMENT): Likewise.
42131         (__sysconf): Include posix-envs.def instead of handling associated
42132         cases directly here.
42133         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42134         preprocessing getconf-speclist.c rather than running getconf or
42135         generating empty file.
42137 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42139         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42141 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42143         [BZ #14672]
42144         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42146 2012-11-16  David S. Miller  <davem@davemloft.net>
42148         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42149         smaller than LDBL_EPSILON/2.0L, just return xm1.
42151 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42153         * elf/tst-array1.c (init): Set constructor priority to 1000.
42154         (fini): Set destructor priority to 1000.
42155         * elf/tst-array2dep.c: Likewise.
42157 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42159         [BZ #11741]
42160         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42161         (_IO_new_file_xsputn): Also return EOF if none of the input
42162         data was written when overflow failed.
42163         * libio/iopadn.c (_IO_padn): Likewise.
42164         * libio/iowpadn.c (_IO_wpadn): Likewise.
42165         * stdio-common/tst-put-error.c: Add copyright notice.
42166         (do_test): Add case for printing padded string.
42167         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42168         _IO_padn returned error.
42169         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42170         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42171         return EOF.
42173 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42175         * libio/libioP.h: Add comment note that the references to C++
42176         bits are now obsolete.
42178 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42180         * math/libm-test.inc (check_complex): Use asprintf.
42182 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42184         * debug/pcprofiledump.c (print_version): Update copyright year.
42185         * malloc/memusagestat.c (print_version): Likewise.
42187 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42189         [BZ #14831]
42190         * elf/Makefile (tests): Add tst-audit8.
42191         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42192         ($(objpfx)tst-audit8.out): New target.
42193         (tst-audit8-ENV): New variable.
42194         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42195         audit if l_reloc_result is NULL.
42196         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42197         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42198         * elf/tst-audit8.c: New file.
42200 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42202         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42203         * misc/Makefile (CFLAGS-select.c): Define.
42204         * posix/Makefile (CFLAGS-pause.c): Define.
42206 2012-11-13  David S. Miller  <davem@davemloft.net>
42208         * crypt/Makefile: Move test targets after toplevel Rules
42209         inclusion.  Grab any necessary sysdep routines when linking.
42210         * crypt/md5.c (md5_process_block): Remove define, we will always
42211         name it __md5_process_block.
42212         (md5_finish_ctx): Update md5_process_block call.
42213         (md5_stream): Likewise.
42214         (md5_process_bytes): Likewise.
42215         (md5_process_block): Rename to __md5_process_block and move to ...
42216         * crypt/md5-block.c: ... here.
42217         * crypt/sha256.c (sha256_process_block): Move to ...
42218         * crypt/sha256-block.c: ... here.
42219         * crypt/sha512.c (sha512_process_block): Move to ...
42220         * crypt/sha512-block.c: ... here.
42221         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42222         path.
42223         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42224         * sysdeps/sparc/sparc64/multiarch/Makefile
42225         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42226         crypt subdir.
42227         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42228         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42229         multiarch changes.
42230         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42231         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42232         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42233         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42234         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42235         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42236         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42237         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42239         file.
42240         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42241         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42242         file.
42243         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42245 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42247         * timezone/tzselect.ksh: Update from tzcode git revision
42248         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42249         * timezone/zdump.c: Likewise.
42250         * timezone/zic.c: Likewise.
42251         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42252         in TZVERSION setting, not $(PKGVERSION).
42253         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42254         REPORT_BUGS_TO settings.
42256         [BZ #14838]
42257         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42258         macro.
42260 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42262         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42263         detection to immediately after _FP_ROUND().
42264         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42265         bits are 0.
42267 2012-11-11  David S. Miller  <davem@davemloft.net>
42269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42270         inttypes.h
42271         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42272         __close rather than their public counterparts.
42274 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42276         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42277         file.
42278         [UNIX98] (sem_timedwait): Do not expect.
42279         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42280         [XPG4 || UNIX98] (sockatmark): Do not expect.
42281         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42282         (clock_getcpuclockid): Do not expect.
42283         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42284         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42285         Do not expect.
42286         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42287         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42288         [UNIX98] (vwscanf): Likewise.
42289         [UNIX98] (vswscanf): Likewise.
42291 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42293         * timezone/version.h: Remove file.
42294         * timezone/README: Do not refer to version.h.
42295         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42296         $(objpfx)version.h.
42297         ($(objpfx)zdump.o): Likewise.
42298         ($(objpfx)version.h): New target.
42300         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42301         2012i.
42302         * timezone/README: Don't mention modification to tzselect.ksh.
42303         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42304         work on unmodified tzselect.ksh.  Substitute version numbers in
42305         tzselect.ksh.
42307         * Makefile (format-me): Remove.
42308         (INSTALL): Adjust indentation.  Use commands directly instead of
42309         using $(format-me).
42311         * aclocal.m4 (ACX_PKGVERSION): New macro.
42312         (ACX_BUGURL): Likewise.
42313         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42314         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42315         (REPORT_BUGS_TO): Likewise.
42316         * configure: Regenerated.
42317         * config.h.in (PKGVERSION): New macro.
42318         (REPORT_BUGS_TO): Likewise.
42319         * config.make.in (PKGVERSION): New variable.
42320         (PKGVERSION_TEXI): Likewise.
42321         (REPORT_BUGS_TO): Likewise.
42322         (REPORT_BUGS_TEXI): Likewise.
42323         * Makefile (format-me): Use -I$(common-objpfx)manual.
42324         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42325         ($(common-objpfx)manual/%): New target.
42326         (manual/%): Remove target.
42327         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42328         (print_version): Use PKGVERSION.
42329         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42330         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42331         and REPORT_BUGS_TO.
42332         ($(objpfx)xtrace): Likewise.
42333         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42334         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42335         (print_version): Use PKGVERSION.
42336         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42337         (do_version): Use PKGVERSION.
42338         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42339         REPORT_BUGS_TO.
42340         (common-ldd-rewrite): Likewise.
42341         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42342         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42343         (print_version): Use PKGVERSION.
42344         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42345         * elf/pldd.c (argp_program_bug_address): Remove variable.
42346         (more_help): New function.
42347         (argp): Use more_help.
42348         (print_version): Use PKGVERSION.
42349         * elf/sln.c (main): Use PKGVERSION.
42350         (usage): Use REPORT_BUGS_TO.
42351         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42352         (top level): Use PKGVERSION.
42353         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42354         (print_version): Use PKGVERSION.
42355         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42356         (print_version): Use PKGVERSION.
42357         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42358         (print_version): Use PKGVERSION.
42359         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42360         (print_version): Use PKGVERSION.
42361         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42362         (print_version): Use PKGVERSION.
42363         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42364         (print_version): Use PKGVERSION.
42365         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42366         and BUGURL.
42367         ($(objpfx)memusage): Likewise.
42368         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42369         (do_version): Use PKGVERSION.
42370         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42371         (print_version): Use PKGVERSION.
42372         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42373         ($PKGVERSION): New variable.
42374         ($REPORT_BUGS_TO): Likewise.
42375         (usage): Use $REPORT_BUGS_TO.
42376         (top level): Use $PKGVERSION.
42377         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42378         ($(objpfx)pkgvers.texi): New rule.
42379         ($(objpfx)stamp-pkgvers): Likewise.
42380         * manual/install.texi: Include pkgvers.texi.
42381         (--with-pkgversion): Document new configure option.
42382         (--with-bugurl): Likewise.
42383         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42384         than necessarily for this particular distribution.  Use
42385         REPORT_BUGS_TO for where to report bugs.
42386         * INSTALL: Regenerated.
42387         * manual/libc.texinfo: Include pkgvers.texi.
42388         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42389         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42390         (print_version): Use PKGVERSION.
42391         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42392         (print_version): Use PKGVERSION.
42393         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42394         (print_version): Use PKGVERSION.
42395         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42396         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42397         macro.
42398         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42399         (print_version): Use PKGVERSION.
42400         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42401         (print_version): Use PKGVERSION.
42402         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42403         and PKGVERSION.
42405         * timezone/checktab.awk: Update from tzcode 2012i.
42406         * timezone/ialloc.c: Likewise.
42407         * timezone/private.h: Likewise.
42408         * timezone/scheck.c: Likewise.
42409         * timezone/tzfile.h: Likewise.
42410         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42411         (TZVERSION): Hardcode tzcode version number.
42412         * timezone/zdump.c: Update from tzcode 2012i.
42413         * timezone/zic.c: Likewise.
42414         * timezone/version.h: New file.
42415         * timezone/README: Describe version.h.  Update upstream location.
42417         [BZ #14824]
42418         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42419         (mktemp): Enable declaration.
42420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42421         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42424         Likewise.
42425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42426         Likewise.
42427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42428         Likewise.
42429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42430         Likewise.
42431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42432         Likewise.
42433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42434         Likewise.
42436         [BZ #14821]
42437         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42438         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42439         for copies of such integer values.
42440         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42441         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42443 2012-11-09  Andreas Jaeger  <aj@suse.de>
42445         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42446         definitions and declarations that are provided by
42447         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42449 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42451         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42452         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42453         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42454         definition.
42456 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42458         * elf/elf.h: Update comment before AArch64 relocations.
42460 2012-11-07  David S. Miller  <davem@davemloft.net>
42462         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42463         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42464         (__start_context): Declare.
42465         (__makecontext_ret): Delete.
42466         (__makecontext): Hook up __start_context instead of
42467         __makecontext_ret.
42468         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42469         (sysdep_routines): Add __start_context when in stdlib.
42471 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42473         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42474         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42475         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42476         hardcoded "nm".
42477         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42478         (READELF): New variable.  Use it instead of hardcoded "readelf".
42480 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42482         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42483         * sysdeps/x86/Makefile: Here.
42484         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42485         * sysdeps/x86/tst-xmmymm.sh: This.
42487 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42489         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42490         expectations.
42491         [UNIX98] (pthread_barrier_t): Do not expect.
42492         [UNIX98] (pthread_barrierattr_t): Likewise.
42493         [UNIX98] (pthread_spinlock_t): Likewise.
42494         [UNIX98] (pthread_barrier_destroy): Likewise.
42495         [UNIX98] (pthread_barrier_init): Likewise.
42496         [UNIX98] (pthread_barrier_wait): Likewise.
42497         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42498         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42499         [UNIX98] (pthread_barrierattr_init): Likewise.
42500         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42501         [UNIX98] (pthread_getcpuclockid): Likewise.
42502         [UNIX98] (pthread_mutex_timedlock): Likewise.
42503         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42504         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42505         [UNIX98] (pthread_sigmask): Likewise.
42506         [UNIX98] (pthread_spin_destroy): Likewise.
42507         [UNIX98] (pthread_spin_init): Likewise.
42508         [UNIX98] (pthread_spin_lock): Likewise.
42509         [UNIX98] (pthread_spin_trylock): Likewise.
42510         [UNIX98] (pthread_spin_unlock): Likewise.
42511         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42512         Do not expect.
42513         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42514         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42515         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42516         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42517         [XPG3 || XPG4] (pthread_key_t): Likewise.
42518         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42519         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42520         [XPG3 || XPG4] (pthread_once_t): Likewise.
42521         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42522         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42523         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42524         [XPG3 || XPG4] (pthread_t): Likewise.
42526         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42527         not expect.
42528         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42530         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42531         Change function return type to int.
42533         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42534         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42535         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42536         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42537         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42538         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42539         [!POSIX] (posix_madvise): Likewise.
42540         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42541         && !UNIX98].
42542         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42543         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42544         (mode_t): Likewise.
42545         (posix_mem_offset): Likewise.
42546         (posix_typed_mem_get_info): Likewise.
42547         (posix_typed_mem_open): Likewise.
42549         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42550         Change condition to [XOPEN2K8].
42552         * conform/conformtest.pl: Preprocess allow-header data with -x c
42553         instead of from stdin.
42554         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42555         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42556         [C99-based standards] (cerfc): Likewise.
42557         [C99-based standards] (cexp2): Likewise.
42558         [C99-based standards] (cexpm1): Likewise.
42559         [C99-based standards] (clog10): Likewise.
42560         [C99-based standards] (clog1p): Likewise.
42561         [C99-based standards] (clog2): Likewise.
42562         [C99-based standards] (clgamma): Likewise.
42563         [C99-based standards] (ctgamma): Likewise.
42564         [C99-based standards] (cerff): Likewise.
42565         [C99-based standards] (cerfcf): Likewise.
42566         [C99-based standards] (cexp2f): Likewise.
42567         [C99-based standards] (cexpm1f): Likewise.
42568         [C99-based standards] (clog10f): Likewise.
42569         [C99-based standards] (clog1pf): Likewise.
42570         [C99-based standards] (clog2f): Likewise.
42571         [C99-based standards] (clgammaf): Likewise.
42572         [C99-based standards] (ctgammaf): Likewise.
42573         [C99-based standards] (cerfl): Likewise.
42574         [C99-based standards] (cerfcl): Likewise.
42575         [C99-based standards] (cexp2l): Likewise.
42576         [C99-based standards] (cexpm1l): Likewise.
42577         [C99-based standards] (clog10l): Likewise.
42578         [C99-based standards] (clog1pl): Likewise.
42579         [C99-based standards] (clog2l): Likewise.
42580         [C99-based standards] (clgammal): Likewise.
42581         [C99-based standards] (ctgammal): Likewise.
42582         * conform/data/inttypes.h-data [C99-based standards]: Include
42583         stdint.h-data.  Remove all expectations for stdint.h contents.
42584         [C99-based standards] (PRI*): Do not allow.
42585         [C99-based standards] (SCN*): Likewise.
42586         [C99-based standards] (*_t): Likewise.
42587         [C99-based-standards] (PRId8): Expect macro.
42588         [C99-based-standards] (PRIi8): Likewise.
42589         [C99-based-standards] (PRIo8): Likewise.
42590         [C99-based-standards] (PRIu8): Likewise.
42591         [C99-based-standards] (PRIx8): Likewise.
42592         [C99-based-standards] (PRIX8): Likewise.
42593         [C99-based-standards] (SCNd8): Likewise.
42594         [C99-based-standards] (SCNi8): Likewise.
42595         [C99-based-standards] (SCNo8): Likewise.
42596         [C99-based-standards] (SCNu8): Likewise.
42597         [C99-based-standards] (SCNx8): Likewise.
42598         [C99-based-standards] (PRIdLEAST8): Likewise.
42599         [C99-based-standards] (PRIiLEAST8): Likewise.
42600         [C99-based-standards] (PRIoLEAST8): Likewise.
42601         [C99-based-standards] (PRIuLEAST8): Likewise.
42602         [C99-based-standards] (PRIxLEAST8): Likewise.
42603         [C99-based-standards] (PRIXLEAST8): Likewise.
42604         [C99-based-standards] (SCNdLEAST8): Likewise.
42605         [C99-based-standards] (SCNiLEAST8): Likewise.
42606         [C99-based-standards] (SCNoLEAST8): Likewise.
42607         [C99-based-standards] (SCNuLEAST8): Likewise.
42608         [C99-based-standards] (SCNxLEAST8): Likewise.
42609         [C99-based-standards] (PRIdFAST8): Likewise.
42610         [C99-based-standards] (PRIiFAST8): Likewise.
42611         [C99-based-standards] (PRIoFAST8): Likewise.
42612         [C99-based-standards] (PRIuFAST8): Likewise.
42613         [C99-based-standards] (PRIxFAST8): Likewise.
42614         [C99-based-standards] (PRIXFAST8): Likewise.
42615         [C99-based-standards] (SCNdFAST8): Likewise.
42616         [C99-based-standards] (SCNiFAST8): Likewise.
42617         [C99-based-standards] (SCNoFAST8): Likewise.
42618         [C99-based-standards] (SCNuFAST8): Likewise.
42619         [C99-based-standards] (SCNxFAST8): Likewise.
42620         [C99-based-standards] (PRId16): Likewise.
42621         [C99-based-standards] (PRIi16): Likewise.
42622         [C99-based-standards] (PRIo16): Likewise.
42623         [C99-based-standards] (PRIu16): Likewise.
42624         [C99-based-standards] (PRIx16): Likewise.
42625         [C99-based-standards] (PRIX16): Likewise.
42626         [C99-based-standards] (SCNd16): Likewise.
42627         [C99-based-standards] (SCNi16): Likewise.
42628         [C99-based-standards] (SCNo16): Likewise.
42629         [C99-based-standards] (SCNu16): Likewise.
42630         [C99-based-standards] (SCNx16): Likewise.
42631         [C99-based-standards] (PRIdLEAST16): Likewise.
42632         [C99-based-standards] (PRIiLEAST16): Likewise.
42633         [C99-based-standards] (PRIoLEAST16): Likewise.
42634         [C99-based-standards] (PRIuLEAST16): Likewise.
42635         [C99-based-standards] (PRIxLEAST16): Likewise.
42636         [C99-based-standards] (PRIXLEAST16): Likewise.
42637         [C99-based-standards] (SCNdLEAST16): Likewise.
42638         [C99-based-standards] (SCNiLEAST16): Likewise.
42639         [C99-based-standards] (SCNoLEAST16): Likewise.
42640         [C99-based-standards] (SCNuLEAST16): Likewise.
42641         [C99-based-standards] (SCNxLEAST16): Likewise.
42642         [C99-based-standards] (PRIdFAST16): Likewise.
42643         [C99-based-standards] (PRIiFAST16): Likewise.
42644         [C99-based-standards] (PRIoFAST16): Likewise.
42645         [C99-based-standards] (PRIuFAST16): Likewise.
42646         [C99-based-standards] (PRIxFAST16): Likewise.
42647         [C99-based-standards] (PRIXFAST16): Likewise.
42648         [C99-based-standards] (SCNdFAST16): Likewise.
42649         [C99-based-standards] (SCNiFAST16): Likewise.
42650         [C99-based-standards] (SCNoFAST16): Likewise.
42651         [C99-based-standards] (SCNuFAST16): Likewise.
42652         [C99-based-standards] (SCNxFAST16): Likewise.
42653         [C99-based-standards] (PRId32): Likewise.
42654         [C99-based-standards] (PRIi32): Likewise.
42655         [C99-based-standards] (PRIo32): Likewise.
42656         [C99-based-standards] (PRIu32): Likewise.
42657         [C99-based-standards] (PRIx32): Likewise.
42658         [C99-based-standards] (PRIX32): Likewise.
42659         [C99-based-standards] (SCNd32): Likewise.
42660         [C99-based-standards] (SCNi32): Likewise.
42661         [C99-based-standards] (SCNo32): Likewise.
42662         [C99-based-standards] (SCNu32): Likewise.
42663         [C99-based-standards] (SCNx32): Likewise.
42664         [C99-based-standards] (PRIdLEAST32): Likewise.
42665         [C99-based-standards] (PRIiLEAST32): Likewise.
42666         [C99-based-standards] (PRIoLEAST32): Likewise.
42667         [C99-based-standards] (PRIuLEAST32): Likewise.
42668         [C99-based-standards] (PRIxLEAST32): Likewise.
42669         [C99-based-standards] (PRIXLEAST32): Likewise.
42670         [C99-based-standards] (SCNdLEAST32): Likewise.
42671         [C99-based-standards] (SCNiLEAST32): Likewise.
42672         [C99-based-standards] (SCNoLEAST32): Likewise.
42673         [C99-based-standards] (SCNuLEAST32): Likewise.
42674         [C99-based-standards] (SCNxLEAST32): Likewise.
42675         [C99-based-standards] (PRIdFAST32): Likewise.
42676         [C99-based-standards] (PRIiFAST32): Likewise.
42677         [C99-based-standards] (PRIoFAST32): Likewise.
42678         [C99-based-standards] (PRIuFAST32): Likewise.
42679         [C99-based-standards] (PRIxFAST32): Likewise.
42680         [C99-based-standards] (PRIXFAST32): Likewise.
42681         [C99-based-standards] (SCNdFAST32): Likewise.
42682         [C99-based-standards] (SCNiFAST32): Likewise.
42683         [C99-based-standards] (SCNoFAST32): Likewise.
42684         [C99-based-standards] (SCNuFAST32): Likewise.
42685         [C99-based-standards] (SCNxFAST32): Likewise.
42686         [C99-based-standards] (PRId64): Likewise.
42687         [C99-based-standards] (PRIi64): Likewise.
42688         [C99-based-standards] (PRIo64): Likewise.
42689         [C99-based-standards] (PRIu64): Likewise.
42690         [C99-based-standards] (PRIx64): Likewise.
42691         [C99-based-standards] (PRIX64): Likewise.
42692         [C99-based-standards] (SCNd64): Likewise.
42693         [C99-based-standards] (SCNi64): Likewise.
42694         [C99-based-standards] (SCNo64): Likewise.
42695         [C99-based-standards] (SCNu64): Likewise.
42696         [C99-based-standards] (SCNx64): Likewise.
42697         [C99-based-standards] (PRIdLEAST64): Likewise.
42698         [C99-based-standards] (PRIiLEAST64): Likewise.
42699         [C99-based-standards] (PRIoLEAST64): Likewise.
42700         [C99-based-standards] (PRIuLEAST64): Likewise.
42701         [C99-based-standards] (PRIxLEAST64): Likewise.
42702         [C99-based-standards] (PRIXLEAST64): Likewise.
42703         [C99-based-standards] (SCNdLEAST64): Likewise.
42704         [C99-based-standards] (SCNiLEAST64): Likewise.
42705         [C99-based-standards] (SCNoLEAST64): Likewise.
42706         [C99-based-standards] (SCNuLEAST64): Likewise.
42707         [C99-based-standards] (SCNxLEAST64): Likewise.
42708         [C99-based-standards] (PRIdFAST64): Likewise.
42709         [C99-based-standards] (PRIiFAST64): Likewise.
42710         [C99-based-standards] (PRIoFAST64): Likewise.
42711         [C99-based-standards] (PRIuFAST64): Likewise.
42712         [C99-based-standards] (PRIxFAST64): Likewise.
42713         [C99-based-standards] (PRIXFAST64): Likewise.
42714         [C99-based-standards] (SCNdFAST64): Likewise.
42715         [C99-based-standards] (SCNiFAST64): Likewise.
42716         [C99-based-standards] (SCNoFAST64): Likewise.
42717         [C99-based-standards] (SCNuFAST64): Likewise.
42718         [C99-based-standards] (SCNxFAST64): Likewise.
42719         [C99-based-standards] (PRIdMAX): Likewise.
42720         [C99-based-standards] (PRIiMAX): Likewise.
42721         [C99-based-standards] (PRIoMAX): Likewise.
42722         [C99-based-standards] (PRIuMAX): Likewise.
42723         [C99-based-standards] (PRIxMAX): Likewise.
42724         [C99-based-standards] (PRIXMAX): Likewise.
42725         [C99-based-standards] (SCNdMAX): Likewise.
42726         [C99-based-standards] (SCNiMAX): Likewise.
42727         [C99-based-standards] (SCNoMAX): Likewise.
42728         [C99-based-standards] (SCNuMAX): Likewise.
42729         [C99-based-standards] (SCNxMAX): Likewise.
42730         [C99-based-standards] (PRIdPTR): Likewise.
42731         [C99-based-standards] (PRIiPTR): Likewise.
42732         [C99-based-standards] (PRIoPTR): Likewise.
42733         [C99-based-standards] (PRIuPTR): Likewise.
42734         [C99-based-standards] (PRIxPTR): Likewise.
42735         [C99-based-standards] (PRIXPTR): Likewise.
42736         [C99-based-standards] (SCNdPTR): Likewise.
42737         [C99-based-standards] (SCNiPTR): Likewise.
42738         [C99-based-standards] (SCNoPTR): Likewise.
42739         [C99-based-standards] (SCNuPTR): Likewise.
42740         [C99-based-standards] (SCNxPTR): Likewise.
42741         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42742         allow.
42743         * conform/data/stdint.h-data: Update comments to clarify
42744         requirements.
42745         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42746         type.
42747         [C99-based standards] (INT8_MAX): Likewise.
42748         [C99-based standards] (INT16_MIN): Likewise.
42749         [C99-based standards] (INT16_MAX): Likewise.
42750         [C99-based standards] (INT32_MIN): Likewise.
42751         [C99-based standards] (INT32_MAX): Likewise.
42752         [C99-based standards] (INT64_MIN): Likewise.
42753         [C99-based standards] (INT64_MAX): Likewise.
42754         [C99-based standards] (UINT8_MAX): Likewise.
42755         [C99-based standards] (UINT16_MAX): Likewise.
42756         [C99-based standards] (UINT32_MAX): Likewise.
42757         [C99-based standards] (UINT64_MAX): Likewise.
42758         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42759         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42760         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42761         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42762         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42763         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42764         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42765         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42766         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42767         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42768         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42769         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42770         [C99-based standards] (INT_FAST8_MIN): Likewise.
42771         [C99-based standards] (INT_FAST8_MAX): Likewise.
42772         [C99-based standards] (INT_FAST16_MIN): Likewise.
42773         [C99-based standards] (INT_FAST16_MAX): Likewise.
42774         [C99-based standards] (INT_FAST32_MIN): Likewise.
42775         [C99-based standards] (INT_FAST32_MAX): Likewise.
42776         [C99-based standards] (INT_FAST64_MIN): Likewise.
42777         [C99-based standards] (INT_FAST64_MAX): Likewise.
42778         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42779         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42780         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42781         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42782         [C99-based standards] (INTPTR_MIN): Likewise.
42783         [C99-based standards] (INTPTR_MAX): Likewise.
42784         [C99-based standards] (UINTPTR_MAX): Likewise.
42785         [C99-based standards] (INTMAX_MIN): Likewise.
42786         [C99-based standards] (INTMAX_MAX): Likewise.
42787         [C99-based standards] (UINTMAX_MAX): Likewise.
42788         [C99-based standards] (PTRDIFF_MIN): Likewise.
42789         [C99-based standards] (PTRDIFF_MAX): Likewise.
42790         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42791         [C99-based standards] (SIZE_MAX): Likewise.
42792         [C99-based standards] (WCHAR_MAX): Likewise.
42793         [C99-based standards] (WINT_MAX): Likewise.
42794         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42795         constraint on value.
42796         [C99-based standards] (WCHAR_MIN): Likewise.
42797         [C99-based standards] (WINT_MIN): Likewise.
42798         [C99-based standards] (*_t): Allow.
42799         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42800         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42801         Include math.h-data and complex.h-data.  Remove all expectations
42802         of math.h and complex.h contents.
42803         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42804         at end of line.
42805         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42806         (struct tm): Expect tag.
42807         [C99-based-standards] (wcstof): Expect function.
42808         [C99-based-standards] (wcstold): Likewise.
42809         [C99-based-standards] (wcstoll): Likewise.
42810         [C99-based-standards] (wcstoull): Likewise.
42811         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42812         macro-int-constant.  Specify type.
42813         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42814         constraint on value.
42815         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42816         Specify type.
42817         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42818         Specify value.
42819         [ISO C standards]: Do not allow headers.
42820         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42821         wcs[abcdefghijklmnopqrstuvwxyz]*.
42822         [ISO C standards] (*_t): Do not allow.
42823         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42824         Expect function.
42825         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42826         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42827         Specify type.
42828         [ISO C standards]: Do not allow headers.
42829         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42830         is[abcdefghijklmnopqrstuvwxyz]*.
42831         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42832         to[abcdefghijklmnopqrstuvwxyz]*.
42833         [ISO C standards] (*_t): Do not allow.
42834         * conform/data/stdalign.h-data: New file.
42835         * conform/data/stdbool.h-data: Likewise.
42836         * conform/data/stdnoreturn.h-data: Likewise.
42838 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42840         [BZ #14815]
42841         * manual/filesys.texi (Directory Entries): Typo fix.
42842         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42844 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42846         * elf/elf.h (EM_AARCH64): New macro.
42847         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42848         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42849         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42850         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42851         (R_AARCH64_TLSDESC): Likewise.
42852         (NT_ARM_TLS): Likewise.
42853         (NT_ARM_HW_BREAK): Likewise.
42854         (NT_ARM_HW_WATCH): Likewise.
42856 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42858         [BZ #14811]
42859         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42860         (__ieee754_powl): Saturate nonzero exponents with absolute value
42861         below 0x1p-79 to +/- 0x1p-79.
42862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42863         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42864         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42865         nonzero exponents with absolute value below 0x1p-32 to +/-
42866         0x1p-32.
42867         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42868         (__ieee754_powl): Saturate nonzero exponents with absolute value
42869         below 0x1p-79 to +/- 0x1p-79.
42870         * math/libm-test.inc (pow_test): Add more tests.
42872 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42874         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42875         _dl_s390_cap_flags with kernel. Increase string length.
42876         (_dl_s390_platforms): Add z196 and zEC12.
42878 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42880         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42881         Change XOPEN21K to XOPEN2K.
42883 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42885         * string/memmove.c: Use memcpy when possible.
42887 2012-11-06  Andreas Jaeger  <aj@suse.de>
42889         * po/eo.po: Update from translation team.
42891 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42893         [BZ #14793]
42894         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42895         exponent and small x and y exponents, scale x or y up.  Increase
42896         by 2 the exponent used in scaling up.
42897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42899         * math/libm-test.inc (fma_test): Add more tests.
42900         (fma_test_towardzero): Likewise.
42901         (fma_test_downward): Likewise.
42902         (fma_test_upward): Likewise.
42904 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42906         [BZ #14805]
42907         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42908         fenv_t *.
42910         [BZ #14801]
42911         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42912         namespace for names of struct fields.
42913         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42914         fenv_t fields.
42915         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42916         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42918 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42920         [BZ #3665]
42921         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42923 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42925         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42926         PTR_DEMANGLE.
42928         [BZ #5246]
42929         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42930         PTR_DEMANGLE.
42932 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42934         [BZ #14797]
42935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42936         definitely overflow as x * y not x * y + z.
42937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42939         * math/libm-test.inc (fma_test): Add more tests.
42940         (fma_test_towardzero): Likewise.
42941         (fma_test_downward): Likewise.
42942         (fma_test_upward): Likewise.
42944 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42946         [BZ #157]
42948         * include/stub-tag.h: Remove file.
42949         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42950         '#include' of it.
42951         * manual/maint.texi (Porting): Don't reference it.
42952         * Makerules ($(objpfx)stubs): Likewise.
42953         * dirent/closedir.c: Don't include <stub-tag.h>.
42954         * dirent/dirfd.c: Likewise.
42955         * dirent/fdopendir.c: Likewise.
42956         * dirent/getdents.c: Likewise.
42957         * dirent/getdents64.c: Likewise.
42958         * dirent/opendir.c: Likewise.
42959         * dirent/readdir.c: Likewise.
42960         * dirent/readdir64.c: Likewise.
42961         * dirent/readdir64_r.c: Likewise.
42962         * dirent/readdir_r.c: Likewise.
42963         * dirent/rewinddir.c: Likewise.
42964         * dirent/seekdir.c: Likewise.
42965         * dirent/telldir.c: Likewise.
42966         * gmon/profil.c: Likewise.
42967         * grp/setgroups.c: Likewise.
42968         * inet/if_index.c: Likewise.
42969         * io/access.c: Likewise.
42970         * io/chdir.c: Likewise.
42971         * io/chmod.c: Likewise.
42972         * io/chown.c: Likewise.
42973         * io/close.c: Likewise.
42974         * io/dup.c: Likewise.
42975         * io/dup2.c: Likewise.
42976         * io/dup3.c: Likewise.
42977         * io/euidaccess.c: Likewise.
42978         * io/faccessat.c: Likewise.
42979         * io/fchdir.c: Likewise.
42980         * io/fchmod.c: Likewise.
42981         * io/fchmodat.c: Likewise.
42982         * io/fchown.c: Likewise.
42983         * io/fchownat.c: Likewise.
42984         * io/fcntl.c: Likewise.
42985         * io/flock.c: Likewise.
42986         * io/fstatfs.c: Likewise.
42987         * io/fstatfs64.c: Likewise.
42988         * io/fstatvfs.c: Likewise.
42989         * io/fstatvfs64.c: Likewise.
42990         * io/futimens.c: Likewise.
42991         * io/fxstat.c: Likewise.
42992         * io/fxstat64.c: Likewise.
42993         * io/fxstatat.c: Likewise.
42994         * io/fxstatat64.c: Likewise.
42995         * io/getcwd.c: Likewise.
42996         * io/isatty.c: Likewise.
42997         * io/lchmod.c: Likewise.
42998         * io/lchown.c: Likewise.
42999         * io/link.c: Likewise.
43000         * io/linkat.c: Likewise.
43001         * io/lseek.c: Likewise.
43002         * io/lseek64.c: Likewise.
43003         * io/lxstat64.c: Likewise.
43004         * io/mkdir.c: Likewise.
43005         * io/mkdirat.c: Likewise.
43006         * io/mkfifo.c: Likewise.
43007         * io/mkfifoat.c: Likewise.
43008         * io/open.c: Likewise.
43009         * io/open64.c: Likewise.
43010         * io/openat.c: Likewise.
43011         * io/openat64.c: Likewise.
43012         * io/pipe.c: Likewise.
43013         * io/pipe2.c: Likewise.
43014         * io/poll.c: Likewise.
43015         * io/posix_fadvise.c: Likewise.
43016         * io/posix_fadvise64.c: Likewise.
43017         * io/posix_fallocate.c: Likewise.
43018         * io/posix_fallocate64.c: Likewise.
43019         * io/read.c: Likewise.
43020         * io/readlink.c: Likewise.
43021         * io/readlinkat.c: Likewise.
43022         * io/rmdir.c: Likewise.
43023         * io/sendfile.c: Likewise.
43024         * io/sendfile64.c: Likewise.
43025         * io/statfs.c: Likewise.
43026         * io/statfs64.c: Likewise.
43027         * io/statvfs.c: Likewise.
43028         * io/statvfs64.c: Likewise.
43029         * io/symlink.c: Likewise.
43030         * io/symlinkat.c: Likewise.
43031         * io/ttyname.c: Likewise.
43032         * io/ttyname_r.c: Likewise.
43033         * io/umask.c: Likewise.
43034         * io/unlink.c: Likewise.
43035         * io/unlinkat.c: Likewise.
43036         * io/utime.c: Likewise.
43037         * io/utimensat.c: Likewise.
43038         * io/write.c: Likewise.
43039         * io/xmknod.c: Likewise.
43040         * io/xmknodat.c: Likewise.
43041         * io/xstat.c: Likewise.
43042         * io/xstat64.c: Likewise.
43043         * login/getpt.c: Likewise.
43044         * login/grantpt.c: Likewise.
43045         * login/unlockpt.c: Likewise.
43046         * math/e_acoshl.c: Likewise.
43047         * math/e_acosl.c: Likewise.
43048         * math/e_asinl.c: Likewise.
43049         * math/e_atan2l.c: Likewise.
43050         * math/e_atanhl.c: Likewise.
43051         * math/e_coshl.c: Likewise.
43052         * math/e_expl.c: Likewise.
43053         * math/e_fmodl.c: Likewise.
43054         * math/e_gammal_r.c: Likewise.
43055         * math/e_hypotl.c: Likewise.
43056         * math/e_j0l.c: Likewise.
43057         * math/e_j1l.c: Likewise.
43058         * math/e_jnl.c: Likewise.
43059         * math/e_lgammal_r.c: Likewise.
43060         * math/e_log10l.c: Likewise.
43061         * math/e_log2l.c: Likewise.
43062         * math/e_logl.c: Likewise.
43063         * math/e_powl.c: Likewise.
43064         * math/e_rem_pio2l.c: Likewise.
43065         * math/e_sinhl.c: Likewise.
43066         * math/e_sqrtl.c: Likewise.
43067         * math/fclrexcpt.c: Likewise.
43068         * math/fedisblxcpt.c: Likewise.
43069         * math/feenablxcpt.c: Likewise.
43070         * math/fegetenv.c: Likewise.
43071         * math/fegetexcept.c: Likewise.
43072         * math/fegetround.c: Likewise.
43073         * math/feholdexcpt.c: Likewise.
43074         * math/fesetenv.c: Likewise.
43075         * math/fesetround.c: Likewise.
43076         * math/feupdateenv.c: Likewise.
43077         * math/fgetexcptflg.c: Likewise.
43078         * math/fraiseexcpt.c: Likewise.
43079         * math/fsetexcptflg.c: Likewise.
43080         * math/ftestexcept.c: Likewise.
43081         * math/k_cosl.c: Likewise.
43082         * math/k_rem_pio2l.c: Likewise.
43083         * math/k_sinl.c: Likewise.
43084         * math/k_tanl.c: Likewise.
43085         * math/s_asinhl.c: Likewise.
43086         * math/s_atanl.c: Likewise.
43087         * math/s_cbrtl.c: Likewise.
43088         * math/s_erfl.c: Likewise.
43089         * math/s_expm1l.c: Likewise.
43090         * math/s_log1pl.c: Likewise.
43091         * math/s_tanhl.c: Likewise.
43092         * misc/acct.c: Likewise.
43093         * misc/brk.c: Likewise.
43094         * misc/chflags.c: Likewise.
43095         * misc/chroot.c: Likewise.
43096         * misc/fchflags.c: Likewise.
43097         * misc/fgetxattr.c: Likewise.
43098         * misc/flistxattr.c: Likewise.
43099         * misc/fremovexattr.c: Likewise.
43100         * misc/fsetxattr.c: Likewise.
43101         * misc/fsync.c: Likewise.
43102         * misc/ftruncate.c: Likewise.
43103         * misc/futimes.c: Likewise.
43104         * misc/futimesat.c: Likewise.
43105         * misc/getdomain.c: Likewise.
43106         * misc/getdtsz.c: Likewise.
43107         * misc/gethostid.c: Likewise.
43108         * misc/gethostname.c: Likewise.
43109         * misc/getloadavg.c: Likewise.
43110         * misc/getpagesize.c: Likewise.
43111         * misc/getsysstats.c: Likewise.
43112         * misc/getxattr.c: Likewise.
43113         * misc/gtty.c: Likewise.
43114         * misc/ioctl.c: Likewise.
43115         * misc/lgetxattr.c: Likewise.
43116         * misc/listxattr.c: Likewise.
43117         * misc/llistxattr.c: Likewise.
43118         * misc/lremovexattr.c: Likewise.
43119         * misc/lsetxattr.c: Likewise.
43120         * misc/lutimes.c: Likewise.
43121         * misc/madvise.c: Likewise.
43122         * misc/mincore.c: Likewise.
43123         * misc/mlock.c: Likewise.
43124         * misc/mlockall.c: Likewise.
43125         * misc/mmap.c: Likewise.
43126         * misc/mprotect.c: Likewise.
43127         * misc/msync.c: Likewise.
43128         * misc/munlock.c: Likewise.
43129         * misc/munlockall.c: Likewise.
43130         * misc/munmap.c: Likewise.
43131         * misc/preadv.c: Likewise.
43132         * misc/preadv64.c: Likewise.
43133         * misc/ptrace.c: Likewise.
43134         * misc/pwritev.c: Likewise.
43135         * misc/pwritev64.c: Likewise.
43136         * misc/readv.c: Likewise.
43137         * misc/reboot.c: Likewise.
43138         * misc/remap_file_pages.c: Likewise.
43139         * misc/removexattr.c: Likewise.
43140         * misc/revoke.c: Likewise.
43141         * misc/select.c: Likewise.
43142         * misc/setdomain.c: Likewise.
43143         * misc/setegid.c: Likewise.
43144         * misc/seteuid.c: Likewise.
43145         * misc/sethostid.c: Likewise.
43146         * misc/sethostname.c: Likewise.
43147         * misc/setregid.c: Likewise.
43148         * misc/setreuid.c: Likewise.
43149         * misc/setxattr.c: Likewise.
43150         * misc/sstk.c: Likewise.
43151         * misc/stty.c: Likewise.
43152         * misc/swapoff.c: Likewise.
43153         * misc/swapon.c: Likewise.
43154         * misc/sync.c: Likewise.
43155         * misc/syncfs.c: Likewise.
43156         * misc/syscall.c: Likewise.
43157         * misc/truncate.c: Likewise.
43158         * misc/ualarm.c: Likewise.
43159         * misc/usleep.c: Likewise.
43160         * misc/ustat.c: Likewise.
43161         * misc/utimes.c: Likewise.
43162         * misc/vhangup.c: Likewise.
43163         * misc/writev.c: Likewise.
43164         * posix/_exit.c: Likewise.
43165         * posix/alarm.c: Likewise.
43166         * posix/execve.c: Likewise.
43167         * posix/fexecve.c: Likewise.
43168         * posix/fork.c: Likewise.
43169         * posix/fpathconf.c: Likewise.
43170         * posix/getaddrinfo.c: Likewise.
43171         * posix/getegid.c: Likewise.
43172         * posix/geteuid.c: Likewise.
43173         * posix/getgid.c: Likewise.
43174         * posix/getgroups.c: Likewise.
43175         * posix/getlogin.c: Likewise.
43176         * posix/getlogin_r.c: Likewise.
43177         * posix/getpgid.c: Likewise.
43178         * posix/getpid.c: Likewise.
43179         * posix/getppid.c: Likewise.
43180         * posix/getresgid.c: Likewise.
43181         * posix/getresuid.c: Likewise.
43182         * posix/getsid.c: Likewise.
43183         * posix/getuid.c: Likewise.
43184         * posix/glob64.c: Likewise.
43185         * posix/nanosleep.c: Likewise.
43186         * posix/pathconf.c: Likewise.
43187         * posix/pause.c: Likewise.
43188         * posix/posix_madvise.c: Likewise.
43189         * posix/pread.c: Likewise.
43190         * posix/pread64.c: Likewise.
43191         * posix/pwrite.c: Likewise.
43192         * posix/pwrite64.c: Likewise.
43193         * posix/sched_getaffinity.c: Likewise.
43194         * posix/sched_getp.c: Likewise.
43195         * posix/sched_gets.c: Likewise.
43196         * posix/sched_primax.c: Likewise.
43197         * posix/sched_primin.c: Likewise.
43198         * posix/sched_rr_gi.c: Likewise.
43199         * posix/sched_setaffinity.c: Likewise.
43200         * posix/sched_setp.c: Likewise.
43201         * posix/sched_sets.c: Likewise.
43202         * posix/sched_yield.c: Likewise.
43203         * posix/setgid.c: Likewise.
43204         * posix/setlogin.c: Likewise.
43205         * posix/setpgid.c: Likewise.
43206         * posix/setresgid.c: Likewise.
43207         * posix/setresuid.c: Likewise.
43208         * posix/setsid.c: Likewise.
43209         * posix/setuid.c: Likewise.
43210         * posix/sleep.c: Likewise.
43211         * posix/spawni.c: Likewise.
43212         * posix/sysconf.c: Likewise.
43213         * posix/times.c: Likewise.
43214         * posix/wait.c: Likewise.
43215         * posix/wait3.c: Likewise.
43216         * posix/wait4.c: Likewise.
43217         * posix/waitpid.c: Likewise.
43218         * resolv/gai_sigqueue.c: Likewise.
43219         * resource/getpriority.c: Likewise.
43220         * resource/getrlimit.c: Likewise.
43221         * resource/getrusage.c: Likewise.
43222         * resource/nice.c: Likewise.
43223         * resource/setpriority.c: Likewise.
43224         * resource/setrlimit.c: Likewise.
43225         * resource/ulimit.c: Likewise.
43226         * rt/aio_cancel.c: Likewise.
43227         * rt/aio_fsync.c: Likewise.
43228         * rt/aio_read.c: Likewise.
43229         * rt/aio_sigqueue.c: Likewise.
43230         * rt/aio_suspend.c: Likewise.
43231         * rt/aio_write.c: Likewise.
43232         * rt/clock_getres.c: Likewise.
43233         * rt/clock_gettime.c: Likewise.
43234         * rt/clock_nanosleep.c: Likewise.
43235         * rt/clock_settime.c: Likewise.
43236         * rt/lio_listio.c: Likewise.
43237         * rt/mq_close.c: Likewise.
43238         * rt/mq_getattr.c: Likewise.
43239         * rt/mq_notify.c: Likewise.
43240         * rt/mq_open.c: Likewise.
43241         * rt/mq_receive.c: Likewise.
43242         * rt/mq_send.c: Likewise.
43243         * rt/mq_setattr.c: Likewise.
43244         * rt/mq_timedreceive.c: Likewise.
43245         * rt/mq_timedsend.c: Likewise.
43246         * rt/mq_unlink.c: Likewise.
43247         * rt/shm_open.c: Likewise.
43248         * rt/shm_unlink.c: Likewise.
43249         * rt/timer_create.c: Likewise.
43250         * rt/timer_delete.c: Likewise.
43251         * rt/timer_getoverr.c: Likewise.
43252         * rt/timer_gettime.c: Likewise.
43253         * rt/timer_settime.c: Likewise.
43254         * setjmp/__longjmp.c: Likewise.
43255         * setjmp/setjmp.c: Likewise.
43256         * signal/kill.c: Likewise.
43257         * signal/killpg.c: Likewise.
43258         * signal/raise.c: Likewise.
43259         * signal/sigaction.c: Likewise.
43260         * signal/sigaltstack.c: Likewise.
43261         * signal/sigblock.c: Likewise.
43262         * signal/sigignore.c: Likewise.
43263         * signal/sigintr.c: Likewise.
43264         * signal/signal.c: Likewise.
43265         * signal/sigpause.c: Likewise.
43266         * signal/sigpending.c: Likewise.
43267         * signal/sigqueue.c: Likewise.
43268         * signal/sigreturn.c: Likewise.
43269         * signal/sigset.c: Likewise.
43270         * signal/sigsetmask.c: Likewise.
43271         * signal/sigstack.c: Likewise.
43272         * signal/sigsuspend.c: Likewise.
43273         * signal/sigtimedwait.c: Likewise.
43274         * signal/sigvec.c: Likewise.
43275         * signal/sigwait.c: Likewise.
43276         * signal/sigwaitinfo.c: Likewise.
43277         * signal/sysv_signal.c: Likewise.
43278         * socket/accept.c: Likewise.
43279         * socket/accept4.c: Likewise.
43280         * socket/bind.c: Likewise.
43281         * socket/connect.c: Likewise.
43282         * socket/getpeername.c: Likewise.
43283         * socket/getsockname.c: Likewise.
43284         * socket/getsockopt.c: Likewise.
43285         * socket/isfdtype.c: Likewise.
43286         * socket/listen.c: Likewise.
43287         * socket/recv.c: Likewise.
43288         * socket/recvfrom.c: Likewise.
43289         * socket/recvmsg.c: Likewise.
43290         * socket/send.c: Likewise.
43291         * socket/sendmsg.c: Likewise.
43292         * socket/sendto.c: Likewise.
43293         * socket/setsockopt.c: Likewise.
43294         * socket/shutdown.c: Likewise.
43295         * socket/sockatmark.c: Likewise.
43296         * socket/socket.c: Likewise.
43297         * socket/socketpair.c: Likewise.
43298         * stdio-common/ctermid.c: Likewise.
43299         * stdio-common/cuserid.c: Likewise.
43300         * stdio-common/remove.c: Likewise.
43301         * stdio-common/rename.c: Likewise.
43302         * stdio-common/renameat.c: Likewise.
43303         * stdio-common/tempname.c: Likewise.
43304         * stdlib/getcontext.c: Likewise.
43305         * stdlib/makecontext.c: Likewise.
43306         * stdlib/setcontext.c: Likewise.
43307         * stdlib/swapcontext.c: Likewise.
43308         * stdlib/system.c: Likewise.
43309         * streams/fattach.c: Likewise.
43310         * streams/fdetach.c: Likewise.
43311         * streams/getmsg.c: Likewise.
43312         * streams/getpmsg.c: Likewise.
43313         * streams/putmsg.c: Likewise.
43314         * streams/putpmsg.c: Likewise.
43315         * sysdeps/unix/bsd/getpt.c: Likewise.
43316         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43317         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43318         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43320         Likewise.
43321         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43322         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43323         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43324         * sysvipc/msgctl.c: Likewise.
43325         * sysvipc/msgget.c: Likewise.
43326         * sysvipc/msgrcv.c: Likewise.
43327         * sysvipc/msgsnd.c: Likewise.
43328         * sysvipc/semctl.c: Likewise.
43329         * sysvipc/semget.c: Likewise.
43330         * sysvipc/semop.c: Likewise.
43331         * sysvipc/semtimedop.c: Likewise.
43332         * sysvipc/shmat.c: Likewise.
43333         * sysvipc/shmctl.c: Likewise.
43334         * sysvipc/shmdt.c: Likewise.
43335         * sysvipc/shmget.c: Likewise.
43336         * termios/tcdrain.c: Likewise.
43337         * termios/tcflow.c: Likewise.
43338         * termios/tcflush.c: Likewise.
43339         * termios/tcgetattr.c: Likewise.
43340         * termios/tcgetpgrp.c: Likewise.
43341         * termios/tcsendbrk.c: Likewise.
43342         * termios/tcsetattr.c: Likewise.
43343         * termios/tcsetpgrp.c: Likewise.
43344         * time/adjtime.c: Likewise.
43345         * time/clock.c: Likewise.
43346         * time/getitimer.c: Likewise.
43347         * time/gettimeofday.c: Likewise.
43348         * time/setitimer.c: Likewise.
43349         * time/settimeofday.c: Likewise.
43350         * time/stime.c: Likewise.
43351         * time/time.c: Likewise.
43353 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43355         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43356         /usr/old/bin.
43358         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43359         instead of spaces.
43360         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43362 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43364         [BZ #14796]
43365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43366         FE_TONEAREST before applying Dekker multiplication and Knuth
43367         addition.  Clear inexact exceptions and check for exact zero
43368         results afterwards.
43369         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43370         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43372         * math/libm-test.inc (fma_test): Add more tests.
43373         (fma_test_towardzero): Likewise.
43374         (fma_test_downward): Likewise.
43375         (fma_test_upward): Likewise.
43376         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43377         function.
43378         (libc_fesetround): New macro.
43379         (libc_fesetroundf): Likewise.
43380         (libc_fesetroundl): Likewise.
43381         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43382         function.
43383         (libc_fesetround_387): Likewise.
43384         (libc_fesetroundf): New macro.
43385         (libc_fesetround): Likewise.
43386         (libc_fesetroundl): Likewise.
43387         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43388         function.
43389         (libc_fesetroundf): New macro.
43390         (libc_fesetround): Likewise.
43391         (libc_fesetroundl): Likewise.
43392         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43393         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43394         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43395         libm_hidden_ver.
43396         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43397         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43398         libm_hidden_def.
43399         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43400         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43401         libm_hidden_ver.
43402         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43403         libm_hidden_def.
43405         [BZ #3439]
43406         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43407         integer constant usable in #if and use that to give value to enum
43408         constant.
43409         (FE_DIVBYZERO): Likewise.
43410         (FE_UNDERFLOW): Likewise.
43411         (FE_OVERFLOW): Likewise.
43412         (FE_INVALID): Likewise.
43413         (FE_INVALID_SNAN): Likewise.
43414         (FE_INVALID_ISI): Likewise.
43415         (FE_INVALID_IDI): Likewise.
43416         (FE_INVALID_ZDZ): Likewise.
43417         (FE_INVALID_IMZ): Likewise.
43418         (FE_INVALID_COMPARE): Likewise.
43419         (FE_INVALID_SOFTWARE): Likewise.
43420         (FE_INVALID_SQRT): Likewise.
43421         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43422         (FE_TONEAREST): Likewise.
43423         (FE_TOWARDZERO): Likewise.
43424         (FE_UPWARD): Likewise.
43425         (FE_DOWNWARD): Likewise.
43426         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43427         (FE_DIVBYZERO): Likewise.
43428         (FE_OVERFLOW): Likewise.
43429         (FE_UNDERFLOW): Likewise.
43430         (FE_INEXACT): Likewise.
43431         (FE_TONEAREST): Likewise.
43432         (FE_DOWNWARD): Likewise.
43433         (FE_UPWARD): Likewise.
43434         (FE_TOWARDZERO): Likewise.
43435         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43436         (FE_UNDERFLOW): Likewise.
43437         (FE_OVERFLOW): Likewise.
43438         (FE_DIVBYZERO): Likewise.
43439         (FE_INVALID): Likewise.
43440         (FE_TONEAREST): Likewise.
43441         (FE_TOWARDZERO): Likewise.
43442         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43443         (FE_OVERFLOW): Likewise.
43444         (FE_UNDERFLOW): Likewise.
43445         (FE_DIVBYZERO): Likewise.
43446         (FE_INEXACT): Likewise.
43447         (FE_TONEAREST): Likewise.
43448         (FE_TOWARDZERO): Likewise.
43449         (FE_UPWARD): Likewise.
43450         (FE_DOWNWARD): Likewise.
43451         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43452         (FE_DIVBYZERO): Likewise.
43453         (FE_OVERFLOW): Likewise.
43454         (FE_UNDERFLOW): Likewise.
43455         (FE_INEXACT): Likewise.
43456         (FE_TONEAREST): Likewise.
43457         (FE_DOWNWARD): Likewise.
43458         (FE_UPWARD): Likewise.
43459         (FE_TOWARDZERO): Likewise.
43461 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43463         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43465 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43467         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43468         commands.  Quote $PWD.
43469         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43470         -x" by "export".
43471         (remove_newlines): Remove.
43473 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43475         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43476         * stdlib/stdlib.h (atof): Moved to ...
43477         * include/bits/stdlib-float.h: Here.  New file.
43478         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43479         * stdlib/bits/stdlib-float.h: New file.
43480         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43481         -mno-sse -mno-mmx.
43482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43483         <xmmintrin.h>.
43485 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43487         * conform/conformtest.pl (@headers): Add fenv.h.
43488         * conform/data/fenv.h-data: New file.
43489         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43490         include of <math/fenv.h>.
43492         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43493         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43494         && !UNIX98].  Enables tests for XOPEN2K8.
43495         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43496         POSIX2008]: Likewise.
43498         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43499         (struct rusage): Do not expect type or its members.
43501         [BZ #3439]
43502         * math/math.h (FP_NAN): Define macro to integer constant usable in
43503         #if and use that to give value to enum constant.
43504         (FP_INFINITE): Likewise.
43505         (FP_ZERO): Likewise.
43506         (FP_SUBNORMAL): Likewise.
43507         (FP_NORMAL): Likewise.
43509 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43511         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43512         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43513         arguments.
43515 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43517         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43518         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43519         autoconf-time if not.
43520         * configure.in: Remove AC_PREREQ.
43522 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43524         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43525         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43526         of the internal implementation.
43528 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43530         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43531         except include of <misc/sys/syslog.h>.
43533 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43536         function returns with a NULL context exit with zero.
43538 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43540         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43542 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43544         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43545         (run_program_cmd): This.
43546         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43547         (tst_langinfo): New variable.  Use it.
43549 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43551         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43552         floating point opcodes.
43554 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43556         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43557         variable.
43559         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43561         * sysdeps/mach/hurd/powerpc: Remove directory.
43562         * sysdeps/mach/powerpc: Likewise.
43564 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43566         * scripts/check-local-headers.sh: Ignore c++ headers.
43568 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43570         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43571         __libc_cleanup_region_start argument.
43573 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43575         [BZ #14784]
43576         [BZ #14785]
43577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43578         x * y using scaling, not as x * y + z.
43579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43581         * math/libm-test.inc (fma_test): Add more tests.
43582         (fma_test_towardzero): Likewise.
43583         (fma_test_downward): Likewise.
43584         (fma_test_upward): Likewise.
43586 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43588         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43590 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43592         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43593         New variable.
43595 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43597         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43599 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43602         Fix sort order.
43603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43604         Likewise.
43606 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43609         Fix the order of the list for glibc 2.17.
43610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43611         Likewise.
43613 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43617 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43619         [BZ #14610]
43620         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43621         for low part of x being zero before using __atanl (y).
43622         * math/libm-test.inc (atan2_test): Add another test.
43624         * manual/install.texi (Configuring and compiling): Document
43625         general use of test-wrapper and test-wrapper-env.
43626         * INSTALL: Regenerated.
43628         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43629         (__fma): Do not extract and scale down low bits on after-rounding
43630         systems when result rounded to normal precision would have normal
43631         exponent.
43632         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43633         (__fmal): 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-96/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         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43641         macro.
43642         (fma_test): Add more tests.
43643         (fma_test_towardzero): Likewise.
43644         (fma_test_downward): Likewise.
43645         (fma_test_upward): Likewise.
43647 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43649         * sysdeps/i386/tininess.h: Renamed to ...
43650         * sysdeps/x86/tininess.h: This.
43651         * sysdeps/x86_64/tininess.h: Removed.
43653 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43655         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43656         input.  Use $(build-program-cmd).
43657         ($(objpfx)tst-array1-static.out): Likewise.
43658         ($(objpfx)tst-array2.out): Likewise.
43659         ($(objpfx)tst-array3.out): Likewise.
43660         ($(objpfx)tst-array4.out): Likewise.
43661         ($(objpfx)tst-array5.out): Likewise.
43662         ($(objpfx)tst-array5-static.out): Likewise.
43664 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43666         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43667         if defined.
43669         * nss/nsswitch.h (nss_interface_function): Provide new
43670         macro for use with NSS functions.
43671         * grp/initgroups.c: Use new macro.
43672         * nss/getXXbyYY.c: Likewise.
43673         * nss/getXXbyYY_r.c: Likewise.
43674         * nss/getXXent.c: Likewise.
43675         * nss/getXXent_r.c: Likewise.
43676         * sysdeps/posix/getaddrinfo.c: Likewise.
43678 2012-10-30  Andreas Jaeger  <aj@suse.de>
43680         * po/ru.po: Update Russion translation from translation project.
43682 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43684         [BZ #14152]
43685         [BZ #14783]
43686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43687         result and shift together with sticky bit instead of replicating
43688         round-to-nearest rounding.
43689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43691         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43692         missing underflow exceptions.
43693         (fma_test_towardzero): Add more tests.
43694         (fma_test_downward): Likewise.
43695         (fma_test_upward): Likewise.
43697         [BZ #14047]
43698         * sysdeps/generic/tininess.h: New file.
43699         * sysdeps/i386/tininess.h: Likewise.
43700         * sysdeps/sh/tininess.h: Likewise.
43701         * sysdeps/x86_64/tininess.h: Likewise.
43702         * stdlib/tst-strtod-underflow.c: Likewise.
43703         * stdlib/tst-tininess.c: Likewise.
43704         * stdlib/strtod_l.c: Include <tininess.h>.
43705         (round_and_return): Do not set errno for exact underflow cases.
43706         Force an underflow exception when setting errno for underflow.
43707         Determine underflow based on rounding to normal precision if
43708         TININESS_AFTER_ROUNDING.
43709         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43710         ERANGE for exact underflow cases.
43711         * stdlib/Makefile (tests): Add tst-tininess and
43712         tst-strtod-underflow.
43713         ($(objpfx)tst-tininess): Use $(link-libm).
43714         ($(objpfx)tst-strtod-underflow): Likewise.
43716 2012-10-30  Andreas Jaeger  <aj@suse.de>
43718         [BZ#14767]
43719         * elf/Makefile (tests): Remove conditional for have-initfini-array
43720         since this is now always required and the variable does not exist
43721         anymore.
43722         (tests-static): Likewise.
43723         (modules-names): Likewise.
43725         * po/eo.po: Add Esperanto translation from translation project.
43727         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43728         merged with constructor/destructor.
43729         (init_array): Likewise.
43730         * elf/tst-array2dep.c (fini_array): Likewise.
43731         (init_array): Likewise.
43733 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43735         * manual/message.texi: Delete @cartouche tags.
43737 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43739         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43740         EOPNOTSUPP.
43741         * sysdeps/mach/hurd/fsync.c: Likewise.
43743         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43744         [_POSIX_REALTIME_SIGNALS]: Change condition to
43745         [_POSIX_REALTIME_SIGNALS > 0].
43747 2012-10-27  Andreas Jaeger  <aj@suse.de>
43749         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43750         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43752         [__WORDSIZE != 64]: Likewise.
43754 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43756         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43757         *  iconvdata/tst-tables.sh: Likewise.
43759 2012-10-25  David S. Miller  <davem@davemloft.net>
43761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43762         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43763         of strtoull.
43765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43766         ifunc-impl-list.c
43767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43768         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43769         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43770         file.
43772 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43775         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43776         __getdirentries.
43778 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43779             Jim Blandy  <jimb@codesourcery.com>
43781         * scripts/cross-test-ssh.sh: New file.
43782         * manual/install.texi (Configuring and compiling): Document use of
43783         cross-test-ssh.sh.
43784         * INSTALL: Regenerated.
43786 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43788         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43789         EOPNOTSUPP.
43791 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43793         * Makeconfig (run-program-prefix): Fix comment.
43795 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43796             Jim Blandy  <jimb@codesourcery.com>
43798         * Makeconfig (test-wrapper): New variable,
43799         (test-wrapper-env): Likewise.
43800         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43801         (run-built-tests): Define to yes.
43802         (run-program-prefix): Use $(test-wrapper).
43803         (built-program-cmd): Likewise.
43804         * Rules (make-test-out): Use $(test-wrapper-env) and
43805         $(host-built-program-cmd).
43806         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43807         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43808         tst-pathopt.sh.
43809         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43810         $(test-wrapper-env) to tst-rtld-load-self.sh.
43811         ($(objpfx)order2.out): Use $(test-wrapper).
43812         ($(objpfx)tst-initorder.out): Likewise.
43813         ($(objpfx)tst-initorder2.out): Likewise.
43814         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43815         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43816         (test_wrapper_env): New variable.  Use it to run ld.so.
43817         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43818         Use it to run ld.so.
43819         (test_wrapper_env): Likewise.
43820         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43821         $(test-wrapper) to run-iconv-test.sh.
43822         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43823         (ICONV): Use $test_wrapper.
43824         * posix/Makefile ($(objpfx)globtest.out): Pass
43825         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43826         globtest.sh, not $(run-program-prefix).
43827         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43828         (test_wrapper): Likewise.
43829         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43830         set together with run_via_rtld_prefix.
43831         (run_program_prefix): Define in terms of test_wrapper and
43832         run_via_rtld_prefix.
43834 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43836         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43837         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43838         Targets removed.
43840         [BZ #14743]
43841         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43842         Declare __clock_getres, __clock_gettime, __clock_settime,
43843         __clock_nanosleep, and __clock_getcpuclockid.
43844         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43845         Remove librt_hidden_def (clock_gettime).
43846         * sysdeps/unix/clock_gettime.c: Likewise.
43847         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43848         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43849         * rt/clock_getres.c: Define __clock_getres as an alias.
43850         * sysdeps/posix/clock_getres.c: Likewise.
43851         * rt/clock_settime.c: Define __clock_settime as an alias.
43852         * sysdeps/unix/clock_settime.c: Likewise.
43853         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43854         * sysdeps/unix/clock_nanosleep.c: Likewise.
43855         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43856         * rt/clock-compat.c: New file.
43857         * rt/Makefile (librt-routines): Add clock-compat and move
43858         $(clock-routines) to ...
43859         (routines): ... here, new variable.
43860         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43861         Don't add get_clockfreq here.
43862         * rt/Versions (libc: GLIBC_2.17): New version set.
43863         Add clock_* symbols here.
43864         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43866         (GLIBC_2.17): Add clock_* symbols.
43867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43871         Likewise.
43872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43873         Likewise.
43874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43878         * NEWS: Mention the move.
43880         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43881         Use __open, __read, __close rather than their public counterparts.
43882         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43883         (__get_clockfreq_via_cpuinfo): Likewise.
43884         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43885         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43887         * config.h.in (HAVE_IFUNC): New #undef.
43888         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43889         was successful.
43890         * configure: Regenerated.
43892 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43894         * configure.in: Move READELF check to start of file.
43895         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43896         libc_cv_asm_gnu_indirect_function in the process.
43897         * configure: Regenerated.
43899 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43901         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43902         send the output to /dev/null.
43903         (libc_cv_cc_with_libunwind): Likewise.
43904         (libc_cv_as_noexecstack): Likewise.
43905         * configure: Regenerate.
43907 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43909         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43911         * posix/globtest.sh (TMPDIR): Do not set.
43912         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43913         (testout): Likewise.
43915 2012-10-24  Andreas Jaeger  <aj@suse.de>
43917         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43918         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43919         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43920         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43921         posix_fadvise64, posix_fallocate64.
43923         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43924         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43925         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43926         Likewise.
43927         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43928         Likewise.
43929         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43932         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43933         <bits/fcntl-linux.h>.
43934         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43937         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43938         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43939         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43940         [__WORDSIZE != 64]: Likewise.
43942 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43944         * Makeconfig (run-built-tests): New variable.
43945         * Rules [$(cross-compiling) = yes]: Change condition to
43946         [$(run-built-tests) = no].
43947         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43948         to [$(run-built-tests) = yes].
43949         * elf/Makefile [$(cross-compiling) = no]: Likewise
43950         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43951         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43952         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43953         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43954         * io/Makefile [$(cross-compiling) = no]: Likewise.
43955         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43956         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43957         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43958         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43959         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43960         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43961         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43962         * string/Makefile [$(cross-compiling) = no]: Likewise.
43964         * posix/Makefile ($(objpfx)globtest.out): Pass
43965         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43966         $(rtld-installed-name).
43967         * posix/globtest.sh (elf_objpfx): Remove variable.
43968         (rtld_installed_name): Likewise.
43969         (library_path): Likewise.
43970         (run_program_prefix): New variable.  Use for running globtest
43971         binary.
43973 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43974             Joseph Myers  <joseph@codesourcery.com>
43976         * Makeconfig (host-built-program-cmd): New variable.
43977         * elf/Makefile (tst-stackguard1-ARGS): Use
43978         $(host-built-program-cmd).
43979         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43980         (tst-spawn-ARGS): Likewise.
43981         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43983 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43984             Jim Blandy  <jimb@codesourcery.com>
43986         * Makeconfig (run-via-rtld-prefix): New variable.
43987         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43988         (built-program-cmd): Likewise.
43990 2012-10-22  Andreas Jaeger  <aj@suse.de>
43992         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43993         __O_RSYNC if it exists, otherwise to O_SYNC.
43995 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43996             Joseph Myers  <joseph@codesourcery.com>
43998         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43999         /dev/null.
44000         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44001         from /dev/null
44002         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44003         /dev/null.
44005 2012-10-22  Andreas Jaeger  <aj@suse.de>
44007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44008         Define always.
44009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44012         bits/fcntl-linux.h.
44014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44015         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44017         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44018         to __O_LARGEFILE.
44019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44020         to __O_LARGEFILE.
44022 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
44023             Joseph Myers  <joseph@codesourcery.com>
44025         * config.make.in (NM): New variable.
44027 2012-10-21  Andreas Jaeger  <aj@suse.de>
44029         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44030         definitions and declarations that are provided by
44031         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44033 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44035         [BZ #14683]
44036         * elf/Makefile (tests-static): Add tst-leaks1-static.
44037         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44038         ($(objpfx)tst-leaks1-static): New rule.
44039         ($(objpfx)tst-leaks1-static-mem): Likewise.
44040         (tst-leaks1-static-ENV): New macro.
44041         * elf/dl-open.c (dl_open_worker): Check the main application
44042         only if SHARED is defined.
44043         * elf/tst-leaks1-static.c: New file.
44045 2012-10-20  Andreas Jaeger  <aj@suse.de>
44047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44048         generic values for Linux.
44049         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44050         and declarations that are provided by <bits/fcntl-linux.h> and
44051         include <bits/fcntl-linux.h>.
44052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44053         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44055 2012-10-20  Roland McGrath  <roland@hack.frob.com>
44057         * io/fcntl.h: Move include of <bits/types.h> to the top and
44058         include it unconditionally.
44060 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44062         * wcsmbs/Makefile (tests-ifunc): New variable.
44063         (tests): Add $(tests-ifunc).
44064         * wcsmbs/test-wcschr-ifunc.c: New file.
44065         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44066         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44067         * wcsmbs/test-wcslen-ifunc.c: Likewise.
44068         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44069         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44071         * string/Makefile (tests-ifunc): New variable.
44072         (tests): Add $(tests-ifunc).
44073         * string/test-memccpy.c (TEST_NAME): New macro.
44074         * string/test-memchr.c (TEST_NAME): Likewise.
44075         * string/test-memcmp.c (TEST_NAME): Likewise.
44076         * string/test-memcpy.c (TEST_NAME): Likewise.
44077         * string/test-memmem.c (TEST_NAME): Likewise.
44078         * string/test-memmove.c (TEST_NAME): Likewise.
44079         * string/test-memset.c (TEST_NAME): Likewise.
44080         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44081         * string/test-stpcpy.c (TEST_NAME): Likewise.
44082         * string/test-stpncpy.c (TEST_NAME): Likewise.
44083         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44084         * string/test-strcasestr.c (TEST_NAME): Likewise.
44085         * string/test-strcat.c (TEST_NAME): Likewise.
44086         * string/test-strchr.c (TEST_NAME): Likewise.
44087         * string/test-strcmp.c(TEST_NAME): Likewise.
44088         * string/test-strcpy.c (TEST_NAME): Likewise.
44089         * string/test-strcspn.c (TEST_NAME): Likewise.
44090         * string/test-strlen.c (TEST_NAME): Likewise.
44091         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44092         * string/test-strncmp.c (TEST_NAME): Likewise.
44093         * string/test-strncpy.c (TEST_NAME): Likewise.
44094         * string/test-strnlen.c (TEST_NAME): Likewise.
44095         * string/test-strpbrk.c (TEST_NAME): Likewise.
44096         * string/test-strrchr.c (TEST_NAME): Likewise.
44097         * string/test-strspn.c (TEST_NAME): Likewise.
44098         * string/test-strstr.c (TEST_NAME): Likewise.
44099         * string/test-bcopy-ifunc.c: New file.
44100         * string/test-bzero-ifunc.c: Likewise.
44101         * string/test-memccpy-ifunc.c: Likewise.
44102         * string/test-memchr-ifunc.c: Likewise.
44103         * string/test-memcmp-ifunc.c: Likewise.
44104         * string/test-memcpy-ifunc.c: Likewise.
44105         * string/test-memmem-ifunc.c: Likewise.
44106         * string/test-memmove-ifunc.c: Likewise.
44107         * string/test-mempcpy-ifunc.c: Likewise.
44108         * string/test-memset-ifunc.c: Likewise.
44109         * string/test-rawmemchr-ifunc.c: Likewise.
44110         * string/test-stpcpy-ifunc.c: Likewise.
44111         * string/test-stpncpy-ifunc.c: Likewise.
44112         * string/test-strcasecmp-ifunc.c: Likewise.
44113         * string/test-strcasestr-ifunc.c: Likewise.
44114         * string/test-strcat-ifunc.c: Likewise.
44115         * string/test-strchr-ifunc.c: Likewise.
44116         * string/test-strchrnul-ifunc.c: Likewise.
44117         * string/test-strcmp-ifunc.c: Likewise.
44118         * string/test-strcpy-ifunc.c: Likewise.
44119         * string/test-strcspn-ifunc.c: Likewise.
44120         * string/test-strlen-ifunc.c: Likewise.
44121         * string/test-strncasecmp-ifunc.c: Likewise.
44122         * string/test-strncat-ifunc.c: Likewise.
44123         * string/test-strncmp-ifunc.c: Likewise.
44124         * string/test-strncpy-ifunc.c: Likewise.
44125         * string/test-strnlen-ifunc.c: Likewise.
44126         * string/test-strpbrk-ifunc.c: Likewise.
44127         * string/test-strrchr-ifunc.c: Likewise.
44128         * string/test-strspn-ifunc.c: Likewise.
44129         * string/test-strstr-ifunc.c: Likewise.
44131         * debug/Makefile (tests-ifunc): New variable.
44132         (tests): Add $(tests-ifunc).
44133         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44134         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44135         * debug/test-stpcpy_chk-ifunc.c: New file.
44136         * debug/test-strcpy_chk-ifunc.c: Likewise.
44138 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44140         [BZ #13601]
44141         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44142         header is not read in.
44144 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44146         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44147         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44148         directly.  Pass built executable to script as
44149         $(built-program-cmd).
44150         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44151         $testprogram without using LD_LIBRARY_PATH and $ldso.
44153         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44154         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44155         $(rtld-installed-name).
44156         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44157         (rtld_installed_name): Likewise.
44158         (library_path): Likewise.
44159         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44160         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44161         $(run-program-prefix) to tst-tables.sh.
44162         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44163         it to run tst-table-from and tst-table-to.
44164         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44165         Pass it to tst-table.sh.
44166         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44167         $(run-program-prefix) to tst-gettext.sh.
44168         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44169         tst-translit.sh.
44170         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44171         tst-gettext2.sh.
44172         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44173         to run tst-gettext.
44174         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44175         to run tst-gettext2.
44176         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44177         to run tst-translit.
44178         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44179         $(run-program-prefix) to tst-mtrace.sh.
44180         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44181         to run tst-mtrace.
44182         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44183         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44184         $(rtld-installed-name).
44185         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44186         (rtld_installed_name): Likewise.
44187         (run_program_prefix): New variable.  Use it to run wordexp-test.
44189         * Makeconfig (ARCH): Remove all definitions.
44190         (machine): Likewise.
44191         [ARCH]: Remove conditional code.
44192         [!objdir]: Give error.
44193         [!objdir] (objpfx): Remove.
44194         [!objdir] (common-objpfx): Likewise.
44195         [!objdir] (common-objdir): Likewise.
44196         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44197         AC_CONFIG_FILES call.
44198         * configure: Regenerated.
44200         [BZ #13888]
44201         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44202         or TMPDIR.
44203         (testout): Likewise.
44205         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44206         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44207         $(rtld-installed-name).
44208         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44209         (rtld_installed_name): Likwise.
44210         (runit): Remove function.
44211         (run_getconf): New variable,  Use it for running getconf binary.
44213 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44215         [BZ #14716]
44216         * string/test-memmem.c (check_result): New function.
44217         (do_one_test): Use it.
44218         (check1): New function.
44219         (test_main): Use it.
44221 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44223         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44225 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44227         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44228         (_G_LSEEK64): Likewise.
44229         (_G_MMAP64): Likewise.
44230         (_G_FSTAT64): Likewise.
44231         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44232         (_G_LSEEK64): Likewise.
44233         (_G_MMAP64): Likewise.
44234         (_G_FSTAT64): Likewise.
44235         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44236         unconditional.  Call __mmap64 directly.
44237         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44238         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44239         __lseek64 directly.
44240         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44241         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44242         __mmap64 directly.
44243         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44244         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44245         __lseek64 directly.
44246         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44247         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44248         __lseek64 directly.
44249         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44250         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44251         __lseek64 directly.
44252         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44253         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44254         __fxstat64 directly.
44255         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44256         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44257         unconditional.
44258         (freopen64) [!_G_OPEN64]: Remove conditional code.
44259         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44260         unconditional.
44261         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44262         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44263         unconditional.
44264         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44265         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44266         unconditional.
44267         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44268         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44269         unconditional.
44270         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44271         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44272         unconditional.
44273         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44274         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44275         unconditional.
44276         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44277         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44278         unconditional.
44279         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44281 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44283         [BZ #12140]
44284         * manual/memory.texi (Malloc Tunable Parameters): Add note
44285         about free list pointers overwriting some perturb bytes.
44286         Wording suggested by Roland McGrath.
44288 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44290         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44291         (lgamma_test): Likewise.
44292         (tgamma_test): Likewise.
44294 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44296         [BZ #14700]
44297         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44298         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44300 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44302         * NEWS: Mention BZ #14716.
44303         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44304         when removing AVAILABLE1_USES_J macro.
44306 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44308         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44309         (__bswap_64): __uint64_t for unsigned 64-bit int.
44311 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44313         * include/string.h (memmem): Declare libc hidden alias.
44314         * string/memmem.c (memmem): Define libc hidden alias.
44315         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44316         __read, __close instead of open, read, close.
44318 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44321         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44322         global and hidden.
44323         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44324         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44325         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44326         Likewise.
44327         (__rawmemchr_sse2): Likewise.
44328         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44329         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44330         (__strchr_sse2): Likewise.
44331         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44332         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44333         (__strcasecmp_sse2): Likewise.
44334         (__strncasecmp_sse2): Likewise.
44335         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44336         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44337         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44338         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44339         (__strrchr_sse2): Likewise.
44340         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44341         ifunc-impl-list.c.
44342         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44343         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44344         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44345         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44346         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44347         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44348         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44349         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44350         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44351         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44352         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44353         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44354         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44355         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44356         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44357         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44358         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44359         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44360         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44361         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44362         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44363         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44364         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44365         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44366         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44367         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44368         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44369         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44370         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44371         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44373         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44374         global and hidden.
44375         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44376         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44377         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44378         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44379         Likewise.
44380         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44381         Likewise.
44382         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44383         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44384         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44385         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44386         ifunc-impl-list.c.
44387         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44388         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44389         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44390         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44391         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44392         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44393         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44394         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44395         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44396         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44397         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44398         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44399         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44400         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44401         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44402         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44403         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44404         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44405         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44406         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44407         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44408         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44409         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44410         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44411         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44412         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44413         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44414         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44415         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44416         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44417         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44418         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44419         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44420         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44421         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44422         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44423         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44424         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44425         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44426         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44427         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44429         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44430         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44431         * include/ifunc-impl-list.h: New file.
44432         * misc/ifunc-impl-list.c: Likewise.
44433         * misc/Makefile (routines): Add ifunc-impl-list.
44434         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44435         * string/test-string.h: Include <ifunc-impl-list.h>.
44436         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44437         TEST_NAME]: New variables.
44438         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44439         are defined.
44440         (test_init): Call __libc_ifunc_impl_list to initialize
44441         func_list if TEST_IFUNC and TEST_NAME are defined.
44443         * string/Makefile (strop-tests): Add bcopy and bzero.
44444         * string/test-bcopy.c: New file.
44445         * string/test-bzero.c: Likewise.
44446         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44447         defined.
44448         * string/test-memset.c: Support bzero test if TEST_BZERO is
44449         defined.
44450         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44451         __libc_memmove.
44452         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44453         __libc_memset.
44454         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44455         of memset.
44457 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44459         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44460         * configure: Regenerated.
44462         * Makeconfig (+link-static-before-libc): Don't include
44463         $(link-static-libc).
44465         * libio/libio.h (_IO_pos_t): Remove.
44467 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44469         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44470         McGrath.
44472 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44474         * crypt/crypt-entry.c: Include fips-private.h.
44475         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44476         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44477         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44478         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44480 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44482         * crypt/crypt-private.h: Include stdbool.h.
44483         (_ufc_setup_salt_r): Return bool.
44484         * crypt/crypt-entry.c: Include errno.h.
44485         (__crypt_r): Return NULL with EINVAL for bad salt.
44486         * crypt/crypt_util.c (bad_for_salt): New.
44487         (_ufc_setup_salt_r): Check that salt is long enough and within
44488         the specified alphabet.
44489         * crypt/badsalttest.c: New file.
44490         * crypt/Makefile (tests): Add it.
44491         ($(objpfx)badsalttest): New.
44493 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44495         * NEWS: Add entry for BZ #14602.
44497 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44499         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44500         type-generic.
44501         * math/libm-test.inc: Update comment listing what functions and
44502         macros are tested.
44503         (isgreater_test): New function.
44504         (isgreaterequal_test): Likewise.
44505         (isless_test): Likewise.
44506         (islessequal_test): Likewise.
44507         (islessgreater_test): Likewise.
44508         (isunordered_test): Likewise.
44509         (main): Call the new functions.
44511 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44513         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44514         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44515         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44516         * sysdeps/i386/configure: Regenerated.
44517         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44518         * sysdeps/mach/configure: Regenerated.
44519         * sysdeps/mach/hurd/configure: Regenerated.
44520         * sysdeps/powerpc/configure: Regenerated.
44521         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44522         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44523         * sysdeps/s390/s390-32/configure: Regenerated.
44524         * sysdeps/s390/s390-64/configure: Regenerated.
44525         * sysdeps/sh/configure: Regenerated.
44526         * sysdeps/sparc/configure: Regenerated.
44527         * sysdeps/unix/sysv/linux/configure: Regenerated.
44528         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44529         * sysdeps/x86_64/configure: Regenerated.
44531         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44532         defined.  Don't check if MAP is NULL.
44534 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44536         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44537         (_G_stat64): Likewise.
44538         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44539         (_G_stat64): Likewise.
44540         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44541         instead of struct _G_stat64.
44542         * libio/fileops.c (mmap_remap_check): Likewise.
44543         (decide_maybe_mmap): Likewise.
44544         (_IO_new_file_seekoff): Likewise.
44545         (_IO_file_stat): Likewise.
44546         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44547         _G_off64_t.
44548         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44549         instead of struct _G_stat64.
44550         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44552 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44554         [BZ #14602]
44555         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44556         Replace with ...
44557         (CHECK_EOL): New macro.
44558         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44559         CHECK_EOL.
44560         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44561         Replace with CHECK_EOL.
44562         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44563         Replace with CHECK_EOL.
44565 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44567         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44568         type-generic.
44569         * math/libm-test.inc: Update comment listing what functions and
44570         macros are tested.
44571         (finite_test): New function.
44572         (isinf_test): Likewise.
44573         (isnan_test): Likewise.
44574         (fpclassify_test): Test subnormal input.
44575         (isfinite_test): Likewise.
44576         (isnormal_test): Likewise.
44577         (main): Call the new functions.
44579 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44581         [BZ #14660]
44582         * Makerules (%.dynsym): Force C locale when running
44583         $(OBJDUMP) --dynamic-syms.
44585 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44587         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44588         <stdint.h>.
44590 2012-10-06  David S. Miller  <davem@davemloft.net>
44592         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44593         upper 32-bits of the length value in %o2 since we use branch-on-register
44594         tests which consider the entire 64-bit register.
44596 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44598         * string/test-strstr.c (check2): Add a test for page boundary.
44600 2012-10-05  David S. Miller  <davem@davemloft.net>
44602         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44603         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44604         file.
44605         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44606         sysdep_routines.
44607         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44608         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44609         and bzero when HWCAP_SPARC_CRYPTO is present.
44611 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44613         [BZ #14602]
44614         * string/test-strstr.c (check2): New function.
44615         (test_main): Call check2.
44617         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44618         and bug-strchr1.
44619         * string/bug-strcasestr1.c (do_test): Moved to ...
44620         * string/test-strcasestr.c (check1): Here.  New function.
44621         (do_one_test): Break out result checking code into ...
44622         (check_result): This.  New function.
44623         (do_one_test): Call check_result.
44624         (test_main): Call check1.
44625         * string/bug-strchr1.c (do_test): Moved to ...
44626         * string/test-strchr.c (check1): Here.  New function.
44627         (do_one_test): Break out result checking code into ...
44628         (check_result): This.  New function.
44629         (do_one_test): Call check_result.
44630         (test_main): Call check1.
44631         * string/bug-strstr1.c (main): Moved to ...
44632         * string/test-strstr.c (check1): Here.  New function.
44633         (do_one_test): Break out result checking code into ...
44634         (check_result): This.  New function.
44635         (do_one_test): Call check_result.
44636         (test_main): Call check1.
44637         * string/bug-strcasestr1.c: Removed.
44638         * string/bug-strchr1.c: Likewise.
44639         * string/bug-strstr1.c: Likewise.
44641         * elf/Makefile (dl-routines): Add hwcaps.
44642         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44643         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44644         (_dl_important_hwcaps): Moved to ...
44645         * elf/dl-hwcaps.c: Here.  New file.
44646         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44648         [BZ #14557]
44649         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44650         if IS_IN_rtld isn't defined.
44652         * elf/dl-support.c (_dl_sysinfo_map): New.
44653         Include "get-dynamic-info.h" and "setup-vdso.h".
44654         (_dl_non_dynamic_init): Call setup_vdso.
44655         * elf/dynamic-link.h: Don't include <assert.h>.
44656         (elf_get_dynamic_info): Moved to ...
44657         * elf/get-dynamic-info.h: Here.  New file.
44658         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44659         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44660         * elf/setup-vdso.h: Here.  New file.
44661         * elf/rtld.c: Include "setup-vdso.h".
44662         (dl_main): Call setup_vdso.
44664 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44666         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44667         creal in comment listing functions tested.  List finite, isinf,
44668         isnan, isless, islessequal, isgreater, isgreaterequal,
44669         islessgreater, isunordered, lgamma_r and pow10 as functions and
44670         macros not tested.  Mention which functions not tested are aliases
44671         for other functions.  Fix typo.  Note that signs of NaNs are not
44672         tested.
44674         * scripts/config.guess: Update from config.git.
44675         * scripts/config.sub: Likewise.
44677 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44679         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44680         * misc/madvise.c (madvise): Renamed to __madvise.
44681         Make madvise a weak alias.
44682         * include/sys/mman.h: Declare __madvise.
44683         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44684         * sysdeps/unix/syscalls.list
44685         (madvise): Make __madvise the strong name, and madvise a weak alias.
44686         * sysdeps/unix/sysv/linux/syscalls.list
44687         (madvise, mmap): Remove redundant entries.
44688         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44689         * malloc/malloc.c (mtrim): Likewise.
44690         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44692 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44694         * sysdeps/mach/hurd/dl-cache.c: File removed.
44695         * config.h.in (USE_LDCONFIG): New #undef.
44696         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44697         * configure: Regenerated.
44698         * elf/Makefile (dl-routines): Add dl-cache only under
44699         [$(use-ldconfig) = yes].
44700         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44701         cache on [USE_LDCONFIG].
44702         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44703         [USE_LDCONFIG].
44704         * elf/rtld.c (dl_main): Likewise.
44706 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44708         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44709         _SC_LEVEL4_CACHE_LINESIZE.
44711 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44713         * sysdeps/unix/bsd/confstr.h: File removed.
44715 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44717         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44718         sys/sdt-config.h.
44720 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44722         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44723         Make 'mapoff' field ElfW(Off) rather than off_t.
44725 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44727         * nscd/Makefile: Remove nscd-cflags and all its users.
44728         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44729         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44731         [BZ #10631]
44732         * malloc.c (malloc_printerr): Clarify error message.
44734 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44736         [BZ #14648]
44737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44738         Set bit_FMA_Usable if FMA is supported.
44739         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44740         macro.
44741         (bit_FMA4_Usable): Updated.
44742         (index_FMA_Usable): New macro.
44743         (CPUID_FMA): Likewise
44744         (HAS_FMA): Defined with bit_FMA_Usable.
44746 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44748         * bits/types.h (__swblk_t): Type removed.
44749         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44750         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44752         (__SWBLK_T_TYPE): Likewise.
44753         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44754         (__SWBLK_T_TYPE): Likewise.
44755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44756         (__SWBLK_T_TYPE): Likewise.
44757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44758         (__SWBLK_T_TYPE): Likewise.
44760 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44761             Honza Horak <hhorak@redhat.com>
44763         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44764         (xdr_mapname): Use YPMAXMAP as maxsize.
44765         (xdr_peername): Use YPMAXPEER as maxsize.
44766         (xdr_keydat): Use YPAXRECORD as maxsize.
44767         (xdr_valdat): Use YPMAXRECORD as maxsize.
44769 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44771         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44773         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44774         * csu/init-first.c: ... here.
44775         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44776         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44777         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44778         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44779         * sysdeps/i386/init-first.c: File removed.
44780         * sysdeps/sh/init-first.c: File removed.
44782 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44784         [BZ #14645]
44785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44786         if x * y might underflow to zero and z is zero.
44787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44789         * math/libm-test.inc (min_subnorm_value): New variable.
44790         (fma_test): Add more tests.
44791         (fma_test_towardzero): Likewise.
44792         (fma_test_downward): Likewise
44793         (fma_test_upward): Likewise.
44794         (initialize): Set min_subnorm_value.
44796 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44798         [BZ #14638]
44799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44800         0 + 0.
44801         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44802         mode for addition resulting in exact zero.
44803         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44805         exact 0 + 0.
44806         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44807         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44808         * math/libm-test.inc (fma_test): Add more tests.
44809         (fma_test_towardzero): New function.
44810         (fma_test_downward): Likewise.
44811         (fma_test_upward): Likewise.
44812         (main): Call the new functions.
44814 2012-09-28  David S. Miller  <davem@davemloft.net>
44816         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44818 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44820         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44821         instead of SIGALRM.
44823         * sysdeps/gnu/_G_config.h: Moved to ...
44824         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44825         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44826         * sysdeps/generic/_G_config.h: ... here.
44828         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44830         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44832         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44833         Conditionalize target on [libnss_test1.so-version].
44835         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44837         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44838         (elfobjdir): Move out of conditionals.
44840         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44841         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44842         (__nss_lookup_function): Conditionalize label remove_from_tree on
44843         [!DO_STATIC_NSS || SHARED], matching its only use.
44845 2012-09-28  David S. Miller  <davem@davemloft.net>
44847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44848         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44849         file.
44850         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44851         sysdep_routines.
44852         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44854         when HWCAP_SPARC_CRYPTO is present.
44856 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44858         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44860 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44862         [BZ #6530]
44863         * stdio-common/vfprintf.c (process_string_arg): Revert
44864         2000-07-22 change.
44866 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44868         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44869         for testcase.
44870         * stdio-common/tst-sprintf.c: Include <locale.h>
44871         (main): Test sprintf's handling of incomplete multibyte
44872         characters.
44874 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44876         * elf/dl-runtime.c (VERSYMIDX): Removed.
44877         * elf/dl-version.c (VERSYMIDX): Likewise.
44878         * elf/do-rel.h (VERSYMIDX): Likewise.
44879         (VALIDX): Likewise.
44880         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44881         * elf/rtld.c (VALIDX): Likewise.
44882         (ADDRIDX): Likewise.
44883         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44884         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44885         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44886         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44887         (VALIDX): Likewise.
44888         (ADDRIDX): Likewise.
44890 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44892         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44894 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44896         [BZ #11438]
44897         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44898         to global scope.
44899         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44900         addresses are in the same scope as 192.0.2/24.
44901         * posix/gai.conf: Document new scope table defaults.
44903 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44905         [BZ #5298]
44906         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44907         for ftell.  Compute offsets from write pointers instead.
44908         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44910 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44912         [BZ #14543]
44913         * libio/Makefile (tests): New test case tst-fseek.
44914         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44915         combination works in wide mode.
44916         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44917         state when the external buffer state changes.
44919 2012-09-27  David S. Miller  <davem@davemloft.net>
44921         [BZ #14376]
44922         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44923         pass reloc->r_addend in as the 'high' argument to
44924         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44928 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44930         * rt/tst-aio2.c: Include <pthread.h>.
44931         * rt/tst-aio3.c: Likewise.
44933 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44935         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44937 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44939         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44940         contents on [SHARED].
44942 2012-09-26  Marek Polacek  <polacek@redhat.com>
44944         [BZ #14530]
44945         [BZ #13741]
44946         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44947         for C++ and GCC <4.3 as well as for non GCC compilers.
44949 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44953 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44955         * Makefile.in (all, install): Declare with .PHONY.
44956         Reported by Michael Hope <michael.hope@linaro.org>.
44958 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44960         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44961         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44962         system header.
44963         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44964         Likewise.
44965         (sydep_routines): Add the new and the internal functions.
44966         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44967         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44969         (GLIBC_2.17): Add the new function.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44971         (GLIBC_2.17): Likewise.
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44973         (GLIBC_2.17): Likewise.
44974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44975         (GLIBC_2.17): Likewise.
44976         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44978 2012-09-25  Alan Modra  <amodra@gmail.com>
44980         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44981         Add release barrier before setting once_control to say
44982         initialisation is done.  Add hints on lwarx.  Use macro in
44983         place of isync.
44984         (clear_once_control): Add release barrier.
44986 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44988         [BZ #13629]
44989         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44990         specially.
44991         * math/s_clog10.c (__clog10): Likewise.
44992         * math/s_clog10f.c (__clog10f): Likewise.
44993         * math/s_clog10l.c (__clog10l): Likewise.
44994         * math/s_clogf.c (__clogf): Likewise.
44995         * math/s_clogl.c (__clogl): Likewise.
44996         * math/Makefile (libm-calls): Add x2y2m1.
44997         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44998         (__x2y2m1): Likewise.
44999         (__x2y2m1l): Likewise.
45000         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45001         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45002         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45004         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45005         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45006         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45007         * sysdeps/i386/fpu/libm-test-ulps: Update.
45008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45010         [BZ #14621]
45011         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45012         int as type of variable DEPTH.
45013         (glob): Use size_t instead of int as type of variables NEWCOUNT
45014         and OLD_PATHC.
45016 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45018         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45019         Add s_sincosf-sse2.
45020         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45021         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45022         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45023         macros for using routine as __sincosf_ia32.
45024         Use macro for function declaration and weak_alias.
45025         * sysdeps/i386/fpu/libm-test-ulps: Update.
45027         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45030         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45031         subnormal argument.
45032         * math/s_cexpf.c (__cexpf): Likewise.
45033         * math/s_csinf.c (__csinf): Likewise.
45034         * math/s_csinhf.c (__csinhf): Likewise.
45035         * math/s_ctanf.c (__ctanf): Likewise.
45036         * math/s_ctanhf.c (__ctanhf): Likewise.
45037         * math/s_ccosh.c (__ccoshf): Likewise.
45038         * math/s_cexp.c (__cexpl): Likewise.
45039         * math/s_csin.c (__csin): Likewise.
45040         * math/s_csinh.c (__csinh): Likewise.
45041         * math/s_ctan.c (__ctan): Likewise.
45042         * math/s_ctanh.c (ctanh): Likewise.
45043         * math/s_ccoshl.c (__ccoshl): Likewise.
45044         * math/s_cexpl.c (__cexpl): Likewise.
45045         * math/s_csinl.c (__csinl): Likewise.
45046         * math/s_csinhl.c (__csinhl): Likewise.
45047         * math/s_ctanl.c (__ctanl): Likewise.
45048         * math/s_ctanhl.c (__ctanhl): Likewise.
45050 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45052         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45053         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45054         (_IO_off_t): Define to __off_t, not _G_off_t.
45055         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45056         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45057         (_IO_wint_t): Define to wint_t, not _G_wint_t.
45058         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45059         type of __dummy and __dummy2 fields.
45060         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45061         (_G_ssize_t): Likewise.
45062         (_G_off_t): Likewise.
45063         (_G_pid_t): Likewise.
45064         (_G_uid_t): Likewise.
45065         (_G_wchar_t): Likewise.
45066         (_G_wint_t): Likewise.
45067         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45068         (_G_ssize_t): Likewise.
45069         (_G_off_t): Likewise.
45070         (_G_pid_t): Likewise.
45071         (_G_uid_t): Likewise.
45072         (_G_wchar_t): Likewise.
45073         (_G_wint_t): Likewise.
45074         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45075         (_G_ssize_t): Likewise.
45076         (_G_off_t): Likewise.
45077         (_G_pid_t): Likewise.
45078         (_G_uid_t): Likewise.
45079         (_G_wchar_t): Likewise.
45080         (_G_wint_t): Likewise.
45082 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45084         * malloc/arena.c: Include malloc-sysdep.h.
45085         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45086         is sufficient to shrink the heap or an unmap is needed.
45087         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45088         new function check_may_shrink_heap.
45089         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45090         new function check_may_shrink_heap.
45092 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45094         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45095         comments.
45097 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45099         * catgets/test-gencat.sh: Add "set -e".
45100         * elf/tst-pathopt.sh: Likewise.
45101         * grp/tst_fgetgrent.sh: Likewise.
45102         * iconvdata/run-iconv-test.sh: Likewise.
45103         * intl/tst-gettext.sh: Likewise.
45104         * intl/tst-gettext2.sh: Likewise.
45105         * intl/tst-gettext4.sh: Likewise.
45106         * intl/tst-gettext6.sh: Likewise.
45107         * intl/tst-translit.sh: Likewise.
45108         * io/ftwtest-sh: Likewise.
45109         * libio/test-freopen.sh: Likewise.
45110         * malloc/tst-mtrace.sh: Likewise.
45111         * posix/globtest.sh: Likewise.
45112         * posix/tst-getconf.sh: Likewise.
45113         * posix/wordexp-tst.sh: Likewise.
45114         * stdio-common/tst-printf.sh: Likewise.
45115         * stdio-common/tst-unbputc.sh: Likewise.
45116         * stdlib/tst-fmtmsg.sh: Likewise.
45117         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45118         * catgets/Makefile: Do not specify -e option when running
45119         testsuite shell scripts.
45120         * elf/Makefile: Likewise.
45121         * grp/Makefile: Likewise.
45122         * iconvdata/Makefile: Likewise.
45123         * intl/Makefile: Likewise.
45124         * io/Makefile: Likewise.
45125         * libio/Makefile: Likewise.
45126         * malloc/Makefile: Likewise.
45127         * posix/Makefile: Likewise.
45128         * stdio-common/Makefile: Likewise.
45129         * stdlib/Makefile: Likewise.
45130         * sysdeps/x86_64/Makefile: Likewise.
45132         * io/ftwtest-sh: Add copyright header.
45133         * posix/globtest.sh: Likewise.
45134         * posix/tst-getconf.sh: Likewise.
45135         * posix/wordexp-tst.sh: Likewise.
45136         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45138 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45140         [BZ #13679]
45141         * Makeconfig (+link): Defined as $(+link-static) if
45142         $(build-shared) isn't yes.
45143         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45144         isn't yes.
45145         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45147         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45149         [BZ #14562]
45150         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45151         new chunk size with MALLOC_ALIGN_MASK.
45153 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45155         [BZ #5044]
45156         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45157         <rounding-mode.h>.
45158         (__printf_fphex): Determine rounding using get_rounding_mode and
45159         round_away.
45160         * stdio-common/tst-printf-round.c (struct hex_test): New
45161         structure.
45162         (hex_tests): New variable.
45163         (test_hex_in_one_mode): New function.
45164         (do_test): Also run tests for hex float output.
45166 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45168         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45169         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45170         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45171         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45172         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45173         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45174         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45175         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45177 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45179         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45180         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45181         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45182         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45184 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45186         [BZ #14579]
45187         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45188         mode only.
45189         * elf/tst-rtld-load-self.sh: New test.
45190         * elf/Makefile: Run it.
45192 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45194         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45195         (tst-writev-ENV): Remove.
45196         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45198 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45200         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45202 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45204         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45205         unconditional.
45206         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45207         Likewise.
45208         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45209         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45210         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45211         Likewise.
45213 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45215         [BZ #14587]
45216         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45217         * config.make.in (have-cpp-asm-debuginfo): Removed.
45218         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45219         * configure: Regenerated.
45221 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45223         [BZ #5044]
45224         * stdio-common/printf_fp.c: Include <stdbool.h> and
45225         <rounding-mode.h>.
45226         (___printf_fp): Determine rounding using get_rounding_mode and
45227         round_away.
45228         * stdio-common/tst-printf-round.c: New file.
45229         * stdio-common/Makefile (tests): Add tst-printf-round.
45230         (link-libm): New variable.
45231         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45233 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45235         [BZ #14576]
45236         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45237         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45238         Likewise.
45239         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45240         Likewise.
45242 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45244         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45245         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45246         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45247         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45249 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45251         [BZ #14518]
45252         * include/rounding-mode.h: New file.
45253         * sysdeps/generic/get-rounding-mode.h: Likewise.
45254         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45255         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45256         (MAX_VALUE): New macro.
45257         (MIN_VALUE): Likewise.
45258         (overflow_value): New function.
45259         (underflow_value): Likewise.
45260         (round_and_return): Use overflow_value and underflow_value to
45261         determine return values in overflow and underflow cases.  Use
45262         round_away to determine rounding depending on rounding mode.
45263         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45264         determine return values in overflow and underflow cases.
45265         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45266         (struct test_results): New structure.
45267         (struct test): Use struct test_results to store expected results
45268         for all rounding modes.
45269         (TEST): Include expected results for all rounding modes.
45270         (test_in_one_mode): New function.
45271         (do_test): Use test_in_one_mode to compute and check results.
45272         Check results for all rounding modes.
45273         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45274         $(link-libm).
45276 2012-12-09  Allan McRae  <allan@archlinux.org>
45278         * sysdeps/i386/fpu/libm-test-ulps: Update
45280 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45282         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45283         (_G_int32_t): Likewise.
45284         (_G_uint16_t): Likewise.
45285         (_G_uint32_t): Likewise.
45286         (_G_HAVE_BOOL): Likewise.
45287         (_G_HAVE_ATEXIT): Likewise.
45288         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45289         (_G_HAVE_IO_FILE_OPEN): Likewise.
45290         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45291         (_G_int32_t): Likewise.
45292         (_G_uint16_t): Likewise.
45293         (_G_uint32_t): Likewise.
45294         (_G_HAVE_BOOL): Likewise.
45295         (_G_HAVE_ATEXIT): Likewise.
45296         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45297         (_G_HAVE_IO_FILE_OPEN): Likewise.
45298         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45299         (_G_int32_t): Likewise.
45300         (_G_uint16_t): Likewise.
45301         (_G_uint32_t): Likewise.
45302         (_G_HAVE_BOOL): Likewise.
45303         (_G_HAVE_ATEXIT): Likewise.
45304         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45305         (_G_HAVE_IO_FILE_OPEN): Likewise.
45307 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45309         * csu/libc-tls.c: Update copyright years.
45311 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45313         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45314         [!_G_USING_THUNKS]: Remove conditional code.
45315         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45316         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45318         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45319         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45320         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45321         (_G_VTABLE_LABEL_PREFIX): Likewise.
45322         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45323         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45324         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45325         (_G_VTABLE_LABEL_PREFIX): Likewise.
45326         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45327         * sysdeps/mach/hurd/_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.
45332 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45334         * libio/Makefile: Include ../Makeconfig before tests.
45335         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45336         only if $(build-shared) is yes.
45338         * iconv/gconv_db.c: Update copyright years.
45340 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45342         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45343         unwind info if defined PIC. Fix special cases description.
45344         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45346         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45347         DP_HI_MASK entry.
45348         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45350 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45352         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45354         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45355         is NULL.
45357         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45358         (LDLIBS-tst-chk4): This.
45359         (LDFLAGS-tst-chk5): Renamed to ...
45360         (LDLIBS-tst-chk5): This.
45361         (LDFLAGS-tst-chk6): Renamed to ...
45362         (LDLIBS-tst-chk6): This.
45363         (LDFLAGS-tst-lfschk4): Renamed to ...
45364         (LDLIBS-tst-lfschk4): This.
45365         (LDFLAGS-tst-lfschk5): Renamed to ...
45366         (LDLIBS-tst-lfschk5): This.
45367         (LDFLAGS-tst-lfschk6): Renamed to ...
45368         (LDLIBS-tst-lfschk6): This.
45370         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45371         on $(common-objpfx)soversions.mk.
45373 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45375         [BZ #10014]
45376         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45377         example host name.
45379 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45381         * malloc/arena.c (arena_get_retry): New function that gets
45382         another arena for the caller to try its request on.
45383         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45384         current arena cannot fulfill the request.
45385         (__libc_memalign): Likewise.
45386         (__libc_memalign): Likewise.
45387         (__libc_pvalloc): Likewise.
45388         (__libc_calloc): Likewise.
45390 2012-09-05  John Tobey  <john.tobey@gmail.com>
45392         [BZ #13542]
45393         * manual/arith.texi (Operations on Complex): Fix description
45394         of carg branch cut.
45396 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45398         [BZ #10014]
45399         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45400         host name.
45402         [BZ #10038]
45403         * manual/memory.texi (Memory): Make order of menu items match
45404         order of sections.
45406 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45408         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45409         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45410         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45412 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45414         * csu/libc-tls.c (static_dtv): Renamed to ...
45415         (_dl_static_dtv): This.  Make it global.
45416         (_dl_initial_dtv): Removed.
45417         (__libc_setup_tls): Updated.
45418         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45419         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45420         DL_INITIAL_DTV.
45422 2012-09-06  Petr Machata  <pmachata@redhat.com>
45424         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45425         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45426         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45427         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45429 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45431         [BZ #14545]
45432         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45433         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45434         freeing dtv[-1].
45436 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45438         [BZ #14544]
45439         * Makeconfig (link-static-before-libc): Replace $(+prector)
45440         with $(+prectorT).
45441         (link-static-after-libc): Replace $(+postctor) with
45442         $(+postctorT).
45443         (link-bounded): Replace $(+prector)/$(+postctor) with
45444         $(+prectorT)/$(+postctorT).
45445         (+prectorT): New macro.
45446         (+postctorT): Likewise.
45448 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45450         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45451         (round_str): Handle values above the maximum for IBM long double
45452         as inexact.
45453         * stdlib/tst-strtod-round.c (tests): Regenerated.
45455 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45457         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45458         assembler flag.
45459         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45460         zarch_nohighgprs around the zarch optimized routines.
45461         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45462         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45463         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45464         for zarch.
45466 2012-09-05  David S. Miller  <davem@davemloft.net>
45468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45470         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45471         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45472         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45473         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45474         entries.
45476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45478         * malloc/arena.c: Fold copyright years.
45479         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45481 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45483         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45485 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45487         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45489 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45491         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45492         change internal state upon failure.
45494 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45496         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45497         * malloc/memusage.c (mmap): Likewise.
45498         (mmap64, mremap): Likewise.  Adjust name in comment.
45500 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45502         * libio/fileops.c: Fix typos in comments.
45503         * libio/oldfileops.c: Likewise.
45504         * libio/wfileops.c: Likewise.
45506 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45508         [BZ #1349]
45509         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45510         (tst-malloc-usable-ENV): Set environment for test case.
45511         * malloc/hooks.c (malloc_check_get_size): New function to get
45512         requested size.
45513         * malloc/malloc.c (musable): Use malloc_check_get_size.
45514         * malloc/tst-malloc-usable.c: New test case.
45516 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45518         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45520 2012-09-05  Allan McRae  <allan@archlinux.org>
45522         [BZ #13966]
45523         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45524         determine header location.
45525         * configure: Regenerated.
45527 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45529         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45530         float format.
45531         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45532         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45533         format.
45534         (test): Regenerate.
45536 2012-09-04  David S. Miller  <davem@davemloft.net>
45538         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45539         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45540         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45542 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45544         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45545         failures.
45547         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45549 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45551         [BZ #9914]
45552         * libio/iogetdelim.c: Include <limits.h>.
45553         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45554         + len + 1 would overflow.
45556 2012-09-03  Andreas Jaeger  <aj@suse.de>
45558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45559         * sysdeps/i386/fpu/libm-test-ulps: Update.
45561 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45563         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45564         Add s_sinf-sse2, s_conf-sse2.
45566         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45567         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45568         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45569         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45571         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45572         for using routine as __sinf_ia32.
45573         Use macro for function declaration and weak_alias.
45574         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45575         for using routine as __cosf_ia32.
45576         Use macro for function declaration and weak_alias.
45578         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45579         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45581         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45582         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45585         * math/libm-test.inc (cos_test): Add more test cases.
45586         (sin_test): Likewise.
45587         (sincos_test): Likewise.
45589 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45592         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45593         hidden.
45594         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45596 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45598         [BZ #14538]
45599         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45600         first element of the GOT.
45601         (elf_machine_load_address): Return the difference between
45602         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45604 2012-09-01  Allan McRae  <allan@archlinux.org>
45606         [BZ #13412]
45607         * configure.in (AWK): Require gawk version 3.0 or later.
45608         * configure: Regenerated.
45610 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45612         * sysdeps/unix/sysv/linux/kernel-features.h
45613         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45614         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45615         [__NR_clock_getres]: Make code unconditional.
45616         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45617         (clock_getcpuclockid): Remove code left unreachable by removal of
45618         conditionals.
45619         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45620         code unconditional.
45621         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45622         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45623         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45624         Make code unconditional.
45625         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45626         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45627         * sysdeps/unix/sysv/linux/clock_settime.c
45628         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45629         conditional code.
45630         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45631         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45633 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45635         [BZ #14476]
45636         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45637         scripts/test-installation.pl.
45639         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45640         and $ld_so_version if it is set.
45642 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45644         [BZ #14516]
45645         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45646         failure if reading from procfs failed.
45647         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45649 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45651         * sysdeps/unix/sysv/linux/kernel-features.h
45652         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45653         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45654         Remove conditional code.
45655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45656         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45657         Remove conditional code.
45658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45659         * sysdeps/unix/sysv/linux/i386/fxstat.c
45660         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45662         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45663         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45665         * sysdeps/unix/sysv/linux/i386/lxstat.c
45666         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45668         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45669         Remove conditional code.
45670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45671         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45672         Remove conditional code.
45673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45674         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45675         <kernel-features.h>.
45676         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45677         Remove.
45678         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45679         Remove conditional code.
45680         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45681         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45682         Remove conditional.
45684 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45686         [BZ #5400]
45687         * NEWS: Add fixed bug number.
45689 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45691         [BZ #14519]
45692         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45693         underflowing exponent in case of negative sign.
45694         * stdlib/tst-strtod-round-data: Add more tests.
45695         * stdlib/tst-strtod-round.c (tests): Regenerated.
45697         [BZ #3479]
45698         * stdlib/strtod_l.c (NDIG): Remove.
45699         (HEXNDIG): Likewise.
45700         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45701         smallest representable value.
45702         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45703         lie within an exact representation of 1/2 ulp of the result.
45704         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45705         unconditionally.
45706         (TENS_P9_IDX): Define unconditionally.
45707         (TENS_P9_SIZE): Likewise.
45708         (TENS_P10_IDX): Likewise.
45709         (TENS_P10_SIZE): Likewise.
45710         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45711         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45712         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45713         entries for 10^2^13 and 10^2^14.
45714         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45715         (TENS_P13_IDX): Define.
45716         (TENS_P13_SIZE): Likewise.
45717         (TENS_P14_IDX): Likewise.
45718         (TENS_P14_SIZE): Likewise.
45719         (_fpioconst_pow10): Change array size to
45720         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45721         unconditional.
45722         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45723         1024]: Add entries for 10^2^13 and 10^2^14.
45724         [LAST_POW10 > _LAST_POW10]: Remove #error.
45725         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45726         (_fpioconst_pow10): Change array size to
45727         FPIOCONST_POW10_ARRAY_SIZE.
45728         * stdlib/gen-fpioconst.c: New file.
45729         * stdlib/gen-tst-strtod-round.c: Likewise.
45730         * stdlib/tst-strtod-round-data: Likewise.
45731         * stdlib/tst-strtod-round.c: Likewise.
45732         * stdlib/Makefile (tests): Add tst-strtod-round.
45734         [BZ #14459]
45735         * stdlib/strtod_l.c: Include <stdint.h>.
45736         (NDEBUG): Do not define.
45737         (round_and_return): Change EXPONENT parameter to type intmax_t.
45738         Rearrange calculations to avoid internal overflow possibilities.
45739         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45740         Rearrange calculations to avoid internal overflow possibilities.
45741         Assert that number fits inside MPNSIZE limbs.
45742         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45743         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45744         calculations and add assertions to avoid internal overflow
45745         possibilities.  Add casts to avoid signed/unsigned operations.
45746         * stdlib/tst-strtod-overflow.c: New file.
45747         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45749 2012-08-25  Marek Polacek  <polacek@redhat.com>
45751         * time/time.h: Fix some typos in comments.
45753 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45755         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45756         * posix/tst-rfc3484-2.c: Likewise.
45757         * posix/tst-rfc3484-3.c: Likewise.
45759 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45761         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45762         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45764 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45766         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45767         #include of fxstatat64.c.
45769 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45771         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45772         * shadow/getspent_r.c: Likewise.
45773         * shadow/getspnam.c: Likewise.
45774         * shadow/getspnam_r.c: Likewise.
45775         * gshadow/getsgent.c: Likewise.
45776         * gshadow/getsgent_r.c: Likewise.
45777         * gshadow/getsgnam.c: Likewise.
45778         * gshadow/getsgnam_r.c: Likewise.
45779         * inet/getnetbyad.c: Likewise.
45780         * inet/getnetbyad_r.c: Likewise.
45781         * inet/getnetbynm.c: Likewise.
45782         * inet/getnetbynm_r.c: Likewise.
45783         * inet/getnetent.c: Likewise.
45784         * inet/getnetent_r.c: Likewise.
45785         * inet/getproto.c: Likewise.
45786         * inet/getproto_r.c: Likewise.
45787         * inet/getprtent.c: Likewise.
45788         * inet/getprtent_r.c: Likewise.
45789         * inet/getprtname.c: Likewise.
45790         * inet/getprtname_r.c: Likewise.
45791         * inet/getrpcbyname.c: Likewise.
45792         * inet/getrpcbyname_r.c: Likewise.
45793         * inet/getrpcbynumber.c: Likewise.
45794         * inet/getrpcbynumber_r.c: Likewise.
45795         * inet/getrpcent.c: Likewise.
45796         * inet/getrpcent_r.c: Likewise.
45797         * inet/getaliasent.c: Likewise.
45798         * inet/getaliasent_r.c: Likewise.
45799         * inet/getaliasname.c: Likewise.
45800         * inet/getaliasname_r.c: Likewise.
45801         * nscd/getgrgid_r.c: Likewise.
45802         * nscd/getgrnam_r.c: Likewise.
45803         * nscd/gethstbyad_r.c: Likewise.
45804         * nscd/gethstbynm3_r.c: Likewise.
45805         * nscd/getpwnam_r.c: Likewise.
45806         * nscd/getpwuid_r.c: Likewise.
45807         * nscd/getsrvbynm_r.c: Likewise.
45808         * nscd/getsrvbypt_r.c: Likewise.
45809         * nscd/gai.c: Likewise.
45811         * configure.in (build_nscd): New substituted variable, set
45812         by --disable-build-nscd and defaults to $use_nscd.
45813         * configure: Regenerated.
45814         * config.make.in (build-nscd): New substituted variable.
45815         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45816         Change conditional to require [$(build-nscd) = yes] as well.
45817         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45819         [BZ# 13696]
45820         * configure.in (use_nscd): New substituted variable, set by
45821         --disable-nscd.  If enabled, define USE_NSCD.
45822         * configure: Regenerated.
45823         * config.h.in: Add USE_NSCD.
45824         * config.make.in (use-nscd): New substituted variable.
45825         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45826         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45827         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45828         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45829         (CFLAGS-getgrnam_r.c): Likewise.
45830         (CFLAGS-initgroups.c): Likewise.
45831         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45832         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45833         Variables removed.
45834         * inet/getnetgrent_r.c
45835         (nscd_setnetgrent): New function, broken out of ...
45836         (setnetgrent): ... here.  Call it.
45837         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45838         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45839         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45840         * nscd/Makefile (routines, aux): Move definitions after include of
45841         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45842         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45843         Conditionalize on [USE_NSCD].
45844         (is_nscd, nscd_init_cb): Likewise.
45845         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45846         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45847         * nss/nss_db/db-init.c: Likewise.
45848         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45849         [USE_NSCD].
45850         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45851         (make_request): Use it.
45852         (cache_valid_p): New function.
45853         (__check_pf): Use it.
45854         * NEWS: Add item for --disable-nscd.
45856 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45858         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45859         to support sed >= 4.2.1-20-ga9bf076.
45860         * configure: Regenerated.
45862 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45864         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45865         Conditionalize whole body on [IREL].
45867 2012-08-22  Jeff Law <law@redhat.com>
45869         [BZ #14505]
45870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45871         if the family is PF_UNSPEC.
45873 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45875         * Makerules (lib-version): Rename from V.
45876         (install-lib-nosubdir): Change V to lib-version.
45878 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45880         [BZ #14252]
45881         * powerpc32/power6/wcschr.c: New file.
45882         * powerpc32/power6/wcscpy.c: New file.
45883         * powerpc32/power6/wcsrchr.c: New file.
45884         * powerpc64/power6/wcschr.c: New file.
45885         * powerpc64/power6/wcscpy.c: New file.
45886         * powerpc64/power6/wcsrchr.c: New file.
45888 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45890         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45891         (two_way_short_needle): Use it.
45892         * string/strstr.c (AVAILABLE1_USES_J): Define.
45893         * string/strcasestr.c: Likewise.
45895         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45896         array references.
45897         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45899         [BZ #11607]
45900         * NEWS: Add an entry.
45901         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45902         define their defaults.
45903         (two_way_short_needle): Detect end-of-string on-the-fly.
45904         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45905         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45906         * string/bug-strcasestr1.c: New test.
45907         * string/Makefile: Run it.
45909 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45911         [BZ #11607]
45912         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45913         the first character.
45915 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45917         * csu/elf-init.c (__libc_csu_irel): Function removed.
45918         * csu/libc-start.c (apply_irel): New function.
45919         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45921 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45923         * sysdeps/unix/sysv/linux/kernel-features.h
45924         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45925         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45926         <kernel-features.h>.
45927         [__NR_fadvise64_64]: Make code unconditional.
45928         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45929         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45930         !__NR_fadvise64_64)]: Likewise.
45931         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45932         !__NR_fadvise64_64))]: Likewise.
45933         [__NR_fadvise64]: Make code unconditional.
45934         [!__NR_fadvise64]: Remove conditional code.
45935         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45936         <kernel-features.h>.
45937         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45938         unconditional.
45939         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45940         conditional code.
45941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45942         not include <kernel-features.h>.
45943         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45944         unconditional.
45945         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45946         conditional code.
45947         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45948         include <kernel-features.h>.
45949         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45950         unconditional.
45951         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45952         conditional code.
45954 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45957         slight instruction rearrangements per scrollpipe analysis.
45958         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45960 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45962         * manual/syslog.texi (syslog; vsyslog, closelog):
45963         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45964         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45966         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45967         DSOCAPS to match condition on defining it.
45969 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45971         * sysdeps/unix/sysv/linux/kernel-features.h
45972         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45974         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45975         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45977         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45978         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45980         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45981         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45983         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45984         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45986         * sysdeps/unix/sysv/linux/kernel-features.h
45987         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45988         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45989         unconditional.
45990         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45991         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45992         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45993         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45994         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45995         Make code unconditional.
45996         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45997         (__mmap64) [!__NR_mmap2]: Likewise.
45998         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45999         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46000         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46001         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46002         [__NR_mmap2]: Make code unconditional.
46003         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46004         (__mmap64) [!__NR_mmap2]: Likewise.
46006 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46008         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46010 2012-08-18  Andreas Jaeger  <aj@suse.de>
46012         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46014 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46016         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46017         * include/unistd.h (__have_sock_cloexec): Likewise.
46018         (__have_pipe2): Likewise.
46019         (__have_dup3): Likewise.
46021 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46023         [BZ #9685]
46024         * include/unistd.h (__have_pipe2): Change define into an extern int.
46025         (__have_dup3): Likewise.
46026         * socket/have_sock_cloexec.c: Include fcntl.h.
46027         (__have_pipe2): New variable.
46028         (__have_dup3): Likewise.
46030 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
46032         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46034 2012-08-17  Marek Polacek  <polacek@redhat.com>
46036         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46037         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46039 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46041         * configure.in: Add AC_SUBST for sysheaders.
46042         * configure: Regenerated.
46043         * config.make.in (sysheaders): New substituted variable.
46045         * sysdeps/unix/mkfifo.c: Moved ...
46046         * sysdeps/posix/mkfifo.c: ... here.
46047         * sysdeps/unix/mkfifoat.c: Moved ...
46048         * sysdeps/posix/mkfifoat.c: ... here.
46050         * sysdeps/unix/utime.c: Moved ...
46051         * sysdeps/posix/utime.c: ... here.
46053         * sysdeps/unix/time.c: Moved ...
46054         * sysdeps/posix/time.c: ... here.
46055         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46056         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46058         * sysdeps/unix/nice.c: Moved ...
46059         * sysdeps/posix/nice.c: ... here.
46061         * sysdeps/unix/alarm.c: Moved ...
46062         * sysdeps/posix/alarm.c: ... here.
46064         * intl/Makefile ($(codeset_mo)): Depend on the input file.
46066 2012-08-17  Jeff Law <law@redhat.com>
46068         * intl/Makefile (codeset_mo): New variable.
46069         ($(codeset_mo)): New target.
46070         (tst-codeset.out): Depend on that.  Remove explicit rule.
46071         (tst-gettext3.out, tst-gettext5.out): Likewise.
46072         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46073         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46074         * intl/tst-codeset.sh: Remove.
46075         * intl/tst-gettext3.sh: Likewise.
46076         * intl/tst-gettext5.sh: Likewise.
46078 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46080         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46081         * sysdeps/unix/syscalls.list: ... here.
46083         * sysdeps/posix/getaddrinfo.c
46084         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46085         (gaiconf_init, gaiconf_reload): Use them.
46086         [!_STATBUF_ST_NSEC]
46087         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46088         Define using time_t rather than struct timespec.
46090         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46091         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46092         Macros removed.
46093         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46094         [!NO_THREADS].
46095         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46096         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46097         Likewise.
46099         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46100         __libc_cleanup_push argument.
46102         * bits/param.h: New file.
46103         * misc/sys/param.h: New file.
46104         * include/sys/param.h: New file.
46105         * misc/Makefile (headers): Add bits/param.h.
46106         * sysdeps/generic/sys/param.h: File removed.
46107         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46108         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46109         * sysdeps/mach/hurd/bits/param.h: New file.
46110         * sysdeps/mach/hurd/sys/param.h: File removed.
46112         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46113         last change.
46115         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46116         [_IO_MTSAFE_IO].
46117         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46118         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46119         New macros.
46121         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46122         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46123         rather than -D_IO_MTSAFE_IO conditionally.
46124         * stdio-common/Makefile (CPPFLAGS): Likewise.
46125         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46126         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46127         Use $(libio-mtsafe).
46128         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46129         of -D_IO_MTSAFE_IO.
46130         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46131         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46132         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46133         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46134         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46135         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46136         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46137         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46138         (CFLAGS-fread_u_chk.c): Likewise.
46139         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46140         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46141         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46142         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46143         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46144         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46145         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46146         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46147         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46149         * libio/Makefile: Test [$(libc-reentrant) = yes]
46150         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46152         * Makeconfig
46153         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46154         * sysdeps/pthread/configure: File removed.
46155         * sysdeps/pthread/Makeconfig: New file.
46156         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46157         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46159 2012-08-16  Gary Benson  <gbenson@redhat.com>
46161         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46162         unmapping the first object in a namespace.
46164 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46166         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46167         (__internal_setnetgrent): ... this.  Add internal_function to
46168         definition.  Add libc_hidden_def.
46169         (setnetgrent): Update caller.
46170         (internal_endnetgrent): Renamed to ...
46171         (__internal_endnetgrent): ... this.  Add internal_function to
46172         definition.  Add libc_hidden_def.
46173         (endnetgrent): Update caller.
46174         (internal_getnetgrent_r): Renamed to ...
46175         (__internal_getnetgrent_r): ... this.  Add internal_function to
46176         definition.  Add libc_hidden_def.
46177         (__getnetgrent_r): Update caller.
46178         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46180 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46182         * stdlib/longlong.h: Update from GCC.
46184 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46186         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46187         on _QL, which is set by umul_ppmm but never used.
46188         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46189         variables, which are set by GMP macros but never used.
46190         * stdio-common/_itowa.c (_itowa): Likewise.
46191         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46192         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46194 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46196         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46197         struct La_sh_regs is not constant.
46198         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46199         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46200         and struct La_sparc64_regs are not constant.
46202 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46204         * sysdeps/unix/sysv/linux/kernel-features.h
46205         (__ASSUME_POSIX_TIMERS): Remove.
46206         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46208         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46209         Make code unconditional.
46210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46211         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46212         Make code unconditional.
46213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46214         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46215         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46217         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46218         Make code unconditional.
46219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46220         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46221         (__libc_missing_posix_timers): Remove.
46223 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46225         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46226         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46228         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46230         * elf/dl-sym.c: Include <stdlib.h>.
46232         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46233         constants, which avoids warnings in 32-bit builds.
46235         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46236         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46238         * misc/lseek.c: File moved to ...
46239         * io/lseek.c: ... here.
46241         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46243         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46244         shifting LEN more than 31 bits at once.
46246 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46248         [BZ #14195]
46249         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46250         segmentation fault for a case of two empty input strings.
46251         * string/test-strncasecmp.c (check1): Renamed to...
46252         (bz12205): ...this.
46253         (bz14195): Add new testcase for two empty input strings and N > 0.
46254         (test_main): Call new testcase, adapt for renamed function.
46256 2012-08-15  Andreas Jaeger  <aj@suse.de>
46258         [BZ #14090]
46259         * crypt/md5test2.c: New test, based on test supplied by Serge
46260         Belyshev <belyshev@depni.sinp.msu.ru>.
46261         * crypt/Makefile (xtests): Add md5test-giant..
46262         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46264 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46266         [BZ #14090]
46267         * crypt/md5.c (md5_process_block): Don't assume the buffer
46268         length is less than 2**32.
46269         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46270         length is less than 2**64.
46272 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46274         * string/str-two-way.h: Include <sys/param.h>.
46275         (MAX): Macro removed.
46277         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46278         Move #define and #undef of memmove to just before and after
46279         including <string.h>.
46281         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46282         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46283         and after including <string.h>.  Move declarations of
46284         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46285         to before #include "string/memmove.c".
46287         * include/dirent.h: Declare __getdirentries.
46289         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46290         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46292 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46294         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46295         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46296         * sysdeps/i386/configure: Regenerated.
46297         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46298         STABS_CURRENT_FILE, and STABS_FUN.
46299         (END): Remove call to STABS_FUN_END.
46300         (STABS_CURRENT_FILE1): Delete.
46301         (STABS_CURRENT_FILE): Likewise.
46302         (STABS_FUN): Likewise.
46303         (STABS_FUN_END): Likewise.
46304         (STABS_FUN2): Likewise.
46305         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46306         * sysdeps/x86_64/configure: Regenerated.
46308 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46310         * elf/dl-open.c: Include <atomic.h>.
46311         * elf/dl-lookup.c: Likewise.
46313 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46315         * sysdeps/unix/sysv/linux/kernel-features.h
46316         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46317         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46318         unconditionally.
46319         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46320         unconditionally.
46321         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46322         condition on __ASSUME_CLONE_THREAD_FLAGS.
46324 2012-08-14  Andreas Jaeger  <aj@suse.de>
46326         * sysdeps/i386/fpu/libm-test-ulps: Update.
46328 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46330         * include/atomic.h (atomic_exchange_and_add): Split into ...
46331         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46332         New atomic macros.
46334 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46338 2012-08-13  Jeff Law <law@redhat.com>
46340         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46341         null byte in the output string.
46343 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46345         * sysdeps/unix/sysv/linux/kernel-features.h
46346         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46347         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46348         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46349         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46350         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46351         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46352         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46354 2012-08-09  Jeff Law <law@redhat.com>
46356         [BZ #13939]
46357         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46358         When avoid_arena is set, don't retry in the that arena.  Pick the
46359         next one, whatever it might be.
46360         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46361         (arena_lock): Pass in new parameter to arena_get2.
46362         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46363         arena_get2.
46364         (__libc_malloc): Unify retrying after main arena failure with
46365         __libc_memalign version.
46366         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46368 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46370         [BZ #14166]
46371         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46372         to __redirect_strstr.
46373         (__strstr_sse42): Use typeof __redirect_strstr.
46374         (__strstr_ia32): Likewise.
46375         (__libc_strstr): New prototype.
46376         (strstr): Renamed to ...
46377         (__libc_strstr): This.
46378         (strstr): New strong alias of __libc_strstr.
46379         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46380         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46381         __redirect_time.
46382         Include <time.h>.
46383         (__libc_time): New prototype.
46384         (time_ifunc): Replace time with __libc_time.
46385         (time): New strong alias and hidden definition of __libc_time.
46386         (__GI_time): Remove strong alias.
46387         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46388         Include <stddef.h>.
46389         (memmove): Redefined to __redirect_memmove.
46390         (__memmove_sse2): Use typeof __redirect_memmove.
46391         (__memmove_ssse3): Likewise.
46392         (__memmove_ssse3_back): Likewise.
46393         (__libc_memmove): New prototype.
46394         (memmove): Renamed to ...
46395         (__libc_memmove): This.
46396         (memmove): New strong alias of __libc_memmove.
46398 2012-08-08  Mark Salter  <msalter@redhat.com>
46400         * elf/elf.h
46401         (R_MN10300_TLS_GD): Define.
46402         (R_MN10300_TLS_LD): Likewise.
46403         (R_MN10300_TLS_LDO): Likewise.
46404         (R_MN10300_TLS_GOTIE): Likewise.
46405         (R_MN10300_TLS_IE): Likewise.
46406         (R_MN10300_TLS_LE): Likewise.
46407         (R_MN10300_TLS_DTPMOD): Likewise.
46408         (R_MN10300_TLS_DTPOFF): Likewise.
46409         (R_MN10300_TLS_TPOFF): Likewise.
46410         (R_MN10300_SYM_DIFF): Likewise.
46411         (R_MN10300_ALIGN): Likewise.
46412         (R_MN10300_NUM): Update.
46414 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46416         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46417         Remove.
46419 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46421         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46423         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46424         sysdeps/unix -> sysdeps/posix move.
46425         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46427 2012-08-07      Allan McRae     <allan@archlinux.org>
46429         [BZ #14303]
46430         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46431         (SUNOS_CPP): Likewise.
46432         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46433         not found.
46434         (open_input): Call CPP using execvp.
46436 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46438         * sysdeps/unix/sysv/linux/kernel-features.h
46439         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46440         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46441         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46442         (__ASSUME_WAITID_SYSCALL): Likewise.
46443         * sysdeps/unix/sysv/linux/dl-execstack.c
46444         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46445         code unconditional.
46446         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46447         conditional code.
46448         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46449         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46450         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46451         code.
46452         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46453         unconditional.
46454         [__ASSUME_WAITID_SYSCALL]: Likewise.
46455         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46457 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46459         * sysdeps/unix/closedir.c: Renamed to ...
46460         * sysdeps/posix/closedir.c: ... here.
46461         * sysdeps/unix/dirfd.c: Renamed to ...
46462         * sysdeps/posix/dirfd.c: ... here.
46463         * sysdeps/unix/dirstream.h: Renamed to ...
46464         * sysdeps/posix/dirstream.h: ... here.
46465         * sysdeps/unix/fdopendir.c: Renamed to ...
46466         * sysdeps/posix/fdopendir.c: ... here.
46467         * sysdeps/unix/opendir.c: Renamed to ...
46468         * sysdeps/posix/opendir.c: ... here.
46469         * sysdeps/unix/readdir.c: Renamed to ...
46470         * sysdeps/posix/readdir.c: ... here.
46471         * sysdeps/unix/readdir_r.c: Renamed to ...
46472         * sysdeps/posix/readdir_r.c: ... here.
46473         * sysdeps/unix/rewinddir.c: Renamed to ...
46474         * sysdeps/posix/rewinddir.c: ... here.
46475         * sysdeps/unix/seekdir.c: Renamed to ...
46476         * sysdeps/posix/seekdir.c: ... here.
46477         * sysdeps/unix/telldir.c: Renamed to ...
46478         * sysdeps/posix/telldir.c: ... here.
46479         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46480         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46481         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46482         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46484         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46485         * bits/fcntl.h: ... here.
46487         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46488         not 0.
46489         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46490         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46491         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46492         (struct flock): Move l_start, l_len to the beginning.
46493         Use __pid_t for l_pid.
46494         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46495         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46496         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46497         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46498         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46499         [__USE_LARGEFILE64] (struct flock64): New type.
46500         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46502         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46503         * bits/dirent.h: ... here.
46505         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46506         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46508 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46510         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46511         Change from 2.6.0 to 2.6.16.
46512         * sysdeps/unix/sysv/linux/configure: Regenerated.
46513         * sysdeps/unix/sysv/linux/kernel-features.h
46514         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46515         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46516         version.
46517         (__ASSUME_UTIMES): Likewise.
46518         (__ASSUME_CLONE_STOPPED): Remove.
46519         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46520         architectures, not kernel version.
46521         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46522         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46523         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46524         (__ASSUME_WAITID_SYSCALL): Likewise.
46525         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46526         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46527         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46528         refer to older versions.
46530 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46532         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46533         Define alphasort64 as an alias.
46534         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46535         Define versionsort64 as an alias.
46536         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46537         Define scandir64 as an alias.
46538         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46539         Define scandirat64 as an alias.
46540         * dirent/alphasort64.c (alphasort64):
46541         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46542         * dirent/versionsort64.c: Likewise.
46543         * dirent/scandir64.c: Likewise.
46544         * dirent/scandirat64.c: Likewise.
46545         * sysdeps/wordsize-64/alphasort.c: File removed.
46546         * sysdeps/wordsize-64/alphasort64.c: File removed.
46547         * sysdeps/wordsize-64/scandir.c: File removed.
46548         * sysdeps/wordsize-64/scandir64.c: File removed.
46549         * sysdeps/wordsize-64/scandirat.c: File removed.
46550         * sysdeps/wordsize-64/scandirat64.c: File removed.
46551         * sysdeps/wordsize-64/versionsort.c: File removed.
46552         * sysdeps/wordsize-64/versionsort64.c: File removed.
46553         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46554         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46555         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46556         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46557         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46558         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46559         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46560         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46562         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46564         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46566         [defined __arch64__ || defined __sparcv9]
46567         (__INO_T_MATCHES_INO64_T): New macro.
46568         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46569         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46570         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46571         * sysdeps/unix/sysv/linux/bits/dirent.h
46572         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46573         (_DIRENT_MATCHES_DIRENT64): New macro.
46575         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46576         Define lockf64 as an alias.
46577         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46578         Define fseeko64 as an alias.
46579         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46580         Define ftello64 as an alias.
46581         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46582         Define _IO_fgetpos64 and fgetpos64 as aliases.
46583         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46584         Define _IO_fsetpos64 and fsetpos64 as aliases.
46585         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46586         Conditionalize body on this.
46587         * libio/fseeko64.c: Likewise.
46588         * libio/ftello64.c: Likewise.
46589         * libio/iofgetpos64.c: Likewise.
46590         * libio/iofsetpos64.c: Likewise.
46591         * sysdeps/wordsize-64/lockf.c: File removed.
46592         * sysdeps/wordsize-64/lockf64.c: File removed.
46593         * sysdeps/wordsize-64/fseeko.c: File removed.
46594         * sysdeps/wordsize-64/fseeko64.c: File removed.
46595         * sysdeps/wordsize-64/ftello.c: File removed.
46596         * sysdeps/wordsize-64/ftello64.c: File removed.
46597         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46598         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46599         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46600         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46601         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46602         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46603         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46604         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46605         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46606         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46607         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46608         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46609         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46610         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46612         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46613         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46614         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46615         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46616         [defined __arch64__ || defined __sparcv9]
46617         (__OFF_T_MATCHES_OFF64_T): New macro.
46618         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46619         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46620         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46621         (__OFF_T_MATCHES_OFF64_T): New macro.
46623 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46625         * stdlib/secure-getenv.c (__secure_getenv): Replace
46626         GLIBC_2_16 with GLIBC_2_17.
46628 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46630         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46631         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46633 2012-08-03  David S. Miller  <davem@davemloft.net>
46635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46637 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46639         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46640         Remove.
46641         (__ASSUME_CORRECT_SI_PID): Likewise.
46642         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46643         (__ASSUME_TMPFS_NAME): Likewise.
46644         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46645         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46646         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46647         (HAVE_AUX_SECURE): Make definition unconditional.
46648         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46649         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46651 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46653         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46654         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46655         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46656         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46657         __eloop_threshold instead of SYMLOOP_MAX.
46659         * sysdeps/generic/eloop-threshold.h: New file.
46660         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46661         of MAXSYMLINKS.
46662         * elf/chroot_canon.c (chroot_canon): Likewise.
46664 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46666         [BZ #13717]
46667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46668         Change to 2.6.0 everywhere.
46669         * sysdeps/unix/sysv/linux/configure: Regenerated.
46670         * sysdeps/unix/sysv/linux/kernel-features.h
46671         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46672         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46673         kernel versions.
46674         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46675         (__ASSUME_FUTEX_REQUEUE): Remove.
46676         (__ASSUME_STATFS64): Define unconditionally.
46677         (__ASSUME_AT_SECURE): Likewise.
46678         (__ASSUME_CORRECT_SI_PID): Likewise.
46679         (__ASSUME_TGKILL): Define without depending on kernel version for
46680         i386.
46681         (__ASSUME_UTIMES): Likewise.
46682         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46683         kernel version.
46684         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46685         (__ASSUME_TMPFS_NAME): Likewise.
46686         * README: Update reference to Linux kernel versions.
46688 2012-08-02  Marek Polacek  <polacek@redhat.com>
46690         [BZ# 14150]
46691         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46692         libc_cv_asm_type_prefix with %.
46693         * configure: Regenerated.
46694         * include/libc-symbols.h: Remove comment about
46695         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46696         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46697         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46698         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46699         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46700         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46701         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46702         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46703         * elf/tst-unique2mod1.c: Likewise.
46704         * elf/tst-unique1mod2.c: Likewise.
46705         * elf/tst-unique1mod1.c: Likewise.
46706         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46707         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46708         Replace ASM_TYPE_DIRECTIVE with .type.
46709         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46710         * sysdeps/i386/sysdep.h: Likewise.
46711         * sysdeps/x86_64/sysdep.h: Likewise.
46712         * sysdeps/sh/sysdep.h: Likewise.
46713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46714         Do not define ASM_TYPE_DIRECTIVE.
46715         * sysdeps/powerpc/sysdep.h: Likewise.
46716         * sysdeps/powerpc/powerpc32/sysdep.h:
46717         Replace ASM_TYPE_DIRECTIVE with .type.
46718         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46719         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46720         * sysdeps/i386/fpu/e_powf.S: Likewise.
46721         * sysdeps/i386/fpu/e_expl.S: Likewise.
46722         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46723         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46724         * sysdeps/i386/fpu/e_pow.S: Likewise.
46725         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46726         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46727         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46728         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46729         * sysdeps/i386/fpu/e_log2.S: Likewise.
46730         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46731         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46732         * sysdeps/i386/fpu/e_powl.S: Likewise.
46733         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46734         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46735         * sysdeps/i386/fpu/e_logl.S: Likewise.
46736         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46737         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46738         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46739         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46740         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46741         * sysdeps/i386/fpu/e_log.S: Likewise.
46742         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46743         * sysdeps/i386/fpu/e_logf.S: Likewise.
46744         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46745         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46746         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46747         * sysdeps/i386/fpu/e_log10.S: Likewise.
46748         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46749         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46750         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46751         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46752         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46753         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46754         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46755         * sysdeps/i386/i686/strtok.S: Likewise.
46756         * sysdeps/i386/i386-mcount.S: Likewise.
46757         * sysdeps/i386/strtok.S: Likewise.
46758         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46759         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46760         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46761         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46762         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46763         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46764         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46765         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46766         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46767         * sysdeps/x86_64/_mcount.S: Likewise.
46768         * sysdeps/x86_64/strtok.S: Likewise.
46769         * sysdeps/sh/_mcount.S: Likewise.
46771 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46773         * libio/iofopen.c: Include <fcntl.h>.
46774         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46775         (_IO_fopen64, fopen64): Define as aliases.
46776         * libio/iofopen64.c: Include <fcntl.h>.
46777         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46778         Conditionalize body on this.
46779         * sysdeps/wordsize-64/iofopen.c: File removed.
46780         * sysdeps/wordsize-64/iofopen64.c: File removed.
46782 2012-08-01  Marek Polacek  <polacek@redhat.com>
46784         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46785         Use dlfcn directly instead of a variable.
46786         (binfmt-subdir): Do not define.
46787         (dlfcn): Likewise.
46789 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46791         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46792         Remove all definitions.
46793         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46794         <kernel-features.h>.
46795         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46796         (miss_F_GETOWN_EX): Remove all definitions.
46797         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46798         macro definition.
46799         [!__ASSUME_FCNTL64]: Remove conditional code.
46800         [__ASSUME_FCNTL64]: Make code unconditional.
46801         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46802         <kernel-features.h>.
46803         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46804         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46805         (lockf64) [__NR_fcntl64]: Make code unconditional.
46806         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46808         * sysdeps/unix/sysv/linux/kernel-features.h
46809         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46810         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46811         Make code unconditional.
46812         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46813         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46815         [__NR_vfork]: Make code unconditional.
46816         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46817         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46819         [__NR_vfork]: Make code unconditional.
46820         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46821         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46823 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46825         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46826         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46828         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46829         Define mkstemp64 as an alias.
46830         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46831         Define mkstemps64 as an alias.
46832         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46833         Define mkostemp64 as an alias.
46834         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46835         Define mkostemps64 as an alias.
46836         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46837         Conditionalize body on this.
46838         * misc/mkostemp64.c: Likewise.
46839         * misc/mkostemps64.c: Likewise.
46840         * misc/mkstemps64.c: Likewise.
46841         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46842         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46843         * sysdeps/wordsize-64/mkostemp.c: File removed.
46844         * sysdeps/wordsize-64/mkstemp.c: File removed.
46845         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46846         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46847         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46850         [BZ #14138]
46851         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46852         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46853         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46854         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46856         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46857         compat_symbol macros from <shlib-compat.h> rather than the underlying
46858         default_symbol_version and symbol_version macros, so that DEFAULT
46859         lines in shlib-versions are respected.
46860         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46862 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46864         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46865         Declare with warn_unused_result.
46866         (setgid, setregid, setegid, setresgid): Likewise.
46867         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46868         Likewise.
46869         * WUR-REPORT: Remove set*id functions.
46871 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46873         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46875 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46877         [BZ #10191]
46878         * include/sys/socket.h (__libc_accept, __libc_accept4):
46879         Add attribute_hidden.
46880         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46882         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46883         use of PTR_MANGLE.
46884         * inet/getnetgrent_r.c (setup): Likewise.
46886         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46888 2012-07-31  David S. Miller  <davem@davemloft.net>
46890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46892 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46894         [BZ #13629]
46895         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46896         value between 1.0 and 2.0 and smaller part has absolute value less
46897         than 1.0.
46898         * math/s_clog10.c (__clog10): Likewise.
46899         * math/s_clog10f.c (__clog10f): Likewise.
46900         * math/s_clog10l.c (__clog10l): Likewise.
46901         * math/s_clogf.c (__clogf): Likewise.
46902         * math/s_clogl.c (__clogl): Likewise.
46903         * math/libm-test.inc (clog_test): Add more tests.
46904         (clog10_test): Likewise.
46905         * sysdeps/i386/fpu/libm-test-ulps: Update.
46906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46908 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46910         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46911         Exit with zero in case no suitable GID is found, and write a
46912         message to standard error.
46914 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46916         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46917         rather than to 1.
46918         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46919         (MAXPATHLEN): Removed.
46920         (NOGROUP, NODEV): New macros.
46921         (setbit, clrbit, isset, isclr): New macros.
46922         (howmany, roundup, powerof2): New macros.
46923         (DEV_BSIZE): New macro.
46925         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46926         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46928         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46929         definition on [!__NO_LONG_DOUBLE_MATH].
46931         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46932         PTR_MANGLE and PTR_DEMANGLE.
46934         * socket/accept4.c (accept4): Rename to __libc_accept4.
46935         Define accept4 as a weak alias.
46937         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46938         on [_DIRENT_HAVE_D_TYPE].
46939         * io/ftw.c (ftw_dir): Likewise.
46941         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46943         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46945         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46946         Use the BSD numbers rather than the arbitrary ones we had.
46947         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46948         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46949         (SIGXCPU, SIGXFSZ): New macros.
46950         (_NSIG): Now 32.
46952         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46953         initializer on [_LIBC_REENTRANT].
46955         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46956         definitions inside [_POSIX_MAPPED_FILES].
46958         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46960         * dirent/opendir.c: Include <fcntl.h>.
46962         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46963         (__libc_getspecific): Likewise.
46964         (__libc_key_create): Likewise.
46966         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46967         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46968         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46969         (tmpfile64): Define as alias.
46970         * sysdeps/wordsize-64/tmpfile.c: File removed.
46971         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46972         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46973         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46975         * stdio-common/vfscanf.c: Include <stdbool.h>.
46976         * nss/makedb.c: Likewise.
46977         * stdio-common/_i18n_number.h: Likewise.
46978         * argp/argp-help.c: Likewise.
46979         * posix/wordexp.c: Likewise.
46980         * sysdeps/posix/spawni.c: Likewise.
46981         * nss/nss_files/files-initgroups.c: Likewise.
46982         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46983         * nss/nss_files/files-initgroups.c: Likewise.
46984         * nss/nss_db/db-netgrp.c: Likewise.
46985         * nss/nss_db/db-initgroups.c: Likewise.
46986         * io/fchmodat.c: Include <sys/stat.h>.
46988         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46989         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46991         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46992         [HAVE_MMAP].
46994         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46995         Add multiple inclusion protection.
46997 2012-07-27  David S. Miller  <davem@davemloft.net>
46999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47001 2012-07-27  Gary Benson  <gbenson@redhat.com>
47003         [BZ #14298]
47004         * elf/rtld.c: Include <stap-probe.h>.
47005         (dl_main): Added static probes "init_start" and "init_complete".
47006         * elf/dl-load.c: Include <stap-probe.h>.
47007         (lose): Take new parameter "nsid".
47008         Added static probe "map_failed".
47009         (_dl_map_object_from_fd): Pass namespace id to lose.
47010         Added static probe "map_start".
47011         (open_verify): Pass namespace id to lose.
47012         * elf/dl-open.c: Include <stap-probe.h>.
47013         (dl_open_worker) Added static probes "map_complete", "reloc_start"
47014         and "reloc_complete".
47015         * elf/dl-close.c: Include <stap-probe.h>.
47016         (_dl_close_worker): Added static probes "unmap_start" and
47017         "unmap_complete".
47018         * elf/rtld-debugger-interface.txt: New file documenting the above.
47020 2012-07-26  Roland McGrath  <roland@hack.frob.com>
47022         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47023         rather than a string variable.
47024         * sunrpc/rpc_main.c (h_output): Likewise.
47025         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47027 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
47029         * inet/check_native.c: New file.
47031 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
47033         [BZ #13629]
47034         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47035         if larger part has absolute value 1.0.
47036         * math/s_clog10.c (__clog10): Likewise.
47037         * math/s_clog10f.c (__clog10f): Likewise.
47038         * math/s_clog10l.c (__clog10l): Likewise.
47039         * math/s_clogf.c (__clogf): Likewise.
47040         * math/s_clogl.c (__clogl): Likewise.
47041         * math/libm-test.inc (clog_test): Add more tests.
47042         (clog10_test): Likewise.
47043         * sysdeps/i386/fpu/libm-test-ulps: Update.
47044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47046         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47047         (pltexit): Likewise.
47048         (La_regs): Likewise.
47049         (La_retval): Likewise.
47050         (int_retval): Likewise.
47051         Update #error for removed macros to refer only to definitions in
47052         tst-audit.h.
47053         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47054         macro.
47055         (pltexit): Likewise.
47056         (La_regs): Likewise.
47057         (La_retval): Likewise.
47058         (int_retval): Likewise.
47059         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47060         macro.
47061         (pltexit): Likewise.
47062         (La_regs): Likewise.
47063         (La_retval): Likewise.
47064         (int_retval): Likewise.
47065         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47066         macro.
47067         (pltexit): Likewise.
47068         (La_regs): Likewise.
47069         (La_retval): Likewise.
47070         (int_retval): Likewise.
47071         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47072         macro.
47073         (pltexit): Likewise.
47074         (La_regs): Likewise.
47075         (La_retval): Likewise.
47076         (int_retval): Likewise.
47077         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47078         macro.
47079         (pltexit): Likewise.
47080         (La_regs): Likewise.
47081         (La_retval): Likewise.
47082         (int_retval): Likewise.
47083         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47084         macro.
47085         (pltexit): Likewise.
47086         (La_regs): Likewise.
47087         (La_retval): Likewise.
47088         (int_retval): Likewise.
47089         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47090         macro definitions in tst-audit.h.
47091         * sysdeps/i386/tst-audit.h: New file.
47092         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47093         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47094         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47095         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47096         * sysdeps/sh/tst-audit.h: Likewise.
47097         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47098         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47099         * sysdeps/x86_64/tst-audit.h: Likewise.
47101 2012-07-26  Andreas Jaeger  <aj@suse.de>
47103         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47104         ptrace.
47106         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47107         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47108         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47109         PTRACE_O_MASK.
47110         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47111         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47112         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47114         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47115         value.
47117         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47118         _sigsys.
47119         (si_call_addr, si_syscall, si_arch): Define new macro.
47120         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47121         _sigsys.
47122         (si_call_addr, si_syscall, si_arch): Define new marcro.
47123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47124         _sigsys.
47125         (si_call_addr, si_syscall, si_arch): Define new macro.
47126         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47127         _sigsys.
47128         (si_call_addr, si_syscall, si_arch): Define new macro.
47130 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47132         [BZ #13717]
47133         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47134         Change to 2.4.21 where previously 2.4.1.
47135         * sysdeps/unix/sysv/linux/configure: Regenerated.
47136         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47137         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47138         Linux kernel version.
47139         (__ASSUME_STD_AUXV): Remove.
47140         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47141         kernel version.
47142         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47143         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47144         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47145         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47146         (__ASSUME_NETLINK_SUPPORT): Likewise.
47147         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47148         (__no_netlink_support): Remove conditional definition.
47149         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47150         Remove.
47151         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47152         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47153         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47154         (if_nameindex_ioctl): Remove.
47155         (if_nameindex_netlink): Do not handle __no_netlink_support.
47156         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47157         code.
47158         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47159         Remove conditional code.
47160         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47161         code.
47162         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47163         unconditional.
47164         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47165         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47166         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47167         Remove.
47168         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47169         [!__ASSUME_STD_AUXV]: Remove conditional code.
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47171         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47172         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47174         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47175         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47176         code.
47177         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47179         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47180         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47181         conditional code.
47182         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47184         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47185         code.
47186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47187         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47188         conditional code.
47189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47190         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47191         code unconditional.
47192         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47193         conditional code.
47194         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47195         unconditional.
47196         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47197         conditional code.
47198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47199         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47200         unconditional.
47201         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47202         conditional code.
47203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47204         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47205         code unconditional.
47206         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47207         conditional code.
47208         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47209         unconditional.
47210         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47211         conditional code.
47212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47213         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47214         code unconditional.
47215         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47216         conditional code.
47217         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47218         unconditional.
47219         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47220         conditional code.
47222 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47224         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47225         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47226         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47227         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47228         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47229         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47230         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47231         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47232         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47233         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47234         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47235         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47236         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47237         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47238         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47239         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47240         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47241         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47242         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47244         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47245         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47246         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47248 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47250         * Versions.def: Add GLIBC_2.17.
47251         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47252         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47253         Introduce __libc_secure_getenv.
47254         * stdlib/Versions (2.17): Add secure_getenv
47255         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47256         * stdlib/secure-getenv.c: Rename __secure_getenv to
47257         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47258         symbol __secure_getenv for GLIBC_2.0.
47259         * stdlib/tst-secure-getenv.c: New.
47260         * stdlib/Makefile (tests): Add testcase.
47261         * manual/startup.texi (Environment Access): Document
47262         secure_getenv.
47263         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47264         __libc_secure_getenv.
47265         * inet/ruserpass.c (ruserpass): Likewise.
47266         * malloc/mtrace.c (mtrace): Likewise.
47267         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47268         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47269         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47270         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47271         HAVE_SECURE_GETENV.
47272         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47273         __secure_getenv to __libc_secure_getenv.
47274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47276         Likewise.
47277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47278         Likewise.
47279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47287 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47289         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47290         (struct La_i86_retval): Likewise.
47291         (struct La_x86_64_regs): Likewise.
47292         (struct La_x86_64_retval): Likewise.
47293         (struct La_x32_regs): Likewise.
47294         (struct La_x32_retval): Likewise.
47295         (struct La_ppc32_regs): Likewise.
47296         (struct La_ppc32_retval): Likewise.
47297         (struct La_ppc64_regs): Likewise.
47298         (struct La_ppc64_retval): Likewise.
47299         (struct La_sh_regs): Likewise.
47300         (struct La_sh_retval): Likewise.
47301         (struct La_s390_32_regs): Likewise.
47302         (struct La_s390_32_retval): Likewise.
47303         (struct La_s390_64_regs): Likewise.
47304         (struct La_s390_64_retval): Likewise.
47305         (struct La_sparc32_regs): Likewise.
47306         (struct La_sparc32_retval): Likewise.
47307         (struct La_sparc64_regs): Likewise.
47308         (struct La_sparc64_retval): Likewise.
47309         (struct audit_ifaces): Remove architecture-specific pltenter and
47310         pltexit members.
47311         * sysdeps/i386/ldsodefs.h: New file.
47312         * sysdeps/powerpc/ldsodefs.h: Likewise.
47313         * sysdeps/s390/ldsodefs.h: Likewise.
47314         * sysdeps/sh/ldsodefs.h: Likewise.
47315         * sysdeps/sparc/ldsodefs.h: Likewise.
47316         * sysdeps/x86_64/ldsodefs.h: Likewise.
47318 2012-07-25  Marek Polacek  <polacek@redhat.com>
47320         [BZ #6808]
47321         * math/libm-test.inc (yn_test): Add another test.
47322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47323         to ERANGE when the result is +-Inf.
47324         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47325         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47326         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47327         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47329 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47331         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47332         equal to 0.
47333         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47334         clock_t.
47335         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47337 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47339         * configure.in <sysdeps resolving>: Correct printing
47340         Implies_before.
47341         * configure: Regenerate.
47343 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47345         * math/w_ilogb.c: Include <limits.h>.
47346         * math/w_ilogbl.c: Likewise.
47348 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47350         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47351         va_copy.  Document allowing for unavailable va_copy only as
47352         pre-C99 compatibility.
47353         * manual/string.texi (Copying and Concatenation): Use va_copy
47354         instead of __va_copy in concat example.
47356 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47358         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47359         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47360         it if not null.
47362         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47363         with O_NOLINK passed to __file_name_lookup.
47365         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47366         with O_NOLINK passed to __file_name_lookup.
47368         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47369         negative N or less than NGIDS.
47371         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47372         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47373         enough.  Use memcpy instead of strncpy.
47375 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47377         * elf/Makefile (check-data): Remove.
47378         (localplt.data): New vpath directive.
47379         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47380         instead of $(check-data).
47381         * scripts/data/localplt-generic.data: Move to ...
47382         * sysdeps/generic/localplt.data: ... here.
47383         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47384         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47385         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47387         ... here.
47388         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47390         ... here.
47391         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47393         ... here.
47394         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47396         ... here.
47397         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47399         ... here.
47400         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47402         ... here.
47404 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47406         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47407         PPC32 and PPC64 files.
47408         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47409         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47411 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47413         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47414         __makecontext_ret to ...
47415         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47416         ... here and call exit if uc_link is NULL.  New file.
47417         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47418         __makecontext_ret.S.
47419         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47420         __makecontext_ret to ...
47421         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47422         ... here and call exit if uc_link is NULL.  New file.
47423         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47424         __makecontext_ret.S.
47426 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47428         * elf/elf.h (R_390_IRELATIVE): New definition.
47429         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47430         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47431         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47432         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47433         (elf_machine_lazy_rel): Likewise.
47434         * sysdeps/s390/dl-irel.h: New file.
47435         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47436         * sysdeps/s390/s390-64/memset.S: New asm code.
47437         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47438         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47440         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47441         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47442         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47443         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47444         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47445         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47446         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47447         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47448         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47449         * sysdeps/s390/s390-32/memset.S: New asm code.
47450         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47452 2012-07-17  Marek Polacek  <polacek@redhat.com>
47454         [BZ #14349]
47455         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47456         * sysdeps/s390/s390-64/configure.in: Likewise.
47457         * sysdeps/sparc/configure.in: Likewise.
47458         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47459         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47460         * sysdeps/i386/configure.in: Likewise.
47461         * sysdeps/x86_64/configure.in: Likewise.
47462         * sysdeps/sh/configure.in: Likewise.
47463         * sysdeps/s390/s390-32/configure: Regenerated.
47464         * sysdeps/s390/s390-64/configure: Likewise.
47465         * sysdeps/x86_64/configure: Likewise.
47466         * sysdeps/sh/configure: Likewise.
47467         * sysdeps/powerpc/powerpc64/configure: Likewise.
47468         * sysdeps/powerpc/powerpc32/configure: Likewise.
47469         * sysdeps/sparc/configure: Likwise.
47470         * sysdeps/i386/configure: Likewise.
47472         * elf/dl-open.c: Comment fixes.
47474 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47476         * Makefile [CXX] (check-data): Remove.
47477         [CXX] (c++-types.data): New vpath directive.
47478         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47479         vpath.  Do not allow for C++ type data being missing.
47480         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47481         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47482         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47483         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47484         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47485         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47486         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47488         ... here.
47489         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47491         ... here.
47492         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47494         ... here.
47495         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47497         ... here.
47498         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47500         ... here.
47501         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47503         ... here.
47504         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47506         ... here.
47507         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47510         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47511         definitions to architecture-specific files.
47512         (TLS_IE): Likewise.
47513         (TLS_LD): Likewise.
47514         (TLS_GD): Likewise.
47515         * sysdeps/i386/tls-macros.h: New file.
47516         * sysdeps/powerpc/tls-macros.h: Likewise.
47517         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47518         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47519         * sysdeps/sh/tls-macros.h: Likewise.
47520         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47521         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47522         * sysdeps/x86_64/tls-macros.h: Likewise.
47524 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47526         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47527         zero value for regular exit case.
47529         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47530         (__start_context): Preserve zero value for regular exit case.
47532 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47533             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47535         * manual/setjmp.texi (setcontext): Clarify normal process
47536         termination when uc_link is the null pointer.
47537         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47538         exit call.
47540 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47542         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47543         preprocessor.  Test for each exception mask separately.
47545 2012-07-16  Andreas Jaeger  <aj@suse.de>
47547         * po/ru.po: Update from translation team.
47549 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47551         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47552         equal to 0.
47553         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47554         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47555         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47556         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47559 2012-07-13  Andreas Jaeger  <aj@suse.de>
47561         * po/fr.po: Update from translation team.
47563 2012-07-12  Marek Polacek  <polacek@redhat.com>
47565         [BZ #14173]
47566         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47567         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47568         loop condition.
47570 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47572         [BZ #13717]
47573         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47574         Change to 2.4.1 where previously 2.4.0.
47575         * sysdeps/unix/sysv/linux/configure: Regenerated.
47576         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47577         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47578         version.
47579         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47580         (__ASSUME_AT_CLKTCK): Remove.
47581         (__ASSUME_AT_PAGESIZE): Likewise.
47582         (__ASSUME_AT_XID): Likewise.
47583         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47584         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47585         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47586         unconditionally.
47587         (HAVE_AUX_PAGESIZE): Likewise.
47588         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47589         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47590         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47592 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47594         [BZ #14307]
47595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47596         the temporary buffer used to invoke __gethostbyname2_r,
47597         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47598         host_data / struct gaih_addrtuple.
47599         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47600         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47601         header file nss/nsswitch.h.
47602         * nss/nsswitch.h (global scope): Add definition of implementation
47603         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47604         resolv/nss_dns/dns-host.c).
47606 2012-07-11  Andreas Jaeger  <aj@suse.de>
47608         * po/fr.po: Update from translation team.
47610         * po/sv.po: Update from translation team
47611         * po/fr.po: Another update from translation team.
47613 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47615         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47616         for subnormals or multiply small sinh result by itself.
47617         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47620 2012-07-11  David S. Miller  <davem@davemloft.net>
47622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47624 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47626         [BZ #14347]
47627         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47628         (INTERNAL_MARK): Shift it here.
47630 2012-07-10  Marek Polacek  <polacek@redhat.com>
47632         [BZ #14151]
47633         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47634         libc_cv_asm_global_directive with .globl.
47635         * configure: Regenerated.
47636         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47637         with .globl.
47638         * sysdeps/i386/configure: Regenerated.
47639         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47640         with .globl.
47641         * sysdeps/x86_64/configure: Regenerated.
47642         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47643         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47644         * elf/tst-unique2mod2.c: Likewise.
47645         * elf/tst-unique2mod1.c: Likewise.
47646         * elf/tst-unique1mod2.c: Likewise.
47647         * elf/tst-unique1mod1.c: Likewise.
47648         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47649         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47650         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47651         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47652         * sysdeps/mach/sysdep.h: Likewise.
47653         * sysdeps/i386/sysdep.h: Likewise.
47654         * sysdeps/i386/i386-mcount.S: Likewise.
47655         * sysdeps/x86_64/_mcount.S: Likewise.
47656         * sysdeps/x86_64/sysdep.h: Likewise.
47657         * sysdeps/sh/_mcount.S: Likewise.
47658         * sysdeps/sh/sysdep.h: Likewise.
47659         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47660         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47661         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47662         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47663         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47664         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47665         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47666         * locale/localeinfo.h: Likewise.
47667         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47668         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47670 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47672         [BZ #14336]
47673         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47674         system".
47675         * manual/message.texi (The Uniforum approach): Likewise.
47676         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47677         (glibc iconv Implementation): Likewise.
47679 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47681         [BZ #14337]
47682         * math/s_clog.c (__clog): Avoid scaling a value down where that
47683         could result in underflow.
47684         * math/s_clog10.c (__clog10): Likewise.
47685         * math/s_clog10f.c (__clog10f): Likewise.
47686         * math/s_clog10l.c (__clog10l): Likewise.
47687         * math/s_clogf.c (__clogf): Likewise.
47688         * math/s_clogl.c (__clogl): Likewise.
47689         * math/libm-test.inc (clog_test): Add more tests.
47690         (clog10_test): Likewise.
47691         * sysdeps/i386/fpu/libm-test-ulps: Update.
47692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47694 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47696         [BZ #14283]
47697         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47698         by 7 not 8 to examine high bit of fractional part.
47700         [BZ #14042]
47701         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47702         for call to __mcount_internal.
47703         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47704         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47705         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47707 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47709         [BZ #14154]
47710         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47711         approximation for values within 0x1p-13f of an odd multiple of
47712         pi/4.
47713         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47714         exception.  Add more tests.
47715         * sysdeps/i386/fpu/libm-test-ulps: Update.
47717         [BZ #6778]
47718         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47719         inputs and return -1 for them.  Do not check for +Inf in case not
47720         reachable for +Inf.
47721         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47722         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47724         and return -1 for them.  Do not check for +Inf in case not
47725         reachable for +Inf.
47726         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47727         define.
47728         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47729         and return -1 for them.  Do not check for +Inf in case not
47730         reachable for +Inf.
47731         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47732         spurious underflow.
47733         * sysdeps/i386/fpu/libm-test-ulps: Update.
47734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47736 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47738         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47740 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47742         [BZ #14157]
47743         [BZ #14331]
47744         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47745         could result in spurious underflow.  Scale down values above
47746         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47747         * math/s_csqrtf.c (__csqrtf): Likewise.
47748         * math/s_csqrtl.c (__csqrtl): Likewise.
47749         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47750         spurious underflow.
47751         * sysdeps/i386/fpu/libm-test-ulps: Update.
47752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47754 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47756         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47757         xopen-msg.sed.
47758         * catgets/xopen-msg.awk: New file.
47759         * catgets/xopen-msg.sed: Removed.
47761         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47762         po2text.sed.
47763         * intl/po2test.awk: New file.
47764         * intl/po2test.sed: Removed.
47766 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47768         [BZ #14328]
47769         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47770         or multiply small sinh result by itself.
47771         * math/s_ctanf.c (__ctanf): Likewise.
47772         * math/s_ctanh.c (__ctanh): Likewise.
47773         * math/s_ctanhf.c (__ctanhf): Likewise.
47774         * math/s_ctanhl.c (__ctanhl): Likewise.
47775         * math/s_ctanl.c (__ctanl): Likewise.
47776         * math/libm-test.inc (ctan_test_tonearest): New function.
47777         (ctan_test_towardzero): Likewise.
47778         (ctan_test_downward): Likewise.
47779         (ctan_test_upward): Likewise.
47780         (ctanh_test_tonearest): Likewise.
47781         (ctanh_test_towardzero): Likewise.
47782         (ctanh_test_downward): Likewise.
47783         (ctanh_test_upward): Likewise.
47784         (main): Call these new functions.
47785         * sysdeps/i386/fpu/libm-test-ulps: Update.
47786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47788 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47790         * .gitignore: Delete /ports entry.
47792 2012-07-03  Andreas Jaeger  <aj@suse.de>
47794         * po/bg.po: Update from translation team.
47795         * po/cs.po: Likewise.
47796         * po/de.po: Likewise.
47797         * po/hr.po: Likewise.
47798         * po/nl.pl: Likewise.
47799         * po/pl.po: Likewise.
47800         * po/vi.po: Likewise.
47802 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47804         * Makeconfig [!+link] (+link-before-libc): New variable.
47805         [!+link] (+link-after-libc): Likewise.
47806         [!+link] (+link-tests): Likewise.
47807         [!+link] (+link): Define in terms of $(+link-before-libc) and
47808         $(+link-after-libc).
47809         [!+link-static] (+link-static-before-libc): New variable.
47810         [!+link-static] (+link-static-after-libc): Likewise.
47811         [!+link-static] (+link-static-tests): Likewise.
47812         [!+link-static] (+link-static): Define in terms of
47813         $(+link-static-before-libc) and $(+link-static-after-libc).
47814         [build-shared] (link-libc-before-gnulib): New variable.
47815         [build-shared] (link-libc-tests): Likewise.
47816         [build-shared] (link-libc): Define in terms of
47817         $(link-libc-before-gnulib).
47818         [!build-shared] (link-libc-tests): New variable.
47819         (link-libc-static-tests): New variable.
47820         [!gnulib] (gnulib-arch): New variable.
47821         [!gnulib] (gnulib-tests): Likewise.
47822         [!gnulib] (static-gnulib-arch): Likewise.
47823         [!gnulib] (static-gnulib-tests): Likewise.
47824         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47825         Define with "=" instead of ":=".
47826         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47827         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47828         * Rules (binaries-all-notests): New variable.
47829         (binaries-all-tests): Likewise.
47830         (binaries-static-notests): Likewise.
47831         (binaries-static-tests): Likewise.
47832         (binaries-all): Define using $(binaries-all-notests) and
47833         $(binaries-all-tests).
47834         (binaries-static): Define using $(binaries-static-notests) and
47835         $(binaries-static-tests).
47836         (binaries-shared-tests): New variable.
47837         (binaries-shared-notests): Likewise.
47838         (binaries-shared): Remove variable.
47839         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47840         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47841         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47842         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47843         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47844         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47845         * elf/Makefile (sln-modules): New variable.
47846         (extra-objs): Add $(sln-modules:=.o).
47847         (ldconfig-modules): Add static-stubs.
47848         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47849         * elf/static-stubs.c: New file.
47851         [BZ #14283]
47852         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47853         by 7 not 8 to examine high bit of fractional part.  Use volatile
47854         variables when splitting into final array of floats if
47855         __FLT_EVAL_METHOD__ != 0.
47856         * math/libm-test.inc (cos_test): Add another test.
47857         (sin_test): Likewise.
47858         * sysdeps/i386/fpu/libm-test-ulps: Update.
47860         [BZ #14273]
47861         * math/libm-test.inc (cosh_test): Add more tests.
47863         * version.h (RELEASE): Set to "development".
47864         (VERSION): Set to "2.16.90".
47866 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47868         * NEWS: Update copyright. Remove last-updated date.
47869         Mention math library bug fixes and timezone data changes.
47870         * README: Mention GNU/Hurd, x32, and HPPA support status.
47872 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47874         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47876 2012-06-27  Andreas Jaeger  <aj@suse.de>
47878         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47880 2012-06-25  Andreas Jaeger  <aj@suse.de>
47882         * sysdeps/s390/fpu/libm-test-ulps: Update.
47884 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47885             Thomas Schwinge  <thomas@codesourcery.com>
47887         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47888         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47890         fanotify_mark.
47892 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47894         * sysdeps/mach/start.c: Remove file.
47895         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47896         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47897         * sysdeps/sh/init-first.c: Likewise.
47899         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47900         registers for frame unwinding purposes, add CFI directives.
47901         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47902         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47903         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47904         Likewise.
47906         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47907         __fortify_fail returning.
47908         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47910         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47911         sysdeps/sh/____longjmp_chk.S.
47912         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47913         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47914         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47915         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47917         * sysdeps/sh/abort-instr.h: New file.
47918         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47919         process in case exit returns.
47921         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47922         initialize the GOT register before use.
47924         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47925         calculation of ARGC > 4.
47927         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47928         meaningful names to some local labels.
47930 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47931             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47933         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47934         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47935         (__arch_compare_and_exchange_val_16_acq): Likewise.
47936         (__arch_compare_and_exchange_val_32_acq): Likewise.
47937         (atomic_exchange_and_add): Fix gUSA sequence.
47938         (atomic_add): Likewise.
47939         (atomic_add_negative): Likewise.
47940         (atomic_add_zero): Likewise.
47941         (atomic_bit_test_set): Likewise.
47943 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47945         [BZ #13579]
47946         * include/link.h (struct link_map): Add l_free_initfini.
47947         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47948         l_initfini.
47949         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47950         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47951         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47952         set.
47954 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47956         * configure.in: Use AC_LANG_SOURCE.
47957         * configure: Regenerate.
47959 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47961         * configure.in (libc_cv_localstatedir): New substituted variable.
47962         * configure: Regenerated.
47963         * config.make.in (localstatedir): New variable, substituted from
47964         libc_cv_localstatedir.
47965         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47966         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47967         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47968         * sysdeps/gnu/configure: Regenerated.
47970 2012-06-21  Jeff Law  <law@redhat.com>
47972         [BZ #14277]
47973         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47974         free.  Simplify list management for _LIBC case.
47976 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47978         [BZ #14273]
47979         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47980         Clear sign bit of 64-bit integer value before comparing against
47981         overflow value.
47983         * sysdeps/mach/configure: Regenerated.
47985 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47987         [BZ #14278]
47988         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47990 2012-06-21  Jeff Law  <law@redhat.com>
47992         [BZ #13882]
47993         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47994         uint16_t for elements in the "seen" array to avoid char overflows.
47995         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47996         * elf/dl-open.c (dl_open_worker): Likewise.
47998 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
48000         * scripts/list-sources.sh: Scan PORTS for translations.
48001         * po/libc.pot: Regenerated.
48003 2012-06-21  Andreas Jaeger  <aj@suse.de>
48005         [BZ #12194]
48006         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48007         warning.
48008         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48009         * bits/byteswap-16.h (__bswap_16): Likewise.
48010         * bits/byteswap.h (__bswap_constant_16): Likewise.
48012 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
48014         [BZ #14117]
48015         * sysdeps/i386/fpu_control.h: Removed.
48016         * sysdeps/x86_64/fpu_control.h: Moved to ...
48017         * sysdeps/x86/fpu_control.h: Here.
48019         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48020         (_FPU_SETCW): Likewise.
48022 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
48024         [BZ #14117]
48025         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48026         * sysdeps/x86/fpu/bits/mathinline.h: This.
48027         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48029         [BZ #14050]
48030         [BZ #14117]
48031         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48032         functions if __x86_64__ is defined.
48034 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
48036         * string/endian.h: Add !__ASSEMBLER__ condition for including
48037         conversion interfaces.
48039 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
48041         [BZ #14241]
48042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48043         of ABS(x) in calculating zero to negative powers other than odd
48044         integers.
48045         * math/libm-test.inc (pow_test): Add more tests.
48047 2012-06-15  Andreas Jaeger  <aj@suse.de>
48049         * manual/contrib.texi (Contributors): Update entry of Liubov
48050         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48051         Machado Filho.
48053 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
48055         * string/string.h: Add __wur to GNU version of strerror_r.
48057 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
48059         [BZ #14229]
48060         * string/Makefile (tests): Add tst-strtok_r.
48061         * string/tst-strtok_r.c: New file.
48062         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48063         RAX_LP/RDX_LP on SAVE_PTR.
48065 2012-06-14  Roland McGrath  <roland@hack.frob.com>
48067         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48069 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48071         * libm_test.inc (csqrt_test): Allow more spurious underflow
48072         exceptions.
48073         (j0_test): Likewise.
48074         (j1_test): Likewise.
48075         (y0_test): Likewise.
48076         (y1_test): Likewise.
48078 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48080         * po/Makefile (libc.pot): Use UTF-8 charset.
48082 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48084         [BZ #14210]
48085         Suppress sign-conversion warning from FD_SET.
48086         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48087         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48088         not unsigned long int.
48089         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48091 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48093         [BZ #14050]
48094         [BZ #14117]
48095         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48096         __extern_always_inline instead of __extern_inline.
48097         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48098         (__signbit): Likewise.
48099         (__signbitl): Support C++ namespace.
48100         (lrintf): New inline function.
48101         (lrint): Likewise.
48102         (llrintf): Likewise.
48103         (llrint): Likewise.
48104         (fmaxf): Likewise.
48105         (fmax): Likewise.
48106         (fminf): Likewise.
48107         (fmin): Likewise.
48108         (rint): Likewise.
48109         (rintf): Likewise.
48110         (ceil): Likewise.
48111         (ceilf): Likewise.
48112         (floor): Likewise.
48113         (floorf): Likewise.
48114         (nearbyint): Likewise.
48115         (nearbyintf): Likewise.
48117 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48119         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48120         non-default versions.
48122 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48124         [BZ #14218]
48125         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48127 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48129         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48130         (FE_UPWARD, FE_DOWNWARD): Don't define.
48131         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48132         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48134         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48135         reading it.
48136         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48137         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48139 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48141         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48142         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48143         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48144         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48146 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48148         [BZ #14117]
48149         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48150         * sysdeps/i386/fpu/Implies: New file.
48151         * sysdeps/x86_64/fpu/Implies: Likewise.
48152         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48153         * sysdeps/x86/fpu/bits/fenv.h: This.
48155         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48156         __SSE_MATH__.
48158 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48160         [BZ #14134]
48161         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48162         character 0xffff that matches the last element of the
48163         conversion table.
48165 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48167         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48168         fmodl commit.
48170 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48173         values higher than 25.6283.
48175 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48177         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48178         subnormal exponent extraction and add some __builtin_expect.
48179         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48180         Fix for subnormal mantissa calculation.
48182 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48184         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48185         cpu2 is -1 and errno is not ENOSYS.
48187 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48189         [BZ #14117]
48190         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48191         * sysdeps/x86/bits/string.h: This.
48192         * sysdeps/x86_64/bits/string.h: Removed.
48194         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48195         if not compiling for x86-64, but compiling for >= i486.
48197         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48198         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48200         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48201         New macro from Linux kernel 3.4.0.
48202         (FP_XSTATE_MAGIC2): Likewise.
48203         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48204         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48205         (struct _fpx_sw_bytes): New struct.
48206         (struct _xsave_hdr): Likewise.
48207         (struct _ymmh_state): Likewise.
48208         (struct _xstate): Likewise.
48210         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48211         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48212         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48213         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48214         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48215         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48217         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48218         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48219         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48220         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48221         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48222         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48224 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48226         [BZ #13743]
48227         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48228         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48229         (sysdep_headers): Include sys/platform/ppc.h.
48230         * sysdeps/powerpc/test-gettimebase.c: Test for
48231         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48232         * manual/Makefile (appendices): Include platform.texi.
48233         * manual/contrib.texi (Contributors): Update @node pointers.
48234         * manual/maint.texi (Maintenance): Likewise.
48235         (Platform): New node.
48236         * manual/platform.texi: New file.  Document the new features.
48238 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48239             Jakub Jelinek  <jakub@redhat.com>
48241         [BZ #14188]
48242         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48243         where __builtin_expect is unavailable.
48245 2012-06-03  David S. Miller  <davem@davemloft.net>
48247         * stdlib/longlong.h: Updated from GCC.
48249 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48251         [BZ #14042]
48252         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48253         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48254         __mcount_internal.
48255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48256         (GLIBC_2.16): Likewise.
48258 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48260         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48262 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48265         (default-abi): New variable.
48266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48267         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48268         variable.
48269         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48270         Likewise.
48271         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48272         Likewise.
48273         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48274         Likewise.
48276         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48277         definition.  Document in comment.
48279 2012-06-01  David S. Miller  <davem@davemloft.net>
48281         * stdlib/longlong.h: Updated from GCC.
48283 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48285         [BZ #14117]
48286         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48287         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48288         sys/debugreg.h sys/io.h here.
48289         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48290         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48291         sys/io.h.
48292         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48293         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48294         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48295         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48296         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48297         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48299         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48300         Define only if __x86_64__ is defined.
48302 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48304         [BZ #14048]
48305         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48306         Use int64_t for variable i.
48307         * math/libm-test.inc (fmod_test): Add more tests.
48309         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48310         z computation is not scheduled after fetestexcept.
48311         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48312         Use math_force_eval instead of asm to ensure calculation scheduled
48313         before exception test.
48314         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48315         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48317 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48320         computation is not scheduled after fetestexcept.
48322 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48324         [BZ #14117]
48325         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48326         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48328 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48330         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48331         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48333 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48335         [BZ #14117]
48336         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48337         <bits/wordsize.h>.
48338         (__WCHAR_MIN): Support __WORDSIZE == 64.
48339         (__WCHAR_MAX): Likewise.
48341         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48342         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48344         [BZ #14183]
48345         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48346         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48348         [BZ #14117]
48349         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48350         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48352         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48353         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48355         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48356         Defined to 1 if __x86_64__ isn't defined.
48357         (_STAT_VER_LINUX_OLD): New.
48358         (st_atime): Remove duplicate.
48359         (st_mtime): Likewise.
48360         (st_ctime): Likewise.
48362 2012-05-31  David S. Miller  <davem@davemloft.net>
48364         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48365         entries.
48367 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48369         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48370         gen-libm-test.pl.
48372         [BZ #14132]
48373         * elf/dl-reloc.c: Include <_itoa.h>.
48374         (_dl_reloc_bad_type): Remove use of INTUSE.
48375         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48376         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48377         * stdio-common/psiginfo.c (psiginfo): Likewise.
48378         * stdio-common/psignal.c (psignal): Likewise.
48379         * string/strsignal.c (strsignal): Likewise.
48380         * include/signal.h (_sys_siglist): Declare hidden proto.
48381         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48382         INTVARDEF with libc_hidden_data_def.
48383         * stdio-common/itoa-udigits.c: Likewise.
48384         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48385         (_itoa_lower_digits_internal): Remove declaration.
48386         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48387         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48388         (_sys_sigabbrev_internal): Remove aliases.
48389         (_sys_siglist): Define hidden alias.
48391 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48394         bits/sysctl.h.
48396 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48398         [BZ #14117]
48399         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48400         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48402         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48403         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48404         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48405         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48406         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48407         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48409         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48410         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48411         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48413         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48414         with __addr.
48415         (insw): Likewise.
48416         (insl): Likewise.
48417         (outsb): Likewise.
48418         (outsw): Likewise.
48419         (outsl): Likewise.
48421         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48422         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48423         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48425         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48426         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48427         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48428         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48429         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48430         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48432         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48433         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48435         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48436         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48438         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48439         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48440         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48442         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48443         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48444         to ...
48445         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48447         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48448         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48449         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48451         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48452         for x86-64.
48453         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48455 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48457         * math/math.h (M_El): Use two more decimal places.
48458         (M_LOG2El): Likewise.
48459         (M_LOG10El): Likewise.
48460         (M_LN2l): Likewise.
48461         (M_LN10l): Likewise.
48462         (M_PIl): Likewise.
48463         (M_PI_2l): Likewise.
48464         (M_PI_4l): Likewise.
48465         (M_1_PIl): Likewise.
48466         (M_2_PIl): Likewise.
48467         (M_2_SQRTPIl): Likewise.
48468         (M_SQRT2l): Likewise.
48469         (M_SQRT1_2l): Likewise.
48471 2012-05-31  David S. Miller  <davem@davemloft.net>
48473         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48474         values between float registers.
48475         * sysdeps/sparc/sparc64/memset.S: Likewise.
48476         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48478 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48480         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48481         -D_FORTIFY_SOURCE=1.
48482         (CPPFLAGS-tst-longjmp_chk.c): Define.
48483         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48484         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48485         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48486         CFLAGS-tst-wchar-h.c.
48488 2012-05-31  Marek Polacek  <polacek@redhat.com>
48490         [BZ #14132]
48491         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48492         __endmntent_internal): Remove declaration.
48493         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48494         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48495         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48497 2012-05-30  David S. Miller  <davem@davemloft.net>
48499         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48500         (___Q_simulate_exceptions): Use real FP ops rather than writing
48501         into the %fsr.
48502         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48503         Likewise.
48505 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48507         [BZ #14117]
48508         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48509         * sysdeps/x86/bits/xtitypes.h: This.
48511         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48512         * sysdeps/x86/bits/wordsize.h: This.
48514         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48515         * sysdeps/x86/bits/huge_vall.h: This.
48517         * sysdeps/i386/bits/select.h: Removed.
48518         * sysdeps/x86_64/bits/select.h: Renamed to ...
48519         * sysdeps/x86/bits/select.h: This.
48521         * sysdeps/i386/bits/setjmp.h: Removed.
48522         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48523         * sysdeps/x86/bits/setjmp.h: This.
48525         * sysdeps/i386/bits/mathdef.h: Removed.
48526         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48527         * sysdeps/x86/bits/mathdef.h: This.
48529 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48531         [BZ #14132]
48532         * include/sys/socket.h (__connect_internal)
48533         (__libc_sa_len_internal): Remove declaration.
48534         (__connect, __libc_sa_len): Declare hidden_proto.
48535         (SA_LEN): Remove use of INTUSE.
48536         * socket/connect.c: Add libc_hidden_def.
48537         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48538         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48539         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48540         alias.
48541         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48542         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48543         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48544         of adding _internal alias.
48546 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48548         [BZ #14117]
48549         * sysdeps/i386/bits/link.h: Removed.
48550         * sysdeps/i386/bits/linkmap.h: Likewise.
48551         * sysdeps/x86_64/bits/link.h: Renamed to ...
48552         * sysdeps/x86/bits/link.h: This.
48553         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48554         * sysdeps/x86/bits/linkmap.h: This.
48556         * sysdeps/i386/bits/endian.h: Removed.
48557         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48558         * sysdeps/x86/bits/endian.h: This.
48560         * sysdeps/i386/bits/byteswap.h: Removed.
48561         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48562         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48563         * sysdeps/x86/bits/byteswap.h: This.
48564         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48565         * sysdeps/x86/bits/byteswap-16.h: This.
48566         * sysdeps/i386/Implies: Add x86.
48567         * sysdeps/x86_64/Implies: Likewise.
48569 2012-05-30  David S. Miller  <davem@davemloft.net>
48571         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48572         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48573         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48574         (FP_TRAPPING_EXCEPTIONS): Define.
48575         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48576         (FP_TRAPPING_EXCEPTIONS): Define.
48577         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48578         subnormals only when inexact has been signalled or underflow
48579         exceptions are enabled.
48580         (_FP_PACK_CANONICAL): Likewise.
48582 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48584         [BZ #14183]
48585         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48586         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48588 2012-05-30  Richard Henderson  <rth@twiddle.net>
48590         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48591         with #ifndef NOT_IN_libc.
48593         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48594         marked to avoid plt entry.
48596 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48598         [BZ #14112]
48599         * Makeconfig (default-abi): New macro.
48600         (abi-includes): Likewise.
48601         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48602         $(abi-$(default-abi)-lib-soname) for soname if defined.
48603         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48604         abi-variants.
48605         * Makefile (installed-stubs): Likewise.
48606         * include/stubs-biarch.h: Removed.
48607         * scripts/lib-names.awk: Only handle one library at a time.
48608         * scripts/soversions.awk: Remove WORDSIZE support.
48609         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48610         entries.
48611         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48612         Removed.
48613         (syscall-list-default-condition): Likewise.
48614         (syscall-list-default-condition): Likewise.
48615         (syscall-list-includes): Likewise.
48616         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48617         syscall-list-* with abi-*.  Handle undefined abi-variants.
48618         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48619         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48620         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48621         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48622         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48623         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48624         Removed.
48625         (syscall-list-32-options): Likewise.
48626         (syscall-list-32-condition): Likewise.
48627         (syscall-list-64-options): Likewise.
48628         (syscall-list-64-condition): Likewise.
48629         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48630         macro.
48631         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48632         Renamed to ...
48633         (abi-*): This.
48634         (abi-64-ld-soname): New macro.
48635         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48636         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48637         Renamed to ...
48638         (abi-*): This.
48639         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48640         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48642 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48644         * sysdeps/unix/sysv/linux/kernel-features.h
48645         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48646         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48647         include <kernel-features.h>.
48648         [!__NR_ftruncate64]: Remove conditional code.
48649         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48650         [__NR_ftruncate64]: Make code unconditional.
48651         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48652         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48653         include <kernel-features.h>.
48654         [!__NR_ftruncate64]: Remove conditional code.
48655         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48656         [__NR_ftruncate64]: Make code unconditional.
48657         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48659         include <kernel-features.h>.
48660         [!__NR_ftruncate64]: Remove conditional code.
48661         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48662         [__NR_ftruncate64]: Make code unconditional.
48663         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48665         include <kernel-features.h>.
48666         [!__NR_ftruncate64]: Remove conditional code.
48667         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48668         [__NR_ftruncate64]: Make code unconditional.
48669         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48671         * configure.in (libc_cv_fpie): Weaken to a compile test using
48672         LIBC_TRY_CC_OPTION.
48673         * configure: Regenerated.
48675 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48681         Refreshed.
48682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48688         Refreshed.
48690 2012-05-27  David S. Miller  <davem@davemloft.net>
48692         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48693         (___Q_zero): New.
48694         (__Q_simulate_exceptions): Return void.  Change to simulate
48695         exceptions by writing into the %fsr.
48696         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48697         (__Qp_handle_exceptions): Likewise.
48698         (numbers): Delete.
48699         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48700         __Qp_handle_exceptions.
48701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48702         __Qp_handle_exceptions.
48703         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48704         as unused and give dummy FP_RND_NEAREST initializer.
48705         (FP_INHIBIT_RESULTS): Define.
48706         (___Q_simulate_exceptions): Update declaration.
48707         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48708         formatting.
48709         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48710         as unused and give dummy FP_RND_NEAREST initializer.
48711         (__Qp_handle_exceptions): Update declaration.
48712         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48713         formatting.
48715 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48717         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48718         the temporary FPU control word.
48719         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48720         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48721         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48722         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48723         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48724         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48725         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48726         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48727         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48728         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48729         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48731 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48733         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48734         fields.
48736 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48738         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48739         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48740         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48741         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48742         Likewise.
48743         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48744         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48745         Likewise.
48747 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48749         * po/h.po: Update from translation team.
48751 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48753         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48755         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48756         handling of denormals.
48757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48758         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48759         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48760         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48761         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48763         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48764         Likewise.
48766 2012-05-26  Marek Polacek  <polacek@redhat.com>
48768         [BZ #14152]
48769         * math/libm-test.inc (fma_test): Don't always expect underflow
48770         exception.
48772 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48774         [BZ #12416]
48775         * elf/tst-execstack.c: Include stackinfo.h.
48776         (do_test): Adjust test case to ensure that pthread_getattr_np
48777         behaviour remains the same after marking stack executable.
48779 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48781         * sysdeps/unix/sysv/linux/kernel-features.h
48782         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48783         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48784         kernel-features.h.
48785         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48786         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48787         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48788         kernel-features.h.
48789         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48790         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48792 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48794         * configure.in: Define the default includes to being none.
48795         * configure: Regenerated.
48797 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48799         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48800         * sysdeps/x86_64/setjmp.S: Likewise.
48801         * sysdeps/i386/bsd-setjmp.S: Likewise.
48802         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48803         * sysdeps/i386/setjmp.S: Likewise.
48804         * sysdeps/i386/__longjmp.S: Likewise.
48805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48806         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48808         * include/stap-probe.h: New file.
48809         * configure.in: Handle --enable-systemtap.
48810         * configure: Regenerated.
48811         * config.h.in (USE_STAP_PROBE): New #undef.
48812         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48813         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48814         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48816 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48818         [BZ #13717]
48819         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48820         to 2.4.0 where earlier.
48821         * sysdeps/unix/sysv/linux/configure: Regenerated.
48822         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48823         <kernel-features.h>.
48824         [__ASSUME_32BITUIDS]: Make code unconditional.
48825         [!__ASSUME_32BITUIDS]: Remove conditional code.
48826         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
48831         [__ASSUME_32BITUIDS]: Make code unconditional.
48832         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48833         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48834         <kernel-features.h>.
48835         [__ASSUME_32BITUIDS]: Make code unconditional.
48836         [!__ASSUME_32BITUIDS]: Remove conditional code.
48837         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
48874         <kernel-features.h>.
48875         [__NR_setresgid] (__setresgid): Do not declare.
48876         [__ASSUME_32BITUIDS]: Make code unconditional.
48877         [!__ASSUME_32BITUIDS]: Remove conditional code.
48878         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48879         <kernel-features.h>.
48880         [__NR_setresuid] (__setresuid): Do not declare.
48881         [__ASSUME_32BITUIDS]: Make code unconditional.
48882         [!__ASSUME_32BITUIDS]: Remove conditional code.
48883         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48884         <kernel-features.h>.
48885         [__ASSUME_32BITUIDS]: Make code unconditional.
48886         [!__ASSUME_32BITUIDS]: Remove conditional code.
48887         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
48924         (__ASSUME_SETRESUID_SYSCALL): Remove.
48925         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48926         (__ASSUME_32BITUIDS): Likewise.
48927         (__ASSUME_LDT_WORKS): Likewise.
48928         (__ASSUME_O_DIRECTORY): Likewise.
48929         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48930         architecture but not kernel version.
48931         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48932         (__ASSUME_MMAP2_SYSCALL): Likewise.
48933         (__ASSUME_STAT64_SYSCALL): Likewise.
48934         (__ASSUME_IPC64): Likewise.
48935         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48936         <kernel-features.h>.
48937         [__ASSUME_32BITUIDS]: Make code unconditional.
48938         [!__ASSUME_32BITUIDS]: Remove conditional code.
48939         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48940         <kernel-features.h>.
48941         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48942         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48943         132096]: Remove conditional code.
48944         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48946         <kernel-features.h>.
48947         [__ASSUME_32BITUIDS]: Make code unconditional.
48948         [!__ASSUME_32BITUIDS]: Remove conditional code.
48949         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
48954         <kernel-features.h>.
48955         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48956         unconditional.
48957         (__setresgid): Do not declare.
48958         [__ASSUME_32BITUIDS]: Make code unconditional.
48959         [!__ASSUME_32BITUIDS]: Remove conditional code.
48960         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48961         <kernel-features.h>.
48962         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48963         unconditional.
48964         (__setresuid): Do not declare.
48965         [__ASSUME_32BITUIDS]: Make code unconditional.
48966         [!__ASSUME_32BITUIDS]: Remove conditional code.
48967         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48968         <kernel-features.h>.
48969         [__ASSUME_32BITUIDS]: Make code unconditional.
48970         [!__ASSUME_32BITUIDS]: Remove conditional code.
48971         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48972         <kernel-features.h>.
48973         [__ASSUME_32BITUIDS]: Make code unconditional.
48974         [!__ASSUME_32BITUIDS]: Remove conditional code.
48976 2012-05-25  Richard Henderson  <rth@twiddle.net>
48978         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48979         dl_hwcap to ifunc resolver.
48980         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48981         elf_ifunc_invoke.
48982         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48983         dl_hwcap to ifunc resolver.
48984         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48986 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48988         [BZ #14153]
48989         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48990         for |x| <= 2**-26, not 2**-57.
48991         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48992         exception.
48994 2012-05-24  Jeff Law  <law@redhat.com>
48996         * stdio-common/Makefile (tests): Add bug25.
48997         * stdio-common/bug25.c: New test.
48999 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49001         [BZ #13576]
49002         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49003         multiple of MALLOC_ALIGNMENT in size.
49004         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49006 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49008         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49009         Require >= 256.
49010         (FILENAME_MAX): Use macro-int-constant.
49011         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
49012         (_IOFBF): Use macro-int-constant.
49013         (_IOLBF): Likewise.
49014         (_IONBF): Likewise.
49015         (SEEK_CUR): Likewise.
49016         (SEEK_END): Likewise.
49017         (SEEK_SET): Likewise.
49018         (TMP_MAX): Likewise.
49019         (EOF): Use macro-int-constant.  Require < 0.
49020         (NULL): Use macro-constant.  Require == 0.
49021         (stdin): Require type to be FILE *.
49022         (stdout): Likewise.
49023         (stderr): Likewise.
49024         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49025         macro-int-constant.
49026         (EXIT_SUCCESS): Likewise.
49027         (NULL): Use macro-constant.  Require == 0.
49028         (RAND_MAX): Use macro-int-constant.
49029         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49030         [C99-based standards] (strtof): Require function.
49031         [C99-based standards] (strtold): Likewise.
49032         [C99-based standards] (strtoll): Likewise.
49033         [C99-based standards] (strtoull): Likewise.
49034         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49035         [ISO || ISO99 || ISO11] (limits.h): Likewise.
49036         [ISO || ISO99 || ISO11] (math.h): Likewise.
49037         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49038         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49041 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
49043         [BZ #14132]
49044         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49045         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49046         * intl/dgettext.c (DCGETTEXT): Likewise.
49047         * intl/gettext.c (DCGETTEXT): Likewise.
49048         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49049         * posix/regex_internal.h (gettext): Likewise.
49050         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49051         Remove declaration.
49052         * include/argz.h (__argz_count_internal)
49053         (__argz_stringify_internal): Remove declaration.
49054         (__argz_count, __argz_stringify): Declare hidden proto.
49055         * intl/dcgettext.c: Remove use of INTDEF.
49056         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49057         * string/argz-stringify.c: Likewise.
49058         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49059         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49060         Declare hidden proto.
49061         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49062         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49063         Declare hidden proto.
49064         * include/stdio.h (__asprintf_internal): Don't declare.
49065         (__asprintf): Don't define as macro.  Declare hidden proto.
49066         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49067         (__fsetlocking): Declare hidden proto.
49068         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49069         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49070         hidden proto.
49071         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49072         (_IO_setlinebuf): Remove use of INTUSE.
49073         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49074         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49075         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49076         Remove declaration.
49077         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49078         (_IO_do_flush): Remove use of INTUSE.
49079         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49080         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49081         (_IO_adjust_column, _IO_least_wmarker)
49082         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49083         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49084         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49085         (_IO_default_doallocate, _IO_wdefault_doallocate)
49086         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49087         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49088         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49089         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49090         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49091         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49092         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49093         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49094         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49095         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49096         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49097         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49098         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49099         proto.
49100         (_IO_flush_all_internal, _IO_adjust_column_internal)
49101         (_IO_default_uflow_internal, _IO_default_finish_internal)
49102         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49103         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49104         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49105         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49106         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49107         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49108         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49109         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49110         (_IO_file_close_internal, _IO_file_close_it_internal)
49111         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49112         (_IO_file_init_internal, _IO_file_attach_internal)
49113         (_IO_file_fopen_internal, _IO_file_read_internal)
49114         (_IO_file_sync_internal, _IO_file_seek_internal)
49115         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49116         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49117         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49118         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49119         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49120         (_IO_list_all_internal, _IO_link_in_internal)
49121         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49122         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49123         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49124         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49125         (_IO_do_write_internal, _IO_padn_internal)
49126         (_IO_getline_info_internal, _IO_getline_internal)
49127         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49128         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49129         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49130         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49131         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49132         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49133         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49134         with libc_hidden_ver, remove use of INTUSE.
49135         * libio/genops.c: Likewise.
49136         * libio/freopen.c: Likewise.
49137         * libio/freopen64.c: Likewise.
49138         * libio/iofclose.c: Likewise.
49139         * libio/iofdopen.c: Likewise.
49140         * libio/iofflush.c: Likewise.
49141         * libio/iofflush_u.c: Likewise.
49142         * libio/iofgets.c: Likewise.
49143         * libio/iofgets_u.c: Likewise.
49144         * libio/iofopen.c: Likewise.
49145         * libio/iofopncook.c: Likewise.
49146         * libio/iofread.c: Likewise.
49147         * libio/iofread_u.c: Likewise.
49148         * libio/ioftell.c: Likewise.
49149         * libio/iofwrite.c: Likewise.
49150         * libio/iogetline.c: Likewise.
49151         * libio/iogets.c: Likewise.
49152         * libio/iogetwline.c: Likewise.
49153         * libio/iopadn.c: Likewise.
49154         * libio/iopopen.c: Likewise.
49155         * libio/ioseekoff.c: Likewise.
49156         * libio/ioseekpos.c: Likewise.
49157         * libio/iosetbuffer.c: Likewise.
49158         * libio/iosetvbuf.c: Likewise.
49159         * libio/ioungetc.c: Likewise.
49160         * libio/ioungetwc.c: Likewise.
49161         * libio/iovdprintf.c: Likewise.
49162         * libio/iovsprintf.c: Likewise.
49163         * libio/iovsscanf.c: Likewise.
49164         * libio/memstream.c: Likewise.
49165         * libio/obprintf.c: Likewise.
49166         * libio/oldfileops.c: Likewise.
49167         * libio/oldiofclose.c: Likewise.
49168         * libio/oldiofdopen.c: Likewise.
49169         * libio/oldiofopen.c: Likewise.
49170         * libio/oldiopopen.c: Likewise.
49171         * libio/oldstdfiles.c: Likewise.
49172         * libio/putc.c: Likewise.
49173         * libio/setbuf.c: Likewise.
49174         * libio/setlinebuf.c: Likewise.
49175         * libio/stdfiles.c: Likewise.
49176         * libio/strops.c: Likewise.
49177         * libio/vasprintf.c: Likewise.
49178         * libio/vscanf.c: Likewise.
49179         * libio/vsnprintf.c: Likewise.
49180         * libio/vswprintf.c: Likewise.
49181         * libio/wfiledoalloc.c: Likewise.
49182         * libio/wfileops.c: Likewise.
49183         * libio/wgenops.c: Likewise.
49184         * libio/wmemstream.c: Likewise.
49185         * libio/wstrops.c: Likewise.
49186         * libio/__fpurge.c: Likewise.
49187         * libio/__fsetlocking.c: Likewise.
49188         * assert/assert.c: Likewise.
49189         * debug/fgets_chk.c: Likewise.
49190         * debug/fgets_u_chk.c: Likewise.
49191         * debug/fread_chk.c: Likewise.
49192         * debug/fread_u_chk.c: Likewise.
49193         * debug/gets_chk.c: Likewise.
49194         * debug/obprintf_chk.c: Likewise.
49195         * debug/vasprintf_chk.c: Likewise.
49196         * debug/vdprintf_chk.c: Likewise.
49197         * debug/vsnprintf_chk.c: Likewise.
49198         * debug/vsprintf_chk.c: Likewise.
49199         * malloc/mtrace.c: Likewise.
49200         * misc/error.c: Likewise.
49201         * misc/syslog.c: Likewise.
49202         * stdio-common/asprintf.c: Likewise.
49203         * stdio-common/fxprintf.c: Likewise.
49204         * stdio-common/getw.c: Likewise.
49205         * stdio-common/isoc99_fscanf.c: Likewise.
49206         * stdio-common/isoc99_scanf.c: Likewise.
49207         * stdio-common/isoc99_vfscanf.c: Likewise.
49208         * stdio-common/isoc99_vscanf.c: Likewise.
49209         * stdio-common/isoc99_vsscanf.c: Likewise.
49210         * stdio-common/printf-prs.c: Likewise.
49211         * stdio-common/printf_fp.c: Likewise.
49212         * stdio-common/printf_fphex.c: Likewise.
49213         * stdio-common/printf_size.c: Likewise.
49214         * stdio-common/putw.c: Likewise.
49215         * stdio-common/scanf.c: Likewise.
49216         * stdio-common/sprintf.c: Likewise.
49217         * stdio-common/tmpfile.c: Likewise.
49218         * stdio-common/vfprintf.c: Likewise.
49219         * stdio-common/vfscanf.c: Likewise.
49220         * stdlib/strfmon_l.c: Likewise.
49221         * sunrpc/openchild.c: Likewise.
49222         * sunrpc/xdr_stdio.c: Likewise.
49223         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49224         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49226 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49228         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49230         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49231         in the third column, to generate for the shared library an IFUNC
49232         that uses _dl_vdso_vsym.
49233         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49234         * Makeconfig (object-suffixes-noshared): New variable.
49236         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49237         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49238         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49239         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49241         [BZ #14132]
49242         * include/sys/time.h (__gettimeofday): Remove macro.
49243         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49244         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49245         Remove INTDEF.
49246         (__gettimeofday): Add libc_hidden_def.
49247         (gettimeofday): Add libc_hidden_weak.
49248         * sysdeps/mach/gettimeofday.c: Likewise.
49249         * sysdeps/posix/gettimeofday.c: Likewise.
49250         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49251         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49252         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49253         (__gettimeofday_internal): Remove strong_alias.
49254         (__gettimeofday): Add libc_hidden_def.
49255         (gettimeofday): Add libc_hidden_weak.
49256         * sysdeps/unix/syscalls.list (gettimeofday):
49257         Remove __gettimeofday_internal alias.
49259 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49260             H.J. Lu  <hongjiu.lu@intel.com>
49262         [BZ #12495]
49263         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49264         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49265         (largebin_index_32_big): New.
49266         (largebin_index): Use it for 16-byte alignment.
49267         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49268         correction with front_misalign.
49270 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49274         Likewise.
49275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49276         Likewise.
49277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49278         Likewise.
49279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49280         Likewise.
49281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49282         Likewise.
49283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49284         Likewise.
49285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49286         Likewise.
49287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49288         Likewise.
49289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49290         Likewise.
49291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49292         Likewise.
49293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49294         Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49296         Likewise.
49298         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49299         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49301 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49303         [BZ #10846]
49304         [BZ #14036]
49305         * math/libm-test.inc (exp_test): Add test from bug 14036.
49306         (pow_test): Add test from bug 10846.
49308         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49309         and other flags.
49310         (special_function): Do not include flags in test name.
49311         (parse_args): Likewise.
49312         * sysdeps/i386/fpu/libm-test-ulps: Update.
49313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49314         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49315         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49318         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49319         exceptions.
49320         * math/libm-test.inc ("Philosophy"): Update comment about
49321         exception testing.
49322         (UNDERFLOW_EXCEPTION): New macro.
49323         (UNDERFLOW_EXCEPTION_OK): Likewise.
49324         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49325         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49326         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49327         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49328         (INVALID_EXCEPTION_OK): Update value.
49329         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49330         (OVERFLOW_EXCEPTION_OK): Likewise.
49331         (IGNORE_ZERO_INF_SIGN): Likewise.
49332         (test_exceptions): Handle underflow exceptions.
49333         (acos_test): Update for underflow exception expectations.
49334         (cexp_test): Likewise.
49335         (clog_test): Likewise.
49336         (clog10_test): Likewise.
49337         (csqrt_test): Likewise.
49338         (ctan_test): Likewise.
49339         (ctanh_test): Likewise.
49340         (exp_test): Likewise.
49341         (exp10_test): Likewise.
49342         (exp2_test): Likewise.
49343         (expm1_test): Likewise.
49344         (fma_test): Likewise.
49345         (j0_test): Likewise.
49346         (jn_test): Likewise.
49347         (nexttoward_test): Likewise.
49348         (pow_test): Likewise.
49349         (scalbn_test): Likewise.
49350         (scalbln_test): Likewise.
49351         (tan_test): Likewise.
49352         (y1_test): Likewise.
49353         * sysdeps/i386/fpu/libm-test-ulps: Update.
49354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49356 2012-05-23  David S. Miller  <davem@davemloft.net>
49358         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49359         (__libc_sigaction): Remove unused local variables.
49361 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49363         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49365 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49367         mktime: avoid signed integer overflow
49368         * time/mktime.c (__mktime_internal): Do not mishandle the case
49369         where diff == INT_MIN.
49371         mktime: simplify computation of average
49372         * time/mktime.c (ranged_convert): Use new time_t_avg function
49373         instead of rolling our own (probably-slower) code.
49375         mktime: do not assume signed right shift propagates sign bit
49376         * time/mktime.c (isdst_differ): New static function.
49377         (__mktime_internal): No need to normalize tm_isdst now.
49378         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49379         tm_isdst values.
49381         mktime: merge another wrapv change from gnulib
49382         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49383         from some compilers.
49385         mktime: remove incorrect attempt at unusual arithmetics
49386         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49387         The code didn't really work on such machines anyway.
49388         (TYPE_MINIMUM): Assume two's complement.
49389         (twos_complement_arithmetic): Verify that long_int and time_t
49390         are two's complement (or unsigned, in the latter case).
49392         mktime: check signed shifts on long_int and time_t, too
49393         * time/mktime.c (SHR): Check that shifts work as desired
49394         on the types long_int and time_t too, as SHR is used on
49395         such types.
49397         mktime: do not assume 'long' is wide enough
49398         * time/mktime.c (verify): Move decl up.
49399         (long_int): New type.
49400         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49401         to remove assumption in the code that 'long' is wide enough to
49402         store year values.  This assumption is not true on x32 and on
49403         some non-glibc platforms.
49405         mktime: merge wrapv change from gnulib
49406         * time/mktime.c (WRAPV): New macro.
49407         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49408         (guess_time_tm, __mktime_internal): Do not assume that signed
49409         integer overflow wraps around; modern compilers generate code
49410         where this assumption is no longer valid.
49412 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49414         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49415         Replace "jmp L(pseudo_end)" with "ret".
49416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49417         Likewise.
49419 2012-05-23  Andreas Jaeger  <aj@suse.de>
49421         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49422         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49424 2012-05-23  Andreas Jaeger  <aj@suse.de>
49425             Maximilian Attems  <max@stro.at>
49427         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49428         New macros.
49430 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49432         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49433         code so that pseudo_end is just ret and the stack pointer is
49434         correct also for static library in error case.
49436 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49438         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49439         move to syscalls.list.
49440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49445         * manual/install.texi (Running make install): Do not mention Linux
49446         kernel version for which pt_chown is not needed.
49447         (Linux): Do not mention problems with nscd with 2.0 kernels.
49448         * INSTALL: Regenerated.
49450 2012-05-23  Andreas Jaeger  <aj@suse.de>
49452         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49453         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49454         macro.
49455         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49456         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49457         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49458         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49459         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49460         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49463         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49464         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49465         * sysdeps/unix/sysv/linux/bits/in.h
49466         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49468 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49470         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49471         (PREPARE_VERSION): Just use assert instead, it will be elided
49472         under [NDEBUG] anyway.
49474 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49476         * sysdeps/unix/sysv/linux/Makefile: Include
49477         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49478         (sysdep_routines): Remove sysctl.
49479         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49480         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49481         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49482         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49483         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49485 2012-05-22  Andreas Jaeger  <aj@suse.de>
49487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49488         that pseudo_end is just ret and the stack pointer is correct also
49489         for static library in error case.
49491 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49493         [BZ #14122]
49494         * nss/nsswitch.c (defconfig_entries): New variable.
49495         (__nss_database_lookup): Don't leak defconfig entries.
49496         (nss_parse_service_list): Don't leak on error paths.
49497         (free_database_entries): New function.
49498         (free_defconfig): New function.
49499         (free_mem): Move common code to free_database_entries.
49501 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49503         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49504         Add arch_prctl.
49505         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49507         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49508         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49510         New macro.
49511         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49512         (INTERNAL_SYSCALL_TYPES): Likewise.
49513         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49514         (LOAD_REGS_TYPES_[1-6]): Likewise.
49515         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49516         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49518 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49520         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49521         copysignl for GLIBC_2_0.
49522         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49523         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49525         logbl for GLIBC_2_0.
49526         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49527         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49529 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49531         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49532         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49534         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49535         Use "neg %eax".
49537         * time/mktime.c: Update copyright years.
49539 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49541         mktime: merge comment-quoting-style change from gnulib
49542         * time/mktime.c: Quote 'like this' in comments.
49543         The GNU coding standards suggest that we no longer quote `like this',
49544         as "`" and "'" are typically rendered asymmetrically nowadays.
49545         The typical gnulib style is to quote 'like this' when quoting
49546         code, and "like this" when quoting English.
49548         * time/mktime.c (compile-command): Add "-I.".
49550         mktime: merge mktime-internal.h change from gnulib
49551         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49553         mktime: merge time_r change from gnulib
49554         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49556         mktime: merge DEBUG change from gnulib
49557         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49558         case system <time.h> has a #define.
49560         mktime: merge <sys/types.h> change from gnulib
49561         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49562         since <time.t> is now guaranteed to define time_t.
49564         mktime: merge HAVE_CONFIG_H change from gnulib
49565         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49567 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49570         Use "neg %eax".
49572         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49573         __rlim_t cast.
49574         (struct rusage): Use anonymous union to pad each field to
49575         __syscall_slong_t.
49577 2012-05-21  David S. Miller  <davem@davemloft.net>
49579         * Makefules (o-iterator): Remove .s cases.
49580         (compile-command.s): Delete.
49581         (COMPILE.s): Delete.
49582         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49584 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49586         * configure.in (libc_cv_predef_stack_protector): Only consider
49587         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49588         * configure: Regenerated.
49590 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49593         New macro.  Use R*LP on int and pointer.
49594         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49595         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49596         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49597         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49599         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49600         [__WORDSIZE_TIME64_COMPAT32] instead of
49601         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49602         (struct utmp): Likewise.
49603         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49604         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49605         Renamed to ...
49606         (__WORDSIZE_TIME64_COMPAT32): This.
49607         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49608         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49609         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49610         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49611         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49612         (__WORDSIZE_TIME64_COMPAT32): New macro.
49614 2012-05-21  Andreas Jaeger  <aj@suse.de>
49616         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49617         only if [SHARED]. Add prototype for __wcschr_ia32.
49619 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49621         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49622         of %rbp unmolested in the jmp_buf while mangling the low bits.
49623         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49624         unmolested high bits of %rbp while demangling the low bits.
49625         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49627 2012-05-21  Andreas Jaeger  <aj@suse.de>
49629         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49630         * sunrpc/svc_simple.c: Use it for registerrpc.
49631         * sunrpc/xcrypt.c: Use it for passwd2des.
49633         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49635 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49637         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49638         Don't define if [__SYSCALL_WORDSIZE != 32].
49639         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49640         New macro.
49642 2012-05-21  Bruno Haible  <bruno@clisp.org>
49643             Andreas Jaeger  <aj@suse.de>
49645         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49646         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49647         inptr and inend for must_buffer_ch.
49648         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49649         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49650         * stdio-common/Makefile (tests): Remove bug15.
49651         (bug15-ENV): Remove macro.
49652         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49653         anymore.
49655 2012-05-19  Andreas Jaeger  <aj@suse.de>
49656             Roland McGrath  <roland@hack.frob.com>
49658         * manual/contrib.texi: Completely rewritten. It contains now an
49659         alphabetical list of contributors and their contributions.
49661 2012-05-21  Richard Henderson  <rth@twiddle.net>
49663         * misc/getauxval.c (__getauxval): Use unsigned long int.
49664         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49665         (getauxval): Use unsigned long int.
49667 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49669         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49671 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49673         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49674         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49675         __alignof__ (long double).
49677 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49681 2012-05-20  Richard Henderson  <rth@twiddle.net>
49683         * misc/getauxval.c: New file.
49684         * misc/sys/auxv.h: New file.
49685         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49686         (routines): Add getauxval.
49687         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49688         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49689         * elf/dl-sysdep.c (_dl_auxv): Remove.
49690         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49691         * elf/dl-support.c (_dl_auxv): New variable.
49692         (_dl_aux_init): Initialize it.
49693         * manual/startup.texi (Auxiliary Vector): New node.
49694         * sysdeps/generic/bits/hwcap.h: New file.
49695         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49696         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49697         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49698         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49699         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49702         Update.
49703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49712 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49716 2012-05-19  David S. Miller  <davem@davemloft.net>
49718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49720 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49722         [BZ #14123]
49723         * math/s_ccosh.c: Include <float.h>
49724         (__ccosh): Avoid internal overflow calculating sinh and cosh
49725         values before multiplying by sin and cos values.
49726         * math/s_ccoshf.c: Likewise.
49727         * math/s_ccoshl.c: Likewise.
49728         * math/s_csin.c: Likewise.
49729         * math/s_csinf.c: Likewise.
49730         * math/s_csinl.c: Likewise.
49731         * math/s_csinh.c: Likewise.
49732         * math/s_csinhf.c: Likewise.
49733         * math/s_csinhl.c: Likewise.
49734         * math/libm-test.inc (ccos_test): Add more tests.
49735         (ccosh_test): Likewise.
49736         (csin_test): Likewise.
49737         (csinh_test): Likewise.
49738         * sysdeps/i386/fpu/libm-test-ulps: Update.
49739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49741 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49743         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49744         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49746         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49748 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49750         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49751         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49752         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49753         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49754         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49755         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49756         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49757         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49758         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49759         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49760         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49761         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49762         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49763         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49764         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49765         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49766         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49767         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49768         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49769         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49770         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49771         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49772         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49773         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49774         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49775         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49776         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49777         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49778         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49779         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49780         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49782 2012-05-18  Andreas Jaeger  <aj@suse.de>
49784         * csu/.gitignore: Delete.
49786 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49788         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49789         (timex): Use __syscall_slong_t.
49791 2012-05-18  Andreas Jaeger  <aj@suse.de>
49792             Carlos O'Donell  <carlos_odonell@mentor.com>
49794         * manual/install.texi (Configuring and compiling): Update
49795         description about files modified in the source directory.
49796         * INSTALL: Regenerated.
49798 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49800         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49801         value.  Use "or" to set return value to -1.
49802         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49803         negate return value.
49805 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49807         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49808         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49809         failure if the compiler has Graphite support disabled.
49810         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49811         Likewise.
49812         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49813         (CFLAGS-memmove.c): Likewise.
49814         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49815         Likewise.
49817 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49819         * sysdeps/x86_64/x32/_itoa.h: New file.
49821         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49822         getdents system call only if kernel and user dirents have the
49823         same d_ino and d_off.
49825         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49826         LLONG_MAX != LONG_MAX.
49827         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49828         (_fitoa_word): Likewise.
49830         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49831         years.
49832         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49833         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49834         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49836         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49837         include <bits/wordsize.h>.  Check __x86_64__ instead of
49838         __WORDSIZE.
49839         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49840         if __x86_64__ is defined.  Use anonymous union on fpstate.
49842         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49843         anonymous union.
49845 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49847         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49848         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49849         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49850         Refer to _rtld_local_ro instead of _rtld_global_ro.
49851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49852         Likewise.
49853         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49854         Likewise.
49855         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49856         Likewise.
49857         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49858         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49859         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49861         [BZ #10882]
49862         * sysdeps/powerpc/powerpc32/dl-machine.c
49863         (__elf_machine_runtime_setup) [PROF]: Don't reference
49864         _dl_prof_resolve.
49866 2012-05-18  Andreas Jaeger  <aj@suse.de>
49868         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49869         function only available for GCCs before 3.4 since GCC 3.4
49870         introduced a builtin.
49871         (lrint): Likewise.
49872         (llrintf): Likewise.
49873         (llrint): Likewise.
49874         (fmaxf): Likewise.
49875         (fmax): Likewise.
49876         (fminf): Likewise.
49877         (fmin): Likewise.
49878         (rint): Likewise.
49879         (rintf): Likewise.
49880         (nearbyint): Likewise.
49881         (nearbyintf): Likewise.
49882         (ceil): Likewise.
49883         (ceilf): Likewise.
49884         (floor): Likewise.
49885         (floorf): Likewise.
49887 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49889         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49890         on both fields and cast pointer to __syscall_ulong_t.
49892         * bits/types.h (__fsword_t): New type.
49893         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49894         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49896         (__FSWORD_T_TYPE): Likewise.
49897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49898         (__FSWORD_T_TYPE): Likewise.
49899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49900         (__FSWORD_T_TYPE): Likewise.
49901         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49902         (__FSWORD_T_TYPE): Likewise.
49903         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49904         __SWORD_TYPE with __fsword_t.
49905         (statfs64): Likewise.
49907 2012-05-17  David S. Miller  <davem@davemloft.net>
49909         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49911 2012-05-17  Andreas Jaeger  <aj@suse.de>
49913         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49914         warning.
49916 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49918         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49920 2012-05-17  Andreas Jaeger  <aj@suse.de>
49922         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49923         when it is used.
49925 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49927         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49929 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49931         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49932         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49934 2012-05-17  Andreas Jaeger  <aj@suse.de>
49935             Carlos O'Donell  <carlos_odonell@mentor.com>
49937         [BZ #14059]
49938         * sysdeps/x86_64/multiarch/init-arch.h
49939         (bit_YMM_Usable): Rename to...
49940         (bit_AVX_Usable): ... this.
49941         (bit_FMA4_Usable): New macro.
49942         (bit_XMM_state): New macro.
49943         (bit_YMM_state): New macro.
49944         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49945         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49946         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49947         (CPUID_OSXSAVE): New macro.
49948         (CPUID_AVX): New macro.
49949         (CPUID_FMA4): New macro.
49950         (index_YMM_Usable): Rename to...
49951         (index_AVX_Usable): ... this.
49952         (HAS_AVX): Use HAS_ARCH_FEATURE.
49953         (HAS_FMA4): Likewise.
49954         (HAS_YMM_USABLE): Remove.
49955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49956         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49957         are present.
49958         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49959         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49960         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49961         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49962         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49964 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49966         * math/libm-test.c: Support platforms without multiple rounding modes.
49967         * math/bug-nextafter.c: Support platforms without FP exceptions.
49968         * math/bug-nexttoward.c: Likewise.
49969         * math/test-fenv.c: Likewise.
49970         * math/test-misc.c: Likewise.
49971         * stdlib/bug-getcontext.c: Likewise.
49973 2012-05-17  Andreas Jaeger  <aj@suse.de>
49975         * manual/examples/search.c (critter_cmp): Change signature to
49976         avoid warnings.
49977         * manual/string.texi (Collation Functions): Likewise.
49979 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49981         * bits/types.h: Fold copyright years.
49982         * bits/typesizes.h: Likewise.
49983         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49987         * time/time.h: Likewise.
49989 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49991         [BZ #208]
49992         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49993         in instead of returning them.  Return void.
49994         (__libc_mallinfo): Accumulate over all arenas.
49995         (__malloc_stats): Adjust for change in int_mallinfo interface.
49997 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49999         [BZ #10375]
50000         * configure.in (NM): Add AC_CHECK_TOOL for it.
50001         (libc_extra_cflags): New substituted variable.
50002         Check for -fstack-protector being used implicitly.
50003         * configure: Regenerated.
50004         * config.make.in (config-extra-cflags): New variable,
50005         gets @libc_extra_cflags@.
50006         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50008         [BZ #10375]
50009         * configure.in: Check for _FORTIFY_SOURCE being predefined.
50010         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50011         * configure: Regenerated.
50012         * config.make.in (CPPUNDEFS): New substituted variable.
50013         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50014         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50015         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50017 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50019         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50020         (mq_attr): Use __syscall_slong_t.
50022 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50024         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50025         Check __x86_64__ instead of __WORDSIZE.
50026         (_STAT_VER_LINUX): Likewise.
50027         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
50028         __syscall_ulong_t and __syscall_slong_t.
50029         (stat64): Likewise.
50031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50033         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50037         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50039 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50041         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50042         __syscall_ulong_t.
50044         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50045         include <bits/wordsize.h>.  Check __x86_64__ instead of
50046         __WORDSIZE.
50047         (greg_t): Use "__extension__ long long int" if __x86_64__ is
50048         defined.
50049         (mcontext_t): Replace "unsigned long" with "unsigned long long".
50051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50052         include <bits/wordsize.h>.  Check __x86_64__ instead of
50053         __WORDSIZE.
50054         (user_regs_struct): Use "__extension__ unsigned long long"
50055         instead of "unsigned long" if __x86_64__ is defined.
50056         (user): Likewise.  Pad after pointer field if __ILP32__ is
50057         defined.
50059 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
50061         * configure.in (makeinfo): Require version 4.5 or later.  Allow
50062         versions 5 to 9.
50063         * configure: Regenerated.
50064         * manual/install.texi (texinfo): Increase version requirement to
50065         4.5 or later.
50066         * INSTALL: Regenerated.
50068         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50070 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50072         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50074         * sysdeps/x86_64/x32/ffs.c: New file.
50076         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50077         __syscall_ulong_t.
50078         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50079         defined.  Use __syscall_ulong_t.
50080         (shminfo): Use __syscall_ulong_t.
50081         (shm_info): Likewise.
50083         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50084         __syscall_ulong_t.
50086         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50087         <bits/wordsize.h>.
50088         (msgqnum_t): Use __syscall_ulong_t.
50089         (msglen_t): Likewise.
50090         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50091         __syscall_ulong_t.
50093         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50094         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50096         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50098         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50099         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50101         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50102         __syscall_slong_t.
50104         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50105         include <bits/wordsize.h>.  Check __x86_64__ instead of
50106         __WORDSIZE.
50108         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50109         "unsigned long long int" if __x86_64__ is defined.
50110         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50113         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50114         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50116         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50117         <stdint.h>.
50118         (GET_PC): Cast to uintptr_t first.
50119         (GET_FRAME): Likewise.
50120         (GET_STACK): Likewise.
50122         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50123         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50124         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50125         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50126         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50127         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50128         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50129         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50130         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50131         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50132         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50133         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50134         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50135         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50136         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50137         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50138         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50139         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50140         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50141         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50142         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50143         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50144         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50145         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50146         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50147         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50148         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50149         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50150         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50152 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50154         * Makerules (+depfiles): Also collect depfiles from .oS in
50155         $(extra-objs).
50156         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50157         .oS, $(libnldbl-routines)).
50159         * Makerules (native-compile-mkdep-flags): Define.
50160         * sunrpc/Makefile (extra-objs): Add $(addprefix
50161         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50162         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50163         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50164         calling $(make-target-directory).
50166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50168         * bits/types.h (__snseconds_t): Removed.
50169         * time/time.h (struct timespec): Replace __snseconds_t with
50170         __syscall_slong_t.
50171         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50172         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50173         Likewise.
50174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50175         (__SNSECONDS_T_TYPE): Likewise.
50176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50177         (__SNSECONDS_T_TYPE): Likewise.
50178         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50179         (__SNSECONDS_T_TYPE): Likewise.
50181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50183         * sysdeps/mach/hurd/bits/typesizes.h
50184         (__SYSCALL_SLONG_TYPE): New macro.
50185         (__SYSCALL_ULONG_TYPE): Likewise.
50187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50189         * bits/types.h (__syscall_slong_t): New type.
50190         (__syscall_ulong_t): Likewise.
50192         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50193         (__SYSCALL_ULONG_TYPE): Likewise.
50194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50195         (__SYSCALL_SLONG_TYPE): Likewise.
50196         (__SYSCALL_ULONG_TYPE): Likewise.
50197         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50198         (__SYSCALL_SLONG_TYPE): Likewise.
50199         (__SYSCALL_ULONG_TYPE): Likewise.
50200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50201         (__SYSCALL_SLONG_TYPE): Likewise.
50202         (__SYSCALL_ULONG_TYPE): Likewise.
50204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50206         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50207         Add sigaltstack-offsets.sym.
50208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50209         <sigaltstack-offsets.h>.
50210         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50211         longjmp_msg pointer.
50212         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50213         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50214         signal stack.
50215         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50217 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50219         * elf/stackguard-macros.h: Remove file.
50220         * sysdeps/generic/stackguard-macros.h: New file.
50221         * sysdeps/i386/stackguard-macros.h: Likewise.
50222         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50223         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50224         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50225         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50226         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50227         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50228         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50229         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50230         <elf/stackguard-macros.h>.
50232         [BZ #14109]
50233         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50234         __aligned__ in attribute.
50235         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50236         (gregset_t): Likewise.
50238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50240         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50241         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50242         * sysdeps/x86_64/x32/Implies-after: New file.
50244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50246         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50247         and access return value for _dl_profile_fixup.  Use R10_LP to
50248         load frame size.
50250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50252         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50256         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50257         * sysdeps/x86_64/x32/sysdep.h: New file.
50259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50261         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50262         * sysdeps/x86_64/setjmp.S: Likewise.
50264 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50266         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50267         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50268         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50269         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50270         remove unused global constant.
50272 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50274         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50275         include of <not-cancel.h>.
50277 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50279         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50281 2012-05-15  Jeff Law  <law@redhat.com>
50282             Andreas Jaeger  <aj@suse.de>
50284         [BZ #13594]
50285         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50286         out from...
50287         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50288         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50289         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50290         code changing __hst_map_handle.map.
50292 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50294         * configure.in (sysnames): Look for Implies-before and Implies-after
50295         files.
50296         * configure: Regenerated.
50298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50300         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50301         8-byte data alignment with LP_SIZE alignment.
50303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50305         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50306         into R10_LP.
50308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50310         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50314         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50315         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50316         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50317         Likewise.
50318         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50322         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50323         (stackinfo_sub_sp): Likewise.
50325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50327         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50328         RAX_LP.
50330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50332         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50333         into R*_LP.
50335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50338         sizes into R*_LP.
50340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50342         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50346         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50347         into R11_LP and load __x86_64_shared_cache_size_half into
50348         R8_LP.
50350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50352         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50353         R8_LP.
50355 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50358         logb for POWER7.
50359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50360         logbf for POWER7.
50361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50362         logbl for POWER7.
50363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50364         powerpc32/power7/fpu/s_logb.c via #include.
50365         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50366         powerpc32/power7/fpu/s_logbf.c via #include.
50367         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50368         powerpc32/power7/fpu/s_logbl.c via #include.
50370 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50372         * README.libm: Remove file.
50374 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50376         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50377         count for x32.  Use R*_LP and omit operand-size suffix.
50379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50381         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50382         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50383         * sysdeps/x86_64/x32/shlib-versions: New file.
50385 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50387         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50388         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50389         Use _dl_fatal_printf instead.
50391 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50393         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50394         set if not set by the user.  Do not allow for being unset.
50395         * sysdeps/unix/sysv/linux/configure: Regenerated.
50397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50399         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50400         the `q' suffix from lea and replace .quad with ASM_ADDR.
50402 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50405         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50406         instead of $17.
50407         (PTR_DEMANGLE): Likewise.
50409 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50411         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50412         (LP_OP): Likewise.
50413         (ASM_ADDR): Likewise.
50414         (RAX_LP): Likewise.
50415         (RBP_LP): Likewise.
50416         (RBX_LP): Likewise.
50417         (RCX_LP): Likewise.
50418         (RDI_LP): Likewise.
50419         (RSI_LP): Likewise.
50420         (RSP_LP): Likewise.
50421         (R8_LP): Likewise.
50422         (R9_LP): Likewise.
50423         (R10_LP): Likewise.
50424         (R10_LP): Likewise.
50425         (R11_LP): Likewise.
50426         (R12_LP): Likewise.
50427         (R13_LP): Likewise.
50428         (R14_LP): Likewise.
50429         (R15_LP): Likewise.
50431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50433         * sysdeps/x86_64/x32/dl-machine.h: New file.
50435 2012-05-14  Andreas Jaeger  <aj@suse.de>
50437         * manual/Makefile (subdir): Remove export of subdir.
50438         (all): Remove target.
50439         (.PHONY): Remove all from list.
50440         (mkinstalldirs): Remove.
50441         (.PHONY): Remove installdirs from list.
50442         ($(inst_infodir)/libc.info): Use make-target-directory.
50443         (installdirs): Remove.
50444         (subdir_%): Remove.
50445         (glibc-targets): Remove.
50446         (lib): Remove.
50447         (stubs): Remove.
50448         ($(objpfx)stubs ../po/manual.pot): Remove.
50449         ($(objpfx)stamp%): Remove.
50450         (make-target-directory): Remove.
50451         (subdir_install): Remove.
50452         (routines): Remove.
50453         (aux): Remove.
50454         (sources): Remove.
50455         (objects): Remove.
50456         (headers): Remove.
50458         [BZ #13750]
50459         * manual/.gitignore: Remove, it's not needed anymore.
50460         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50461         all files in it.
50462         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50463         directory.
50464         (texis): Renamed to $(objpfx)texis.
50465         (texis-path): New, contains path to generated files.
50466         (chapters.%): Use texis-path for complete path, add extra argument
50467         libc-texinfo.sh.
50468         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50469         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50470         (summary,texi, stamp-summary): Use complete path of
50471         files. Generate files in build dir.
50472         (dir-add.texi): Build in build dir.
50473         (libm-err.texi,stamp-libm-err): Likewise.
50474         (version.texi, stamp-version): Likewise.
50475         (.%c.texi): Likewise.
50476         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50477         (mostlyclean): Remove target.
50478         (realclean): Remove target.
50479         (generated): Add new variable with contents from mostlyclean and
50480         realclean, remove entries duplicated in common-mostlyclean, add
50481         stamp-libm-err and stamp-version.
50482         (generated-dirs): Add libc directory.
50483         ($(inst_infodir)/libc.info): Install files from build dir.
50485         * manual/install.texi (Configuring and compiling): Adjust since
50486         the info files are not part of the tar ball anymore.
50488 2012-05-14  Andreas Jaeger  <aj@suse.de>
50490         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50491         variable.
50493 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50495         [BZ #13717]
50496         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50497         to 2.2.0 where earlier.
50498         * sysdeps/unix/sysv/linux/configure: Regenerated.
50499         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50500         Remove conditional code.
50501         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50502         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50503         Remove conditional code.
50504         [!__NR_lchown]: Likewise.
50505         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50506         [__NR_lchown]: Likewise.
50507         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50508         comment referencing __ASSUME_LCHOWN_SYSCALL.
50509         * sysdeps/unix/sysv/linux/i386/sigaction.c
50510         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50511         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50512         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50513         Remove conditional code.
50514         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50515         (__protocol_available): Remove #if 0 code.
50516         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50517         conditional code.
50518         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50519         * sysdeps/unix/sysv/linux/kernel-features.h
50520         (__ASSUME_GETCWD_SYSCALL): Don't define.
50521         (__ASSUME_REALTIME_SIGNALS): Likewise.
50522         (__ASSUME_PREAD_SYSCALL): Likewise.
50523         (__ASSUME_PWRITE_SYSCALL): Likewise.
50524         (__ASSUME_POLL_SYSCALL): Likewise.
50525         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50526         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50527         non-SPARC.
50528         (__ASSUME_SIOCGIFNAME): Don't define.
50529         (__ASSUME_MSG_NOSIGNAL): Likewise.
50530         (__ASSUME_SENDFILE): Define unconditionally.
50531         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50532         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50533         conditional code.
50534         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50535         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50536         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50537         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50538         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50539         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50540         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50542         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50548         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50549         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50554         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50557         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50560         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50561         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50563         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50565         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50566         Remove conditional code.
50567         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50568         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50569         Remove conditional code.
50570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50571         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50572         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50573         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50574         Remove conditional code.
50575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50576         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50577         Remove conditional code.
50578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50579         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50580         Remove conditional code.
50581         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50582         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50583         Remove conditional code.
50584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50585         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50586         Remove conditional code.
50587         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50588         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50589         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50591         * sysdeps/unix/sysv/linux/sigaction.c
50592         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50593         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50594         * sysdeps/unix/sysv/linux/sigpending.c
50595         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50596         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50597         * sysdeps/unix/sysv/linux/sigprocmask.c
50598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50600         * sysdeps/unix/sysv/linux/sigsuspend.c
50601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50603         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50604         (__libc_missing_rt_sigs): Remove.
50605         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50606         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50607         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50608         Remove conditional code.
50609         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50610         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50611         return 1.
50612         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50613         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50614         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50615         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50617 2012-05-14  Andreas Jaeger  <aj@suse.de>
50619         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50620         it's not used in glibc.
50621         (__coshm1): Likewise.
50622         (__acosh1p): Likewise.
50623         (__sgn): Likewise.
50625         * manual/string.texi (Copying and Concatenation): Add missing
50626         variable in concat example.
50627         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50629 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50631         [BZ #14103]
50632         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50633         __builtin_clzl with __builtin_clzll.
50635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50637         [BZ #14104]
50638         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50639         libc_freeres_ptr.
50641 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50643         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50644         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50645         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50646         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50648 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50650         * NEWS: Update ia64 info.
50652 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50654         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50655         used as bcopy.
50657 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50659         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50660         * sysdeps/unix/syscalls.list (dup3): Likewise.
50661         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50662         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50664 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50666         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50667         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50669 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50671         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50672         thread pointer.
50673         (TLS_IE): Use mov/add instead of movq/addq to load thread
50674         pointer.
50675         (TLS_GD_PREFIX): New.
50676         (TLS_GD): Use it.
50678 2012-05-11  David S. Miller  <davem@davemloft.net>
50680         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50681         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50682         (_FPU_SETCW): Likewise.
50684 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50686         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50687         is 32-byte aligned.
50689 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50691         [BZ #11837]
50692         * iconvdata/gb18030.c: Update tables.
50693         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50694         characters specially.
50695         (BODY for TO_LOOP): Add encoding of missing ranges.
50697 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50699         [BZ #13673]
50700         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50701         * sysdeps/mach/hurd/dup3.c: Likewise.
50702         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50703         * sysdeps/powerpc/memmove.c:: Likewise.
50705 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50708         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50710 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50712         * elf/elf.h (R_X86_64_RELATIVE64): New.
50713         (R_X86_64_NUM): Updated.
50714         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50715         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50716         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50717         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50718         tst-quad1pie tst-quad2pie
50719         (modules-names): Add tst-quadmod1 tst-quadmod2.
50720         ($(objpfx)tst-quad1): New dependency.
50721         ($(objpfx)tst-quad2): Likewise.
50722         ($(objpfx)tst-quad1pie): Likewise.
50723         ($(objpfx)tst-quad2pie): Likewise.
50724         * sysdeps/x86_64/tst-quad1.c: New file.
50725         * sysdeps/x86_64/tst-quad1pie.c: New file.
50726         * sysdeps/x86_64/tst-quad2.c: Likewise.
50727         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50728         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50729         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50730         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50731         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50735         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50736         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50737         * streams/stropts.h (t_scalar_t): Define type.
50739         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50740         (_PATH_PRESERVE): Set to "/var/lib".
50741         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50743         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50744         instead of int.
50746         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50747         if __dir_mkfile succeeded.
50749         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50750         checking for _hurd_dtablesize.  Unlock it right after having
50751         finished _hurd_dtable allocation.
50753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50755         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50756         * sysdeps/mach/hurd/configure: Regenerated.
50757         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50758         special-casing to...
50759         * sysdeps/gnu/configure.in: ... this new file.
50760         * sysdeps/unix/sysv/linux/configure: Regenerated.
50761         * sysdeps/gnu/configure: New generated file.
50763         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50764         for Linux: use nsec instead of usec, as well as:
50765         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50766         members of type struct timespec.
50767         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50768         New macros.
50769         (struct stat64): Likewise.
50770         (_STATBUF_ST_NSEC): New macro.
50771         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50773         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50774         __strtoul_internal rather than strtoul.
50776 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50778         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50779         and reject them.
50781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50783         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50784         which preserves existing values.
50785         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50787 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50789         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50790         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50791         greater than FD_SETSIZE.
50793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50795         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50796         allocated, call __vm_protect to finish enabling the existing space, and
50797         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50798         allocate the remainder.
50800 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50802         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50803         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50807         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50808         sysdeps/mach/hurd/readlink.c.
50810         * posix/tst-sysconf.c (posix_options): Only use
50811         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50812         _POSIX_SYNCHRONIZED_IO when they are defined
50813         * sysdeps/mach/hurd/bits/posix_opt.h:
50814         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50815         (_XOPEN_REALTIME): Undefine macro.
50816         (_XOPEN_REALTIME_THREADS): Undefine macro.
50817         (_XOPEN_SHM): Undefine macro.
50818         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50819         macro to -1.
50820         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50821         macro to -1.
50822         (_POSIX_ASYNC_IO): Undefine macro.
50823         (_POSIX_PRIORITIZED_IO): Undefine macro.
50824         (_POSIX_SPIN_LOCKS): Define macro to -1.
50826         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50827         SA_NODEFER, SA_RESETHAND.
50828         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50829         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50830         F_DUPFD_CLOEXEC.
50832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50834         * elf/Makefile (pldd-modules): Define unconditionally.
50836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50838         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50842         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50843         Return ENOENT when name is empty.
50844         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50848         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50850         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50854         Fix mlock in all cases except non-readable pages.
50855         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50856         instead of VM_PROT_ALL as parameter to __vm_wire function.
50858         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50859         (__mkdir): When path is `/', just fail with EEXIST.
50860         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50864         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50865         <sys/uio.h> (for writev).
50866         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50867         and <sys/param.h> (for MIN).
50869 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50871         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50872         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50873         if interrupted.
50875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50877         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50878         Depend on against $(link-rpcuserlibs).
50880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50882         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50883         (__libc_stack_end): Do not use attribute_relro.
50884         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50885         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50886         to libthread-provided value.
50887         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50888         attribute_relro.
50890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50892         [BZ #3748]
50893         * bits/libc-lock.h (__libc_once_get): New macro.
50894         * sysdeps/mach/bits/libc-lock.h: Likewise.
50895         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50896         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50897         instead of using implementation details.
50899         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50900         * libio/freopen.c: Likewise.
50901         * libio/freopen64.c: Likewise.
50902         * misc/syslog.c: Likewise.
50903         * nscd/connections.c: Likewise.
50904         * nscd/netgroupcache.c: Likewise.
50905         * sysdeps/posix/getcwd.c: Likewise.
50907 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50909         * math/w_ilogbf.c: Add #include <limits.h>.
50911 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50913         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50914         path instead of returning without unlocking.
50916         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50917         immediate-write ioctls.
50918         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50922         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50923         __builtin_frame_address instead of making assumptions about the
50924         location of the return address relative to DATA.  Force early load of
50925         the return address.
50926         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50927         __builtin_frame_address.
50929         dup3 for GNU Hurd.
50930         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50931         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50932         implement dup3 and do some further code clean-ups.
50933         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50934         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50938         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50940         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50941         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50942         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50943         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50944         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50945         d->port.lock.
50947         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50948         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50949         when handler == SIG_ERR, not when handler != SIG_ERR.
50951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50953         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50954         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50955         definitions.
50957         accept4 for GNU Hurd.
50958         * include/sys/socket.h (__libc_accept4): New prototype.
50959         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50960         to implement __libc_accept4.
50961         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50962         __libc_accept4.
50963         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50965         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50966         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50967         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50968         signal-defines.sym.
50970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50972         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50976         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50977         assertion on O_CLOEXEC flag.
50978         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50979         * hurd/intern-fd.c: Likewise.
50980         * hurd/port2fd.c: Likewise.
50982 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50984         [BZ #3906]
50985         * bits/in.h (IPV6_PKTINFO): Define new macro.
50986         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50988 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50990         [BZ #13954]
50991         [BZ #13955]
50992         [BZ #13956]
50993         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50994         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50995         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50996         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50997         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50998         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50999         * math/libm-test.inc (logb_test) : Additional logb tests.
51001 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
51002             Andreas Jaeger  <aj@suse.de>
51004         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51005         * configure: Regenerated.
51006         * config.h.in (LINK_OBSOLETE_RPC): New macro.
51007         * config.make.in (link-obsolete-rpc): New substituted variable.
51008         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51009         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51010         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51011         (shared-only-routines): Don't set it under [link-obsolete-rpc],
51012         so that libc.a contains the symbols.
51013         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51014         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51015         * sunrpc/auth_none.c: Likewise.
51016         * sunrpc/auth_unix.c: Likewise.
51017         * sunrpc/authdes_prot.c: Likewise.
51018         * sunrpc/authuxprot.c: Likewise.
51019         * sunrpc/clnt_gen.c: Likewise.
51020         * sunrpc/clnt_perr.c: Likewise.
51021         * sunrpc/clnt_raw.c: Likewise.
51022         * sunrpc/clnt_simp.c: Likewise.
51023         * sunrpc/clnt_tcp.c: Likewise.
51024         * sunrpc/clnt_udp.c: Likewise.
51025         * sunrpc/clnt_unix.c: Likewise.
51026         * sunrpc/des_crypt.c: Likewise.
51027         * sunrpc/des_soft.c: Likewise.
51028         * sunrpc/get_myaddr.c: Likewise.
51029         * sunrpc/key_call.c: Likewise.
51030         * sunrpc/key_prot.c: Likewise.
51031         * sunrpc/netname.c: Likewise.
51032         * sunrpc/pm_getmaps.c: Likewise.
51033         * sunrpc/pm_getport.c: Likewise.
51034         * sunrpc/pmap_clnt.c: Likewise.
51035         * sunrpc/pmap_prot.c: Likewise.
51036         * sunrpc/pmap_prot2.c: Likewise.
51037         * sunrpc/pmap_rmt.c: Likewise.
51038         * sunrpc/publickey.c: Likewise.
51039         * sunrpc/rpc_cmsg.c: Likewise.
51040         * sunrpc/rpc_common.c: Likewise.
51041         * sunrpc/rpc_dtable.c: Likewise.
51042         * sunrpc/rpc_prot.c: Likewise.
51043         * sunrpc/rpc_thread.c: Likewise.
51044         * sunrpc/rtime.c: Likewise.
51045         * sunrpc/svc.c: Likewise.
51046         * sunrpc/svc_auth.c: Likewise.
51047         * sunrpc/svc_raw.c: Likewise.
51048         * sunrpc/svc_run.c: Likewise.
51049         * sunrpc/svc_tcp.c: Likewise.
51050         * sunrpc/svc_udp.c: Likewise.
51051         * sunrpc/svc_unix.c: Likewise.
51052         * sunrpc/svcauth_des.c: Likewise.
51053         * sunrpc/xcrypt.c: Likewise.
51054         * sunrpc/xdr.c: Likewise.
51055         * sunrpc/xdr_array.c: Likewise.
51056         * sunrpc/xdr_float.c: Likewise.
51057         * sunrpc/xdr_intXX_t.c: Likewise.
51058         * sunrpc/xdr_mem.c: Likewise.
51059         * sunrpc/xdr_rec.c: Likewise.
51060         * sunrpc/xdr_ref.c: Likewise.
51061         * sunrpc/xdr_sizeof.c: Likewise.
51062         * sunrpc/xdr_stdio.c: Likewise.
51064 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51066         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51067         change.  Update copyright years.
51069 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51071         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51073 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51074             Joseph Myers  <joseph@codesourcery.com>
51075             Paul Pluzhnikov  <ppluzhnikov@google.com>
51077         [BZ #14012]
51078         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51079         requiring rpcgen.
51080         [cross-compiling] (extra-libs): Likewise.
51081         [cross-compiling] (extra-libs-others): Likewise.
51082         [cross-compiling] (librpcsvc-routines): Likewise.
51083         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51084         [cross-compiling] (omit-deps): Likewise.
51085         (sunrpc-CPPFLAGS): New variable.
51086         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51087         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51088         (cross-rpcgen-objs): New variable.
51089         (extra-objs): Append $(cross-rpcgen-objs).
51090         ($(cross-rpcgen-objs)): New rule.
51091         ($(objpfx)cross-rpcgen): Likewise.
51092         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51093         comment.
51094         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51095         ($(objpfx)x%.stmp): Likewise.
51096         * sunrpc/proto.h [IS_IN_build] (_): Define.
51097         [IS_IN_build] (_libc_intl_domainname): Likewise.
51099 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51102         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51103         and R_X86_64_TPOFF64.
51105 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51107         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51108         sysdeps/unix/sysv/syscalls.list.
51109         (stime): Likewise.
51110         (utime): Likewise.
51111         * sysdeps/unix/sysv/syscalls.list: Remove file.
51113 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51115         [BZ #3440]
51116         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51117         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51118         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51119         (__LC_IDENTIFICATION): Make these macros useful in #if
51120         expressions, as required by C99.
51122 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51124         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51125         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51126         after this.
51128 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51130         * stdlib/longlong.h: Updated from GCC.
51132 2012-05-09  Andreas Jaeger  <aj@suse.de>
51134         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51135         default is first entry.
51136         (run_mode): Set type.
51137         (main): Remove informal message about syslog.
51138         (options): Fix typo.
51140         [BZ #14053]
51141         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51142         to asm.
51143         (lrint): Likewise.
51144         (llrintf): Likewise.
51145         (llrint): Likewise.
51146         (rint): Likewise.
51147         (rintf): Likewise.
51148         (nearbyint): Likewise.
51149         (nearbyintf): Likewise.
51151 2012-05-09  Andreas Jaeger  <aj@suse.de>
51152             Pedro Alves  <palves@redhat.com>
51154         * nscd/nscd.c (run_mode): Use enum.
51155         (main): Cleanup coding style issue.
51157 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51158             Andreas Jaeger  <aj@suse.de>
51160         * nscd/nscd.c (go_background): Replaced with...
51161         (run_mode): ... this.
51162         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51163         (options): Add -F --foreground.
51164         (main): Implement it.
51165         (parse_opt): Parse it.
51167 2012-05-09  Andreas Jaeger  <aj@suse.de>
51169         [BZ #14083]
51170         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51171         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51172         -Wconversion warning.
51173         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51174         Likewise.
51176 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51178         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51179         == 0.
51180         (LC_ALL): Use macro-int-constant.
51181         (LC_COLLATE): Likewise.
51182         (LC_CTYPE): Likewise.
51183         (LC_MESSAGES): Likewise.
51184         (LC_MONETARY): Likewise.
51185         (LC_NUMERIC): Likewise.
51186         (LC_TIME): Likewise.
51187         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51188         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51190         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51191         Specify type.
51192         [C99-based standards] (float_t): Expect type.
51193         [C99-based standards] (double_t): Expect type.
51194         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51195         type.
51196         [C99-based standards] (HUGE_VALL): Likewise.
51197         [C99-based standards] (INFINITY): Likewise.
51198         [C99-based standards] (NAN): Likewise.
51199         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51200         [C99-based standards] (FP_NAN): Likewise.
51201         [C99-based standards] (FP_NORMAL): Likewise.
51202         [C99-based standards] (FP_SUBNORMAL): Likewise.
51203         [C99-based standards] (FP_ZERO): Likewise.
51204         [C99-based standards] (FP_FAST_FMA): Use
51205         optional-macro-int-constant.  Specify type.  Require == 1.
51206         [C99-based standards] (FP_FAST_FMAF): Likewise.
51207         [C99-based standards] (FP_FAST_FMAL): Likewise.
51208         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51209         [C99-based standards] (FP_ILOGBNAN): Likewise.
51210         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51211         Specify type.
51212         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51213         [C99-based standards] (math_errhandling): Specify type.
51214         [ISO99 || ISO11] (signgam): Do not allow.
51215         [non-C99-based standards] (copysignf): Do not allow.
51216         [non-C99-based standards] (exp2f): Likewise.
51217         [non-C99-based standards] (log2f): Likewise.
51218         [non-C99-based standards] (modff): Allow.
51219         [non-C99-based standards] (erff): Do not allow.
51220         [non-C99-based standards] (erfcf): Likewise.
51221         [non-C99-based standards] (gammaf): Likewise.
51222         [non-C99-based standards] (hypotf): Likewise.
51223         [non-C99-based standards] (j0f): Likewise.
51224         [non-C99-based standards] (j1f): Likewise.
51225         [non-C99-based standards] (jnf): Likewise.
51226         [non-C99-based standards] (lgammaf): Likewise.
51227         [non-C99-based standards] (tgammaf): Likewise.
51228         [non-C99-based standards] (y0f): Likewise.
51229         [non-C99-based standards] (y1f): Likewise.
51230         [non-C99-based standards] (ynf): Likewise.
51231         [non-C99-based standards] (isnanf): Likewise.
51232         [non-C99-based standards] (acoshf): Likewise.
51233         [non-C99-based standards] (asinhf): Likewise.
51234         [non-C99-based standards] (atanhf): Likewise.
51235         [non-C99-based standards] (cbrtf): Likewise.
51236         [non-C99-based standards] (expm1f): Likewise.
51237         [non-C99-based standards] (ilogbf): Likewise.
51238         [non-C99-based standards] (log1pf): Likewise.
51239         [non-C99-based standards] (logbf): Likewise.
51240         [non-C99-based standards] (nextafterf): Likewise.
51241         [non-C99-based standards] (remainderf): Likewise.
51242         [non-C99-based standards] (rintf): Likewise.
51243         [non-C99-based standards] (scalbf): Likewise.
51244         [non-C99-based standards] (copysignl): Likewise.
51245         [non-C99-based standards] (exp2l): Likewise.
51246         [non-C99-based standards] (log2l): Likewise.
51247         [non-C99-based standards] (modfl): Allow.
51248         [non-C99-based standards] (erfl): Do not allow.
51249         [non-C99-based standards] (erfcl): Likewise.
51250         [non-C99-based standards] (gammal): Likewise.
51251         [non-C99-based standards] (hypotl): Likewise.
51252         [non-C99-based standards] (j0l): Likewise.
51253         [non-C99-based standards] (j1l): Likewise.
51254         [non-C99-based standards] (jnl): Likewise.
51255         [non-C99-based standards] (lgammal): Likewise.
51256         [non-C99-based standards] (tgammal): Likewise.
51257         [non-C99-based standards] (y0l): Likewise.
51258         [non-C99-based standards] (y1l): Likewise.
51259         [non-C99-based standards] (ynl): Likewise.
51260         [non-C99-based standards] (isnanl): Likewise.
51261         [non-C99-based standards] (acoshl): Likewise.
51262         [non-C99-based standards] (asinhl): Likewise.
51263         [non-C99-based standards] (atanhl): Likewise.
51264         [non-C99-based standards] (cbrtl): Likewise.
51265         [non-C99-based standards] (expm1l): Likewise.
51266         [non-C99-based standards] (ilogbl): Likewise.
51267         [non-C99-based standards] (log1pl): Likewise.
51268         [non-C99-based standards] (logbl): Likewise.
51269         [non-C99-based standards] (nextafterl): Likewise.
51270         [non-C99-based standards] (remainderl): Likewise.
51271         [non-C99-based standards] (rintl): Likewise.
51272         [non-C99-based standards] (scalbl): Likewise.
51273         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51274         [non-C99-based standards] (FP_*): Do not allow.
51275         [C99-based standards] (FP_*): Change to
51276         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51277         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51278         allow.
51279         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51280         (SIG_ERR): Likewise.
51281         [X/Open-based standards] (SIG_HOLD): Likewise.
51282         (SIG_IGN): Likewise.
51283         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51284         positive value.
51285         (SIGFPE): Likewise.
51286         (SIGILL): Likewise.
51287         (SIGINT): Likewise.
51288         (SIGSEGV): Likewise.
51289         (SIGTER): Likewise.
51290         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51291         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51292         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51293         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51294         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51295         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51296         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51297         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51298         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51299         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51300         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51301         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51302         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51303         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51304         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51305         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51306         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51307         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51308         [X/Open-based standards] (SIGTRAP): Likewise.
51309         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51310         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51311         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51312         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51313         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51314         allow.
51316 2012-05-08  Ian Wienand  <ianw@vmware.com>
51318         [BZ #14080]
51319         * time/tzset.c (__tzset_parse_tz): Update default rules for
51320         daylight time changes in the Energy Policy Act of 2005.
51322 2012-05-09  Andreas Jaeger  <aj@suse.de>
51324         [BZ #13983]
51325         * elf/ldconfig.c (parse_conf): Change string to make clear that
51326         ldconfig only issued a warning if ld.so.conf does not exist.
51328 2012-05-08  David S. Miller  <davem@davemloft.net>
51330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51331         movxtod instead of popping the value on the stack.
51333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51335 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51337         * config.h.in: Add HAVE_ARM_PCS_VFP.
51339 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51341         [BZ #13979]
51342         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51343         checking but the checks are disabled for any reason.
51345 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51347         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51348         and ELF64_R_TYPE with ELFW(R_TYPE).
51350 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51352         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51353         (ulimit): Likewise.
51355         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51356         (settimeofday): Likewise.
51358 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51360         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51361         a struct th_u2 inside the union, and move tu_block/tu_code into
51362         a new th_u3 union of tu_block/tu_code inside of that.  Move
51363         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51364         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51365         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51366         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51367         (th_stuff): Change to th_u1.tu_stuff.
51368         (th_data): Define.
51369         (th_msg): Change to th_u1.th_u2.tu_data.
51371 2012-05-07  David S. Miller  <davem@davemloft.net>
51373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51375         [BZ #14074]
51376         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51377         (SETUP_PIC_REG): Use it.
51378         (SETUP_PIC_REG_LEAF): Use it.
51380 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51382         [BZ #13885]
51383         [BZ #13923]
51384         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51385         USE_AS_EXPM1L.
51386         (EXPL_FINITE): Likewise.
51387         (FLDLOG): Likewise.
51388         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51389         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51390         e_expl.S.
51391         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51392         USE_AS_EXPM1L.
51393         (EXPL_FINITE): Likewise.
51394         (FLDLOG): Likewise.
51395         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51396         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51397         e_expl.S.
51398         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51399         test of -max_value argument for long double.
51400         * sysdeps/i386/fpu/libm-test-ulps: Update.
51401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51403 2012-05-06  David S. Miller  <davem@davemloft.net>
51405         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51406         quad soft-float symbols whose references which are compiler
51407         generated.
51408         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51410 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51412         [BZ #13884]
51413         [BZ #13914]
51414         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51415         USE_AS_EXP10L.
51416         (EXPL_FINITE): Likewise.
51417         (FLDLOG): Likewise.
51418         (c0): Likewise.
51419         (c1): Likewise.
51420         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51421         Adjust comments for base varying.
51422         (__expl_finite): Change alias to EXPL_FINITE.
51423         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51424         e_expl.S.
51425         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51426         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51427         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51428         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51429         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51430         USE_AS_EXP10L.
51431         (EXPL_FINITE): Likewise.
51432         (FLDLOG): Likewise.
51433         (c0): Likewise.
51434         (c1): Likewise.
51435         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51436         Adjust comments for base varying.
51437         (__expl_finite): Change alias to EXPL_FINITE.
51438         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51439         tests for bugs.
51440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51442         [BZ #14064]
51443         * math/libm-test.inc (check_float_internal): Correct ulp
51444         calculation for subnormal expected results.
51446 2012-05-06  Andreas Jaeger  <aj@suse.de>
51448         * Makeconfig (+math-flags): New, set to -frounding-math.
51449         (+cflags): Add +math-flags so that all of glibc gets compiled with
51450         it.
51452         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51454 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51456         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51457         Disable one test.
51459         [BZ #13787]
51460         [BZ #13922]
51461         [BZ #14036]
51462         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51463         (__ieee754_expl): Allow for and saturate large arguments.
51464         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51465         (u_threshold): Likewise.
51466         (__exp): Call __ieee754_exp before checking for overflow and
51467         underflow.
51468         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51469         (u_threshold): Likewise.
51470         (__expf): Call __ieee754_expf before checking for overflow and
51471         underflow.
51472         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51473         (u_threshold): Likewise.
51474         (__expl): Call __ieee754_expl before checking for overflow and
51475         underflow.
51476         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51477         (__ieee754_expl): Allow for and saturate large arguments.
51478         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51479         missing overflow exception on overflow.
51480         (expm1_test): Do not allow missing overflow exception on overflow.
51482         * sysdeps/i386/fpu/e_expl.c: Move to ...
51483         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51484         rather than using inline asm.
51485         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51486         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51487         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51489         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51490         (nice): Likewise.
51491         (poll): Likewise.
51492         (signal): Likewise.
51493         (time): Likewise.
51494         (times): Likewise.
51496 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51498         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51499         sysdeps/unix/common/syscalls.list.
51500         (fchmod): Likewise.
51501         (fchown): Likewise.
51502         (ftruncate): Likewise.
51503         (getrusage): Likewise.
51504         (gettimeofday): Likewise.
51505         (setpgid): Likewise.
51506         (setregid): Likewise.
51507         (setreuid): Likewise.
51508         (sigaction): Likewise.
51509         (truncate): Likewise.
51510         (vhangup): Likewise.
51511         * sysdeps/unix/common/syscalls.list: Remove file.
51512         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51513         * sysdeps/unix/sysv/linux/Implies: Likewise.
51515 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51517         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51519         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51520         Moved to ...
51521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51522         Here.
51523         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51524         to ...
51525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51526         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51527         to ...
51528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51529         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51530         to ...
51531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51532         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51533         to ...
51534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51535         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51536         to ...
51537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51538         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51539         to ...
51540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51541         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51542         to ...
51543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51544         Here.
51545         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51546         to ...
51547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51548         Here.
51549         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51550         to ...
51551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51552         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51553         Moved to ...
51554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51555         Here.
51556         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51557         to ...
51558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51560 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51562         * sysdeps/unix/common/bits/dirent.h: Remove file.
51563         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51565         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51566         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51567         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51568         * sysdeps/unix/bsd/isatty.c: Likewise.
51569         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51570         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51571         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51573 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51575         [BZ #13563]
51576         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51577         long double comparison inaccuracies.
51578         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51581 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51583         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51586 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51588         [BZ #14049]
51589         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51590         nonzero digits before rounding a hex value.
51591         * stdlib/tst-strtod.c (tests): Add another test.
51593 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51595         * sysdeps/s390/fpu/libm-test-ulps: Update.
51597 2012-05-03  Andreas Jaeger  <aj@suse.de>
51599         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51600         does not get optimized out.
51601         (malloc_opt_barrier): New.
51603 2012-05-03  Andreas Jaeger  <aj@suse.de>
51604             Roland McGrath  <roland@hack.frob.com>
51606         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51607         intermediate file deletion.
51608         (generated): Add .symlist files.
51610 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51612         [BZ #13775]
51613         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51614         Redirect under this condition.
51615         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51616         [__USE_GNU] (__dprintf_chk): Not under this condition.
51617         [__USE_GNU] (__vdprintf_chk): Likewise.
51618         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51619         under this condition.
51620         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51621         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51622         [__USE_XOPEN2K8] (vdprintf): Likewise.
51623         [__USE_GNU] (__dprintf_chk): Not under this condition.
51624         [__USE_GNU] (__vdprintf_chk): Likewise.
51625         [__USE_GNU] (dprintf): Likewise.
51626         [__USE_GNU] (vdprintf): Likewise.
51628 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51630         * elf/Makefile (common-generated): Set this instead of generated for
51631         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51632         $(all-built-dso)-derived lists.
51634 2012-05-03  Andreas Jaeger  <aj@suse.de>
51636         * sysdeps/i386/fpu/libm-test-ulps: Update.
51638         * FAQ: Removed.
51639         * FAQ.in: Likewise.
51640         * scripts/gen-FAQ.pl: Likewise.
51641         * manual/install.texi (Installation): Point to online location of
51642         FAQ.
51643         * Makefile (files-for-dist): Remove FAQ.
51644         (FAQ): Remove.
51646 2012-05-02  Allan McRae  <allan@archlinux.org>
51648         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51649         (LDFLAGS-reldepmod5.so): Likewise.
51650         (LDFLAGS-reldep6mod1.so): Likewise.
51651         (LDFLAGS-reldep6mod4.so): Likewise.
51652         (LDFLAGS-reldep8mod3.so): Likewise.
51653         (LDFLAGS-unload4mod1.so): Likewise.
51654         (LDFLAGS-unload4mod2.so): Likewise.
51655         (LDFLAGS-tst-initorder): Likewise.
51656         (LDFLAGS-tst-initordera2.so): Likewise.
51657         (LDFLAGS-tst-initordera3.so): Likewise.
51658         (LDFLAGS-tst-initordera4.so): Likewise.
51659         (LDFLAGS-tst-initorderb2.so): Likewise.
51660         (LDFLAGS-noload): Likewise.
51661         (LDFLAGS-next): Likewise.
51662         (LDFLAGS-order2mod1.so): Likewise.
51663         (LDFLAGS-order2mod2.so): Likewise.
51664         (LDFLAGS-tst-initorder2): Likewise.
51665         (LDFLAGS-tst-initorder2a.so): Likewise.
51666         (LDFLAGS-tst-initorder2b.so): Likewise.
51667         (LDFLAGS-tst-initorder2c.so): Likewise.
51668         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51670 2012-05-02  David S. Miller  <davem@davemloft.net>
51672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51674 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51676         [BZ #14055]
51677         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51679 2012-05-02  Andreas Jaeger  <aj@suse.de>
51681         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51682         since we manipulate rounding mode.
51683         (CPPFLAGS-test-idouble.c): Likewise.
51684         (CPPFLAGS-test-ifloat.c): Likewise.
51685         (CFLAGS-test-ldouble.c): Likewise.
51686         (CFLAGS-test-double.c): Likewise.
51687         (CFLAGS-test-float.c): Likewise.
51688         (CFLAGS-test-misc.c): Likewise.
51689         (CFLAGS-test-test-fenv.c): Likewise.
51691 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51693         [BZ #2550]
51694         [BZ #2570]
51695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51696         comparisons to determine direction to adjust input.
51698 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51700         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51701         output to the target.
51703         * scripts/localplt.awk: New file.
51704         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51705         (check-localplt-CFLAGS): Variable removed.
51706         ($(all-built-dso:=.jmprel)): New static pattern rule.
51707         (generated): Add those targets.
51708         (localplt-built-dso): New variable.
51709         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51711         * elf/check-localplt.c: File removed.
51713         * scripts/check-execstack.awk: New file.
51714         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51715         (check-execstack-CFLAGS): Variable removed.
51716         ($(objpfx)check-execstack.h): Target removed.
51717         ($(objpfx)execstack-default): New target.
51718         (generated): Add that instead of check-execstack.h.
51719         ($(all-built-dso:=.phdr)): New static pattern rule.
51720         (generated): Add those targets.
51721         * elf/check-execstack.c: File removed.
51723         * scripts/check-textrel.awk: New file.
51724         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51725         (check-textrel-CFLAGS): Variable removed.
51726         (all-built-dso): Use := to define.o
51727         ($(all-built-dso:=.dyn)): New static pattern rule.
51728         (generated): Add those targets.
51729         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51730         * config.make.in (READELF): New substituted variable.
51731         * elf/check-textrel.c: File removed.
51733 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51735         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51736         allow.
51737         * conform/data/ctype.h-data [C99-based standards] (isblank):
51738         Expect function.
51739         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51740         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51742         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51743         Specify type.  Require positive value.
51744         (EILSEQ): Likewise.
51745         (ERANGE): Likewise.
51746         [ISO || POSIX] (EILSEQ): Do not expect.
51747         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51748         Specify type.  Require positive value.
51749         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51750         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51751         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51752         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51753         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51754         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51755         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51756         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51757         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51758         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51759         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51760         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51761         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51762         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51763         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51764         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51765         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51766         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51767         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51768         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51769         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51770         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51771         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51772         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51773         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51774         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51775         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51776         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51777         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51778         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51779         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51780         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51781         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51782         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51783         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51784         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51785         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51786         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51787         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51788         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51789         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51790         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51791         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51792         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51793         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51794         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51795         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51796         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51797         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51798         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51799         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51800         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51801         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51802         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51803         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51804         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51805         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51806         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51807         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51808         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51809         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51810         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51811         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51812         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51813         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51814         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51815         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51816         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51817         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51818         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51819         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51820         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51821         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51822         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51823         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51824         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51825         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51826         Require >= 2.
51827         (FLT_ROUNDS): Expect as macro, not constant.
51828         (FLT_MANT_DIG): Use macro-int-constant.
51829         (DBL_MANT_DIG): Likewise.
51830         (LDBL_MANT_DIG): Likewise.
51831         (FLT_DIG): Likewise.
51832         (DBL_DIG): Likewise.
51833         (LDBL_DIG): Likewise.
51834         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51835         (DBL_MIN_EXP): Likewise.
51836         (LDBL_MIN_EXP): Likewise.
51837         (FLT_MAX_EXP): Use macro-int-constant.
51838         (DBL_MAX_EXP): Likewise.
51839         (LDBL_MAX_EXP): Likewise.
51840         (FLT_MAX_10_EXP): Likewise.
51841         (DBL_MAX_10_EXP): Likewise.
51842         (LDBL_MAX_10_EXP): Likewise.
51843         (FLT_MAX): Use macro-constant.
51844         (DBL_MAX): Likewise.
51845         (LDBL_MAX): Likewise.
51846         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51847         (DBL_EPSILON): Likewise.
51848         (LDBL_EPSILON): Likewise.
51849         (FLT_MIN): Likewise.
51850         (DBL_MIN): Likewise.
51851         (LDBL_MIN): Likewise.
51852         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51853         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51854         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51855         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51856         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51857         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51858         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51859         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51860         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51861         [ISO11] (FLT_TRUE_MIN): Likewise.
51862         [ISO11] (LDBL_TRUE_MIN): Likewise.
51863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51864         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51865         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51866         (SCHAR_MAX): Likewise.
51867         (UCHAR_MAX): Likewise.
51868         (CHAR_MIN): Likewise.
51869         (CHAR_MAX): Likewise.
51870         (MB_LEN_MAX): Use macro-int-constant.
51871         (SHRT_MIN): Use macro-int-constant.  Specify type.
51872         (SHRT_MAX): Likewise.
51873         (USHRT_MAX): Likewise.
51874         (INT_MAX): Likewise.
51875         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51876         bound negative.
51877         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51878         bound with "U".
51879         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51880         bound with "L".
51881         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51882         bound negative.  Suffix upper bound with "L".
51883         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51884         bound with "UL".
51885         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51886         Specify type.
51887         [C99-based standards] (LLONG_MAX): Likewise.
51888         [C99-based standards] (ULLONG_MAX): Likewise.
51889         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51890         == 0.
51891         [ISO11] (max_align_t): Require type.
51892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51894         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51895         from $CFLAGS, without defining away __attribute__ calls.
51896         (checknamespace): Use $CFLAGS_namespace.
51898         * conform/conformtest.pl (@keywords): Only include C99 keywords
51899         for standards based on C99 or C11.
51901         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51902         Disable tests.
51903         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51904         UNIX98]: Likewise.
51906         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51907         usability of symbols in #if.
51909         * conform/conformtest.pl: If macro or constant types start
51910         "promoted:", expect the symbol to be of the following type
51911         promoted by the integer promotions.
51913         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51914         in one place.  Also handle "macro-constant".
51916         * conform/conformtest.pl: Only accept expected macro values with
51917         "==".  Parse all "macro" lines in one place.
51918         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51920         * conform/conformtest.pl: Handle braced types on "constant" lines
51921         instead of handling "typed-constant".
51922         * conform/data/signal.h-data: Use "constant" instead of
51923         "typed-constant".
51925         * conform/conformtest.pl: Handle "optional-" at start of lines in
51926         one place rather than duplicating several cases.  Handle each
51927         format of "macro" line with initial "optional-".
51929         * conform/conformtest.pl: Only accept expected constant or
51930         optional-constant values with "==".  Parse all "constant" lines in
51931         one place.  Parse all "optional-constant" lines in one place.
51932         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51933         * conform/data/fmtmsg.h-data: Likewise.
51934         * conform/data/netinet/in.h-data: Likewise.
51935         * conform/data/tar.h-data: Likewise.
51936         * conform/data/limits.h-data: Use "==" form on "constant" and
51937         "optional-constant" lines.
51939         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51940         Use -std=c99 for XOPEN2K.
51941         (@knownproblems): Remove.
51942         (newtoken): Don't check %isknown.
51944         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51945         Do not expect macro.
51946         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51958         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51959         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51971         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51972         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51976         [XPG3] (acosh): Likewise.
51977         [XPG3] (asinh): Likewise.
51978         [XPG3] (atanh): Likewise.
51979         [XPG3] (cbrt): Likewise.
51980         [XPG3] (expm1): Likewise.
51981         [XPG3] (ilogb): Likewise.
51982         [XPG3] (log1p): Likewise.
51983         [XPG3] (logb): Likewise.
51984         [XPG3] (nextafter): Likewise.
51985         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51986         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51987         [XPG3] (remainder): Likewise.
51988         [XPG3] (rint): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51996         [UNIX98 || XOPEN2K] (scalb): Expect.
51997         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51998         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52000         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52001         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52002         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52013         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52014         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52015         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52016         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52017         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52018         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52019         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52020         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52021         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52022         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52023         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52024         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52025         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52026         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52027         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52028         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52029         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52030         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52031         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52032         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52033         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52034         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52035         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52036         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52037         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52038         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52039         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52040         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52041         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52042         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52043         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52044         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52045         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52046         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52047         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52048         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52049         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52050         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52051         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52052         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52053         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52054         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52055         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52056         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52057         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52058         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52059         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52060         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52061         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52062         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52063         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52064         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52065         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52066         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52067         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52068         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52069         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52070         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52071         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52072         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52073         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52074         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52075         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52076         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52077         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52078         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52079         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52080         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52081         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52082         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52083         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52084         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52085         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52086         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52087         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52088         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52089         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52090         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52091         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52092         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52093         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52094         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52095         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52096         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52097         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52098         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52099         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52100         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52101         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52102         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52103         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52104         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52105         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52106         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52107         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52108         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52109         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52110         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52111         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52112         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52113         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52114         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52115         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52116         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52117         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52118         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52119         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52120         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52121         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52122         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52123         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52124         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52125         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52126         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52127         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52128         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52129         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52130         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52131         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52132         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52133         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52135         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52136         _XOPEN_SOURCE_EXTENDED for XPG4.
52138         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52140         * Makeconfig (localtime): Remove variable.
52141         (inst_localtime-file): Likewise.
52143 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52146         Update.
52147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52148         Update.
52149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52150         Update.
52151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52152         Update.
52153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52154         Update.
52155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52156         Update.
52157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52158         Update.
52159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52160         Update.
52161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52162         Update.
52164 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52166         [BZ #2550]
52167         [BZ #2570]
52168         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52169         comparisons to determine direction to adjust input.
52170         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52171         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52172         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52173         Likewise.
52174         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52175         Likewise.
52176         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52177         Likewise.
52178         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52179         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52180         Likewise.
52181         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52182         Likewise.
52183         * math/libm-test.inc (nexttoward_test): Add more tests.
52185 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52187         [BZ #14040]
52188         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52189         in version GLIBC_2.1, not GLIBC_2.0.
52190         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52191         Likewise.
52193 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52195         [BZ #13942]
52196         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52197         (1 - x) * (1 + x).
52198         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52199         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52200         * math/libm-test.inc (acos_test): Add more tests.
52201         (asin_test): Likewise.
52202         * sysdeps/i386/fpu/libm-test-ulps: Update.
52203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52205         [BZ #14034]
52206         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52207         of square root.
52208         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52209         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52210         * math/libm-test.inc (acos_test_tonearest): New function.
52211         (acos_test_towardzero): Likewise.
52212         (acos_test_downward): Likewise.
52213         (acos_test_upward): Likewise.
52214         (asin_test_tonearest): Likewise.
52215         (asin_test_towardzero): Likewise.
52216         (asin_test_downward): Likewise.
52217         (asin_test_upward): Likewise.
52218         (main): Call the new functions.
52219         * sysdeps/i386/fpu/libm-test-ulps: Update.
52220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52222         [BZ #13884]
52223         [BZ #13924]
52224         * math/e_exp10.c: Include <float.h>.
52225         (__ieee754_exp10): Handle underflow here rather than multiplying
52226         large negative argument by M_LN10.
52227         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52228         of __ieee754_expf.
52229         * math/e_exp10l.c: Include <float.h>.
52230         (__ieee754_exp10l): Handle underflow here rather than multiplying
52231         large negative argument by M_LN10l.
52232         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52233         spurious overflow exception on underflow.
52235 2012-04-29  Marek Polacek  <polacek@redhat.com>
52237         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52238         (__fortify_function): New macro.
52239         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52240         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52241         __extern_always_inline.
52242         * libio/bits/stdio2.h: Likewise.
52243         * libio/bits/stdio.h: Likewise.
52244         * string/string.h: Likewise.
52245         * string/bits/string3.h: Likewise.
52246         * include/stdio.h: Likewise.
52247         * stdlib/bits/stdlib.h: Likewise.
52248         * stdlib/stdlib.h: Likewise.
52249         * rt/bits/mqueue2.h: Likewise.
52250         * rt/mqueue.h: Likewise.
52251         * posix/bits/unistd.h: Likewise.
52252         * posix/unistd.h: Likewise.
52253         * io/bits/poll2.h: Likewise.
52254         * io/bits/fcntl2.h: Likewise.
52255         * io/fcntl.h: Likewise.
52256         * io/sys/poll.h: Likewise.
52257         * misc/bits/syslog.h: Likewise.
52258         * misc/bits/syslog-ldbl.h: Likewise.
52259         * misc/sys/syslog.h: Likewise.
52260         * socket/bits/socket2.h: Likewise.
52261         * socket/sys/socket.h: Likewise.
52262         * debug/tst-chk1.c: Likewise.
52263         * wcsmbs/bits/wchar2.h: Likewise.
52264         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52265         * wcsmbs/wchar.h: Likewise.
52267 2012-04-29  Andreas Jaeger  <aj@suse.de>
52269         * Makerules (tests): Remove enable-check-abi protection.
52270         (check-abi-warn): Remove.
52271         (check-abi-%): Remove check-abi-warn usage.
52273         * configure.in: Remove check-abi configure option.
52274         * configure: Regenerated.
52275         * config.make.in (enable-check-abi): Remove.
52277 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52279         [BZ #14033]
52280         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52281         double functions to double *_finite functions.
52283         [BZ #13941]
52284         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52285         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52286         LDBL_MIN_EXP.
52287         * stdio-common/Makefile (tests): Add tst-sprintf3.
52288         * stdio-common/tst-sprintf3.c: New file.
52290         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52291         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52293 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52295         * conform/conformtest.pl: Remove duplicate typed-constant
52296         handling.
52298 2012-04-28  David S. Miller  <davem@davemloft.net>
52300         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52301         (check-abi-%): Remove AWK script prerequisite and explicit
52302         abilist directory.
52303         (check-abi): Rewrite to just diff the symlist with the abilist.
52304         (config-tls, config-abi-config): Delete, no longer used.
52305         (update-abi-%): Remove AWK script and explicit abilist directory.
52306         (update-abi): Rewrite to simply compare and conditionally copy the
52307         symlist and the sysdep abilist file.  Remove update-abi-config
52308         checks.
52309         * abilist/ld.abilist: Remove.
52310         * abilist/libBrokenLocale.abilist: Remove.
52311         * abilist/libanl.abilist: Remove.
52312         * abilist/libcrypt.abilist: Remove.
52313         * abilist/libdl.abilist: Remove.
52314         * abilist/librt.abilist: Remove.
52315         * abilist/libthread_db.abilist: Remove.
52316         * abilist/libutil.abilist: Remove.
52317         * scripts/extract-abilist.awk: Remove.
52318         * scripts/merge-abilist.awk: Remove.
52319         * sysdeps/generic/libcidn.abilist: New file.
52320         * sysdeps/generic/libnss_compat.abilist: New file.
52321         * sysdeps/generic/libnss_db.abilist: New file.
52322         * sysdeps/generic/libnss_dns.abilist: New file.
52323         * sysdeps/generic/libnss_files.abilist: New file.
52324         * sysdeps/generic/libnss_hesiod.abilist: New file.
52325         * sysdeps/generic/libnss_nis.abilist: New file.
52326         * sysdeps/generic/libnss_nisplus.abilist: New file.
52327         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52328         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52329         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52330         file.
52331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52332         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52333         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52334         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52335         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52336         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52337         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52338         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52339         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52340         file.
52341         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52342         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52343         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52344         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52345         file.
52346         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52347         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52348         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52349         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52350         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52351         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52352         file.
52353         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52354         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52355         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52356         file.
52357         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52359         New file.
52360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52361         New file.
52362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52363         New file.
52364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52365         New file.
52366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52367         New file.
52368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52369         New file.
52370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52371         New file.
52372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52373         New file.
52374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52375         New file.
52376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52377         New file.
52378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52379         New file.
52380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52381         New file.
52382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52383         New file.
52384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52385         file.
52386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52387         New file.
52388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52389         New file.
52390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52391         file.
52392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52393         New file.
52394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52395         New file.
52396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52397         file.
52398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52399         New file.
52400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52401         New file.
52402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52403         New file.
52404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52405         New file.
52406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52407         New file.
52408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52409         New file.
52410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52412         file.
52413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52414         New file.
52415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52416         file.
52417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52418         file.
52419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52420         file.
52421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52422         file.
52423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52424         file.
52425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52426         New file.
52427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52428         file.
52429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52430         file.
52431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52432         New file.
52433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52434         file.
52435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52437         file.
52438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52439         New file.
52440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52441         file.
52442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52443         file.
52444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52445         file.
52446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52447         file.
52448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52449         file.
52450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52451         New file.
52452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52453         file.
52454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52455         file.
52456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52457         New file.
52458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52459         file.
52460         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52461         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52462         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52463         file.
52464         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52465         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52466         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52467         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52468         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52469         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52470         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52471         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52472         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52473         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52476         file.
52477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52478         New file.
52479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52480         file.
52481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52482         file.
52483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52484         file.
52485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52486         file.
52487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52488         file.
52489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52490         New file.
52491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52492         New file.
52493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52494         file.
52495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52496         New file.
52497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52498         file.
52499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52501         file.
52502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52503         New file.
52504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52505         file.
52506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52507         file.
52508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52509         file.
52510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52511         file.
52512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52513         file.
52514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52515         New file.
52516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52517         New file.
52518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52519         file.
52520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52521         New file.
52522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52523         file.
52525 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52527         * conform/conformtest.pl: Fix typo in handling typed-constant from
52528         allow-header.
52530 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52532         * README: Cut down references to pre-2.6 Linux kernels and
52533         Linuxthreads.  Update lists of configurations in libc and ports
52534         and sort alphabetically.  Say "or newer" with Linux kernel version
52535         requirements.
52537         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52539 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52541         [BZ #887]
52542         * math/libm-test.inc (logb_test_downward): New test to expose
52543         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52544         rounding mode.
52546 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52548         [BZ #14027]
52549         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52550         to be done.
52551         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52552         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52554 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52556         * sysdeps/unix/i386/brk.S: Remove file.
52557         * sysdeps/unix/i386/dl-brk.S: Likewise.
52558         * sysdeps/unix/i386/pipe.S: Likewise.
52559         * sysdeps/unix/i386/sigreturn.S: Likewise.
52560         * sysdeps/unix/i386/syscall.S: Likewise.
52561         * sysdeps/unix/i386/vfork.S: Likewise.
52562         * sysdeps/unix/i386/wait.S: Likewise.
52564         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52565         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52567         * configure.in (arm*-none*): Do not allow without
52568         --enable-hacker-mode.
52569         (netbsd*): Remove case setting base_os.
52570         (386bsd*): Likewise.
52571         (freebsd*): Likewise.
52572         (bsdi*): Likewise.
52573         (osf*): Likewise.
52574         (sunos*): Likewise.
52575         (ultrix*): Likewise.
52576         (newsos*): Likewise.
52577         (dynix*): Likewise.
52578         (*bsd*): Likewise.
52579         (sysv*): Likewise.
52580         (isc*): Likewise.
52581         (esix*): Likewise.
52582         (sco*): Likewise.
52583         (minix*): Likewise.
52584         (irix4*): Likewise.
52585         (irix6*): Likewise.
52586         (solaris[2-9]*): Likewise.
52587         (none): Likewise.
52588         * configure: Regenerated.
52590 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52592         [BZ #11521]
52593         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52594         overflow or cancellation in calculating denominator.
52595         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52596         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52597         down expression to avoid unexpected rounding in newer GCCs.
52598         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52600 2012-04-26  David S. Miller  <davem@davemloft.net>
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52603         long-double compat symbols.
52604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52618 2012-04-25  David S. Miller  <davem@davemloft.net>
52620         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52621         HWCAP_* values only after the memory barriers have been defined.
52622         (atomic_full_barrier): Define.
52623         (atomic_read_barrier): Define.
52624         (atomic_write_barrier): Define.
52626 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52628         * shlib-versions: Add libgcc_s version information.
52629         * sysdeps/generic/libgcc_s.h: Remove.
52630         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52631         libgcc_s.h.
52632         * sysdeps/gnu/unwind-resume.c: Likewise.
52633         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52635 2012-04-25  David S. Miller  <davem@davemloft.net>
52637         * sysdeps/unix/sparc/brk.S: Delete.
52638         * sysdeps/unix/sparc/dl-brk.S: Delete.
52639         * sysdeps/unix/sparc/pipe.S: Delete.
52640         * sysdeps/unix/sparc/sysdep.S: Delete.
52641         * sysdeps/unix/sparc/sysdep.h: Delete.
52642         * sysdeps/unix/sparc/vfork.S: Delete.
52643         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52644         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52646         (ret_ERRVAL, r0, r1, MOVE): Define.
52647         (JUMPTARGET): Remove.
52648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52649         sysdeps/unix/sparc/sysdep.h
52650         (ENTRY, END): Remove.
52651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52653 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52655         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52656         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52657         -DIS_IN_build.
52659         * timezone/README: Update upstream location and email address for
52660         tzcode and tzdata.
52661         * timezone/zdump.c: Update from tzcode 2012b.
52662         * timezone/zic.c: Likewise.
52664         * configure.in (libc_cv_as_needed): Remove test.
52665         * configure: Regenerated.
52666         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52667         conditional definition.
52668         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52669         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52670         * config.make.in (have-as-needed): Remove variable.
52672 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52673             Paul Pluzhnikov  <ppluzhnikov@google.com>
52675         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52676         strings correctly.
52678 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52680         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52681         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52682         * sysdeps/sh/strlen.S: Likewise.
52684 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52686         * sysdeps/unix/fork.S: Remove file.
52687         * sysdeps/unix/i386/fork.S: Likewise.
52688         * sysdeps/unix/sparc/fork.S: Likewise.
52690         * sysdeps/unix/system.c: Remove file.
52691         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52693         * sysdeps/unix/getegid.S: Remove file.
52694         * sysdeps/unix/geteuid.S: Likewise.
52696 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52698         * scripts/check-localplt.awk: New file.
52699         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52700         of diff.
52701         * scripts/data/localplt-generic.data: Add a comment.
52703         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52704         NODE when __dir_mkfile failed.
52705         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52706         Reported by Ludovic Courtès <ludo@gnu.org>.
52708 2012-04-24  Andreas Jaeger  <aj@suse.de>
52710         * Makerules (common-clean): Also remove gen-as-const-headers
52711         files.
52713 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52715         * Makerules (native-compile): Do not change working directory for
52716         build.  Use $(OUTPUT_OPTION) in command.
52717         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52719 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52721         [BZ #13886]
52722         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52723         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52724         * math/libm-test.inc (floor_test): Add more tests.
52725         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52727 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52729         * sysdeps/unix/getdents.c: Remove file.
52730         * sysdeps/unix/sysv/getdents.c: Likewise.
52731         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52733         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52734         sysdeps/unix/mman/syscalls.list.
52735         (mmap): Likewise.
52736         (mprotect): Likewise.
52737         (msync): Likewise.
52738         (munmap): Likewise.
52739         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52740         * sysdeps/unix/mman/syscalls.list: Remove.
52741         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52743         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52744         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52745         * configure: Regenerated.
52746         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52747         $(libgcc_s_suffix).
52748         * config.make.in (libgcc_s_suffix): Remove variable.
52750 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52752         * sysdeps/unix/sysv/gethostname.c: Move to ...
52753         * sysdeps/posix/gethostname.c: ... here.
52755         * sysdeps/unix/execve.S: Remove file.
52757         * sysdeps/unix/_exit.S: Remove file.
52759 2012-04-23  Andreas Jaeger  <aj@suse.de>
52761         [BZ #13739]
52762         * manual/Makefile: Remove make dist support, there's no
52763         need for a stand-alone documentation tar ball.
52764         (TEXI2DVI): Define always, it's not in Makeconfig.
52765         (dist): Removed.
52766         (tar-it): Removed.
52767         (edition): Removed.
52768         (glibc-doc-$(edition).tar): Removed
52769         (%.Z): Removed.
52770         (%.gz): Removed.
52771         (%.uu): Removed.
52772         (ETAGS): Remove, it's in Makeconfig.
52773         (move-if-change): Remove, it's in Makeconfig.
52775 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52777         [BZ #13970]
52778         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52779         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52780         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52781         (strtod_l, strtof_l, strtold_l): Remove __wur.
52782         It is not necessarily an error to ignore strtol's return value.
52783         One can reliably look at the stored endptr to decide whether
52784         the number had valid syntax.
52786 2012-04-21  Andreas Jaeger  <aj@suse.de>
52788         [BZ #13739]
52789         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52791 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52793         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52794         * sysdeps/unix/sysv/Versions: Remove file.
52796 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52798         [BZ #13927]
52799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52801 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52803         [BZ #7064]
52804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52805         version from __vm86.
52807 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52809         * sysdeps/unix/common/lxstat.c: Remove file.
52810         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52812         * sysdeps/unix/sysv/Makefile: Remove file.
52814         * sysdeps/unix/sysv/direct.h: Remove file.
52816         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52817         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52818         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52819         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52820         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52821         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52822         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52824         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52826         * sysdeps/unix/xmknod.c: Remove file.
52827         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52829         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52831         * sysdeps/unix/sysv/i386/time.S: Remove file.
52833         * sysdeps/unix/fxstat.c: Remove file.
52834         * sysdeps/unix/xstat.c: Likewise.
52835         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52837         * sysdeps/unix/sysv/sigaction.c: Remove file.
52839         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52840         (sysdep_headers): Remove variable.
52841         [termio.h not in sysdep_headers] (generated): Likewise.
52842         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52843         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52844         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52845         * sysdeps/unix/sysv/tcflow.c: Likewise.
52846         * sysdeps/unix/sysv/tcflush.c: Likewise.
52847         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52848         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52849         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52850         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52851         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52853         * sysdeps/unix/siglist.c: Remove file.
52855         * sysdeps/unix/getppid.S: Remove file.
52857         * sysdeps/unix/mkdir.c: Remove file.
52858         * sysdeps/unix/rmdir.c: Likewise.
52860 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52862         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52863         ERR_MAX value.
52864         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52865         errlist-compat value.
52867 2012-04-18  David S. Miller  <davem@davemloft.net>
52869         * sysdeps/generic/memcopy.h (reg_char): Delete.
52870         * debug/strcat_chk.c: Use char, not reg_char.
52871         * debug/strcpy_chk.c: Likewise.
52872         * debug/strncat_chk.c: Likewise.
52873         * debug/strncpy_chk.c: Likewise.
52874         * string/memchr.c: Likewise.
52875         * string/memrchr.c: Likewise.
52876         * string/rawmemchr.c: Likewise.
52877         * string/strcat.c: Likewise.
52878         * string/strchr.c: Likewise.
52879         * string/strchrnul.c: Likewise.
52880         * string/strcmp.c: Likewise.
52881         * string/strcpy.c: Likewise.
52882         * string/strncat.c: Likewise.
52883         * string/strncmp.c: Likewise.
52884         * string/strncpy.c: Likewise.
52886 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52888         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52889         __builtin_memcopy is called when src and dest ranges are known to not
52890         overlap.
52892 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52894         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52895         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52896         fwd_align_merge macro call.
52897         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52898         bwd_align_merge macro call.
52899         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52901 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52903         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52904         bwd_align_merge macros.
52905         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52906         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52907         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52909 2012-04-18  David S. Miller  <davem@davemloft.net>
52911         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52913 2012-04-18  Andreas Jaeger  <aj@suse.de>
52915         [BZ# 6794]
52916         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52917         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52918         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52920         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52921         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52922         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52924         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52925         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52926         Adjust for changed ldbl-128 files.
52928         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52929         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52930         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52932 2012-04-17  David S. Miller  <davem@davemloft.net>
52934         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52936 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52938         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52939         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52940         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52941         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52942         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52943         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52945 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52947         [BZ #6794]
52948         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52949         * math/libm-test.inc: Add ilogb errno and exception tests.
52950         * math/w_ilogb.c: New file: ilogb wrapper.
52951         * math/w_ilogbf.c: New file: ilogbf wrapper.
52952         * math/w_ilogbl.c: New file: ilogbl wrapper.
52953         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52954         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52955         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52956         exception being thrown with 0.0 as argument.
52957         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52958         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52959         exception being thrown with 0.0 as argument.
52960         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52961         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52962         exception being thrown with 0.0 as argument.
52963         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52964         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52965         exception being thrown with 0.0 as argument.
52966         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52967         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52968         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52969         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52970         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52971         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52972         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52973         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52974         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52976 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52978         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52979         with altivec.
52981 2012-04-16  Marek Polacek  <polacek@redhat.com>
52983         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52985 2012-04-16  Marek Polacek  <polacek@redhat.com>
52987         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52988         operands of fdivp instruction.
52990 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52992         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52993         * elf/tst-auditmod3b.c: Likewise.
52994         * elf/tst-auditmod4b.c: Likewise.
52995         * elf/tst-auditmod5b.c: Likewise.
52996         * elf/tst-auditmod6b.c: Likewise.
52997         * elf/tst-auditmod6c.c: Likewise.
52998         * elf/tst-auditmod7b.c: Likewise.
52999         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53000         * sysdeps/x86_64/preconfigure.in: Likewise.
53001         * sysdeps/x86_64/preconfigure: Regenerated.
53003 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53005         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53006         __ILP32__.
53008 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
53010         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53011         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53013 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
53015         [BZ #13973]
53016         * locale/iso-639.def: Fix gl language name. Spotted by
53017         Yaron Shahrabani.
53019 2012-04-12  Roland McGrath  <roland@hack.frob.com>
53021         [BZ #2074]
53022         * libio/libio.h (__io_write_fn): Update comment.
53024 2012-04-12  Petr Baudis  <pasky@ucw.cz>
53026         [BZ #2074]
53027         * stdio.texi (Hook Functions): The user provided writer function
53028         is not allowed to return -1.
53030 2012-04-11  David S. Miller  <davem@davemloft.net>
53032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53034 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
53036         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53037         Add a leading slash to rtkaio.
53039 2012-04-11  Jim Meyering  <meyering@redhat.com>
53041         [BZ #11959]
53042         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53043         It is not necessarily an error to ignore fwrite's return
53044         value.  One can reliably use ferror to test for errors after
53045         the fact.
53047 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53049         * bits/types.h (__snseconds_t): New type.
53050         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53052         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53054         (__SNSECONDS_T_TYPE): Likewise.
53055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53056         (__SNSECONDS_T_TYPE): Likewise.
53057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53058         (__SNSECONDS_T_TYPE): Likewise.
53060 2012-04-10  Andreas Jaeger  <aj@suse.de>
53062         [BZ #2636]
53063         * manual/time.texi (Processor Time): Return type of times is
53064         elapsed real time since an arbitrary point in the past.
53065         (CPU Time): Move CLK_TCK from here...
53066         (Processor Time): ...to here.  Correct description.
53067         * manual/conf.texi (Constants for Sysconf): Correct description of
53068         _SC_CLK_TCK.
53070 2012-04-10  David S. Miller  <davem@davemloft.net>
53072         [BZ #13967]
53073         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53074         where the is a gap between DT_REL(A) and DT_JMPREL.
53076 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53078         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53079         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53080         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53082 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53084         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53085         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53086         (dl_main): Handle --inhibit-cache.
53087         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53088         _dl_inhibit_cache.
53089         * elf/dl-load.c (_dl_map_object): Use it.
53090         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53092 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53094         [BZ #13872]
53095         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53096         (__ieee754_powl): Saturate large exponents rather than testing for
53097         overflow of y*log2(x).
53098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53099         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53100         exceptions.
53102         [BZ #11521]
53103         * math/s_ctan.c: Include <float.h>.
53104         (__ctan): Avoid internal overflow or cancellation in calculating
53105         denominator.
53106         * math/s_ctanf.c: Likewise.
53107         * math/s_ctanl.c: Likewise.
53108         * math/s_ctanh.c: Likewise.
53109         * math/s_ctanhf.c: Likewise.
53110         * math/s_ctanhl.c: Likewise.
53111         * math/libm-test.inc (ctan_test): Add more tests.
53112         (ctanh_test): Likewise.
53113         * sysdeps/i386/fpu/libm-test-ulps: Update.
53114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53116 2012-04-09  Andreas Jaeger  <aj@suse.de>
53118         [BZ #6894]
53119         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53120         is an optional BSD extension.
53122         [BZ #10254]
53123         * manual/stdio.texi (Opening Streams): Document additional fopen
53124         parameters.
53126 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53128         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53129         %eax without telling the compiler.
53131 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53133         [BZ # 13963]
53134         * manual/install.texi: Use sourceware.org.
53136 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53138         [BZ #13873]
53139         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53140         (__ieee754_pow): Generate overflow and underflow using huge*huge
53141         and tiny*tiny rather than just returning constant infinity or zero
53142         for large exponents.
53143         * math/libm-test.inc (pow_test): Require overflow exceptions for
53144         applicable cases of large exponents.
53146         [BZ #706]
53147         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53148         (__ieee754_pow): Use iterative multiplication algorithm only for
53149         integer exponents with absolute value below 1024.  Check for odd
53150         integer exponents when using algorithm for real exponents.
53151         * math/libm-test.inc (pow_test): Add more tests.
53152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53154 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53156         [BZ #13705]
53157         * math/libm-test.inc (exp_test): Do not allow overflow exception
53158         on underflow test.
53160 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53162         [BZ #13705]
53163         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53164         instead of __kernel_standard_f.
53166 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53168         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53169         * sysdeps/x86_64/memset_chk.S: Likewise.
53171 2012-04-08  Andreas Jaeger  <aj@suse.de>
53173         [BZ #10153]
53174         * manual/startup.texi (Environment Access): Describe return value
53175         for putenv and setenv.
53177         [BZ #6895]
53178         * manual/filesys.texi (Directory Entries): Add description for
53179         DT_LNK.
53181         [BZ #6890]
53182         * manual/filesys.texi (Directory Entries): Clarify that it's file
53183         system not operating system in the description of DT_UNKNOWN.
53185         [BZ #6578]
53186         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53188 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53190         [BZ #6649]
53191         * manual/llio.texi (Opening and Closing Files): Add cross
53192         reference to explain mode argument.
53194 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53196         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53197         * sysdeps/x86_64/memset_chk.S: Likewise.
53199 2012-04-07  David S. Miller  <davem@davemloft.net>
53201         * elf/elf.h (R_SPARC_WDISP10): Define.
53202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53203         R_SPARC_SIZE32.
53204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53205         R_SPARC_SIZE64 and R_SPARC_H34.
53207 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53209         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53210         conditions and remove no longer applicable assertion.
53212 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53214         * bits/byteswap.h: Include <features.h>.
53215         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53216         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53218 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53220         * bits/byteswap.h (__bswap_16): Removed.
53221         Include <bits/byteswap-16.h> to get __bswap_16.
53222         * sysdeps/i386/bits/byteswap.h: Likewise.
53223         * sysdeps/s390/bits/byteswap.h: Likewise.
53224         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53225         * bits/byteswap-16.h: New file.
53226         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53227         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53228         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53229         * string/Makefile (headers): Add bits/byteswap-16.h.
53231 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53233         [BZ #13895]
53234         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53235         extra indirection.
53236         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53237         * nss/tst-nss-static.c: New.
53239 2012-04-06  Robert Millan  <rmh@gnu.org>
53241         [BZ #6486]
53242         * manual/llio.texi (File Position Primitive): lseek
53243         refers to WHENCE when it really means OFFSET.
53245 2012-04-06  Andreas Jaeger  <aj@suse.de>
53247         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53248         strncmp declarations.
53250         * abilist/libc.abilist: Add __poll and __ppoll.
53252 2012-04-05  David S. Miller  <davem@davemloft.net>
53254         * scripts/check-local-headers.sh: Accept a host triplet in the
53255         path matched by the exclude regexp.
53257         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53258         definition.
53259         * sysdeps/powerpc/powerpc32/dl-machine.h
53260         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53261         * sysdeps/s390/s390-32/dl-machine.h
53262         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53263         * sysdeps/sparc/sparc32/dl-machine.h
53264         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53265         * sysdeps/sparc/sparc64/dl-machine.h
53266         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53268         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53269         lazy binding.
53270         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53271         undefined symbol errors.
53273         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53274         DT_NEEDED entries.
53276 2012-04-05  Michael Matz  <matz@suse.de>
53278         [BZ #13592]
53279         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53281 2012-04-05  Andreas Jaeger  <aj@suse.de>
53283         [BZ #13908]
53284         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53285         comment.
53287 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53289         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53290         which ROUND is no valid rounding mode.
53292 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53294         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53295         read again.
53296         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53300         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53301         an exception using FPU order intentionally.
53303 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53305         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53306         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53307         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53308         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53310 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53312         [BZ #12340]
53313         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53314         EINVAL when BUFLEN is too smal.
53316 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53318         [BZ #13553]
53319         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53320         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53322 2012-04-03  Andreas Jaeger  <aj@suse.de>
53324         [BZ #13938]
53325         * manual/setjmp.texi (System V contexts): Fix sentence.
53327         [BZ #13926]
53328         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53329         New macro for this case.
53330         [!__GNUC__] (__bswap_64): New inline function for this case.
53331         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53332         * bits/byteswap.h: Likewise.
53333         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53334         ull, guard with __GLIBC_HAVE_LONG_LONG.
53336         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53337         __GLIBC_HAVE_LONG_LONG.
53339         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53340         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53342 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53344         [BZ #13691]
53345         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53346         inptr and inend, rather than using last_ch.
53348 2012-04-02  David S. Miller  <davem@davemloft.net>
53350         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53351         * stdio-common/printf-parse.h (read_int): Change return type to
53352         'int', return -1 on INT_MAX overflow.
53353         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53354         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53355         overflows INT_MAX.  Check for overflow of in-format-string precision
53356         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53357         SIZE_MAX not INT_MAX for integer overflow test.
53358         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53359         skip the construct in the format string but do not record anything.
53360         * stdio-common/bug22.c: Adjust to test both width/prevision
53361         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53362         explicitly for proper errno values.
53364 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53366         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53367         CHAR_MAX.
53368         * string/test-strcmp.c [! WIDE]: Likewise.
53369         * time/tst-mktime2.c: Likewise for INT_MAX.
53370         * string/test-string.h: #include <sys/param.h> for MIN.
53372         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53373         * sysdeps/i386/init-first.c (init): Likewise.
53374         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53375         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53376         * sysdeps/sh/init-first.c (init): Likewise.
53378 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53380         * po/ru.po: Update from translation team.
53381         * po/vi.po: Likewise.
53383 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53385         * resolv/nss_dns/dns-host.c: Merge copyright years.
53387 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53389         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53390         Optimize memcpy with prefetch if
53391         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53392         src, dst pointers have unequal 16 byte alignments.
53394 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53396         [BZ #13928]
53397         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53398         from a CNAME entry and return the minimum ttl for the query.
53399         (gaih_getanswer_slice): Likewise.
53401 2012-03-30  Jeff Law  <law@redhat.com>
53403         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53404         due to long keys.
53405         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53406         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53408         * resolv/nss_dns/dns-host.c: Update copyright year.
53410 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53412         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53413         requests to save a system call.  Fix check that all bytes are sent.
53415         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53416         comments for sendmmsg.
53418 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53420         [BZ #13691]
53421         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53422         with only 1 character between 0x0041 and 0x01b0.
53423         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53424         * wcsmbs/tst-mbsnrtowcs.c: New file.
53426 2012-03-29  David S. Miller  <davem@davemloft.net>
53428         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53429         small copies by hand.
53431 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53433         [BZ #13761]
53434         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53435         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53436         group memberships.
53438 2012-03-28  David S. Miller  <davem@davemloft.net>
53440         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53441         that branches into memcpy.
53442         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53443         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53445         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53447         bits.
53448         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53449         implementation too.
53450         * sysdeps/sparc/mempcpy.S: New file.
53452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53453         the IFUNC routine in the libc case.
53454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53456         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53457         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53458         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53459         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53460         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53461         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53462         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53463         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53465         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53466         loop to 256 bytes instead of 64 bytes and fix test signedness.
53468         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53469         * sysdeps/sparc/sparc32/Makefile: rather than here...
53470         * sysdeps/sparc/sparc64/Makefile: and here.
53472 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53474         * malloc/mallocbug.c: Avoid warnings about unused variables.
53476 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53478         [BZ #13760]
53479         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53480         in the right place. Discard and retry query if response is
53481         larger than input buffer size.
53483 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53485         [BZ #369]
53486         [BZ #2678]
53487         [BZ #3866]
53488         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53489         x for large integer exponent.
53490         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53491         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53492         sign of result as needed afterwards.
53493         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53494         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53495         result for underflowing pow the same as for overflow.
53496         (__kernel_standard_l): Handle powl overflow and underflow here
53497         rather than calling __kernel_standard.
53498         * math/libm-test.inc (pow_test): Add more tests.
53500         [BZ #3868]
53501         [BZ #13879]
53502         [BZ #13910]
53503         [BZ #13911]
53504         [BZ #13912]
53505         [BZ #13913]
53506         [BZ #13915]
53507         [BZ #13916]
53508         [BZ #13917]
53509         [BZ #13918]
53510         [BZ #13919]
53511         [BZ #13920]
53512         [BZ #13921]
53513         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53514         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53515         (__kernel_standard_l): New function.
53516         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53517         __kernel_standard.
53518         * math/w_acosl.c (__acosl): Likewise.
53519         * math/w_asinl.c (__asinl): Likewise.
53520         * math/w_atan2l.c (__atan2l): Likewise.
53521         * math/w_atanhl.c (__atanhl): Likewise.
53522         * math/w_coshl.c (__coshl): Likewise.
53523         * math/w_exp10l.c (__exp10l): Likewise.
53524         * math/w_exp2l.c (__exp2l): Likewise.
53525         * math/w_fmodl.c (__fmodl): Likewise.
53526         * math/w_hypotl.c (__hypotl): Likewise.
53527         * math/w_j0l.c (__j0l, __y0l): Likewise.
53528         * math/w_j1l.c (__j1l, __y1l): Likewise.
53529         * math/w_jnl.c (__jnl, __ynl): Likewise.
53530         * math/w_lgammal.c (__lgammal): Likewise.
53531         * math/w_log10l.c (__log10l): Likewise.
53532         * math/w_log2l.c (__log2l): Likewise.
53533         * math/w_logl.c (__logl): Likewise.
53534         * math/w_powl.c (__powl): Likewise.
53535         * math/w_remainderl.c (__remainderl): Likewise.
53536         * math/w_scalbl.c (sysv_scalbl): Likewise.
53537         * math/w_sinhl.c (__sinhl): Likewise.
53538         * math/w_sqrtl.c (__sqrtl): Likewise.
53539         * math/w_tgammal.c (__tgammal): Likewise.
53540         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53541         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53542         * math/libm-test.inc (acos_test): Add more tests.
53543         (acosh_test): Likewise.
53544         (asin_test): Likewise.
53545         (atanh_test): Likewise.
53546         (exp_test): Likewise.
53547         (exp10_test): Likewise.
53548         (exp2_test): Likewise.
53549         (expm1_test): Likewise.
53550         (lgamma_test): Likewise.
53551         (log_test): Likewise.
53552         (log10_test): Likewise.
53553         (log1p_test): Likewise.
53554         (log2_test): Likewise.
53555         (pow_test): Do not allow some spurious overflow exceptions.
53556         (sqrt_test): Add more tests.
53557         (tgamma_test): Likewise.
53558         (y0_test): Likewise.
53559         (y1_test): Likewise.
53560         (yn_test): Likewise.
53562 2012-03-27  Anton Blanchard  <anton@samba.org>
53564         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53565         MAP_HUGETLB.
53566         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53567         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53568         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53570 2012-03-27  David S. Miller  <davem@davemloft.net>
53572         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53574         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53575         have-as-vis3 check.
53577 2012-03-27  Andreas Jaeger  <aj@suse.de>
53579         * sysdeps/x86_64/elf/configure.in: Moved to ...
53580         * sysdeps/x86_64/configure.in: ... here.
53581         * sysdeps/x86_64/elf/start.S: Moved to ...
53582         * sysdeps/x86_64/start.S: ... here.
53583         * sysdeps/x86_64/elf/configure: Delete.
53585         * sysdeps/x86_64/configure.in: Merge contents from
53586         sysdeps/i386/configure.in (without i686 check).
53588         * sysdeps/i386/elf/Versions: Merge into ...
53589         * sysdeps/i386/Versions: ... this.
53590         * sysdeps/i386/elf/Versions: Delete file.
53591         * sysdeps/i386/elf/start.S: Moved to ...
53592         * sysdeps/i386/start.S: ...here.
53593         * sysdeps/i386/elf/configure.in: Merge into...
53594         * sysdeps/i386/configure.in: ...here.
53595         * sysdeps/i386/elf/configure.in: Delete file.
53596         * sysdeps/i386/elf/configure: Delete file.
53598         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53599         * debug/backtracesyms.c: ... here.
53600         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53601         * debug/backtracesymsfd.c: ... here.
53602         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53603         * sysdeps/generic/ifunc-sel.h: ... here.
53605         * sysdeps/unix/i386/start.c: Delete file.
53606         * sysdeps/unix/sparc/start.c: Delete file.
53607         * sysdeps/unix/start.c: Delete file.
53609         * sysdeps/sh/elf/configure.in: Moved to ...
53610         * sysdeps/sh/configure.in: ... here.
53611         * sysdeps/sh/elf/start.S: Moved to ...
53612         * sysdeps/sh/start.S: ... here.
53613         * sysdeps/sh/elf/configure: Delete file.
53615         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53616         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53617         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53618         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53619         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53620         * sysdeps/powerpc/powerpc64/start.S: here.
53621         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53622         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53623         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53624         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53625         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53627         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53628         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53629         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53630         * sysdeps/powerpc/powerpc32/start.S: ... here.
53631         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53632         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53633         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53635         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53636         * sysdeps/powerpc/ifunc-sel.h: ... here.
53637         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53638         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53640         * sysdeps/sparc/elf/configure.in: Moved to ...
53641         * sysdeps/sparc/configure.in: ... here.
53642         * sysdeps/sparc/elf/configure: Delete file.
53643         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53644         * sysdeps/sparc/sparc32/start.S: ... here.
53645         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53646         * sysdeps/sparc/sparc64/start.S: ... here.
53647         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53648         * sysdeps/sparc/sparc32/Makefile: ... this.
53649         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53650         * sysdeps/sparc/sparc64/Makefile: ... this.
53652         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53653         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53654         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53655         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53656         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53657         * sysdeps/s390/s390-32/setjmp.S: ... here.
53658         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53659         * sysdeps/s390/s390-32/configure.in: ... here.
53660         * sysdeps/s390/s390-32/elf/configure: Delete file.
53661         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53662         * sysdeps/s390/s390-32/start.S: ... here.
53664         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53665         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53666         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53667         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53668         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53669         * sysdeps/s390/s390-64/setjmp.S: ... here.
53670         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53671         * sysdeps/s390/s390-64/configure.in: ... here
53672         * sysdeps/s390/s390-64/elf/configure: Delete file.
53673         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53674         * sysdeps/s390/s390-64/start.S: ... here.
53675         * sysdeps/s390/s390-64/elf/configure: Delete.
53677         * configure.in: Remove support for elf directories in sysdeps.
53679         * configure: Regenerated.
53680         * sysdeps/i386/configure: Regenerated.
53681         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53682         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53683         * sysdeps/s390/s390-32/configure: Regenerated.
53684         * sysdeps/s390/s390-64/configure: Regenerated.
53685         * sysdeps/sh/configure: Regenerated.
53686         * sysdeps/sparc/configure: Regenerated.
53687         * sysdeps/x86_64/configure: Regenerated.
53689 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53694         denormal result into account.
53696 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53698         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53699         Reported by Allan McRae <allan@archlinux.org>.
53701 2012-03-23  Jeff Law  <law@redhat.com>
53703         * nss/getnssent.c (__nss_getent): Fix typo.
53705 2012-03-23  David S. Miller  <davem@davemloft.net>
53707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53709 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53711         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53712         to pad to uint64_t for each field.
53713         (dl_tls_index): Replace unsigned long with uint64_t.
53715 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53716         Paul Pluzhnikov  <ppluzhnikov@google.com>
53718         [BZ #6528]
53719         * grp/Makefile (otherlibs): Don't set it.
53720         * inet/Makefile (otherlibs): Likewise.
53721         * login/Makefile (otherlibs): Likewise.
53722         * nscd/Makefile (otherlibs): Likewise.
53723         * posix/Makefile (otherlibs): Likewise.
53724         * pwd/Makefile (otherlibs): Likewise.
53725         * rt/Makefile (otherlibs): Likewise.
53726         * sunrpc/Makefile (otherlibs): Likewise.
53727         * nss/Makefile (otherlibs): Likewise.
53728         Add libnss_files to routines and static-only-routines.
53729         ($(objpfx)getent): Remove rule.
53730         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53731         static-only-routines.
53733 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53735         [BZ #13892]
53736         * math/s_cexp.c: Include <float.h>.
53737         (__cexp): Handle exp result overflowing not necessarily
53738         overflowing both real and imaginary parts of result.
53739         * math/s_cexpf.c: Likewise.
53740         * math/s_cexpl.c: Likewise.
53741         * math/libm-test.inc (cexp_test): Add more tests.
53742         * sysdeps/i386/fpu/libm-test-ulps: Update.
53743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53745 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53747         * include/link.h (ELFW): New macro.
53748         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53749         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53751 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53753         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53754         with uint64_t.
53756 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53758         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53759         declaration.
53760         (struct La_x32_retval): Likewise.
53762 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53764         * sysdeps/x86_64/preconfigure.in: New file.
53765         * sysdeps/x86_64/preconfigure: New generated file.
53767 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53769         [BZ #13824]
53770         * math/e_exp2l.c: Include <float.h>.
53771         (__ieee754_exp2l): Handle overflow and underflow cases
53772         separately.  Only pass fractional part of argument to
53773         __ieee754_expl.
53774         * math/libm-test.inc (exp2_test): Add more tests.
53776         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53777         negating x to take absolute value.
53778         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53779         Likewise.
53780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53782         Likewise.
53783         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53784         computing low part if x was negated.
53785         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53787 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53789         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53790         la_x32_gnu_pltexit.
53791         (pltexit): Cast int_retval to ptrdiff_t.
53792         * elf/tst-auditmod3b.c: Likewise.
53793         * elf/tst-auditmod4b.c: Likewise.
53794         * elf/tst-auditmod5b.c: Likewise.
53795         * elf/tst-auditmod6b.c: Likewise.
53796         * elf/tst-auditmod6c.c: Likewise.
53797         * elf/tst-auditmod7b.c: Likewise.
53799         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53800         and x32_gnu_pltexit.
53802         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53803         __ELF_NATIVE_CLASS.
53804         (La_x32_regs): New macro.
53805         (La_x32_retval): Likewise.
53806         (la_x32_gnu_pltenter): New function prototype.
53807         (la_x32_gnu_pltexit): Likewise.
53809 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53812         exponent.
53814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53816         * configure.in (libc_cv_cc_nofma): Check for option to disable
53817         generation of FMA instructions.
53818         * configure: Regenerate.
53819         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53820         * sysdeps/ieee754/dbl-64/Makefile: New file.
53821         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53822         Remove brandred-fma4.
53823         (CFLAGS-brandred-fma4.c): Remove.
53824         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53825         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53826         define.
53827         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53828         define.
53830 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53832         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53833         LLONG_MAX != LONG_MAX.
53834         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53835         (_fitoa_word): Likewise.
53836         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53837         LLONG_MAX != LONG_MAX.
53838         * stdio-common/_itowa.h: Include <_itoa.h>.
53839         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53840         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53841         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53842         only if not defined.
53843         (_ITOA_WORD_TYPE): Likewise.
53844         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53845         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53847 2012-03-21  David S. Miller  <davem@davemloft.net>
53849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53851 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53853         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53854         of x86_64 when setting libc_cv_slibdir, libdir and
53855         libc_cv_localedir.
53856         * sysdeps/unix/sysv/linux/configure: Regenerated.
53858 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53860         * manual/lang.texi (Old Varargs): Remove section.
53861         (How Variadic): Update menu.
53862         (va_start): Do not mention varargs.h.
53864 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53865             Joseph Myers  <joseph@codesourcery.com>
53867         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53868         link test.
53869         * configure: Regenerated.
53871 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53873         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53874         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53875         conformtest.pl
53877 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53879         * NOTES: Remove.
53880         * Makefile (files-for-dist): Remove NOTES.
53881         (NOTES): Remove rule.
53882         * README: Don't refer to NOTES.
53883         * manual/creature.texi: Don't include macros.texi.
53884         * manual/intro.texi (creature.texi): Remove comment referring to
53885         NOTES.
53887         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53888         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53889         * configure: Regenerated.
53890         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53891         LIBC_TRY_CC_OPTION.
53892         (libc_cv_as_i686): Likewise.
53893         (libc_cv_cc_avx): Likewise.
53894         (libc_cv_cc_sse2avx): Likewise.
53895         (libc_cv_cc_fma4): Likewise.
53896         (libc_cv_cc_novzeroupper): Likewise.
53897         * sysdeps/i386/configure: Regenerated.
53899         [BZ #13883]
53900         * sysdeps/i386/fpu/s_cexp.S: Remove.
53901         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53902         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53903         * math/libm-test.inc (cexp_test): Add more tests.
53904         * sysdeps/i386/fpu/libm-test-ulps: Update.
53905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53907 2012-03-21  Allan McRae  <allan@archlinux.org>
53909         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53911 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53913         [BZ #13871]
53914         * math/w_exp2.c: Do not include <float.h>.
53915         (o_threshold, u_threshold): Remove.
53916         (__exp2): Calculate result before checking finiteness and calling
53917         __kernel_standard.
53918         * math/w_exp2f.c: Likewise.
53919         * math/w_exp2l.c: Likewise.
53920         * math/libm-test.inc (exp2_test): Require overflow exception for
53921         1e6 input.
53923         [BZ #3866]
53924         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53925         range of signed 64-bit integers before using fistpll.  Remove
53926         checks for whether integers fit in mantissa bits.
53927         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53928         the range of signed 32-bit integers before using fistpl.  Remove
53929         checks for whether integers fit in mantissa bits.
53930         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53931         (__ieee754_powl): Test for y outside the range of signed 64-bit
53932         integers before using fistpll.  Reduce 64-bit values to 63-bit
53933         ones as needed.
53934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53935         divide-by-zero is raised for zero to large negative powers.
53936         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53937         (__ieee754_powl): Test for y outside the range of signed 64-bit
53938         integers before using fistpll.  Reduce 64-bit values to 63-bit
53939         ones as needed.
53940         * math/libm-test.inc (pow_test): Add more tests.
53942 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53944         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53945         <stdio-common/_itoa.h>.
53946         * debug/segfault.c: Likewise.
53947         * elf/dl-cache.c: Likewise.
53948         * elf/dl-minimal.c: Likewise.
53949         * elf/dl-misc.c: Likewise.
53950         * elf/dl-sysdep.c: Likewise.
53951         * elf/dl-version.c: Likewise.
53952         * elf/rtld.c: Likewise.
53953         * hurd/hurdsock.c: Likewise.
53954         * hurd/lookup-retry.c: Likewise.
53955         * malloc/malloc.c: Likewise.
53956         * malloc/mtrace.c: Likewise.
53957         * nscd/nscd_getgr_r.c: Likewise.
53958         * nscd/nscd_getpw_r.c: Likewise.
53959         * nscd/nscd_getserv_r.c: Likewise.
53960         * posix/getopt_init.c: Likewise.
53961         * posix/wordexp.c: Likewise.
53962         * stdio-common/_itoa.c: Likewise.
53963         * stdio-common/printf_fphex.c: Likewise.
53964         * stdio-common/vfprintf.c: Likewise.
53965         * string/_strerror.c: Likewise.
53966         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53967         * sysdeps/i386/i686/hp-timing.h: Likewise.
53968         * sysdeps/mach/_strerror.c: Likewise.
53969         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53970         * sysdeps/mach/hurd/sethostid.c: Likewise.
53971         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53972         * sysdeps/mach/xpg-strerror.c: Likewise.
53973         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53974         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53975         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53976         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53977         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53978         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53979         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53980         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53981         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53982         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53983         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53984         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53985         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53986         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53987         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53988         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53989         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53990         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53991         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53992         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53993         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53995         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53997         * stdio-common/_itoa.h: Moved to ...
53998         * sysdeps/generic/_itoa.h: Here.
54000         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54002         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54003         instead of "_itoa.h" and "_itowa.h".
54004         * stdio-common/vfprintf.: Likewise.
54006 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54008         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54009         <bits/wordsize.h>.
54010         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54011         (__signbit): Likwise.
54012         (llrintf): Likwise.
54013         (llrint): Likwise.
54015 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54017         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54018         __WORDSIZE != 64.
54020 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
54022         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54023         OVERFLOW_EXCEPTION_OK.
54024         * math/libm-test.inc ("Philosophy"): Update comment about
54025         exception testing.
54026         (OVERFLOW_EXCEPTION): Define.
54027         (OVERFLOW_EXCEPTION_OK): Likewise.
54028         (INVALID_EXCEPTION_OK): Renumber.
54029         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54030         (IGNORE_ZERO_INF_SIGN): Likewise.
54031         (test_exceptions): Handle FE_OVERFLOW.
54032         (exp10_test): Expect overflow exceptions.
54033         (exp2_test): Likewise.
54034         (expm1_test): Likewise.
54035         (nextafter_test): Likewise.
54036         (pow_test): Likewise.
54037         (scalbn_test): Likewise.
54038         (scalbln_test): Likewise.
54040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54042         * sysdeps/x86_64/bits/atomic.h
54043         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54044         64bit integer.
54045         (atomic_exchange_acq): Likewise.
54046         (__arch_exchange_and_add_body): Likewise.
54047         (__arch_add_body): Likewise.
54048         (atomic_add_negative): Likewise.
54049         (atomic_add_zero): Likewise.
54051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54053         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54054         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54056 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54058         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54059         Check __x86_64__ instead of __WORDSIZE.
54061 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54063         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54065 2012-03-19  David S. Miller  <davem@davemloft.net>
54067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54069         * sysdeps/sparc/fpu/fenv_private.h: New file.
54070         * sysdeps/sparc/fpu/math_private.h: Use it.
54071         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54072         Remove.
54073         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54074         (libc_feholdexcept_setroundl): Remove.
54075         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54076         Remove.
54077         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54078         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54080 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54082         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54083         int64_t instead of long int.
54084         (INSERT_WORDS64): Likwise.
54086 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54088         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54089         _Unwind_GetCFA return to _Unwind_Ptr first.
54091 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54093         [BZ #13629]
54094         * math/s_clog.c: Include <float.h>.
54095         (__clog): Scale large or subnormal inputs.
54096         * math/s_clogf.c: Likewise.
54097         * math/s_clogl.c: Likewise.
54098         * math/s_clog10.c: Include <float.h>.
54099         (M_LOG10_2): Define.
54100         (__clog10): Scale large or subnormal inputs.
54101         * math/s_clog10f.c: Likewise.
54102         * math/s_clog10l.c: Likewise.
54103         * math/libm-test.inc (clog_test): Add more tests.
54104         (clog10_test): Likewise.
54105         * sysdeps/i386/fpu/libm-test-ulps: Update.
54106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54108         [BZ #11451]
54109         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54110         x and y.
54111         * math/libm-test.inc (atan2_test): Add another test.
54113         * Makerules (common-objdir-compile): Remove.
54114         * sysdeps/unix/Makefile (config-generated): Do not add
54115         $(unix-generated) to variable.
54116         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54117         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54118         Remove rule.
54119         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54120         Likewise.
54121         [generic bits/local_lim.h] (before-compile): Do not append to
54122         variable.
54123         [generic bits/local_lim.h] (common-generated): Likewise.
54124         [generic sys/param.h] (before-compile): Do not append to variable.
54125         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54126         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54127         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54128         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54129         include.
54130         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54131         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54132         [generic sys/param.h] ($(addprefix
54133         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54134         [generic sys/param.h] (common-generated): Do not append to
54135         variable.
54136         [generic sys/param.h] (sysdep_headers): Likewise.
54137         [generic bits/errno.h] (before-compile): Do not append to
54138         variable.
54139         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54140         rule.
54141         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54142         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54143         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54144         [generic bits/errno.h] (common-generated): Do not append to
54145         variable.
54146         [generic bits/ioctls.h] (before-compile): Do not append to
54147         variable.
54148         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54149         rule.
54150         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54151         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54152         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54153         rule.
54154         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54155         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54156         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54157         [generic bits/ioctls.h] (common-generated): Do not append to
54158         variable.
54159         [generic sys/syscall.h] (syscall.h): Remove variable.
54160         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54161         rule.
54162         [generic sys/syscall.h] (before-compile): Do not append to
54163         variable.
54164         [generic sys/syscall.h] (common-generated): Likewise.
54165         * sysdeps/unix/errnos-tmpl.c: Remove file.
54166         * sysdeps/unix/errnos.awk: Likewise.
54167         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54168         * sysdeps/unix/ioctls.awk: Likewise.
54169         * sysdeps/unix/mk-local_lim.c: Likewise.
54170         * sysdeps/unix/snarf-ioctls: Likewise.
54172 2012-03-19  Richard Henderson  <rth@twiddle.net>
54174         * sysdeps/i386/fpu/fenv_private.h: New file.
54175         * sysdeps/i386/fpu/math_private.h: Use it.
54176         (math_opt_barrier, math_force_eval): Remove.
54177         (libc_feholdexcept_setround_53bit): Remove.
54178         (libc_feupdateenv_53bit): Remove.
54179         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54180         (math_opt_barrier, math_force_eval): Remove.
54181         (libc_feholdexcept): Remove.
54182         (libc_feholdexcept_setround): Remove.
54183         (libc_fetestexcept, libc_fesetenv): Remove.
54184         (libc_feupdateenv_test): Remove.
54185         (libc_feupdateenv, libc_feholdsetround): Remove.
54186         (libc_feresetround): Remove.
54188         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54189         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54191         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54192         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54193         (libc_feupdateenv_testl): New.
54194         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54195         (libc_feupdateenv_testf): New.
54196         (libc_feupdateenv): Use libc_feupdateenv_test.
54197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54198         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54200         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54201         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54202         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54203         (libc_feresetround_noex): New.
54204         (libc_feresetround_noexf): New.
54205         (libc_feresetround_noexl): New.
54206         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54207         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54208         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54209         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54210         SET_RESTORE_ROUND.
54211         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54213         (__cos): Likewise.
54214         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54215         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54216         SET_RESTORE_ROUND_NOEX.
54217         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54218         SET_RESTORE_ROUND_NOEXF.
54219         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54220         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54221         (libc_feholdsetroundf): New.
54222         (libc_feresetround, libc_feresetroundf): New.
54224         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54225         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54226         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54228         * sysdeps/generic/math_private.h: Include <fenv.h>.
54229         (default_libc_feholdexcept): New.
54230         (default_libc_feholdexcept_setround): New.
54231         (default_libc_fesetenv, default_libc_feupdateenv): New.
54232         (libc_feholdexcept): Only define if undefined.
54233         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54234         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54235         (libc_feholdexcept_setroundl): Likewise.
54236         (libc_feholdexcept_setround_53bit): Likewise.
54237         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54238         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54239         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54240         (libc_feupdateenv_53bit): Likewise.
54241         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54242         (libc_feholdexcept): Convert from macro to inline function.
54243         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54244         (libc_fesetenv, libc_feupdateenv): Likewise.
54246         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54247         not previously defined.
54248         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54249         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54250         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54251         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54252         * sysdeps/ieee754/flt-32/math_private.h: New file.
54253         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54254         math_private.h below SET_FLOAT_WORD.
54255         (__isnan, __isinf_ns, __finite): Remove.
54256         (__isnanf, __isinf_nsf, __finitef): Remove.
54258 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54262 2012-03-17  David S. Miller  <davem@davemloft.net>
54264         [BZ #6471]
54265         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54266         for 2.16.
54268 2012-03-16  David S. Miller  <davem@davemloft.net>
54270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54271         warnings.
54273         [BZ #6471]
54274         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54275         properly.
54276         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54277         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54278         sysdep_routines when subdir is sysvipc.
54279         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54280         __getshmlba helper.
54282         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54286         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54287         [__LP64__].
54289 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54291         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54292         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54293         (__lround): Renamed to ...
54294         (__llround): This.  Replace long int with long long int.
54295         Define lround functions as aliases of llround functions.
54296         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54298 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54300         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54301         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54302         adresses to uintptr_t.  Replace "long int" and "unsigned long
54303         int" with "greg_t" on va_arg.
54305 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54307         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54308         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54310         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54311         Move e_machine check before EI_CLASS check.  Handle x32
54312         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54313         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54314         SKIP_EM_IA_64 and include
54315         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54317         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54318         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54319         (add_system_dir): New macro.
54321         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54322         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54324 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54326         [BZ #2551]
54327         [BZ #2552]
54328         [BZ #2553]
54329         [BZ #2554]
54330         [BZ #2562]
54331         [BZ #2563]
54332         [BZ #2565]
54333         [BZ #2566]
54334         [BZ #2576]
54335         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54336         (y0): Likewise.
54337         * math/w_j0f.c (j0f): Likewise.
54338         (y0f): Likewise.
54339         * math/w_j0l.c (__j0l): Likewise.
54340         (__y0l): Likewise.
54341         * math/w_j1.c (j1): Likewise.
54342         (y1): Likewise.
54343         * math/w_j1f.c (j1f): Likewise.
54344         (y1f): Likewise.
54345         * math/w_j1l.c (__j1l): Likewise.
54346         (__y1l): Likewise.
54347         * math/w_jn.c (jn): Likewise.
54348         (yn): Likewise.
54349         * math/w_jnf.c (jnf): Likewise.
54350         (ynf): Likewise.
54351         * math/w_jnl.c (__jnl): Likewise.
54352         (__ynl): Likewise.
54353         * math/libm-test.inc (j0_test): Add more tests.
54354         (j1_test): Likewise.
54355         (jn_test): Likewise.  Add trailing semicolon to existing test.
54356         (y0_test): Likewise.
54357         (y1_test): Likewise.
54358         * sysdeps/i386/fpu/libm-test-ulps: Update.
54359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54361         [BZ #13851]
54362         [BZ #13854]
54363         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54364         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54365         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54366         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54367         (__tanl): Set errno for infinite argument.
54368         * sysdeps/i386/fpu/mptan.c: Remove.
54369         * sysdeps/i386/fpu/s_tan.S: Likewise.
54370         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54371         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54372         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54373         * math/libm-test.inc (tan_test): Add more tests and enable more
54374         tests for double and long double.
54375         * sysdeps/i386/fpu/libm-test-ulps: Update.
54376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54378 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54380         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54381         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54383 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54385         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54386         * configure.in: Use it for both main tree and add-ons.
54387         * configure: Regenerated.
54389 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54391         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54393 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54395         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54396         in comment.
54398         [BZ #13851]
54399         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54400         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54401         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54404         infinite argument.
54405         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54407         != 0 for prec == 2.
54408         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54409         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54410         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54411         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54412         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54413         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54414         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54415         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54416         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54417         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54418         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54419         * math/libm-test.inc (cos_test): Add more tests and enable more
54420         tests for long double.
54421         (sin_test): Likewise.
54422         (sincos_test): Likewise.
54423         * sysdeps/i386/fpu/libm-test-ulps: Update.
54424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54426 2012-03-16  David S. Miller  <davem@davemloft.net>
54428         * sysdeps/sparc/fpu/math_private.h: New file.
54430 2012-03-15  David S. Miller  <davem@davemloft.net>
54432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54433         file.
54434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54436         file.
54437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54443         sysdep routines.
54444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54446         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54447         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54449         * sysdeps/sparc/sparc-ifunc.h: New file.
54450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54451         sparc-ifunc.h
54452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54454         Likewise.
54455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54456         Likewise.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54461         Likewise.
54462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54467         Likewise.
54468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54469         Likewise.
54470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54476         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54488         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54489         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54490         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54491         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54495 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54497         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54498         scaling.
54499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54501 2012-03-15  Andreas Jaeger  <aj@suse.de>
54503         [BZ #13852]
54504         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54505         ieee754/flt-32 implementation for sin, cos and sincos.
54506         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54507         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54508         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54509         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54510         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54511         ieee754/flt-32 implementation for tan.
54513         * math/libm-test.inc (cos_test): Enable some large input tests for
54514         float as well
54515         (sin_test): Likewise.
54516         (sincos_test): Likewise.
54517         (tan_test): Add tests for large input.
54519         * sysdeps/i386/fpu/libm-test-ulps: Update.
54521 2012-03-15  Andreas Jaeger  <aj@suse.de>
54523         [BZ #13658]
54524         * math/libm-test.inc (cos_test): Add more test cases.
54525         (sin_test): Likewise.
54526         (sincos_test): Likewise.
54528 2012-03-15  Andreas Jaeger  <aj@suse.de>
54530         [BZ #13837]
54531         * math/libm-test.inc (cos_test): Add a test case for large input
54532         value.
54533         (sin_test): Likewise.
54534         (sincos_test): Likewise.
54536 2012-03-15  Andreas Jaeger  <aj@suse.de>
54537             Joseph Myers  <joseph@codesourcery.com>
54539         [BZ #13658]
54540         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54541         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54542         * sysdeps/i386/fpu/branred.c: Likewise.
54543         * sysdeps/i386/fpu/dosincos.c: Likewise.
54544         * sysdeps/i386/fpu/mpa.c: Likewise.
54545         * sysdeps/i386/fpu/s_cos.S: Likewise.
54546         * sysdeps/i386/fpu/s_sin.S: Likewise.
54547         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54548         * sysdeps/i386/fpu/sincos32.c: Likewise.
54550         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54551         Define.
54552         (libc_feupdateenv_53bit): Define.
54553         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54554         Define.
54555         (libc_feupdateenv_53bit): Define.
54557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54558         53 bit (without extend i386 double precision).
54560         * math/libm-test.inc (sincos_test): Add tests for large input.
54561         (sin): Likewise.
54562         (cos): Likewise.
54564         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54566 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54570 2012-03-15  David S. Miller  <davem@davemloft.net>
54572         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54573         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54574         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54575         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54582         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54588         file.
54589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54591         file.
54592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54594         file.
54595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54597         file.
54598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54599         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54600         fmin/fmax sysdep routines.
54601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54603 2012-03-14  David S. Miller  <davem@davemloft.net>
54605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54609         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54610         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54611         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54625         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54626         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54627         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54629         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54630         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54631         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54632         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54633         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54634         routines.
54635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54636         file.
54637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54639         file.
54640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54642         file.
54643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54645         file.
54646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54648         file.
54649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54651         file.
54652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54653         file.
54654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54655         file.
54656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54657         file.
54658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54659         New file.
54660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54661         file.
54662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54663         file.
54664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54666         file.
54667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54669         file.
54670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54672         file.
54673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54675         VIS3 routines.
54677         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54678         New file.
54680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54682         * sysdeps/sparc/configure.in: New file.
54683         * sysdeps/sparc/configure: Generate.
54684         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54685         * configure: Regenerate.
54686         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54687         * config.make.in (have-as-vis3): New.
54688         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54689         available use -Av9d instead of -Av9a.
54690         * sysdeps/sparc/sparc64/Makefile: Likewise.
54691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54693         New file.
54694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54695         file.
54696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54697         New file.
54698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54699         file.
54700         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54701         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54703         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54706         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54707         fzeros/fnegs to load 0x80000000 into a float register instead of
54708         using the stack.
54709         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54711 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54714         bits/syscall.h.
54715         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54716         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54717         ($(inst_includedir)/bits/syscall.h): Remove rule.
54718         ($(objpfx)bits/syscall.d): Include instead of
54719         $(objpfx)syscall-list.d.
54720         (generated): Change syscall-list.h and syscall-list.d to
54721         bits/syscall.h and bits/syscall.d.
54723 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54725         [BZ #13846]
54726         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54728 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54730         [BZ #13841]
54731         * math/s_csqrt.c: Include <float.h>.
54732         (__csqrt): Scale large or subnormal inputs.
54733         * math/s_csqrtf.c: Likewise.
54734         * math/s_csqrtl.c: Likewise.
54735         * math/libm-test.inc (csqrt_test): Add more tests.
54736         * sysdeps/i386/fpu/libm-test-ulps: Update.
54737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54739         [BZ #13840]
54740         * math/libm-test.inc (hypot_test): Add more tests.
54742 2012-03-13  David S. Miller  <davem@davemloft.net>
54744         [BZ #13840]
54745         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54746         double-precision for the calculation instead of scaling.
54748 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54750         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54751         manipulate bits before adding and subtracting TWO52[sx].
54752         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54753         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54754         Likewise.
54755         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54757 2012-03-13  David S. Miller  <davem@davemloft.net>
54759         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54760         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54761         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54762         rtld-global-offsets.h
54763         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54765         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54766         large parameters.
54768         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54770         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54771         'err' in the ifdef scope in which it is actually used.
54773         * nss/nss_db/db-init.c: Include string.h
54775 2012-03-12  David S. Miller  <davem@davemloft.net>
54777         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54778         masking out of the most significant byte of random value used.
54779         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54780         Fix coding style in previous change.
54782         * sysdeps/unix/sysv/linux/kernel-features.h
54783         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54784         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54785         expression.
54786         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54787         later.
54789 2012-03-11  David S. Miller  <davem@davemloft.net>
54791         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54792         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54793         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54794         for 'resultvar' otherwise things get truncated on 64-bit.
54796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54797         Fix masking out of the most significant byte of random value used.
54799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54801 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54805 2012-03-09  David S. Miller  <davem@davemloft.net>
54807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54808         variables with appropriate CPP guards.
54809         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54810         from the frame pointer, not the stack pointer.  Correct layout
54811         comments.  Fix test on resulting framesize and the management of
54812         the outregs buffer for pltexit.  Preserve floating point return
54813         values across _dl_call_pltexit call.
54814         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54815         framesize and the management of the outregs buffer for pltexit.
54816         Preserve floating point return values across _dl_call_pltexit
54817         call.
54818         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54819         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54820         (la_sparc64_gnu_pltexit): New functions.
54821         (print_exit): Fix format string for return register value.
54823 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54825         * sunrpc/Makefile (others): Add rpcgen.
54826         ($(objpfx)rpcgen): Remove special build rule and dependency on
54827         libc.
54828         * sunrpc/rpcgen.c: New file.
54830 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54832         [BZ #13673]
54833         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54834         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54835         * sysdeps/i386/crti.S: Likewise.
54836         * sysdeps/i386/crtn.S: Likewise.
54837         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54838         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54839         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54840         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54841         * sysdeps/sh/crti.S: Likewise.
54842         * sysdeps/sh/crtn.S: Likewise.
54843         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54845         [BZ #13673]
54846         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54847         with URL.
54848         * locale/programs/locfile-kw.gperf: Likewise.
54849         * locale/programs/charmap-kw.h: Regenerated.
54850         * locale/programs/locfile-kw.h: Likewise.
54852         [BZ #13673]
54853         * intl/plural.y: Replace FSF snail mail address with URL.
54854         * intl/plural.c: Regenerated.
54856 2012-03-09  Richard Henderson  <rth@twiddle.net>
54858         * include/math_private.h: Remove file.
54859         * math/math_private.h: Move file ...
54860         * sysdeps/generic/math_private.h: ... here.
54862         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54863         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54864         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54866         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54867         and <math_private.h>.
54868         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54869         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54870         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54871         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54872         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54873         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54874         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54875         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54876         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54877         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54879         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54880         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54882         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54883         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54884         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54885         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54887         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54889         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54890         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54892         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54893         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54894         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54895         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54896         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54897         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54898         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54899         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54900         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54901         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54902         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54903         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54904         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54905         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54906         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54907         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54908         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54909         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54910         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54911         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54912         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54913         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54914         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54915         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54917         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54918         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54919         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54920         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54921         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54922         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54925         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54927         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54930         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54932         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54938         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54939         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54940         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54941         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54942         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54946         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54947         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54948         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54950         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54951         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54952         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54955         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54956         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54957         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54958         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54959         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54960         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54961         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54962         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54963         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54964         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54965         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54966         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54967         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54968         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54969         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54970         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54971         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54972         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54973         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54974         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54975         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54976         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54977         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54978         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54979         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54980         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54981         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54982         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54983         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54984         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54985         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54986         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54987         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54988         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54989         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54990         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54991         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54992         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54993         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54995         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54996         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54997         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54998         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54999         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55000         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55001         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55002         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55003         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55004         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55005         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55006         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55007         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55008         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55009         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55010         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55011         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55012         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55013         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55014         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55015         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55016         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55017         * sysdeps/ieee754/k_standard.c: Likewise.
55018         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55070         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55074         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55075         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55076         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55078         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55091         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55092         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55095         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55099         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55104         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55105         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55106         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55109         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55111         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55112         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55113         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55114         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55115         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55116         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55117         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55118         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55119         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55120         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55121         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55122         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55123         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55125         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55126         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55127         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55128         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55129         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55130         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55131         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55132         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55133         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55134         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55135         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55136         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55137         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55138         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55139         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55140         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55141         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55142         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55143         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55144         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55145         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55146         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55147         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55148         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55149         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55150         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55151         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55152         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55153         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55154         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55155         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55156         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55157         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55158         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55159         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55160         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55161         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55162         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55163         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55164         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55165         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55166         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55167         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55168         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55169         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55171         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55172         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55173         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55174         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55175         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55176         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55177         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55178         * sysdeps/ieee754/s_lib_version.c: Likewise.
55179         * sysdeps/ieee754/s_matherr.c: Likewise.
55180         * sysdeps/ieee754/s_signgam.c: Likewise.
55181         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55182         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55183         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55184         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55185         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55186         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55187         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55188         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55189         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55190         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55191         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55192         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55193         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55194         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55195         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55196         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55197         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55198         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55199         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55201         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55203 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55205         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55206         * sunrpc/rpc_main.c: Likewise.
55207         * sunrpc/rpc_svcout.c: Likewise.
55209 2012-03-09  David S. Miller  <davem@davemloft.net>
55211         * include/math_private.h: New file.
55213 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55215         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55216         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55217         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55218         from <bits/socket_type.h>.
55219         (enum __socket_type): Don't define here.
55220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55222         bits/socket_type.h.
55224         [BZ #13566]
55225         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55226         checking __USE_GNU.
55228         * Makerules ($(inst_includedir)/%.h): New rule.
55229         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55230         (install-others): Remove variable setting.
55231         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55233 2012-03-08  Richard Henderson  <rth@twiddle.net>
55235         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55236         from macro to inline function; merge with the
55237         !__LIBC_INTERNAL_MATH_INLINES version.
55238         (__ieee754_sqrtf): Likewise.
55240         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55241         to inline function.
55242         (__rintf, __floor, __floorf): Likewise.
55244         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55245         macro to inline function.
55246         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55248         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55249         not <math/math_private.h>.
55251 2012-03-08  David S. Miller  <davem@davemloft.net>
55253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55254         copyright year.
55255         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55257 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55259         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55260         normalization.
55261         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55262         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55264 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55266         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55267         be defined individually, they must be defined as a block.  Define
55268         S for printing a string instead of hidint the different by using a
55269         macro for adding the 'l'.
55270         * stdio-common/tst-fphex-wide.c: Adjust.
55272 2012-03-07  Marek Polacek  <polacek@redhat.com>
55274         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55276 2012-03-08  Marek Polacek  <polacek@redhat.com>
55278         [BZ #13806]
55279         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55280         * stdio-common/tst-fphex.c: Define a few macros to make the
55281         test reusable.  Use them.
55282         * stdio-common/tst-fphex-wide.c: New file.
55284 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55286         [BZ #6911]
55287         * manual/macros.texi (gnusystems): New macro.
55288         (nongnusystems): Likewise.
55289         (gnulinuxhurdsystems): Likewise.
55290         (gnuhurdsystems): Likewise..
55291         (gnulinuxsystems): Likewise.
55292         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55293         variants of the GNU system, not "GNU system".
55294         * manual/conf.texi: Likewise.
55295         * manual/errno.texi: Likewise.  Update example of errno macro
55296         expansion.
55297         * manual/filesys.texi: Likewise.
55298         (getumask): Document as specific to GNU/Hurd.
55299         * manual/install.texi: Likewise.  Reword some references to
55300         GNU/Linux.
55301         * manual/intro.texi: Likewise.
55302         * manual/io.texi: Likewise.
55303         (File Name Portability): Detail which constraints are inapplicable
55304         to all GNU systems and which are only inapplicable to GNU/Hurd.
55305         * manual/job.texi: Likewise.
55306         * manual/llio.texi: Likewise.
55307         (O_NOCTTY): Document as present on GNU/Linux.
55308         * manual/maint.texi: Likewise.
55309         * manual/memory.texi: Likewise.
55310         * manual/pattern.texi: Likewise.
55311         * manual/pipe.texi: Likewise.
55312         * manual/process.texi: Likewise.
55313         * manual/resource.texi: Likewise.
55314         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55315         child on GNU/Hurd.
55316         * manual/setjmp.texi: Likewise.
55317         * manual/signal.texi: Likewise.
55318         * manual/startup.texi: Likewise.
55319         * manual/stdio.texi: Likewise.
55320         * manual/terminal.texi: Likewise.
55321         (ONLCR): Document as POSIX.
55322         (OXTABS): Document availability on GNU/Linux as XTABS.
55323         (ONOEOT): Document availability separately from other bits.
55324         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55325         * manual/time.texi: Likewise.
55326         * manual/users.texi: Likewise.
55327         * INSTALL: Regenerated.
55328         * sysdeps/gnu/errlist.c: Regenerated.
55330         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55331         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55332         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55333         puts.
55334         * configure: Regenerated.
55336 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55338         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55339         default includes instead of AC_HEADER_CHECK.
55340         * sysdeps/i386/configure: Regenerated.
55342         [BZ #10716]
55343         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55344         * math/s_cacoshf.c (__cacoshf): Likewise.
55345         * math/s_cacoshl.c (__cacoshl): Likewise.
55346         * math/s_casinh.c (__casinh): Set signs of result from argument.
55347         * math/s_casinhf.c (__casinhf): Likewise.
55348         * math/s_casinhl.c (__casinhl): Likewise.
55349         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55350         (casinh_test): Add more tests.
55351         * sysdeps/i386/fpu/libm-test-ulps: Update.
55352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55354 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55356         * po/zh_TW.po: Update from translation team.
55358         * login/Makefile (distribute): Remove variable.
55359         * catgets/Makefile: Likewise.
55360         * mach/Makefile: Likewise.
55361         * malloc/Makefile: Likewise.
55362         * misc/Makefile: Likewise.
55363         * iconv/Makefile: Likewise.
55364         * nscd/Makefile: Likewise.
55365         * hurd/Makefile: Likewise.
55366         * manual/Makefile: Likewise.
55367         * locale/Makefile: Likewise.
55368         * intl/Makefile: Likewise.
55369         * conform/Makefile: Likewise.
55370         * nss/Makefile: Likewise.
55371         * time/Makefile: Likewise.
55372         * soft-fp/Makefile: Likewise.
55373         * dirent/Makefile: Likewise.
55374         * gmon/Makefile: Likewise.
55375         * po/Makefile: Likewise.
55376         * rt/Makefile: Likewise.
55377         * socket/Makefile: Likewise.
55378         * math/Makefile: Likewise.
55379         * signal/Makefile: Likewise.
55380         * debug/Makefile: Likewise.
55381         * elf/Makefile: Likewise.
55382         * timezone/Makefile: Likewise.
55383         * stdlib/Makefile: Likewise.
55384         * iconvdata/Makefile: Likewise.
55385         * sunrpc/Makefile: Likewise.
55386         * io/Makefile: Likewise.
55387         * argp/Makefile: Likewise.
55388         * inet/Makefile: Likewise.
55389         * hesiod/Makefile: Likewise.
55390         * grp/Makefile: Likewise.
55391         * csu/Makefile: Likewise.
55392         * wctype/Makefile: Likewise.
55393         * crypt/Makefile: Likewise.
55394         * libio/Makefile: Likewise.
55395         * string/Makefile: Likewise.
55396         * nis/Makefile: Likewise.
55397         * resolv/Makefile: Likewise.
55398         * stdio-common/Makefile: Likewise.
55399         * wcsmbs/Makefile: Likewise.
55400         * dlfcn/Makefile: Likewise.
55401         * posix/Makefile: Likewise.
55403         [BZ #6959]
55404         * timezone/Makefile: Don't install timezone files, just the programs
55405         and scripts.
55407 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55409         * nss/databases.def: Add missing gshadow entry.
55411         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55413 2012-03-06  Marek Polacek  <polacek@redhat.com>
55415         [BZ #13726]
55416         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55417         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55418         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55419         * stdio-common/tst-long-dbl-fphex.c: New file.
55421 2012-03-06  David S. Miller  <davem@davemloft.net>
55423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55424         (set_obp_int): New function.
55425         (get_obp_int): New function.
55426         (__get_clockfreq_via_dev_openprom): Likewise.
55427         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55428         Avoid unused variable warnings on 'val' and use builtin_expect.
55429         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55430         __builtin_expect.
55431         (INLINE_CLONE_SYSCALL): Likewise.
55433 2012-03-05  David S. Miller  <davem@davemloft.net>
55435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55437 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55441         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55442         only for |x| >= 40.
55443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55445 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55447         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55448         Replace gettimeofday with __vdso_gettimeofday.
55450         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55451         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55452         __vdso_clock_gettime and __vdso_getcpu.
55454         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55455         time with __vdso_time.
55457 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55459         * manual/lang.texi (size_t): Note types to which size_t may be
55460         equivalent with the GNU C Library, but do not describe when
55461         differences between them are significant.
55463 2012-03-05  Andreas Jaeger  <aj@suse.de>
55465         * sysdeps/i386/fpu/libm-test-ulps: Update.
55467 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55469         [BZ #3976]
55470         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55471         (__ieee754_pow): Save and restore rounding mode and use
55472         round-to-nearest for main computations.
55473         * math/libm-test.inc (pow_test_tonearest): New function.
55474         (pow_test_towardzero): Likewise.
55475         (pow_test_downward): Likewise.
55476         (pow_test_upward): Likewise.
55477         (main): Call the new functions.
55478         * sysdeps/i386/fpu/libm-test-ulps: Update.
55479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55481         [BZ #3976]
55482         * math/libm-test.inc (cosh_test_tonearest): New function.
55483         (cosh_test_towardzero): Likewise.
55484         (cosh_test_downward): Likewise.
55485         (cosh_test_upward): Likewise.
55486         (sinh_test_tonearest): Likewise.
55487         (sinh_test_towardzero): Likewise.
55488         (sinh_test_downward): Likewise.
55489         (sinh_test_upward): Likewise.
55490         (main): Call the new functions.
55491         * sysdeps/i386/fpu/libm-test-ulps: Update.
55492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55494 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55496         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55497         default stack guard is set in last bytes.
55498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55500 2012-03-05  Kees Cook  <keescook@chromium.org>
55502         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55504         [BZ #13656]
55505         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55506         possibly allocate from heap instead of stack.
55507         * stdio-common/bug-vfprintf-nargs.c: New file.
55508         * stdio-common/Makefile (tests): Add nargs overflow test.
55510 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55514 2012-03-03  Marek Polacek  <polacek@redhat.com>
55516         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55517         * math/math_private.h: Likewise.
55518         * stdlib/tst-strtod.c: Likewise.
55519         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55520         * sysdeps/x86_64/bits/atomic.h: Likewise.
55522 2012-03-02  David S. Miller  <davem@davemloft.net>
55524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55528         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55529         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55530         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55531         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55533 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55535         [BZ #13792]
55536         * manual/examples/README: New file, says the example source files
55537         can be used under GPL>=2.
55538         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55539         line containing just "*/".
55540         * manual/examples/add.c: Add copyright header (GPL>=2).
55541         * manual/examples/argp-ex1.c: Likewise.
55542         * manual/examples/argp-ex2.c: Likewise.
55543         * manual/examples/argp-ex3.c: Likewise.
55544         * manual/examples/argp-ex4.c: Likewise.
55545         * manual/examples/atexit.c: Likewise.
55546         * manual/examples/db.c: Likewise.
55547         * manual/examples/dir.c: Likewise.
55548         * manual/examples/dir2.c: Likewise.
55549         * manual/examples/execinfo.c: Likewise.
55550         * manual/examples/filecli.c: Likewise.
55551         * manual/examples/filesrv.c: Likewise.
55552         * manual/examples/fmtmsgexpl.c: Likewise.
55553         * manual/examples/genpass.c: Likewise.
55554         * manual/examples/inetcli.c: Likewise.
55555         * manual/examples/inetsrv.c: Likewise.
55556         * manual/examples/isockad.c: Likewise.
55557         * manual/examples/longopt.c: Likewise.
55558         * manual/examples/memopen.c: Likewise.
55559         * manual/examples/memstrm.c: Likewise.
55560         * manual/examples/mkfsock.c: Likewise.
55561         * manual/examples/mkisock.c: Likewise.
55562         * manual/examples/mygetpass.c: Likewise.
55563         * manual/examples/pipe.c: Likewise.
55564         * manual/examples/popen.c: Likewise.
55565         * manual/examples/rprintf.c: Likewise.
55566         * manual/examples/search.c: Likewise.
55567         * manual/examples/select.c: Likewise.
55568         * manual/examples/setjmp.c: Likewise.
55569         * manual/examples/sigh1.c: Likewise.
55570         * manual/examples/sigusr.c: Likewise.
55571         * manual/examples/stpcpy.c: Likewise.
55572         * manual/examples/strdupa.c: Likewise.
55573         * manual/examples/strftim.c: Likewise.
55574         * manual/examples/strncat.c: Likewise.
55575         * manual/examples/subopt.c: Likewise.
55576         * manual/examples/swapcontext.c: Likewise.
55577         * manual/examples/termios.c: Likewise.
55578         * manual/examples/testopt.c: Likewise.
55579         * manual/examples/testpass.c: Likewise.
55580         * manual/examples/timeval_subtract.c: Likewise.
55582         [BZ #13792]
55583         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55584         function to ...
55585         * manual/timeval_subtract.c.texi: ... here, new file.
55587 2012-03-02  David S. Miller  <davem@davemloft.net>
55589         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55591 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55593         [BZ #3976]
55594         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55595         (__sin): Save and restore rounding mode and use round-to-nearest
55596         for all computations.
55597         (__cos): Save and restore rounding mode and use round-to-nearest
55598         for all computations.
55599         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55600         <fenv.h>.
55601         (tan): Save and restore rounding mode and use round-to-nearest for
55602         all computations.
55603         * math/libm-test.inc (cos_test_tonearest): New function.
55604         (cos_test_towardzero): Likewise.
55605         (cos_test_downward): Likewise.
55606         (cos_test_upward): Likewise.
55607         (sin_test_tonearest): Likewise.
55608         (sin_test_towardzero): Likewise.
55609         (sin_test_downward): Likewise.
55610         (sin_test_upward): Likewise.
55611         (tan_test_tonearest): Likewise.
55612         (tan_test_towardzero): Likewise.
55613         (tan_test_downward): Likewise.
55614         (tan_test_upward): Likewise.
55615         (main): Call the new functions.
55616         * sysdeps/i386/fpu/libm-test-ulps: Update.
55617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55619         [BZ #10135]
55620         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55621         small n, then large n, before computing and testing k+n.
55622         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55624         Likewise.
55625         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55626         Likewise.
55627         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55628         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55629         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55630         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55633         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55634         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55635         * math/libm-test.inc (scalbn_test): Add more tests.
55636         (scalbln_test): Likewise.
55638         * manual/filesys.texi (mode_t): Describe constraints on size and
55639         signedness, not exact equivalence to a particular type.
55640         (ino_t): Likewise.
55641         (ino64_t): Likewise.
55642         (dev_t): Likewise.
55643         (nlink_t): Likewise.
55644         (blkcnt_t): Likewise.
55645         (blkcnt64_t): Likewise.
55646         * manual/llio.texi (off_t): Likewise.
55648         [BZ #3976]
55649         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55650         (__ieee754_exp): Save and restore rounding mode and use
55651         round-to-nearest for all computations.
55652         * math/libm-test.inc (exp_test_tonearest): New function.
55653         (exp_test_towardzero): Likewise.
55654         (exp_test_downward): Likewise.
55655         (exp_test_upward): Likewise.
55656         (main): Call the new functions.
55657         * sysdeps/i386/fpu/libm-test-ulps: Update.
55658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55660 2012-03-01  Chris Demetriou  <cgd@google.com>
55662         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55663         have predictable order.
55665 2012-03-01  David S. Miller  <davem@davemloft.net>
55667         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55669         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55670         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55671         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55672         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55674         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55675         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55676         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55678         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55679         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55680         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55681         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55682         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55686         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55687         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55688         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55690         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55691         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55693         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55694         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55695         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55696         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55697         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55698         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55699         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55700         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55701         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55702         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55703         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55704         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55706         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55707         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55708         * sysdeps/sparc/elf/configure: Regenerated.
55710 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55712         * configure.in (AS, LD): Require binutils 2.20 or later.
55713         * configure: Regenerated.
55714         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55715         as required minimum version.
55716         * INSTALL: Regenerated.
55718         [BZ #2541]
55719         [BZ #4108]
55720         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55721         before squaring exponent.
55722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55723         bottom long double and 27 bits of top long double before squaring
55724         exponent.
55725         * math/libm-test.inc (erfc_test): Add more tests.
55726         * sysdeps/i386/fpu/libm-test-ulps: Update.
55727         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55730 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55732         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55733         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55734         containing bit-fields.
55735         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55736         * soft-fp/single.h (_FP_UNION_S): Likewise.
55737         * soft-fp/double.h (_FP_UNION_D): Likewise.
55739 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55741         [BZ #13786]
55742         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55743         not include ../strcmp.S.
55744         [USE_AS_STRNCASECMP_L]: Likewise.
55745         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55746         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55747         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55748         (__strncasecmp_l_ia32): Define as alias to
55749         __strncasecmp_l_nonascii.
55751         [BZ #5794]
55752         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55753         * sysdeps/i386/fpu/libm-test-ulps: Update.
55754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55756         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55759 2012-02-29  Jeff Law  <law@redhat.com>
55761         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55762         out of bounds read.
55764 2012-02-29  Marek Polacek  <polacek@redhat.com>
55766         [BZ #13706]
55767         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55768         * elf/Makefile: Add rules to run tst-unused-dep.out.
55770 2012-02-28  David S. Miller  <davem@davemloft.net>
55772         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55773         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55776         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55777         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55779 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55781         * math/libm-test.inc (llround_test): Move one test from
55782         lround_test.  Use TEST_f_L in moved test.
55783         (lround_test): Move misplaced test to llround_test.  Add testcase
55784         from bug 2561.
55786 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55788         * sysdeps/x86_64/fpu/e_expf.S: New file.
55789         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55791 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55793         [BZ #13637]
55794         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55795         of remain_len that may cause incomplete multi-byte character and
55796         false match.
55797         * posix/bug-regex33.c: New file.
55798         * posix/Makefile (tests): Add bug-regex33.
55800 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55802         * manual/macros.texi: New file.
55803         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55804         * manual/libc.texinfo: Include macros.texi.
55805         * manual/creatute.texi: Likewise.
55806         * manual/install.texi: Likewise.
55807         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55808         @glibcadj{} in references to the GNU C Library.
55809         * manual/charset.texi: Likewise.
55810         * manual/conf.texi: Likewise.
55811         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55812         when not using those macros.
55813         * manual/creature.texi: Likewise.
55814         * manual/crypt.texi: Likewise.
55815         * manual/errno.texi: Likewise.
55816         * manual/filesys.texi: Likewise.
55817         * manual/header.texi: Likewise.
55818         * manual/install.texi: Likewise.
55819         * manual/intro.texi: Likewise.
55820         * manual/io.texi: Likewise.
55821         * manual/job.texi: Likewise.
55822         * manual/lang.texi: Likewise.
55823         * manual/libc.texiinfo: Likewise.
55824         * manual/llio.texi: Likewise.
55825         * manual/locale.texi: Likewise.
55826         * manual/maint.texi: Likewise.
55827         * manual/math.texi: Likewise.
55828         * manual/memory.texi: Likewise.
55829         * manual/message.texi: Likewise.
55830         * manual/nss.texi: Likewise.
55831         * manual/pattern.texi: Likewise.
55832         * manual/process.texi: Likewise.
55833         * manual/resource.texi: Likewise.
55834         * manual/search.texi: Likewise.
55835         * manual/setjmp.texi: Likewise.
55836         * manual/signal.texi: Likewise.
55837         * manual/socket.texi: Likewise.
55838         * manual/startup.texi: Likewise.
55839         * manual/stdio.texi: Likewise.
55840         * manual/string.texi: Likewise.
55841         * manual/sysinfo.texi: Likewise.
55842         * manual/syslog.texi: Likewise.
55843         * manual/terminal.texi: Likewise.
55844         * manual/time.texi: Likewise.
55845         * manual/users.texi: Likewise.
55846         * INSTALL: Regenerated.
55847         * NOTES: Regenerated.
55848         * sysdeps/gnu/errlist.c: Regenerated.
55850 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55852         * include/dirent.h: Include <dirstream.h> before
55853         <dirent/dirent.h>.
55855 2012-02-28  David S. Miller  <davem@davemloft.net>
55857         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55858         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55859         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55860         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55862 2012-02-27  David S. Miller  <davem@davemloft.net>
55864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55866         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55867         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55870         frame pointer instead of stack pointer relative arg slot.
55871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55872         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55873         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55875 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55877         [BZ #3992]
55878         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55880 2012-02-27  David S. Miller  <davem@davemloft.net>
55882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55886         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55887         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55888         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55889         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55891 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55893         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55894         later.  Allow versions 5-9.
55895         * configure: Regenerated.
55896         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55897         required minimum version and 4.6 as recommended version.  Do not
55898         mention bugs in GCC 2.7 and 2.8.
55899         * INSTALL: Regenerated.
55901 2012-02-27  David S. Miller  <davem@davemloft.net>
55903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55907         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55908         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55909         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55910         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55912         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55913         manipulate bits before adding and subtracting TWO112[sx].
55914         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55916 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55918         [BZ #13775]
55919         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55920         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55921         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55922         being in POSIX, because they are in 1003.1-2008.
55924         * rt/tst-aio.c: Include <fcntl.h>.
55925         * rt/tst-aio7.c: Likewise.
55926         * rt/tst-aio64.c: Likewise.
55928         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55930 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55932         * manual/install.texi (--with-headers): Describe headers as
55933         interface headers, not private headers.
55934         (Specific advice for GNU/Linux systems): Describe use of headers
55935         from "make headers_install", not private headers from older
55936         kernels.
55937         * INSTALL: Regenerated.
55938         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55939         Change to 2.6.19.
55940         * sysdeps/unix/sysv/linux/configure: Regenerated.
55942         * manual/llio.texi (fclean): Remove documentation.
55944         * manual/Makefile (libc-texi-generated): New variable.  Include
55945         version.texi.
55946         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55947         $(libc-texi-generated), not duplicated list of files.
55948         (version.texi, stamp-version): New rules.
55949         (realclean): Remove $(libc-texi-generated), not individual files
55950         from that list.  Do not remove dir-add.texinfo.
55951         * manual/libc.texinfo: Comment out uses of edition numbers and
55952         references to printed manual.  Remove last-updated dates.
55953         (EDITION): Comment out.
55954         (ISBN): Likewise.
55955         (VERSION, UPDATED): Remove.
55956         (version.texi): Include.
55958 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55960         * sysdeps/posix/spawni.c: Include <signal.h>.
55961         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55962         * sysdeps/pthread/aio_fsync.c: Likewise.
55964 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55966         * conform/Makefile (tests): Run only when not cross-compiling and
55967         when fast-check is not defined.
55969         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55970         * conform/data/limits.h-data: Fixes for POSIX2008.
55971         * conform/run-conformtest.sh: Run all tests.
55972         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55973         headers.
55974         * include/bits/dlfcn.h: Likewise.
55975         * include/langinfo.h: Likewise.
55976         * include/monetary.h: Likewise.
55977         * include/sys/poll.h: Likewise.
55979         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55980         for __USE_GNU.
55981         * posix/spawn.h: Define __need_sigset_t.
55982         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55983         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55984         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55985         to get sigevent_t only.
55986         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55987         only for __USE_GNU.
55988         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55989         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55990         process_vm_writev only for __USE_GNU.
55991         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55993         * conform/Makefile: For now ignore errors from run-conformtest.
55994         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55995         POSIX to avoid namespace pollution.  Don't prepend headers.
55996         * conform/data/aio.h-data: Fixes for POSIX testing.
55997         * conform/data/fcntl.h-data: Likewise.
55998         * conform/data/glob.h-data: Likewise.
55999         * conform/data/grp.h-data: Likewise.
56000         * conform/data/pthread.h-data: Likewise.
56001         * conform/data/pwd.h-data: Likewise.
56002         * conform/data/signal.h-data: Likewise.
56003         * conform/data/spawn.h-data: Likewise.
56004         * conform/data/stdio.h-data: Likewise.
56005         * conform/data/stdlib.h-data: Likewise.
56006         * conform/data/stropts.h-data: Likewise.
56007         * conform/data/sys/mman.h-data: Likewise.
56008         * conform/data/sys/stat.h-data: Likewise.
56009         * conform/data/sys/types.h-data: Likewise.
56010         * conform/data/sys/wait.h-data: Likewise.
56011         * conform/data/time.h-data: Likewise.
56012         * conform/data/unistd.h-data: Likewise.
56013         * conform/data/utime.h-data: Likewise.
56015         * io/sys/stat.h: fchmod was always in POSIX.
56016         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56017         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56018         * rt/aio.h: Define __need_timespec before including <time.h>.
56019         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56020         struct.  Add forward declaration of pthread_attr_t and use it in
56021         sigevent.
56022         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56024         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56025         always remove CLK_TCK definition.
56027 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
56029         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56031 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
56033         * conform/run-conformtest.sh: New file.
56034         * conform/Makefile: Run run-conformtest for tests.
56035         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
56036         support.
56038         * conform/data/uchar.h-data: New file.
56039         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56040         * conform/data/arpa/inet.h-data: Likewise.
56041         * conform/data/assert.h-data: Likewise.
56042         * conform/data/complex.h-data: Likewise.
56043         * conform/data/cpio.h-data: Likewise.
56044         * conform/data/ctype.h-data: Likewise.
56045         * conform/data/dirent.h-data: Likewise.
56046         * conform/data/dlfcn.h-data: Likewise.
56047         * conform/data/errno.h-data: Likewise.
56048         * conform/data/fcntl.h-data: Likewise.
56049         * conform/data/float.h-data: Likewise.
56050         * conform/data/fmtmsg.h-data: Likewise.
56051         * conform/data/fnmatch.h-data: Likewise.
56052         * conform/data/ftw.h-data: Likewise.
56053         * conform/data/glob.h-data: Likewise.
56054         * conform/data/grp.h-data: Likewise.
56055         * conform/data/iconv.h-data: Likewise.
56056         * conform/data/inttypes.h-data: Likewise.
56057         * conform/data/langinfo.h-data: Likewise.
56058         * conform/data/libgen.h-data: Likewise.
56059         * conform/data/limits.h-data: Likewise.
56060         * conform/data/locale.h-data: Likewise.
56061         * conform/data/math.h-data: Likewise.
56062         * conform/data/monetary.h-data: Likewise.
56063         * conform/data/mqueue.h-data: Likewise.
56064         * conform/data/ndbm.h-data: Likewise.
56065         * conform/data/net/if.h-data: Likewise.
56066         * conform/data/netdb.h-data: Likewise.
56067         * conform/data/netinet/in.h-data: Likewise.
56068         * conform/data/nl_types.h-data: Likewise.
56069         * conform/data/poll.h-data: Likewise.
56070         * conform/data/pthread.h-data: Likewise.
56071         * conform/data/pwd.h-data: Likewise.
56072         * conform/data/regex.h-data: Likewise.
56073         * conform/data/sched.h-data: Likewise.
56074         * conform/data/search.h-data: Likewise.
56075         * conform/data/semaphore.h-data: Likewise.
56076         * conform/data/setjmp.h-data: Likewise.
56077         * conform/data/signal.h-data: Likewise.
56078         * conform/data/spawn.h-data: Likewise.
56079         * conform/data/stdarg.h-data: Likewise.
56080         * conform/data/stdio.h-data: Likewise.
56081         * conform/data/stdlib.h-data: Likewise.
56082         * conform/data/string.h-data: Likewise.
56083         * conform/data/strings.h-data: Likewise.
56084         * conform/data/stropts.h-data: Likewise.
56085         * conform/data/sys/ipc.h-data: Likewise.
56086         * conform/data/sys/mman.h-data: Likewise.
56087         * conform/data/sys/msg.h-data: Likewise.
56088         * conform/data/sys/resource.h-data: Likewise.
56089         * conform/data/sys/select.h-data: Likewise.
56090         * conform/data/sys/sem.h-data: Likewise.
56091         * conform/data/sys/shm.h-data: Likewise.
56092         * conform/data/sys/socket.h-data: Likewise.
56093         * conform/data/sys/stat.h-data: Likewise.
56094         * conform/data/sys/statvfs.h-data: Likewise.
56095         * conform/data/sys/time.h-data: Likewise.
56096         * conform/data/sys/timeb.h-data: Likewise.
56097         * conform/data/sys/times.h-data: Likewise.
56098         * conform/data/sys/types.h-data: Likewise.
56099         * conform/data/sys/uio.h-data: Likewise.
56100         * conform/data/sys/un.h-data: Likewise.
56101         * conform/data/sys/utsname.h-data: Likewise.
56102         * conform/data/sys/wait.h-data: Likewise.
56103         * conform/data/syslog.h-data: Likewise.
56104         * conform/data/tar.h-data: Likewise.
56105         * conform/data/termios.h-data: Likewise.
56106         * conform/data/utime.h-data: Likewise.
56107         * conform/data/utmpx.h-data: Likewise.
56108         * conform/data/varargs.h-data: Likewise.
56109         * conform/data/wchar.h-data: Likewise.
56110         * conform/data/wctype.h-data: Likewise.
56111         * conform/data/wordexp.h-data: Likewise.
56113         * include/stropts.h: New file.
56114         * include/uchar.h: New file.
56115         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56116         * include/assert.h: Likewise.
56117         * include/ctype.h: Likewise.
56118         * include/dirent.h: Likewise.
56119         * include/dlfcn.h: Likewise.
56120         * include/fcntl.h: Likewise.
56121         * include/fnmatch.h: Likewise.
56122         * include/glob.h: Likewise.
56123         * include/grp.h: Likewise.
56124         * include/libio.h: Likewise.
56125         * include/locale.h: Likewise.
56126         * include/math.h: Likewise.
56127         * include/net/if.h: Likewise.
56128         * include/netdb.h: Likewise.
56129         * include/netinet/in.h: Likewise.
56130         * include/pthread.h: Likewise.
56131         * include/pwd.h: Likewise.
56132         * include/regex.h: Likewise.
56133         * include/sched.h: Likewise.
56134         * include/search.h: Likewise.
56135         * include/setjmp.h: Likewise.
56136         * include/signal.h: Likewise.
56137         * include/stdio.h: Likewise.
56138         * include/stdlib.h: Likewise.
56139         * include/string.h: Likewise.
56140         * include/sys/cdefs.h: Likewise.
56141         * include/sys/mman.h: Likewise.
56142         * include/sys/msg.h: Likewise.
56143         * include/sys/resource.h: Likewise.
56144         * include/sys/select.h: Likewise.
56145         * include/sys/socket.h: Likewise.
56146         * include/sys/stat.h: Likewise.
56147         * include/sys/statvfs.h: Likewise.
56148         * include/sys/time.h: Likewise.
56149         * include/sys/times.h: Likewise.
56150         * include/sys/uio.h: Likewise.
56151         * include/sys/utsname.h: Likewise.
56152         * include/sys/wait.h: Likewise.
56153         * include/termios.h: Likewise.
56154         * include/time.h: Likewise.
56155         * include/ulimit.h: Likewise.
56156         * include/unistd.h: Likewise.
56157         * include/utime.h: Likewise.
56158         * include/wchar.h: Likewise.
56159         * include/wctype.h: Likewise.
56160         * include/wordexp.h: Likewise.
56162         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56164         * time/time.h: TIME_UTC must be a macro.
56165         Make timespec_get available for ISO C11 only as well.
56167 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56169         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56170         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56172 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56174         * configure.in: Use -o not -a in test for unsupported multi-arch.
56176 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56178         * manual/texinfo.tex: Update to version 2012-01-19.16.
56180 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56182         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56184 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56186         [BZ #13738]
56187         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56188         * manual/fdl-1.3.texi: New file.
56189         * manual/fdl-1.1.texi: File removed.
56191         [BZ #13738]
56192         * manual/libc.texinfo (FDL_VERSION): New @set.
56193         Use it for mention of FDL in cover text.
56194         (Documentation License): Use it in @include file name.
56196 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56197             Roland McGrath  <roland@hack.frob.com>
56199         [BZ #5461]
56200         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56201         (not LONG_LONG_MAX and LONG_LONG_MIN.
56202         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56203         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56204         name.
56205         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56209         [BZ #2547]
56210         [BZ #11365]
56211         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56212         manipulate bits before adding and subtracting TWO23[sx].
56213         * math/libm-test.inc (nearbyint_test): Add more tests.
56215 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56217         [BZ #2548]
56218         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56219         bits before adding and subtracting TWO23[sx].
56220         * math/libm-test.inc (rint_test): Add more tests.
56221         (rint_test_tonearest): Likewise.
56222         (rint_test_towardzero): Likewise.
56223         (rint_test_downward): Likewise.
56224         (rint_test_upward: Likewise.
56226 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56228         [BZ #10110]
56229         * include/stdc-predef.h: New file.  Extracted from features.h.
56230         * include/features.h: Include stdc-predef.h.
56231         * Makefile (headers): Add stdc-predef.h.
56232         * CONFORMANCE (Compiler limitations): Update.
56234 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56236         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56238 2012-02-21  David S. Miller  <davem@davemloft.net>
56240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56241         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56243 2012-02-20  David S. Miller  <davem@davemloft.net>
56245         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56246         using a normal save/restore sequence, rather than allocating a
56247         dummy stack frame just to store a frame pointer and restore.
56248         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56250 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56252         * manual/install.texi: Fix stray word in line-wrapped comment.
56254 2012-02-20  David S. Miller  <davem@davemloft.net>
56256         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56257         both binutils and gcc support GOTDATA.
56259         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56260         "rd %pc" in the PIC register setup sequences.
56262         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56263         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56264         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56265         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56266         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56269         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56271         (SYSCALL_ERROR_HANDLER): Likewise.
56272         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56273         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56275         (SYSCALL_ERROR_HANDLER): Likewise.
56277         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56278         (HAVE_GCC_GOTDATA): New.
56279         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56280         relocation support in both binutils and gcc.
56281         * sysdeps/sparc/elf/configure: Regenerate.
56283         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56284         * sysdeps/sparc/sparc32/elf/configure: Delete.
56285         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56286         * sysdeps/sparc/sparc64/elf/configure: Delete.
56287         * sysdeps/sparc/elf/configure.in: New file.
56288         * sysdeps/sparc/elf/configure: Generate.
56290         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56291         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56292         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56293         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56294         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56296 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56298         * manual/install.texi: Do not mention specific glibc version
56299         numbers.
56300         * manual/libc.texinfo (VERSION, UPDATED): Update.
56301         (@copying): Use @copyright{} and range of years.
56303 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56305         [BZ #13695]
56306         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56307         [crti.S not in sysdirs] (generated): Do not append.
56308         [crti.S not in sysdirs] (omit-deps): Likewise.
56309         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56310         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56311         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56312         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56313         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56314         Likewise.
56315         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56316         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56317         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56318         * csu/defs.awk: Remove file.
56319         * sysdeps/generic/initfini.c: Likewise.
56320         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56321         variable.
56322         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56323         Likewise.
56325 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56327         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56328         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56329         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56330         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56331         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56332         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56333         <bits/epoll.h>.
56334         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56335         (__EPOLL_PACKED): Define to empty if not defined by
56336         <bits/epoll.h>.
56337         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56339         bits/epoll.h.
56341 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56343         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56344         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56345         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56346         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56347         <bits/timerfd.h>.
56348         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56350         bits/timerfd.h.
56352 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56354         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56355         in C locale.
56356         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56357         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56361 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56363         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56366 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56368         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56369         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56370         defined.
56371         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56372         Likewise.
56373         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56374         entry for 2.16.
56376 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56378         * math/w_acos.c: Use non-signaling floating-point comparisons.
56379         * math/w_acosf.c: Likewise.
56380         * math/w_acosh.c: Likewise.
56381         * math/w_acoshf.c: Likewise.
56382         * math/w_acoshl.c: Likewise.
56383         * math/w_acosl.c: Likewise.
56384         * math/w_asin.c: Likewise.
56385         * math/w_asinf.c: Likewise.
56386         * math/w_asinl.c: Likewise.
56387         * math/w_atanh.c: Likewise.
56388         * math/w_atanhf.c: Likewise.
56389         * math/w_atanhl.c: Likewise.
56390         * math/w_exp2.c: Likewise.
56391         * math/w_exp2f.c: Likewise.
56392         * math/w_exp2l.c: Likewise.
56393         * math/w_j0.c: Likewise.
56394         * math/w_j0f.c: Likewise.
56395         * math/w_j0l.c: Likewise.
56396         * math/w_j1.c: Likewise.
56397         * math/w_j1f.c: Likewise.
56398         * math/w_j1l.c: Likewise.
56399         * math/w_jn.c: Likewise.
56400         * math/w_jnf.c: Likewise.
56401         * math/w_log.c: Likewise.
56402         * math/w_log10.c: Likewise.
56403         * math/w_log10f.c: Likewise.
56404         * math/w_log10l.c: Likewise.
56405         * math/w_log2.c: Likewise.
56406         * math/w_log2f.c: Likewise.
56407         * math/w_log2l.c: Likewise.
56408         * math/w_logf.c: Likewise.
56409         * math/w_logl.c: Likewise.
56410         * math/w_sqrt.c: Likewise.
56411         * math/w_sqrtf.c: Likewise.
56412         * math/w_sqrtl.c: Likewise.
56413         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56414         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56415         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56416         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56417         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56419 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56421         [BZ #9739]
56422         * manual/string.texi (strnlen): Use correct parameter name in
56423         equivalent expression.
56425 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56427         [BZ #11174]
56428         * manual/users.texi (seteuid): Consistently use neweuid for
56429         argument name.
56431 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56433         [BZ #13704]
56434         * manual/nss.texi (Services in the NSS configuration): Correct
56435         list of services in example configuration file.
56437 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56439         [BZ #11322]
56440         * manual/arith.texi: Remove statements about negative zero
56441         behaving identically to zero.
56443 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56445         [BZ #5993]
56446         * manual/install.texi: Do not document upgrading from libc5.
56448 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56450         [BZ #4596]
56451         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56453 2012-02-18  David S. Miller  <davem@davemloft.net>
56455         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56456         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56457         %o7 across the call.
56458         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56459         instead.
56460         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56461         SETUP_PIC_REG_LEAF.
56462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56463         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56464         * sysdeps/sparc/crtn.S: Likewise.
56466 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56468         * aout/Makefile: Remove.
56470 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56472         [BZ #13058]
56473         * manual/examples/argp-ex1.c (main): Format definition in GNU
56474         style.
56475         * manual/examples/argp-ex2.c (main): Likewise.
56476         * manual/examples/argp-ex3.c (main): Likewise.
56477         * manual/examples/argp-ex4.c (main): Likewise.
56478         * manual/examples/longopt.c (main): Use new-style prototype
56479         definition.
56480         * manual/examples/strncat.c (main): Specify return type and use
56481         (void) for arguments.
56482         * manual/examples/subopt.c (main): Use char **argv argument.
56484 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56486         [BZ #5077]
56487         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56488         rounding modes.
56490 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56492         [BZ #6907]
56493         * manual/string.texi (strchr): Change when strchrnul is
56494         recommended.
56496 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56498         [BZ #174]
56499         * manual/locale.texi (setlocale): Document LOCPATH.
56501 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56503         [BZ #10210]
56504         * manual/process.texi (execle): Move @dots{} before last argument.
56506 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56508         [BZ #12047]
56509         * manual/charset.texi (Generic Charset Conversion): Fix typo
56510         (LC_TYPE -> LC_CTYPE).
56512 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56514         [BZ #5805]
56515         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56516         (scalbnf): Likewise.
56517         (scalbnl): Likewise.
56518         (scalbln): Likewise.
56519         (scalblnf): Likewise.
56520         (scalblnl): Likewise.
56521         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56522         (vwarnx): Likewise.
56523         (verr): Likewise.
56524         (verrx): Likewise.
56525         * manual/filesys.texi (telldir): Use braces around return type.
56526         * manual/llio.texi (mmap): Add space after comma.
56527         (mmap64): Likewise.
56528         * manual/math.texi (jn): Use @var{} on parameter names.
56529         (jnf): Likewise.
56530         (jnl): Likewise.
56531         (yn): Likewise.
56532         (ynf): Likewise.
56533         (ynl): Likewise.
56534         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56535         line.
56536         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56537         "...".
56538         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56539         (sched_get_priority_max): Likewise.
56540         * manual/signal.texi (sigvec): Add space after comma.
56541         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56542         names.
56543         (if_indextoname): Likewise.
56544         (if_freenameindex): Likewise.
56545         (sendto): Use ',' instead of '.' in prototype.
56546         * manual/startup.texi (syscall): Use @dots{} instead of literal
56547         "...".
56548         * manual/stdio.texi (__fpending): Separate initial words of
56549         paragraph from @deftypefun line.
56550         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56551         "...".
56552         (vsyslog): Use @var{} on parameter names.
56553         * manual/terminal.texi (stty): Use @var{} on parameter names.
56554         * manual/users.texi (getutmp): Use @var{} on parameter names.
56555         (getutmpx): Likewise.
56557 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56559         [BZ #6884]
56560         * manual/stdio.texi (fopen): Fix typos in description of
56561         ",ccs=STRING".
56563 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56565         [BZ #4026]
56566         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56567         get clock_id definition.
56569 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56571         [BZ #4822]
56572         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56573         (madvise): Cast every argument to void on its own.
56575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56577         [BZ #9902]
56578         * manual/startup.texi (Exit Status): Fix typo.
56580 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56582         [BZ #10140]
56583         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56584         * manual/examples/argp-ex2.c: Likewise.
56585         * manual/examples/argp-ex3.c: Likewise.
56587 2012-02-16  Richard Henderson  <rth@redhat.com>
56589         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56590         * sysdeps/s390/s390-32/initfini.c: Remove.
56591         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56592         * sysdeps/s390/s390-64/initfini.c: Remove.
56594 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56596         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56597         compiler output for sysdeps/generic/initfini.c.
56598         * sysdeps/sh/elf/initfini.c: Remove file.
56600 2012-02-16  David S. Miller  <davem@davemloft.net>
56602         [BZ #11494]
56603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56605         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56606         * sysdeps/sparc/crti.S: New file.
56607         * sysdeps/sparc/crtn.S: New file.
56608         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56609         * sysdeps/sparc/sparc64/Makefile: Likewise.
56611 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56613         [BZ #3335]
56614         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56616 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56618         [BZ #4822]
56619         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56621         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56622         (write, read, close): Likewise.
56623         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56625 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56627         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56628         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56629         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56630         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56631         <bits/signalfd.h>.
56632         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56634         bits/signalfd.h.
56636 2012-02-14  Marek Polacek  <polacek@redhat.com>
56638         * sysdeps/x86_64/crti.S: New file.
56639         * sysdeps/x86_64/crtn.S: New file.
56640         * sysdeps/x86_64/elf/initfini.c: Remove file.
56642 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56644         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56645         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56646         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56647         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56648         <bits/inotify.h>.
56649         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56651         bits/inotify.h.
56653 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56655         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56656         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56657         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56658         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56659         <bits/eventfd.h>.
56660         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56662         bits/eventfd.h.
56664 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56666         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56667         __feraiseexcept instead of feraiseexcept.
56669         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56670         nanosleep invocations.
56671         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56672         strings, and add error checking for a nanosleep invocations.
56674 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56676         Replace FSF snail mail address with URLs, as per GNU coding standards.
56677         Most of the snail mail addresses were wrong anyway, and omitting
56678         them makes the source code easier to maintain.  Almost all of the
56679         changes are to license notices and to locale LC_IDENTIFICATION
56680         addresses, except for this one:
56681         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56682         not its snail mail address.
56684 2012-02-09  Richard Henderson  <rth@twiddle.net>
56686         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56687         of kernel-features.h.
56689         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56691 2012-02-08  Marek Polacek  <polacek@redhat.com>
56693         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56694         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56695         * sysdeps/gnu/_G_config.h: Likewise.
56696         * sysdeps/generic/_G_config.h: Likewise.
56698 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56700         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56701         tests.
56702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56704         * sysdeps/powerpc/powerpc32/crti.S: New file.
56705         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56706         * sysdeps/powerpc/powerpc64/crti.S: New file.
56707         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56709         * Makeconfig (have-initfini): Don't set.
56710         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56711         * configure.in (nopic_initfini): Don't substitute.
56712         * config.h.in (HAVE_INITFINI): Don't #undef.
56713         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56714         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56716 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56718         Support crti.S and crtn.S provided directly by architectures.
56719         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56720         [crti.S in sysdirs] (omit-deps): Likewise.
56721         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56722         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56723         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56724         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56725         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56726         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56727         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56728         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56729         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56730         compiler output for sysdeps/generic/initfini.c.
56731         * sysdeps/i386/elf/Makefile: Remove file.
56732         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56734 2012-02-07  Marek Polacek  <polacek@redhat.com>
56736         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56737         * sysdeps/gnu/_G_config.h: Likewise.
56738         * sysdeps/mach/hurd/_G_config.h: Likewise.
56740 2012-02-07  Marek Polacek  <polacek@redhat.com>
56742         * math/Makefile (tests): Add tst-CMPLX2.
56743         * math/tst-CMPLX2.c: New file.
56745 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56747         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56749         * math/libm-test.inc (jn_test): Add missing L suffix.
56751 2012-02-06  Marek Polacek  <polacek@redhat.com>
56753         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56754         * sysdeps/i386/fpu/e_powf.S: Likewise.
56755         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56756         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56757         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56758         * sysdeps/i386/fpu/e_pow.S: Likewise.
56759         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56760         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56761         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56762         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56763         * sysdeps/i386/fpu/e_log2.S: Likewise.
56764         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56765         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56766         * sysdeps/i386/fpu/e_powl.S: Likewise.
56767         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56768         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56769         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56770         * sysdeps/i386/fpu/e_logl.S: Likewise.
56771         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56772         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56773         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56774         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56775         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56776         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56777         * sysdeps/i386/fpu/e_log.S: Likewise.
56778         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56779         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56780         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56781         * sysdeps/i386/fpu/e_logf.S: Likewise.
56782         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56783         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56784         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56785         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56786         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56787         * sysdeps/i386/fpu/e_log10.S: Likewise.
56788         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56789         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56790         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56791         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56792         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56793         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56794         * sysdeps/i386/asm-syntax.h: Likewise.
56795         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56796         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56797         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56798         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56799         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56800         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56801         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56802         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56803         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56804         * sysdeps/powerpc/sysdep.h: Likewise.
56805         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56806         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56808 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56810         [BZ #411]
56811         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56813 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56815         * sysdeps/i386/sysdep.h: Include <features.h>.
56816         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56817         version.
56819 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56821         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56822         Define.
56823         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56824         LOAD_PIC_REG_STR.
56826 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56828         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56829         (SETUP_PIC_REG): Use GET_PC_THUNK.
56830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56831         macro.
56833 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56835         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56836         for non-PIC compilation.
56837         (SETUP_PIC_REG): Add .p2align directive.
56838         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56839         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56840         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56841         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56842         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56844         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56845         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56846         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56847         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56848         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56849         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56850         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56851         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56852         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56853         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56854         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56855         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56856         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56857         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56858         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56859         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56860         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56861         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56862         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56864         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56865         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56866         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56867         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56868         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56869         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56870         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56871         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56872         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56873         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56874         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56875         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56876         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56877         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56878         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56880 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56882         * math/tst-CMPLX.c: Include <stdio.h>.
56884 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56886         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56887         float.
56888         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56889         * sysdeps/sparc/bits/mathdef.h: Likewise.
56891 2012-01-31  Marek Polacek  <polacek@redhat.com>
56893         * libio/libio.h: Don't define _PARAMS.
56894         * locale/programs/config.h: Don't define PARAMS.
56895         * stdlib/strtol_l.c: Likewise.
56896         (__strtol_l): Remove PARAMS from the prototype.
56898 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56900         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56901         names.  Just use the correct names.  Remove unnecessary wrapper
56902         functions.
56903         * malloc/arena.c: Likewise.
56904         * malloc/hooks.c: Likewise.
56906         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56907         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56908         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56910 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56912         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56913         into tail calls.
56914         (update_get_addr): New function.
56915         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56916         GET_ADDR_MODULE parameter.
56918 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56920         * crypt/cert.c: Remove __STDC__ conditionals.
56921         * crypt/crypt-entry.c: Likewise.
56922         * crypt/crypt_util.c: Likewise.
56923         * libio/filedoalloc.c: Likewise.
56924         * libio/fileops.c: Likewise.
56925         * libio/genops.c: Likewise.
56926         * libio/iofclose.c: Likewise.
56927         * libio/iofdopen.c: Likewise.
56928         * libio/iofopen.c: Likewise.
56929         * libio/iofopen64.c: Likewise.
56930         * libio/iogetdelim.c: Likewise.
56931         * libio/iopopen.c: Likewise.
56932         * libio/obprintf.c: Likewise.
56933         * libio/oldfileops.c: Likewise.
56934         * libio/oldiofclose.c: Likewise.
56935         * libio/oldiofdopen.c: Likewise.
56936         * libio/oldiofopen.c: Likewise.
56937         * libio/oldiopopen.c: Likewise.
56938         * libio/wfiledoalloc.c: Likewise.
56939         * libio/wgenops.c: Likewise.
56940         * locale/programs/xmalloc.c: Likewise.
56941         * misc/syslog.c: Likewise.
56942         * stdio-common/xbug.c: Likewise.
56943         * string/memchr.c: Likewise.
56944         * string/memcmp.c: Likewise.
56945         * string/memrchr.c: Likewise.
56946         * string/rawmemchr.c: Likewise.
56947         * sysdeps/posix/getcwd.c: Likewise.
56948         * time/strftime_l.c: Likewise.
56950 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56952         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56953         * config.make.in (config-cflags-sse2avx): Define.
56954         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56955         Fix typo.
56957 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56959         * scripts/config.guess: Update from upstream config git repository.
56960         * scripts/config.sub: Likewise.
56962 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56964         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56965         (EM_NUM): Update.
56966         (R_TILEPRO_*, R_TILEGX_*): New macros.
56968         * scripts/firstversions.awk: Fix bug in version range handling.
56970         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56972         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56974         * include/sys/epoll.h: New file.
56975         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56976         libc_hidden_def.
56978 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56980         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56981         Avoid unnecessary __WORDSIZE == 64 test.
56982         (fmaxf): Use VEX format if possible.
56983         (fmax): Likewise.
56984         (fminf): Likewise.
56985         (fmin): Likewise.
56987         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56988         * math/math_private.h: Remove libc_fegetround* and
56989         libc_fesetround*.
56990         * sysdeps/i386/configure.in: Check for -msse2avx.
56991         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56992         also if SSE2AVX is defined.
56993         Remove libc_fegetround* and libc_fesetround*.
56994         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56995         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56996         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56997         of HAS_YMM_USABLE.
56998         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56999         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57000         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57002         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57004         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57006 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57008         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57009         size is not set.
57010         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57012 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
57014         [BZ #13618]
57015         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57016         relocation.
57017         * Makeconfig (libm): Define.
57018         * elf/Makefile: Add rules to build and run tst-relsort1.
57019         * elf/tst-relsort1.c: New file.
57020         * elf/tst-relsort1mod1.c: New file.
57021         * elf/tst-relsort1mod2.c: New file.
57023 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
57025         * math/s_ldexp.c: Remove __STDC__ conditionals.
57026         * math/s_ldexpf.c: Likewise.
57027         * math/s_ldexpl.c: Likewise.
57028         * math/s_nextafter.c: Likewise.
57029         * math/s_nexttowardf.c: Likewise.
57030         * math/s_significand.c: Likewise.
57031         * math/s_significandf.c: Likewise.
57032         * math/s_significandl.c: Likewise.
57033         * math/w_jnl.c: Likewise.
57034         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57035         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57036         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57037         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57038         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57039         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57040         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57041         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57042         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57043         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57044         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57045         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57046         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57048         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57049         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57050         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57051         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57052         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57053         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57054         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57055         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57056         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57057         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57058         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57059         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57060         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57061         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57062         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57063         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57064         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57065         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57066         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57067         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57068         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57069         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57070         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57071         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57072         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57073         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57074         * sysdeps/ieee754/k_standard.c: Likewise.
57075         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57077         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57078         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57079         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57080         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57081         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57083         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57084         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57085         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57086         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57087         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57088         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57089         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57090         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57091         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57093         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57094         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57095         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57096         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57097         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57098         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57099         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57100         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57105         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57106         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57107         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57108         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57110         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57111         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57112         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57113         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57114         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57115         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57116         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57117         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57118         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57119         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57122         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57123         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57124         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57125         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57128         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57129         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57132         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57133         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57136         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57137         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57140         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57141         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57142         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57143         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57145         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57146         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57147         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57148         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57149         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57150         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57151         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57153         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57154         * sysdeps/ieee754/s_matherr.c: Likewise.
57155         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57156         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57160 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57162         * crypt/md5.h: Remove __STDC__ conditionals.
57163         * libio/libioP.h: Likewise.
57164         * locale/programs/config.h: Likewise.
57165         * sysdeps/generic/sysdep.h: Likewise.
57166         * sysdeps/i386/asm-syntax.h: Likewise.
57167         * sysdeps/s390/asm-syntax.h: Likewise.
57168         * sysdeps/unix/sysdep.h: Likewise.
57169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57172 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57174         * libio/libio.h: Remove __STDC__ conditionals.
57175         * malloc/obstack.h: Likewise.
57176         * math/complex.h: Likewise.
57177         * math/math.h: Likewise.
57178         * sysdeps/generic/_G_config.h: Likewise.
57179         * sysdeps/gnu/_G_config.h: Likewise.
57180         * sysdeps/mach/hurd/_G_config.h: Likewise.
57181         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57182         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57183         * sysdeps/sparc/bits/mathdef.h: Likewise.
57185 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57187         [BZ #13583]
57188         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57189         Clean up HAS_* macros.
57190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57191         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57192         possible.
57193         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57194         HAS_AVX.
57195         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57196         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57197         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57198         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57199         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57201 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57203         * elf/tst-unique3.cc (gets): Remove declaration.
57204         * elf/tst-unique3lib.cc (gets): Likewise.
57205         * elf/tst-unique3lib2.cc (gets): Likewise.
57206         * elf/tst-unique4.cc (gets): Likewise.
57208 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57210         * include/stdio.h: Add C++ protection.  Add gets declarations and
57211         definitions.
57212         * debug/tst-chk1.c: Don't declare gets here.
57213         * stdio-common/tst-gets.c: Likewise.
57215 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57217         * posix/glob: Remove directory.
57219 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57221         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57223 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57225         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57226         of the non-standard EPFNOSUPPORT.
57228 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57230         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57231         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57232         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57234 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57236         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57238 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57240         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57241         transient errors.
57242         * nscd/grpcache.c (cache_addgr): Likewise.
57243         * nscd/hstcache.c (cache_addhst): Likewise.
57244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57245         * nscd/pwdcache.c (cache_addpw): Likewise.
57246         * nscd/servicescache.c (cache_addserv): Likewise.
57248 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57250         * malloc/malloc.c: Various cleanups.
57251         * malloc/hooks.c: Likewise.
57253         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57254         * stdlib/bug-fmtmsg1.c: New file.
57256         * stdlib/fmtmsg.c (init): Add missing unlock.
57257         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57259 2012-01-12  Marek Polacek  <polacek@redhat.com>
57261         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57262         and _GNU_SOURCE.
57264 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57266         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57267         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57268         macro to ensure uniqueness of label name.
57269         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57270         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57272 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57274         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57276         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57277         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57278         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57279         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57281 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57283         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57285         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57286         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57287         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57289         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57291         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57292         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57296         * math/bits/math-finite.h: Add ldexp support.
57298 2012-01-10  Marek Polacek  <polacek@redhat.com>
57300         * locale/programs/localedef.h (show_archive_content): Add noreturn
57301         attribute.
57303 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57305         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57307 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57309         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57311         * io/Makefile (headers): Add bits/poll2.h.
57313 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57316         typo #include statement.
57318 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57320         * include/sys/cdefs.h: Define __attribute_alloc_size.
57321         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57322         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57323         * elf/pldd.c: Likewise.
57324         * iconv/iconv_charmap.c: Likewise.
57325         * iconv/iconvconfig.c: Likewise.
57326         * iconv/strtab.c: Likewise.
57327         * locale/programs/locale.c: Likewise.
57328         * locale/programs/localedef.h: Likewise.
57329         * locale/programs/simple-hash.c: Likewise.
57330         * nscd/nscd.h: Likewise.
57331         * nss/makedb.c: Likewise.
57332         * sysdeps/generic/ldconfig.h: Likewise.
57333         * locale/programs/localedef.c: Remove xmalloc prototype.
57334         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57336 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57338         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57339         appropriate.
57341 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57343         * math/Makefile (tests): Add tst-CMPLX.
57344         * math/tst-CMPLX.c: New file.
57346         * math/complex.h (CMPLXL): Fix typo.
57348         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57349         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57350         GLIBC_2.16.
57351         * debug/tst-chk1.c: Add poll and ppoll tests.
57352         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57353         * include/sys/poll.h: Add hidden proto for ppoll.
57354         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57355         * sysdeps/mach/hurd/ppoll.c: Likewise.
57356         * io/ppoll.c: Likewise.
57357         * debug/poll_chk.c: New file.
57358         * debug/ppoll_chk.c: New file.
57359         * include/bits/poll2.h: New file.
57360         * io/bits/poll2.h: New file.
57362         [BZ #1350]
57363         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57365         * configure.in: static is always set to yes.  Remove.
57366         * config.make.in: Don't set build-static.
57367         * Makeconfig: Remove use of build-static.
57368         * dlfcn/Makefile: Likewise.
57369         * elf/Makefile: Likewise.
57370         * math/Makefile: Likewise.
57371         * misc/Makefile: Likewise.
57372         * nptl/Makefile: Likewise.
57373         * sysdeps/mach/hurd/Makefile: Likewise.
57375         * configure.in: PWD_P is not used anymore.
57376         * config.make.in: Remove PWD_P entry.
57378         * configure.in: Remove last remnants of RANLIB.
57379         No need to check for signed size_t anymore.
57380         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57381         and IA-64.
57382         Remove __builtin_expect test because we require at least gcc 3.4.
57383         * aclocal.m4: Likewise.
57385         * wcsmbs/mbrtoc16.c: Implement using towc function.
57386         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57387         * wcsmbs/wcsmbsload.c: Likewise.
57388         * iconv/gconv_simple.c: Likewise.
57389         * iconv/gconv_int.h: Likewise.
57390         * iconv/gconv_builtin.h: Likewise.
57391         * iconv/iconv_prog.c: Remove CHAR16 handling.
57393         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57395         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57397         * configure.in: Remove --with-elf and --enable-bounded options.
57398         Dont set base_machine for ia64.  More non-ELF conditions removed.
57399         Remove testing and setting of leading underscore information.
57400         * config.make.in (build-bounded): Set to no.
57401         * config.h.in: Remove NO_UNDERSCORES entry.
57402         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57403         them.
57404         * csu/start.c: Remove !NO_UNDERSCORE code.
57405         * locale/localeinfo.h: Likewise.
57406         * sysdeps/generic/machine-gmon.h: Likewise.
57407         * sysdeps/generic/sysdep.h: Likewise.
57408         * sysdeps/i386/sysdep.h: Likewise.
57409         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57410         * sysdeps/mach/sysdep.h: Likewise.
57411         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57412         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57413         * sysdeps/sh/sysdep.h: Likewise.
57414         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57415         * sysdeps/unix/i386/sysdep.S: Likewise.
57416         * sysdeps/unix/sparc/start.c: Likewise.
57417         * sysdeps/unix/sparc/sysdep.S: Likewise.
57418         * sysdeps/unix/sparc/sysdep.h: Likewise.
57419         * sysdeps/unix/start.c: Likewise.
57420         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57421         * sysdeps/x86_64/sysdep.h: Likewise.
57423 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57425         [BZ #13553]
57426         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57427         for non-gcc.
57428         * argp/argp-fmtstream.h: Use const instead __const.
57429         * argp/argp.h: Likewise.
57430         * assert/assert.h: Likewise.
57431         * bits/fenv.h: Likewise.
57432         * bits/sched.h: Likewise.
57433         * bits/sigset.h: Likewise.
57434         * bits/sigthread.h: Likewise.
57435         * catgets/nl_types.h: Likewise.
57436         * conform/data/pthread.h-data: Likewise.
57437         * crypt/crypt-private.h: Likewise.
57438         * crypt/crypt.h: Likewise.
57439         * crypt/crypt_util.c: Likewise.
57440         * ctype/ctype.h: Likewise.
57441         * debug/execinfo.h: Likewise.
57442         * debug/mbsnrtowcs_chk.c: Likewise.
57443         * debug/mbsrtowcs_chk.c: Likewise.
57444         * debug/wcsnrtombs_chk.c: Likewise.
57445         * debug/wcsrtombs_chk.c: Likewise.
57446         * debug/wcstombs_chk.c: Likewise.
57447         * dirent/dirent.h: Likewise.
57448         * dlfcn/dlfcn.h: Likewise.
57449         * elf/neededtest4.c: Likewise.
57450         * grp/grp.h: Likewise.
57451         * gshadow/gshadow.h: Likewise.
57452         * iconv/gconv.h: Likewise.
57453         * iconv/gconv_int.h: Likewise.
57454         * iconv/gconv_simple.c: Likewise.
57455         * iconv/iconv.h: Likewise.
57456         * iconv/loop.c: Likewise.
57457         * iconv/skeleton.c: Likewise.
57458         * include/aio.h: Likewise.
57459         * include/aliases.h: Likewise.
57460         * include/argz.h: Likewise.
57461         * include/arpa/inet.h: Likewise.
57462         * include/assert.h: Likewise.
57463         * include/dirent.h: Likewise.
57464         * include/dlfcn.h: Likewise.
57465         * include/execinfo.h: Likewise.
57466         * include/fcntl.h: Likewise.
57467         * include/fenv.h: Likewise.
57468         * include/glob.h: Likewise.
57469         * include/grp.h: Likewise.
57470         * include/libintl.h: Likewise.
57471         * include/mntent.h: Likewise.
57472         * include/netdb.h: Likewise.
57473         * include/pwd.h: Likewise.
57474         * include/rpc/netdb.h: Likewise.
57475         * include/sched.h: Likewise.
57476         * include/search.h: Likewise.
57477         * include/shadow.h: Likewise.
57478         * include/signal.h: Likewise.
57479         * include/stdio.h: Likewise.
57480         * include/stdlib.h: Likewise.
57481         * include/string.h: Likewise.
57482         * include/sys/socket.h: Likewise.
57483         * include/sys/stat.h: Likewise.
57484         * include/sys/statfs.h: Likewise.
57485         * include/sys/statvfs.h: Likewise.
57486         * include/sys/syslog.h: Likewise.
57487         * include/sys/time.h: Likewise.
57488         * include/sys/uio.h: Likewise.
57489         * include/time.h: Likewise.
57490         * include/unistd.h: Likewise.
57491         * include/utmp.h: Likewise.
57492         * include/wchar.h: Likewise.
57493         * include/wctype.h: Likewise.
57494         * inet/aliases.h: Likewise.
57495         * inet/arpa/inet.h: Likewise.
57496         * inet/netinet/ether.h: Likewise.
57497         * inet/netinet/in.h: Likewise.
57498         * intl/libintl.h: Likewise.
57499         * io/bits/fcntl2.h: Likewise.
57500         * io/fcntl.h: Likewise.
57501         * io/ftw.h: Likewise.
57502         * io/sys/poll.h: Likewise.
57503         * io/sys/stat.h: Likewise.
57504         * io/sys/statfs.h: Likewise.
57505         * io/sys/statvfs.h: Likewise.
57506         * io/utime.h: Likewise.
57507         * libio/bits/stdio.h: Likewise.
57508         * libio/bits/stdio2.h: Likewise.
57509         * libio/libio.h: Likewise.
57510         * libio/libioP.h: Likewise.
57511         * libio/stdio.h: Likewise.
57512         * locale/lc-ctype.c: Likewise.
57513         * locale/locale.h: Likewise.
57514         * login/utmp.h: Likewise.
57515         * malloc/arena.c: Likewise.
57516         * malloc/malloc.c: Likewise.
57517         * malloc/malloc.h: Likewise.
57518         * malloc/mcheck.c: Likewise.
57519         * malloc/mtrace.c: Likewise.
57520         * math/bits/mathcalls.h: Likewise.
57521         * math/fenv.h: Likewise.
57522         * math/math_private.h: Likewise.
57523         * misc/bits/error.h: Likewise.
57524         * misc/bits/syslog.h: Likewise.
57525         * misc/err.h: Likewise.
57526         * misc/error.h: Likewise.
57527         * misc/fstab.h: Likewise.
57528         * misc/mntent.h: Likewise.
57529         * misc/regexp.h: Likewise.
57530         * misc/search.h: Likewise.
57531         * misc/sgtty.h: Likewise.
57532         * misc/sys/mman.h: Likewise.
57533         * misc/sys/syslog.h: Likewise.
57534         * misc/sys/uio.h: Likewise.
57535         * misc/sys/xattr.h: Likewise.
57536         * misc/ttyent.h: Likewise.
57537         * nis/rpcsvc/ypclnt.h: Likewise.
57538         * nss/nss.h: Likewise.
57539         * posix/bits/unistd.h: Likewise.
57540         * posix/fnmatch.h: Likewise.
57541         * posix/glob.h: Likewise.
57542         * posix/sched.h: Likewise.
57543         * posix/spawn.h: Likewise.
57544         * posix/sys/wait.h: Likewise.
57545         * posix/unistd.h: Likewise.
57546         * posix/wordexp.h: Likewise.
57547         * pwd/pwd.h: Likewise.
57548         * resolv/netdb.h: Likewise.
57549         * resource/sys/resource.h: Likewise.
57550         * rt/aio.h: Likewise.
57551         * rt/bits/mqueue2.h: Likewise.
57552         * rt/mqueue.h: Likewise.
57553         * shadow/shadow.h: Likewise.
57554         * signal/signal.h: Likewise.
57555         * socket/send.c: Likewise.
57556         * socket/sendto.c: Likewise.
57557         * socket/sys/socket.h: Likewise.
57558         * stdio-common/printf.h: Likewise.
57559         * stdlib/bits/stdlib.h: Likewise.
57560         * stdlib/fmtmsg.h: Likewise.
57561         * stdlib/monetary.h: Likewise.
57562         * stdlib/stdlib.h: Likewise.
57563         * stdlib/ucontext.h: Likewise.
57564         * streams/stropts.h: Likewise.
57565         * string/argz.h: Likewise.
57566         * string/bits/string2.h: Likewise.
57567         * string/string.h: Likewise.
57568         * string/strings.h: Likewise.
57569         * sunrpc/rpc/auth.h: Likewise.
57570         * sunrpc/rpc/auth_des.h: Likewise.
57571         * sunrpc/rpc/clnt.h: Likewise.
57572         * sunrpc/rpc/netdb.h: Likewise.
57573         * sunrpc/rpc/pmap_clnt.h: Likewise.
57574         * sunrpc/rpc/xdr.h: Likewise.
57575         * sysdeps/generic/inttypes.h: Likewise.
57576         * sysdeps/generic/net/if.h: Likewise.
57577         * sysdeps/generic/sys/swap.h: Likewise.
57578         * sysdeps/gnu/net/if.h: Likewise.
57579         * sysdeps/gnu/utmpx.h: Likewise.
57580         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57581         * sysdeps/i386/i486/bits/string.h: Likewise.
57582         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57583         * sysdeps/s390/bits/string.h: Likewise.
57584         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57585         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57586         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57587         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57588         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57589         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57590         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57591         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57592         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57593         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57594         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57595         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57596         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57597         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57598         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57599         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57600         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57602         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57604         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57605         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57606         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57607         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57608         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57609         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57610         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57611         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57612         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57613         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57614         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57615         * sysvipc/sys/ipc.h: Likewise.
57616         * sysvipc/sys/msg.h: Likewise.
57617         * sysvipc/sys/sem.h: Likewise.
57618         * sysvipc/sys/shm.h: Likewise.
57619         * termios/termios.h: Likewise.
57620         * time/sys/time.h: Likewise.
57621         * time/time.h: Likewise.
57622         * wcsmbs/bits/wchar2.h: Likewise.
57623         * wcsmbs/uchar.h: Likewise.
57624         * wcsmbs/wchar.h: Likewise.
57625         * wctype/wctype.h: Likewise.
57627         [BZ #13551]
57628         * Makeconfig: Remove all but ELF support including AIX support.
57629         * Makerules: Likewise.
57630         * config.h.in: Likewise.
57631         * config.make.in: Likewise.
57632         * configure: Likewise.
57633         * configure.in: Likewise.
57634         * csu/Makefile: Likewise.
57635         * csu/version.c: Likewise.
57636         * debug/Makefile: Likewise.
57637         * dlfcn/Makefile: Likewise.
57638         * elf/Makefile: Likewise.
57639         * extra-lib.mk: Likewise.
57640         * iconv/Makefile: Likewise.
57641         * include/libc-symbols.h: Likewise.
57642         * include/shlib-compat.h: Likewise.
57643         * resolv/Makefile: Likewise.
57644         * resolv/res_libc.c: Likewise.
57645         * rt/Makefile: Likewise.
57646         * sysdeps/i386/asm-syntax.h: Likewise.
57647         * sysdeps/i386/sysdep.h: Likewise.
57648         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57649         * sysdeps/mach/sysdep.h: Likewise.
57650         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57651         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57652         * sysdeps/s390/asm-syntax.h: Likewise.
57653         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57654         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57655         * sysdeps/sh/sysdep.h: Likewise.
57656         * sysdeps/unix/sparc/sysdep.h: Likewise.
57657         * sysdeps/wordsize-32/divdi3.c: Likewise.
57658         * sysdeps/x86_64/sysdep.h: Likewise.
57660         * argp/Versions: Remove _argp_unlock_xxx.
57662         [BZ #13559]
57663         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57664         * abilist/libBrokenLocale.abilist: Likewise.
57665         * abilist/libanl.abilist: Likewise.
57666         * abilist/libc.abilist: Likewise.
57667         * abilist/libcrypt.abilist: Likewise.
57668         * abilist/libdl.abilist: Likewise.
57669         * abilist/libm.abilist: Likewise.
57670         * abilist/libnsl.abilist: Likewise.
57671         * abilist/libpthread.abilist: Likewise.
57672         * abilist/libresolv.abilist: Likewise.
57673         * abilist/librt.abilist: Likewise.
57674         * abilist/libthread_db.abilist: Likewise.
57675         * abilist/libutil.abilist: Likewise.
57676         * abilist/libnss_db.abilist: New file.
57678         * scripts/abilist.awk: Add support for indirect functions.
57680         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57682         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57684         * shlib-versions: Remove entries for ports architectures.
57686         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57687         files in ports.
57688         * elf/stackguard-macros.h: Remove support for IA-64.
57689         * elf/tst-auditmod1.c: Likewise.
57690         * sysdeps/generic/ldsodefs.h: Likewise.
57692         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57693         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57694         configure files.
57696         [BZ #13552]
57697         * configure.in: Remove --enable-omitfp support.
57698         * FAQ.in: Adjust.
57699         * config.make.in: Likewise.
57700         * Makeconfig: Likewise.
57701         * manual/install.texi: Likewise.
57703         In case anyone cares, the IA-64 architecture could move to ports.
57704         * sysdeps/ia64/*: Removed.
57705         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57706         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57708         [BZ #13555]
57709         * configure.in: Remove entries for unsupported architectures.
57711         [BZ #13533]
57712         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57713         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57714         routines.
57715         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57716         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57717         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57718         fall back to using wcrtomb.
57719         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57720         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57721         renaming.
57722         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57723         * wcsmbs/tst-c16c32-1.c: New file.
57725         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57726         local variable.
57728         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57730         * elf/tst-unique3.cc: Add explicit declaration of gets.
57731         * elf/tst-unique3lib.cc: Likewise.
57732         * elf/tst-unique3lib2.cc: Likewise.
57733         * elf/tst-unique4.cc: Likewise.
57735         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57737 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57739         [BZ #13566]
57740         * assert/assert.h (static_assert): Don't define for C++.
57741         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57742         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57744 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57746         * iconv/loop.c (single loop): Fix assertion in storing of
57747         remaining bytes.
57749         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57751 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57753         * posix/getconf.c: Update copyright year.
57754         * nss/getent.c: Likewise.
57755         * nss/makedb.c: Likewise.
57756         * iconv/iconvconfig.c: Likewise.
57757         * iconv/iconv_prog.c: Likewise.
57758         * elf/ldconfig.c: Likewise.
57759         * elf/pldd.c: Likewise.
57760         * elf/sotruss.ksh: Likewise.
57761         * catgets/gencat.c: Likewise.
57762         * csu/version.c: Likewise.
57763         * elf/ldd.bash.in: Likewise.
57764         * elf/sprof.c (print_version): Likewise.
57765         * locale/programs/locale.c: Likewise.
57766         * locale/programs/localedef.c: Likewise.
57767         * login/programs/pt_chown.c: Likewise.
57768         * nscd/nscd.c (print_version): Likewise.
57769         * debug/xtrace.sh: Likewise.
57770         * malloc/memusage.sh: Likewise.
57771         * malloc/mtrace.pl: Likewise.
57772         * debug/catchsegv.sh: Likewise.
57774 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57776         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57777         pure attribute.
57779 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57781         [BZ #13533]
57782         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57783         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57784         transformations.
57785         * iconv/gconv_int.h: Likewise.
57786         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57787         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57788         from libc for GLIBC_2.16.
57789         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57790         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57791         * wcsmbs/uchar.h: Really define mbstate_t.
57792         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57793         * wcsmbs/c16rtomb.c: New file.
57794         * wcsmbs/mbrtoc16.c: New file.
57795         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57796         for C/POSIX locale.
57797         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57798         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57800         * wcsmbs/wchar.h: Add missing __restrict.
57802 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57804         [BZ #13532]
57805         * time/Makefile (routines): Add timespec_get.
57806         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57807         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57808         timespec for ISO C11.
57809         * time/timespec_get.c: New file.
57810         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57811         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57813         [BZ #13531]
57814         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57815         * stdlib/stdlib.h: Declare aligned_alloc.
57816         * Versions.def: Add GLIBC_2.16 for libc.
57817         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57819         [BZ 13527]
57820         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57821         ISO C11.
57823         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57824         code.
57826         [BZ #13528]
57827         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57829         [BZ #13529]
57830         * assert/assert.h (static_assert): Define.
57832         * version.h: Update for 2.16 development version.
57834         [BZ #13526]
57835         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57836         _ISOC11_SOURCE.
57838         * version.h (RELEASE): Bump for 2.15 release.
57839         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57841         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57842         Patch by Marek Polacek <mpolacek@redhat.com>.
57844         * bits/byteswap.h: Protect long long constants with __extension__.
57845         * sysdeps/i386/bits/byteswap.h: Likewise.
57846         * sysdeps/ia64/bits/byteswap.h: Likewise.
57847         * sysdeps/s390/bits/byteswap.h: Likewise.
57848         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57850 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57852         [BZ #13540]
57853         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57854         destination buffer.
57855         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57857 2011-12-23  Marek Polacek  <polacek@redhat.com>
57859         * elf/dl-addr.c (determine_info): Add inline keyword.
57860         * elf/tst-auditmod4b.c (check_avx): Likewise.
57861         * elf/tst-auditmod6b.c (check_avx): Likewise.
57862         * elf/tst-auditmod6c.c (check_avx): Likewise.
57863         * elf/tst-auditmod7b.c (check_avx): Likewise.
57865 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57867         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57868         !__SSE_MATH__.
57870 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57872         [BZ #13540]
57873         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57874         processing for last bytes.
57876 2011-08-06  Bruno Haible  <bruno@clisp.org>
57878         [BZ #13061]
57879         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57880         U+0385, not to U+1FEE.
57882         [BZ #13062]
57883         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57884         entry for U+00A5 U+0301.
57886 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57888         [BZ #13166]
57889         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57890         buffer for the output is too small.
57892         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57893         optimization.
57895         [BZ #13185]
57896         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57897         SSE flags if possible.
57899 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57901         [BZ #13540]
57902         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57903         processing for last bytes.
57905 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57907         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57908         (syscall-list-default-options, syscall-list-default-condition)
57909         (syscall-list-includes): Define.
57910         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57911         list of ABIs and options and #if conditions for each ABI.  Do not
57912         handle common syscalls between ABIs specially.
57913         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57914         Remove.
57915         (syscall-list-variants, syscall-list-32bit-options)
57916         (syscall-list-32bit-condition, syscall-list-64bit-options)
57917         (syscall-list-64bit-condition): Define.
57918         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
57923         Remove.
57924         (syscall-list-variants, syscall-list-32bit-options)
57925         (syscall-list-32bit-condition, syscall-list-64bit-options)
57926         (syscall-list-64bit-condition): Define.
57927         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57928         Remove.
57929         (syscall-list-variants, syscall-list-32bit-options)
57930         (syscall-list-32bit-condition, syscall-list-64bit-options)
57931         (syscall-list-64bit-condition): Define.
57933 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57935         * locale/iso-639.def: Add brx entry.
57937         [BZ #13328]
57938         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57939         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57941         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57942         __feraiseexcept_renamed.
57944 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57946         [BZ #13538]
57947         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57948         EPOLLET with unsigned values.
57949         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57950         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57952         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57953         to large cancellation.
57954         * math/s_cacoshf.c: Likewise.
57955         * math/s_cacoshl.c: Likewise.
57957 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57959         [BZ #13305]
57960         [BZ #12786]
57961         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57962         * math/s_cacoshf.c: Likewise.
57963         * math/s_cacoshl.c: Likewise.
57965 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57967         [BZ #13439]
57968         * iconv/gconv.h: Define __GCONV_SWAP.
57969         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57970         * iconvdata/utf-16.c: Likewise.
57971         * iconvdata/utf-32.c: Likewise.
57973 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57975         [BZ #13524]
57976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57977         numerator after shifting it by one limb.
57979 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57981         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57982         under [__USE_EXTERN_INLINES].
57984 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57986         [BZ #13446]
57987         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57989 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57991         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57992         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57993         optimized code.
57994         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57995         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57996         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57997         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57998         for strncasecmp/strncasecmp_l compilation.
57999         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58000         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58002 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
58004         [BZ #13484]
58005         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58006         of __asm__.
58008 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58010         [BZ #13506]
58011         * time/tzfile.c (__tzfile_read): Check values from file header.
58013 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58015         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58016         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58017         * powerpc/powerpc32/dl-start.S: Likewise.
58018         * powerpc/powerpc32/elf/start.S: Likewise.
58019         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58020         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58021         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58022         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58023         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58024         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58025         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58026         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58027         * powerpc/powerpc32/fpu/s_round.S: Likewise.
58028         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58029         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58030         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58031         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58032         * powerpc/powerpc32/memset.S: Likewise.
58033         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58034         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58035         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58036         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58037         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58038         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58039         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58040         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58041         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58042         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58043         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58044         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58045         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58047 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58049         * math/libm-test.inc: Added more nearbyint tests.
58050         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58051         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58052         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58053         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58055 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
58057         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58058         FD_CLOEXEC.
58060 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58062         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58063         Add wcscpy-ssse3 wcscpy-c.
58064         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58065         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58066         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58067         * sysdeps/x86_64/wcschr.S: New file.
58068         * sysdeps/x86_64/wcsrchr.S: New file.
58069         * string/test-strcmp.c: Remove checking of wcscmp function for
58070         wrong alignments.
58071         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58072         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58073         wcsrchr-sse2 wcsrchr-c.
58074         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58075         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58076         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58077         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58078         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58079         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58080         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58081         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58082         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58083         * wcsmbc/wcschr.c (WCSCHR): New macro.
58085 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58087         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58088         * wcsmbs/test-wcsrchr.c: New file.
58089         * string/test-strrchr.c: Add wcsrchr support.
58090         (WIDE): New macro.
58091         * wcsmbs/test-wcscpy.c: New file.
58092         * string/test-strcpy.c: Add wcscpy support.
58093         (WIDE): New macro.
58095 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58097         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58098         the inner loop.
58100 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58102         [BZ #13472]
58103         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58105 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58107         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58108         Minor optimizations.
58110         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58111         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58112         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58114 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58116         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58117         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58118         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58119         for gcc to avoid warnings.
58120         * inet/Makefile (tests): Add tst-checks.
58121         * inet/tst-checks.c: New file.
58123         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58124         warning.
58126         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58127         __wmemcmp_sse2.
58129         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58130         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58132         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58134 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58136         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58137         problem.
58139         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58141 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58143         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58144         conditional on GCC version.
58145         (__arch_compare_and_exchange_val_8_acq)
58146         (__arch_compare_and_exchange_val_16_acq)
58147         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58148         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58149         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58151 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58153         * sysdeps/sh/backtrace.c: New file.
58155 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58157         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58158         parenthesis.
58160 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58162         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58163         falling back to utime.
58165 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58167         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58168         expectations for float.
58170 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58172         * locale/weight.h (findidx): Add parameter len.
58173         * locale/weightwc.h (findidx): Likewise.
58174         * posix/fnmatch_loop.c (FCT): Adjust caller.
58175         * posix/regcomp.c (build_equiv_class): Likewise.
58176         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58177         * posix/regexec.c (check_node_accept_bytes): Likewise.
58178         * string/strcoll_l.c (STRCOLL): Likewise.
58179         * string/strxfrm_l.c (STRXFRM): Likewise.
58181 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58183         * Makefile.in: Remove CVSOPT handling.
58184         * configure.in: Remove use of AC_REVISION.
58185         * iconvdata/Makefile (distribute): No need to filter out CVS.
58186         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58187         handling.
58189 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58192         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58193         [USE_AS_STRNCASECMP_L]: Likewise.
58194         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58195         NO_TLS_DIRECT_SEG_REFS.
58196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58197         Fix argument offsets for non-PIC.
58198         [USE_AS_STRNCASECMP_L]: Likewise.
58199         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58200         NO_TLS_DIRECT_SEG_REFS.
58202 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58204         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58205         O_CLOEXEC.
58206         * locale/loadlocale.c (_nl_load_locale): Likewise.
58208 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58210         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58211         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58212         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58213         (SYSCALL_GETTIME): Set errno on error.
58215         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58216         count references to noai6ai_cached.
58218 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58220         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58222         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58223         FD_CLOEXEC for /proc/self/maps.
58225         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58226         FD_CLOEXEC for /proc/meminfo.
58228         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58229         gai.conf.
58231         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58232         FD_CLOEXEC for given file.
58234         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58236         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58237         FD_CLOEXEC for /etc/hosts.
58238         (_gethtent): Likewise.
58240         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58242         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58243         cancellation and set FD_CLOEXEC for /etc/netgroup.
58245         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58246         reading /etc/publickey.
58248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58249         allow cancellation when reading /etc/group.
58251         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58252         cancellation.
58253         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58255         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58256         when using data file.
58258         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58260         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58261         (write_nis_obj): Use "c" and "e" in fopen.
58263         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58265         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58267         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58269         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58271         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58272         locale.alias.
58274         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58276         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58278         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58280         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58281         file parsing and set FD_CLOEXEC.
58283 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58285         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58287 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58289         * malloc/arena.c (arena_get2): Don't call reused_arena when
58290         _int_new_arena failed.
58292 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58294         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58295         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58296         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58297         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58298         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58299         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58300         to compile strcasecmp and strncasecmp.
58301         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58302         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58306 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58308         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58309         locale-defines.sym to gen-as-const-headers.
58310         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58311         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58312         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58313         to compile strcasecmp and strncasecmp.
58314         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58315         strcasecmp_l and strncasecmp_l.
58316         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58317         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58318         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58319         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58320         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58321         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58322         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58323         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58324         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58325         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58326         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58328 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58330         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58331         result of SYSDEP_GETTIME_CPU to retval.
58332         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58333         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58335         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58336         variable.
58338         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58339         mantissa words.
58340         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58342         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58343         from unused variable.
58345         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58346         DWARF definitions.
58347         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58348         for assembling.
58350         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58351         over namespaces.
58353         * sunrpc/rpc_prot.c (rejected): Fix case value.
58355         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58356         unsigned long long int to avoid warnings in shift.
58358         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58359         of use of trans.
58360         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58361         variable tmp.
58363         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58364         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58365         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58367         * nis/nis_table.c (nis_list): Use variable of correct type for
58368         result of __follow_path call.
58370 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58372         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58373         of math functions ceil, trunc, floor, round, and sqrt, when
58374         avaliable on the platform.
58375         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58376         name clash.
58377         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58378         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58379         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58381 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58383         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58384         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58386 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58388         * include/unistd.h: Fix __readlink return type.
58389         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58391 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58393         * stdlib/ucontext.h: Undo last change for makecontext.
58395 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58397         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58399         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58400         * setjmp/setjmp.h: Mark functions as non-leaf.
58401         * setjmp/bits/setjmp2.h: Likewise.
58402         * stdlib/ucontext.h: Likewise.
58404 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58406         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58407         (reused_arena): Don't check arena limit.
58408         (arena_get2): Atomically check arena limit.
58410 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58412         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58413         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58416         instructions.
58418 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58420         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58421         handler when locking.
58423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58424         Fix size of allocated buffer.
58426 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58428         [BZ #10103]
58429         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58430         declarations for long double functions.
58431         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58433         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58435 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58437         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58438         installed.
58440         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58441         is disabled.
58443 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58445         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58447 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58449         * include/alloca.h (stackinfo_alloca_round): Define.
58450         (extend_alloca): Use it.
58451         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58452         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58453         here.
58455         * scripts/check-local-headers.sh: Ignore libaudit.h.
58457         * nscd/Makefile (extra-objs): Make recursively expanded.
58459 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58461         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58462         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58464         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58465         * posix/tst-rfc3484-2.c: Likewise.
58466         * posix/tst-rfc3484-3.c: Likewise.
58468         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58469         process_vm_writev.
58470         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58471         process_vm_writev.
58472         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58473         process_vm_writev from libc using GLIBC_2.15 version.
58475         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58477 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58479         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58480         stack usage.
58482 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58484         [BZ #13367]
58485         * nss/getent.c (initgroups_keys): Show error message in case no group
58486         names are given.
58488         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58489         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58490         __bump_nl_timestamp.
58491         * nscd/connections (nscd_init): When host database is served open
58492         netlink socket and request notification about configuration changes.
58493         (main_loop_poll): Track netlink file descriptor and bump timestamp
58494         in case data becomes available.
58495         (main_loop_epoll): Likewise.
58496         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58497         (database_pers_head): Add extra_data fileds.
58498         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58499         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58500         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58501         Adjust caller.
58502         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58503         in6ai data, call __free_in6ai.
58504         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58505         Add -DHAVE_NETLINK.
58506         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58507         interface information.  Reuse previous data if netlink timestamp
58508         is not changed.
58509         (__bump_nl_timestamp): New function.
58510         (__free_in6ai): New function.
58512 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58514         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58515         close_not_cancel_no_status here.
58516         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58518 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58520         [BZ #13276]
58521         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58522         return value.
58524         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58525         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58526         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58528 2011-07-03  Andreas Jaeger  <aj@suse.de>
58530         [BZ #10709]
58531         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58532         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58533         * math/libm-test.inc (sin_test): Add test case.
58535 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58537         [BZ #13337]
58538         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58539         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58541         * elf/chroot_canon.c (chroot_canon): Cleanups.
58543         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58545         [BZ #13335]
58546         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58547         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58549         * string/test-strchr.c: Make usable for strchrnul testing.
58550         * string/test-strchrnul.c: New file.
58551         * string/Makefile (strop-tests): Add strchrnul.
58553         * po/it.po: Update from translation team.
58554         * po/es.po: Likewise.
58556 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58558         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58559         the three constants needed as parameters.  Drop the others.
58560         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58561         __m128i_strloadu_tolower.
58562         Create and initialize variable zero and use it in all the places
58563         where _mm_setzero_si128 was used.
58565         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58566         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58567         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58568         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58569         anymore.
58570         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58571         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58572         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58573         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58574         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58575         __mpranred, __mptan.
58576         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58577         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58578         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58579         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58580         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58581         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58582         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58583         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58584         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58586 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58588         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58589         redefine if SHARED.
58590         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58592         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58593         wide char related routines to wcsmbs subdir.
58595 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58597         [BZ #13344]
58598         * misc/sys/cdefs.h (__THROWNL): Define.
58599         * posix/unistd.h: Use __THREADNL instead of __THREAD
58600         for memory synchronization functions.
58602 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58604         [BZ #13349]
58605         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58606         doesn't exist.
58607         * manual/stdio.texi (Obstack Streams): Node removed.
58609 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58611         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58613         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58615         * math/math_private.h (math_force_eval): Allow non-addressable
58616         arguments.
58617         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58619 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58621         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58622         file is not needed.
58624         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58625         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58626         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58627         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58628         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58629         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58630         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58631         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58632         Add AVX variants.
58633         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58634         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58635         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58636         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58637         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58638         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58639         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58640         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58641         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58642         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58643         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58644         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58645         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58646         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58647         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58648         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58649         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58650         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58651         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58653         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58654         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58656         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58657         place.  Use VEX encoding when compiling for AVX.
58659 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58661         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58662         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58664         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58666 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58668         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58669         useless if() expression.
58670         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58671         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58672         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58673         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58674         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58675         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58676         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58677         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58678         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58679         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58680         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58681         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58682         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58683         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58684         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58685         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58686         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58687         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58688         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58690         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58692 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58694         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58695         condition.
58696         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58698 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58700         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58701         .text section.  Avoid duplicate constants.
58702         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58704         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58706         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58709         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58710         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58711         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58712         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58713         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58714         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58715         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58716         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58717         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58718         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58719         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58720         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58721         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58722         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58723         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58724         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58725         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58726         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58727         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58728         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58729         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58730         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58731         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58732         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58733         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58734         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58735         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58736         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58737         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58738         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58739         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58740         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58741         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58742         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58743         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58744         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58745         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58746         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58748 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58750         * sysdeps/x86_64/dla.h: Move to ...
58751         * sysdeps/x86_64/fpu/dla.h: ...here.
58752         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58753         situations.  Use __builtin_fma only for gcc 4.6 and up.
58755         * config.make.in: Add have-mfma4 entry.
58756         * configure.in: Substitute libc_cv_cc_fma4.
58757         * math/Makefile (dbl-only-routines): Add sincostab.
58758         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58759         Use __sincostab not sincos.
58760         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58761         name is a macro.
58762         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58766         using __copysign.
58767         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58768         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58769         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58770         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58771         and __inv.
58772         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58773         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58774         __copysign.
58775         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58776         define aliases when function name is a macro.
58777         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58778         sysdeps/ieee754/dbl-64/sincos.tbl.
58779         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58780         fma4-enabled routines.
58781         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58782         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58783         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58784         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58785         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58786         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58787         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58788         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58790         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58791         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58792         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58793         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58794         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58795         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58796         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58797         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58798         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58799         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58800         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58801         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58802         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58803         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58804         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58805         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58806         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58807         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58808         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58809         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58810         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58812         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58813         rename.
58814         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58816         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58817         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58820         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58821         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58823 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58825         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58827 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58829         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58831         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58832         prediction.
58833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58835         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58836         Remove unused variable magic_bits.
58837         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58839         * string/strnlen.c: Define and use STRNLEN macro.
58840         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58841         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58843         * wcsmbs/wcslen.c: Define and use WCSLEN.
58844         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58845         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58846         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58847         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58848         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58849         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58850         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58852 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58855         strnlen-sse2-no-bsf.
58856         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58857         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58858         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58859         Add strnlen support.
58860         (USE_AS_STRNLEN): New macro.
58861         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58862         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58863         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58864         * sysdeps/x86_64/wcslen.S: New file.
58866 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58869         XMM-moves are used for copying on small sizes.
58871 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58873         * wcsmbs/Makefile (strop-tests): Add wcschr.
58874         * wcsmbs/test-wcschr.c: New file.
58875         * string/test-strchr.c: Update.
58876         Add wcschr support.
58877         (WIDE): New macro.
58879 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58881         * wcsmbs/Makefile (strop-tests): Add wcslen.
58882         * wcsmbs/test-wcslen.c: New file.
58883         * string/test-strlen.c: Update.
58884         Add wcslen support.
58885         (WIDE): New macro.
58887 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58889         * po/it.po: Update from translation team.
58891 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58893         * sysdeps/x86_64/wcscmp.S: Update.
58894         Fix wrong comparison semantics.
58895         wcscmp shall use signed comparison not unsigned.
58896         Don't use substraction to avoid overflow bug.
58897         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58898         * wcsmbc/wcscmp.c: Likewise.
58899         * string/test-strcmp.c: Likewise.
58900         Add new tests to check cases with negative values.
58902 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58904         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58905         * sysdeps/x86_64/dla.h: ...here.  New file.
58906         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58911         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58916 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58919         __ynl_finite aliases.
58921 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58925         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58926         define DLA_FMA.
58927         [DLA_FMA] (EMULV): Use DLA_FMA.
58928         [DLA_FMA] (MUL12): Use EMULV.
58929         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58930         that are not needed.
58931         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58932         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58933         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58934         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58936         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58937         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58939 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58941         * math/s_nan.c: Undef __nan.
58942         * math/s_nanf.c: Undef __nanf.
58943         * math/s_nanl.c: Undef __nanl.
58944         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58945         "math_private.h".
58947 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58949         * math/s_catan.c: Add branch predictions.
58950         * math/s_catanf.c: Likewise.
58951         * math/s_catanh.c: Likewise.
58952         * math/s_catanhf.c: Likewise.
58953         * math/s_catanhl.c: Likewise.
58954         * math/s_catanl.c: Likewise.
58955         * math/s_cexp.c: Likewise.
58956         * math/s_cexpf.c: Likewise.
58957         * math/s_cexpl.c: Likewise.
58958         * math/s_clog.c: Likewise.
58959         * math/s_clog10.c: Likewise.
58960         * math/s_clog10f.c: Likewise.
58961         * math/s_clog10l.c: Likewise.
58962         * math/s_clogf.c: Likewise.
58963         * math/s_clogl.c: Likewise.
58964         * math/s_csqrt.c: Likewise.
58965         * math/s_csqrtf.c: Likewise.
58966         * math/s_csqrtl.c: Likewise.
58967         * math/s_ctanf.c: Likewise.
58968         * math/s_ctanh.c: Likewise.
58969         * math/s_ctanhf.c: Likewise.
58970         * math/s_ctanhl.c: Likewise.
58971         * math/s_ctanl.c: Likewise.
58973         * math/math_private.h: Define __nan, __nanf, __nanl.
58974         * math/s_cacosh.c: Include <math_private.h>.
58975         * math/s_cacoshl.c: Likewise.
58976         * math/s_casinh.c: Likewise.
58977         * math/s_casinhf.c: Likewise.
58978         * math/s_casinhl.c: Likewise.
58979         * math/s_ccos.c: Rely entire on ccosh.
58980         * math/s_ccosf.c: Rely entire on ccoshf.
58981         * math/s_ccosl.c: Rely entirely on ccoshl.
58982         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58983         Remove tests for FE_INVALID.
58984         * math/s_ccoshf.c: Likewise.
58985         * math/s_ccoshl.c: Likewise.
58986         * math/s_csin.c: Likewise.
58987         * math/s_csinf.c: Likewise.
58988         * math/s_csinh.c Likewise.
58989         * math/s_csinhf.c: Likewise.
58990         * math/s_csinhl.c: Likewise.
58991         * math/s_csinl.c: Likewise.
58992         * math/s_ctan.c: Likewise.
58993         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58994         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58995         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58997 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59000         compilation problems.
59002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59003         __builtin_expect.
59005 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
59007         * sysdeps/i386/configure.in: Test for -mfma4 option.
59008         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59009         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59010         COMMON_CPUID_INDEX_80000001.
59011         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59012         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59013         use it if FMA3 is not supported.
59014         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59016         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59017         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59019 2011-10-20  Andreas Schwab  <schwab@redhat.com>
59021         [BZ #12892]
59022         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59023         it would create a cycle with a link time dependency.
59025 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
59027         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59028         instruction.
59029         * string/Makefile (strop-tests): Add rawmemchr.
59030         * string/test-rawmemchr.c: New file.
59032         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59033         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
59034         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
59035         when compiling str{,n}casecmp and when AVX is available.  Hook up
59036         new optimized code in initializers.
59038 2011-10-19  Andreas Schwab  <schwab@redhat.com>
59040         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59041         __feraiseexcept instead of feraiseexcept.
59043 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
59045         * math/math_private.h: Define defaults for libc_fetestexcept and
59046         libc_feupdateenv.
59047         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59048         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59049         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59050         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59051         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59052         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59053         libc_fetestexcept and libc_feupdateenv.
59055         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59056         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59057         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59058         * sysdeps/x86_64/fpu/math_private.h: Define special version of
59059         libc_feholdexcept_setround.
59061         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59062         Add s_nearbyint-c and s_nearbyintf-c.
59063         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59064         nearbyintf inlines.
59065         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59066         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59067         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59068         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59070         * math/math_private.h: Define defaults for libc_fegetround,
59071         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59072         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59073         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59074         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59075         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59076         standard functions.
59077         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59078         Remove comments and hacks for old compiler versions.
59079         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59080         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59081         libc_feholdexceptl.
59083 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59085         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59086         (__feraiseexcept_renamed): Add __NTH.
59087         (feraiseexcept): Add __NTH.  Rename local variables to fix
59088         namespace violations.
59090 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59092         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59094         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59096         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59097         recently added interfaces.
59098         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59100         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59101         about macro parameter expansion.
59103         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59104         __NO_MATH_INLINES is defined.  Cleanups.
59106         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59107         and __floorf is target has SSE4.1.
59108         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59109         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59110         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59111         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59113         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59114         name.
59115         (floorf): Likewise.
59117         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59119 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59121         * misc/sys/cdefs.h: Fix last change.
59123         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59124         database lookup.
59126 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59128         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59130         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59131         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59132         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59133         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59134         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59135         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59136         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59137         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59138         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59139         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59140         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59141         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59142         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59143         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59144         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59145         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59146         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59147         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59148         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59149         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59150         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59151         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59153         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59154         ceil, ceilf, floor, floorf.
59156         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59157         Perform IRELATIVE relocations last.
59159         * elf/do-rel.h: Add another parameter nrelative, replacing the
59160         local variable with the same name.  Change name of the function
59161         to end in Rel or Rela (uppercase).
59162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59163         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59164         elf_dynamic_do_##reloc function.
59166 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59168         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59169         is sufficient, at least on modern CPUs.
59171         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59173         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59174         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59176         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59177         __expl_finite.
59178         * math/bits/math-finite.h: Add entries for exp.
59179         * math/e_expl.c: Add __*_finite alias.
59180         * sysdeps/i386/fpu/e_exp.S: Likewise.
59181         * sysdeps/i386/fpu/e_expf.S: Likewise.
59182         * sysdeps/i386/fpu/e_expl.c: Likewise.
59183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59184         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59187         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59188         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59189         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59191         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59192         is sufficient, at least on modern CPUs.
59194         * ctype/ctype-info.c (__ctype_init): Define.
59195         * include/ctype.h (__ctype_init): Declare.
59196         (__ctype_b_loc): The variable is always initialized.
59197         (__ctype_toupper_loc): Likewise.
59198         (__ctype_tolower_loc): Likewise.
59199         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59200         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59202 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59204         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59206         * configure.in: Also look in $cxxmachine/include for C++ system
59207         headers.
59209 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59211         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59212         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59213         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59214         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59215         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59216         (USE_AS_WMEMCMP): New macro.
59217         Fixing indents.
59218         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59219         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59220         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59221         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59223         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59224         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59225         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59226         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59227         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59228         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59229         (USE_AS_WMEMCMP): New macro.
59230         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59231         * sysdeps/string/test-memcmp.c: Update.
59232         Fix simple_wmemcmp.
59233         Add new tests.
59234         * wcsmbs/wmemcmp.c: Update.
59235         (WMEMCMP): New macro.
59236         Fix overflow bug.
59238 2011-10-12  Andreas Jaeger  <aj@suse.de>
59240         [BZ #13268]
59241         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59243 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59245         * libio/iofwide.c (do_length): Avoid warning.
59247         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59249 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59251         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59253         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59254         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59255         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59256         * sysdeps/i386/i686/fpu/e_log.S: New file.
59257         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59258         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59260         * ctype/ctype.h: Add support for inlined isXXX functions when
59261         compiling C++ code.
59263 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59265         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59267         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59269 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59271         [BZ #13291]
59272         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59274 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59276         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59277         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59278         feraiseexcept.
59280         * sysdeps/x86_64/memrchr.S: Check for zero size.
59282         * string/stratcliff.c: Add memrchr tests.
59284 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59287         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59288         rawmemchr-sse2 rawmemchr-sse2-bsf.
59289         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59290         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59291         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59292         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59293         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59294         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59295         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59296         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59297         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59298         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59299         * string/memrchr.c (MEMRCHR): New macro.
59301 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59303         Add integration with gcc's -ffinite-math-only and optimize wrapper
59304         functions in libm.
59305         * Versions.def: Define GLIBC_2.15 version for libm.
59306         * math/Makefile (headers): Add bits/math-finite.h.
59307         * math/bits/math-finite.h: New file.
59308         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59309         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59310         * math/e_acoshl.c: Add __*_finite alias.
59311         * math/e_acosl.c: Likewise.
59312         * math/e_asinl.c: Likewise.
59313         * math/e_atan2l.c: Likewise.
59314         * math/e_atanhl.c: Likewise.
59315         * math/e_coshl.c: Likewise.
59316         * math/e_exp10.c: Likewise.
59317         * math/e_exp10f.c: Likewise.
59318         * math/e_exp10l.c: Likewise.
59319         * math/e_exp2l.c: Likewise.
59320         * math/e_fmodl.c: Likewise.
59321         * math/e_gammal_r.c: Likewise.
59322         * math/e_hypotl.c: Likewise.
59323         * math/e_j0l.c: Likewise.
59324         * math/e_j1l.c: Likewise.
59325         * math/e_jnl.c: Likewise.
59326         * math/e_lgammal_r.c: Likewise.
59327         * math/e_log10l.c: Likewise.
59328         * math/e_log2l.c: Likewise.
59329         * math/e_logl.c: Likewise.
59330         * math/e_powl.c: Likewise.
59331         * math/e_sinhl.c: Likewise.
59332         * math/e_sqrtl.c: Likewise.
59333         * math/e_scalb.c: Completely rewritten and optimized.
59334         * math/e_scalbf.c: Likewise.
59335         * math/e_scalbl.c: Likewise.
59336         * math/w_acos.c: Likewise.
59337         * math/w_acosf.c: Likewise.
59338         * math/w_acosl.c: Likewise.
59339         * math/w_acosh.c: Likewise.
59340         * math/w_acoshf.c: Likewise.
59341         * math/w_acoshl.c: Likewise.
59342         * math/w_asin.c: Likewise.
59343         * math/w_asinf.c: Likewise.
59344         * math/w_asinl.c: Likewise.
59345         * math/w_atan2.c: Likewise.
59346         * math/w_atan2f.c: Likewise.
59347         * math/w_atan2l.c: Likewise.
59348         * math/w_atanh.c: Likewise.
59349         * math/w_atanhf.c: Likewise.
59350         * math/w_atanhl.c: Likewise.
59351         * math/w_exp10.c: Likewise.
59352         * math/w_exp10f.c: Likewise.
59353         * math/w_exp10l.c: Likewise.
59354         * math/w_fmod.c: Likewise.
59355         * math/w_fmodf.c: Likewise.
59356         * math/w_fmodl.c: Likewise.
59357         * math/w_j0.c: Likewise.
59358         * math/w_j0f.c: Likewise.
59359         * math/w_j0l.c: Likewise.
59360         * math/w_j1.c: Likewise.
59361         * math/w_j1f.c: Likewise.
59362         * math/w_j1l.c: Likewise.
59363         * math/w_jn.c: Likewise.
59364         * math/w_jnf.c: Likewise.
59365         * math/w_log.c: Likewise.
59366         * math/w_logf.c: Likewise.
59367         * math/w_logl.c: Likewise.
59368         * math/w_log10.c: Likewise.
59369         * math/w_log10f.c: Likewise.
59370         * math/w_log10l.c: Likewise.
59371         * math/w_log2.c: Likewise.
59372         * math/w_log2f.c: Likewise.
59373         * math/w_log2l.c: Likewise.
59374         * math/w_pow.c: Likewise.
59375         * math/w_powf.c: Likewise.
59376         * math/w_powl.c: Likewise.
59377         * math/w_remainder.c: Likewise.
59378         * math/w_remainderf.c: Likewise.
59379         * math/w_remainderl.c: Likewise.
59380         * math/w_scalb.c: Likewise.
59381         * math/w_scalbf.c: Likewise.
59382         * math/w_scalbl.c: Likewise.
59383         * math/w_sqrt.c: Likewise.
59384         * math/w_sqrtf.c: Likewise.
59385         * math/w_sqrtl.c: Likewise.
59386         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59387         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59388         used.
59389         * math/math_private.h: Declare __kernel_standard_f.
59390         * math/w_cosh.c: Remove cruft and optimize a bit.
59391         * math/w_coshf.c: Likewise.
59392         * math/w_coshl.c: Likewise.
59393         * math/w_exp2.c: Likewise.
59394         * math/w_exp2f.c: Likewise.
59395         * math/w_exp2l.c: Likewise.
59396         * math/w_hypot.c: Likewise.
59397         * math/w_hypotf.c: Likewise.
59398         * math/w_hypotl.c: Likewise.
59399         * math/w_lgamma.c: Likewise.
59400         * math/w_lgamma_r.c: Likewise.
59401         * math/w_lgammaf.c: Likewise.
59402         * math/w_lgammaf_r.c: Likewise.
59403         * math/w_lgammal.c: Likewise.
59404         * math/w_lgammal_r.c: Likewise.
59405         * math/w_sinh.c: Likewise.
59406         * math/w_sinhf.c: Likewise.
59407         * math/w_sinhl.c: Likewise.
59408         * math/w_tgamma.c: Likewise.
59409         * math/w_tgammaf.c: Likewise.
59410         * math/w_tgammal.c: Likewise.
59411         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59412         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59413         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59414         Minor optimizations.  Pretty printing.  Remove cruft.
59415         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59416         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59417         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59418         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59419         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59420         * sysdeps/i386/fpu/e_asin.S: Likewise.
59421         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59422         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59423         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59424         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59425         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59426         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59427         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59428         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59429         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59430         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59431         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59432         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59433         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59434         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59435         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59436         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59437         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59438         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59439         * sysdeps/i386/fpu/e_log.S: Likewise.
59440         * sysdeps/i386/fpu/e_log10.S: Likewise.
59441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59443         * sysdeps/i386/fpu/e_log2.S: Likewise.
59444         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59445         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59446         * sysdeps/i386/fpu/e_logf.S: Likewise.
59447         * sysdeps/i386/fpu/e_logl.S: Likewise.
59448         * sysdeps/i386/fpu/e_pow.S: Likewise.
59449         * sysdeps/i386/fpu/e_powf.S: Likewise.
59450         * sysdeps/i386/fpu/e_powl.S: Likewise.
59451         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59452         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59453         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59454         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59455         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59456         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59457         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59458         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59459         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59460         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59461         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59463         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59464         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59465         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59466         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59467         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59468         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59469         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59470         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59471         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59474         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59475         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59476         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59478         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59481         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59482         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59483         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59484         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59485         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59486         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59487         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59488         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59489         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59490         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59491         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59492         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59493         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59494         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59495         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59496         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59497         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59498         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59499         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59500         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59501         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59502         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59503         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59504         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59505         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59507         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59508         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59509         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59510         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59512         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59513         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59514         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59515         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59516         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59517         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59518         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59519         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59520         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59521         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59524         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59525         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59526         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59528         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59530         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59531         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59532         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59534         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59536         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59537         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59538         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59539         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59540         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59541         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59542         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59543         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59544         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59545         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59546         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59547         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59548         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59549         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59550         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59551         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59552         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59553         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59554         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59555         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59556         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59557         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59558         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59559         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59560         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59561         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59562         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59563         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59564         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59565         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59566         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59567         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59568         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59569         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59570         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59571         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59572         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59573         (__isnanf): Likewise.
59574         (__isinf_ns): Likewise.
59575         (__isinf_nsf): Likewise.
59576         (__finite): Likewise.
59577         (__finitef): Likewise.
59578         (__ieee754_sqrt): Define as macro.
59579         (__ieee754_sqrtf): Define as macro.
59580         (__ieee754_sqrtl): Define as macro.
59581         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59582         inlined copy.
59583         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59584         __FINITE_MATH_ONLY__ consistent.
59585         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59587 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59589         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59590         of rawmemchr.
59592         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59594 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59596         * po/ja.po: Update from translation team.
59598 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59600         * locale/programs/locarchive.c (prepare_address_space): New function.
59601         (create_archive, enlarge_archive, open_archive): Use it.
59603         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59604         inside [SHARED], where it is used.
59606         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59608         * nss/getent.c (netgroup_keys): Remove unused variable.
59609         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59611 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59613         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59614         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59615         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59616         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59617         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59618         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59619         * math/Makefile (libm-calls): Add s_isinf_ns.
59620         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59621         * math/multc3.c: Likewise.
59622         * math/s_casin.c: Likewise.
59623         * math/s_casinf.c: Likewise.
59624         * math/s_casinl.c: Likewise.
59625         * math/s_ccos.c: Likewise.
59626         * math/s_ccosf.c: Likewise.
59627         * math/s_ccosl.c: Likewise.
59628         * math/s_ctan.c: Likewise.
59629         * math/s_ctanf.c: Likewise.
59630         * math/s_ctanh.c: Likewise.
59631         * math/s_ctanhf.c: Likewise.
59632         * math/s_ctanhl.c: Likewise.
59633         * math/s_ctanl.c: Likewise.
59634         * math/w_fmod.c: Likewise.
59635         * math/w_fmodf.c: Likewise.
59636         * math/w_fmodl.c: Likewise.
59637         * math/w_remainder.c: Likewise.
59638         * math/w_remainderf.c: Likewise.
59639         * math/w_remainderl.c: Likewise.
59640         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59641         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59643         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59644         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59645         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59646         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59647         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59649         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59650         of the number.
59651         * stdio-common/printf_fphex.c: Likewise.
59652         * stdio-common/printf_size.c: Likewise.
59654         * math/e_exp10.c: Include math_private.h using <...> not "...".
59655         * math/e_exp10f.c: Likewise.
59656         * math/e_exp10l.c: Likewise.
59657         * math/e_exp2l.c: Likewise.
59658         * math/e_j0l.c: Likewise.
59659         * math/e_j1l.c: Likewise.
59660         * math/e_jnl.c: Likewise.
59661         * math/e_lgammal_r.c: Likewise.
59662         * math/e_rem_pio2l.c: Likewise.
59663         * math/e_scalb.c: Likewise.
59664         * math/e_scalbf.c: Likewise.
59665         * math/e_scalbl.c: Likewise.
59666         * math/k_cosl.c: Likewise.
59667         * math/k_sinl.c: Likewise.
59668         * math/k_tanl.c: Likewise.
59669         * math/s_cacoshf.c: Likewise.
59670         * math/s_catan.c: Likewise.
59671         * math/s_catanf.c: Likewise.
59672         * math/s_catanh.c: Likewise.
59673         * math/s_catanhf.c: Likewise.
59674         * math/s_catanhl.c: Likewise.
59675         * math/s_catanl.c: Likewise.
59676         * math/s_ccosh.c: Likewise.
59677         * math/s_ccoshf.c: Likewise.
59678         * math/s_ccoshl.c: Likewise.
59679         * math/s_cexp.c: Likewise.
59680         * math/s_cexpf.c: Likewise.
59681         * math/s_cexpl.c: Likewise.
59682         * math/s_clog.c: Likewise.
59683         * math/s_clog10.c: Likewise.
59684         * math/s_clog10f.c: Likewise.
59685         * math/s_clog10l.c: Likewise.
59686         * math/s_clogf.c: Likewise.
59687         * math/s_clogl.c: Likewise.
59688         * math/s_csin.c: Likewise.
59689         * math/s_csinf.c: Likewise.
59690         * math/s_csinh.c: Likewise.
59691         * math/s_csinhf.c: Likewise.
59692         * math/s_csinhl.c: Likewise.
59693         * math/s_csinl.c: Likewise.
59694         * math/s_csqrt.c: Likewise.
59695         * math/s_csqrtf.c: Likewise.
59696         * math/s_csqrtl.c: Likewise.
59697         * math/s_ctan.c: Likewise.
59698         * math/s_ctanf.c: Likewise.
59699         * math/s_ctanh.c: Likewise.
59700         * math/s_ctanhf.c: Likewise.
59701         * math/s_ctanhl.c: Likewise.
59702         * math/s_ctanl.c: Likewise.
59703         * math/s_ldexp.c: Likewise.
59704         * math/s_ldexpf.c: Likewise.
59705         * math/s_ldexpl.c: Likewise.
59706         * math/s_significand.c: Likewise.
59707         * math/s_significandf.c: Likewise.
59708         * math/s_significandl.c: Likewise.
59709         * math/w_acos.c: Likewise.
59710         * math/w_acosf.c: Likewise.
59711         * math/w_acosh.c: Likewise.
59712         * math/w_acoshf.c: Likewise.
59713         * math/w_acoshl.c: Likewise.
59714         * math/w_acosl.c: Likewise.
59715         * math/w_asin.c: Likewise.
59716         * math/w_asinf.c: Likewise.
59717         * math/w_asinl.c: Likewise.
59718         * math/w_atan2.c: Likewise.
59719         * math/w_atan2f.c: Likewise.
59720         * math/w_atan2l.c: Likewise.
59721         * math/w_atanh.c: Likewise.
59722         * math/w_atanhf.c: Likewise.
59723         * math/w_atanhl.c: Likewise.
59724         * math/w_cosh.c: Likewise.
59725         * math/w_coshf.c: Likewise.
59726         * math/w_coshl.c: Likewise.
59727         * math/w_dremf.c: Likewise.
59728         * math/w_exp10.c: Likewise.
59729         * math/w_exp10f.c: Likewise.
59730         * math/w_exp10l.c: Likewise.
59731         * math/w_exp2.c: Likewise.
59732         * math/w_exp2f.c: Likewise.
59733         * math/w_fmod.c: Likewise.
59734         * math/w_fmodf.c: Likewise.
59735         * math/w_fmodl.c: Likewise.
59736         * math/w_hypot.c: Likewise.
59737         * math/w_hypotf.c: Likewise.
59738         * math/w_hypotl.c: Likewise.
59739         * math/w_j0.c: Likewise.
59740         * math/w_j0f.c: Likewise.
59741         * math/w_j0l.c: Likewise.
59742         * math/w_j1.c: Likewise.
59743         * math/w_j1f.c: Likewise.
59744         * math/w_j1l.c: Likewise.
59745         * math/w_jn.c: Likewise.
59746         * math/w_jnf.c: Likewise.
59747         * math/w_jnl.c: Likewise.
59748         * math/w_lgamma.c: Likewise.
59749         * math/w_lgamma_r.c: Likewise.
59750         * math/w_lgammaf.c: Likewise.
59751         * math/w_lgammaf_r.c: Likewise.
59752         * math/w_lgammal.c: Likewise.
59753         * math/w_lgammal_r.c: Likewise.
59754         * math/w_log.c: Likewise.
59755         * math/w_log10.c: Likewise.
59756         * math/w_log10f.c: Likewise.
59757         * math/w_log10l.c: Likewise.
59758         * math/w_log2.c: Likewise.
59759         * math/w_log2f.c: Likewise.
59760         * math/w_log2l.c: Likewise.
59761         * math/w_logf.c: Likewise.
59762         * math/w_logl.c: Likewise.
59763         * math/w_pow.c: Likewise.
59764         * math/w_powf.c: Likewise.
59765         * math/w_powl.c: Likewise.
59766         * math/w_remainder.c: Likewise.
59767         * math/w_remainderf.c: Likewise.
59768         * math/w_remainderl.c: Likewise.
59769         * math/w_scalb.c: Likewise.
59770         * math/w_scalbf.c: Likewise.
59771         * math/w_scalbl.c: Likewise.
59772         * math/w_sinh.c: Likewise.
59773         * math/w_sinhf.c: Likewise.
59774         * math/w_sinhl.c: Likewise.
59775         * math/w_sqrt.c: Likewise.
59776         * math/w_sqrtf.c: Likewise.
59777         * math/w_sqrtl.c: Likewise.
59778         * math/w_tgamma.c: Likewise.
59779         * math/w_tgammaf.c: Likewise.
59780         * math/w_tgammal.c: Likewise.
59782         * po/ja.po: Update from translation team.
59784 2011-09-29  Andreas Jaeger  <aj@suse.de>
59786         [BZ #13179]
59787         * sunrpc/netname.c (netname2host): Fix logic.
59789         [BZ #6779]
59790         [BZ #6783]
59791         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59792         correctly.
59793         * math/w_remainder.c (__remainder): Likewise.
59794         * math/w_remainderf.c (__remainderf): Likewise.
59795         * math/libm-test.inc (remainder_test): Add test cases.
59797 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59799         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59800         sdiv_qrnnd.
59802 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59804         * string/test-memcmp.c: Avoid unncessary #defines.
59805         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59807 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59809         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59810         Use new sse2 version for core i3 - i7 as it's faster
59811         than sse42 version.
59812         (bit_Prefer_PMINUB_for_stringop): New.
59813         * sysdeps/x86_64/rawmemchr.S: Update.
59814         Replace with faster SSE2 version.
59815         * sysdeps/x86_64/memrchr.S: New file.
59816         * sysdeps/x86_64/memchr.S: Update.
59817         Replace with faster SSE2 version.
59819 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59821         * elf/dl-load.c (lose): Add cast to avoid warning.
59823 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59825         * po/ca.po: Update from translation team.
59827         * inet/getnetgrent_r.c: Hook up nscd.
59828         * nscd/Makefile (routines): Add nscd_netgroup.
59829         (nscd-modules): Add netgroupcache.
59830         (CFLAGS-netgroupcache.c): Define.
59831         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59832         (cache_search): Add const to second parameter.
59833         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59834         INNETGR.
59835         (dbs): Add netgrdb entry.
59836         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59837         (verify_persistent_db): Handle netgrdb.
59838         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59839         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59840         GETFDNETGR.
59841         (netgroup_response_header): Define.
59842         (innetgroup_response_header): Define.
59843         (datahead): Add netgroup_response_header and innetgroup_response_header
59844         elements.
59845         * nscd/nscd.conf: Add entries for netgroup cache.
59846         * nscd/nscd.h (dbtype): Add netgrdb.
59847         (_PATH_NSCD_NETGROUP_DB): Define.
59848         (netgroup_iov_disabled): Declare.
59849         (xmalloc, xcalloc, xrealloc): Move declarations here.
59850         (cache_search): Adjust prototype.
59851         Add netgroup-related prototypes.
59852         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59853         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59854         (__nscd_innetgr): Declare.
59855         * nscd/selinux.c (perms): Use access_vector_t as element type and
59856         add netgroup-related initializers.
59857         * nscd/netgroupcache.c: New file.
59858         * nscd/nscd_netgroup.c: New file.
59859         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59860         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59861         For four parameters use innetgr.
59862         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59863         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59864         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59865         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59867         * nscd/connections.c (register_traced_file): Don't register file
59868         for disabled databases.
59870 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59872         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59874         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59875         from tree and freeing node.
59877 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59879         * nss/nsswitch.c (__nss_database_lookup): Handle
59880         nss_parse_service_list out of memory case.
59882 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59884         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59885         out of memory case.
59887 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59889         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59890         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59891         pass it down.
59892         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59893         elf_machine_rela, elf_machine_lazy_rel.
59894         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59895         (ELF_DYNAMIC_DO_REL): Likewise.
59896         (ELF_DYNAMIC_DO_RELA): Likewise.
59897         (ELF_DYNAMIC_RELOCATE): Likewise.
59898         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59899         to ELF_DYNAMIC_DO_REL.
59900         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59901         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59902         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59903         elf_machine_rela.
59904         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59905         skip_ifunc, don't call ifunc function if non-zero.
59906         (elf_machine_rela): Likewise.
59907         (elf_machine_lazy_rel): Likewise.
59908         (elf_machine_lazy_rela): Likewise.
59909         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59910         (elf_machine_lazy_rel): Likewise.
59911         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59912         Likewise.
59913         (elf_machine_lazy_rel): Likewise.
59914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59915         Likewise.
59916         (elf_machine_lazy_rel): Likewise.
59917         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59918         (elf_machine_lazy_rel): Likewise.
59919         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59920         (elf_machine_lazy_rel): Likewise.
59921         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59922         (elf_machine_lazy_rel): Likewise.
59923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59924         (elf_machine_lazy_rel): Likewise.
59925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59926         (elf_machine_lazy_rel): Likewise.
59927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59928         (elf_machine_lazy_rel): Likewise.
59930 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59932         * nss/nss_files/files-init.c (_nss_files_init): Use static
59933         initialization for all the *_traced_file variables.
59935 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59937         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59939 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59941         [BZ #13226]
59942         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59944 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59946         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59947         Reread the line before reparsing it.
59949 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59951         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59953 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59954             Maxim Kuvyrkov  <maxim@codesourcery.com>
59955             Joseph Myers  <joseph@codesourcery.com>
59957         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59958         if needed for __stack_chk_guard.
59960 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59962         * sysdeps/posix/spawni.c (script_execute): Always define it.
59963         It will be optimized away if unused.
59964         (maybe_script_execute): New function.
59965         (__spawni): Call it.
59967         * Makerules: Don't include tls.make.
59968         (config-tls): Always set to thread.
59969         * tls.make.c: File removed.
59971 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59973         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59974         * config.make.in (CPPFLAGS-config): New substituted variable.
59976 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59978         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59980         [BZ #13192]
59981         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59982         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59984 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59986         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59987         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59989         (CALL_FAIL): Likewise.
59990         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59991         (CALL_FAIL): Macro removed.
59992         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59994 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59996         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59997         for __FINITE_MATH_ONLY__ == 1.
59999 2011-09-15  Andreas Schwab  <schwab@redhat.com>
60001         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60002         __ieee754_sqrt instead of sqrt.
60003         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60004         __ieee754_sqrtf instead of sqrtf.
60005         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60006         __floorf instead of floorf.
60007         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60008         __floorf, __truncf instead of floorf, truncf.
60010 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
60012         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60014         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60015         __extern_always_inline.
60016         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60017         32-bit.
60019 2011-09-14  Andreas Schwab  <schwab@redhat.com>
60021         * elf/rtld.c (dl_main): Also relocate in dependency order when
60022         doing symbol dependency testing.
60024 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
60026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60027         Always define `refsym'.
60029 2011-09-13  Andreas Schwab  <schwab@redhat.com>
60031         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60032         (__FD_ELT): Renamed from __FDELT.
60033         * misc/bits/select2.h (__FD_ELT): Likewise.
60034         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60035         __FD_MASK instead of __FDELT, __FDMASK.
60036         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60037         Likewise.
60038         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60039         Likewise.
60041         * elf/Makefile (gen-ldd): Fix pattern.
60043         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60044         (init_tls): Likewise.
60046 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
60048         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60050 2011-09-12  Andreas Schwab  <schwab@redhat.com>
60052         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60053         `struct cmsghdr *' instead of `void *'.
60054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60055         Likewise.
60057 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
60059         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60060         if non-absolute.
60061         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60062         ldd_rewrite_script.
60064 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
60066         * configure.in: Remove --with-tls option.
60067         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60068         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60069         out in case it is missing.
60070         * sysdeps/ia64/elf/configure.in: Likewise.
60071         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60072         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60073         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60074         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60075         * sysdeps/sh/elf/configure.in: Likewise.
60076         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60077         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60078         * sysdeps/x86_64/elf/configure.in: Likewise.
60079         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60080         * sysdeps/mach/hurd/tls.h: Likewise.
60082         [BZ #13067]
60083         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60085         [BZ #13090]
60086         * configure.in: Fix use of AC_INIT.
60088         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60090 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60092         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60093         __set_errno.
60094         * malloc/hooks.c: Likewise.
60096         [BZ #11929]
60097         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60098         variables statically.
60099         (narenas): Initialize.
60100         (list_lock): Initialize.
60101         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60102         initializtion of main_arena and list_lock.  Small cleanups.
60103         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60104         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60105         Add initializers to main_arena and mp_.
60106         (malloc_state): Remove pagesize member.  Change all users to use
60107         GLRO(dl_pagesize).
60109         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60110         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60111         is always initialized.
60113         * malloc/malloc.c: Removed unused configurations and dead code.
60114         * malloc/arena.c: Likewise.
60115         * malloc/hooks.c: Likewise.
60116         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60118         * include/tls.h: Removed.  USE___THREAD must always be defined.
60119         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60120         * elf/dl-libc.c: Likewise.
60121         * elf/dl-tsd.c: Likewise.
60122         * include/errno.h: Likewise.
60123         * include/netdb.h: Likewise.
60124         * include/resolv.h: Likewise.
60125         * inet/herrno-loc.c: Likewise.
60126         * inet/herrno.c: Likewise.
60127         * malloc/arena.c: Likewise.
60128         * malloc/hooks.c: Likewise.
60129         * malloc/malloc.c: Likewise.
60130         * resolv/res-state.c: Likewise.
60131         * resolv/res_libc.c: Likewise.
60132         * sysdeps/i386/dl-machine.h: Likewise.
60133         * sysdeps/ia64/dl-machine.h: Likewise.
60134         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60135         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60136         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60137         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60138         * sysdeps/sh/dl-machine.h: Likewise.
60139         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60140         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60141         * sysdeps/unix/i386/sysdep.S: Likewise.
60142         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60143         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60148         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60152         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60153         * sysdeps/x86_64/dl-machine.h: Likewise.
60154         * tls.make.c: Likewise.
60156         * configure.in: Remove --with-__thread option.  Make tests for
60157         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60158         tls_model attribute fail if no support is available.  Remove
60159         USE_IN_LIBIO.
60160         * Makeconfig: Adjust for dropped configure option.  All features are
60161         now mandatory.
60162         * Makerules: Likewise.
60163         * Versions.def: Likewise.
60164         * argp/argp-fmtstream.c: Likewise.
60165         * argp/argp-fmtstream.h: Likewise.
60166         * argp/argp-help.c: Likewise.
60167         * assert/assert.c: Likewise.
60168         * config.h.in: Likewise.
60169         * config.make.in: Likewise.
60170         * configure: Likewise.
60171         * configure.in: Likewise.
60172         * csu/Versions: Likewise.
60173         * csu/init.c: Likewise.
60174         * elf/tst-audit2.c: Likewise.
60175         * elf/tst-tls10.c: Likewise.
60176         * elf/tst-tls10.h: Likewise.
60177         * elf/tst-tls11.c: Likewise.
60178         * elf/tst-tls12.c: Likewise.
60179         * elf/tst-tls14.c: Likewise.
60180         * elf/tst-tlsmod11.c: Likewise.
60181         * elf/tst-tlsmod12.c: Likewise.
60182         * elf/tst-tlsmod13.c: Likewise.
60183         * elf/tst-tlsmod13a.c: Likewise.
60184         * elf/tst-tlsmod14a.c: Likewise.
60185         * elf/tst-tlsmod15b.c: Likewise.
60186         * elf/tst-tlsmod16a.c: Likewise.
60187         * elf/tst-tlsmod16b.c: Likewise.
60188         * elf/tst-tlsmod7.c: Likewise.
60189         * elf/tst-tlsmod8.c: Likewise.
60190         * elf/tst-tlsmod9.c: Likewise.
60191         * gmon/gmon.c: Likewise.
60192         * grp/fgetgrent_r.c: Likewise.
60193         * grp/putgrent.c: Likewise.
60194         * hurd/fopenport.c: Likewise.
60195         * include/libc-symbols.h: Likewise.
60196         * include/tls.h: Likewise.
60197         * intl/gettextP.h: Likewise.
60198         * intl/loadinfo.h: Likewise.
60199         * locale/global-locale.c: Likewise.
60200         * locale/localeinfo.h: Likewise.
60201         * mach/devstream.c: Likewise.
60202         * malloc/arena.c: Likewise.
60203         * malloc/set-freeres.c: Likewise.
60204         * misc/err.c: Likewise.
60205         * misc/getttyent.c: Likewise.
60206         * misc/mntent_r.c: Likewise.
60207         * posix/getopt.c: Likewise.
60208         * posix/wordexp.c: Likewise.
60209         * pwd/fgetpwent_r.c: Likewise.
60210         * resolv/Versions: Likewise.
60211         * resolv/res_hconf.c: Likewise.
60212         * shadow/fgetspent_r.c: Likewise.
60213         * shadow/putspent.c: Likewise.
60214         * stdio-common/printf_fphex.c: Likewise.
60215         * stdio-common/tmpfile.c: Likewise.
60216         * stdlib/abort.c: Likewise.
60217         * stdlib/fmtmsg.c: Likewise.
60218         * sunrpc/auth_unix.c: Likewise.
60219         * sunrpc/clnt_perr.c: Likewise.
60220         * sunrpc/clnt_tcp.c: Likewise.
60221         * sunrpc/clnt_udp.c: Likewise.
60222         * sunrpc/clnt_unix.c: Likewise.
60223         * sunrpc/openchild.c: Likewise.
60224         * sunrpc/svc_simple.c: Likewise.
60225         * sunrpc/svc_tcp.c: Likewise.
60226         * sunrpc/svc_udp.c: Likewise.
60227         * sunrpc/svc_unix.c: Likewise.
60228         * sunrpc/xdr.c: Likewise.
60229         * sunrpc/xdr_array.c: Likewise.
60230         * sunrpc/xdr_rec.c: Likewise.
60231         * sunrpc/xdr_ref.c: Likewise.
60232         * sunrpc/xdr_stdio.c: Likewise.
60234 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60236         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60238 2011-07-03  Andreas Jaeger  <aj@suse.de>
60240         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60241         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60242         regenerate with gen-libm-tests.pl.
60244 2010-05-12  Petr Baudis  <pasky@suse.cz>
60246         [BZ #11589]
60247         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60248         around j0() zero points by switching to j1().
60249         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60250         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60252         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60254 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60256         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60257         instead of 0.
60258         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60259         instead of 0.
60260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60261         Patch in part by Pavel Roskin <proski@gnu.org>.
60263         [BZ #13138]
60264         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60265         realloc.
60266         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60267         Free memory block if necessary.
60269         [BZ #12847]
60270         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60271         be NULL.  Don't lock in this case.
60273 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60275         * elf/elf.h (ELFOSABI_GNU): New macro.
60276         (ELFOSABI_LINUX): Define to that.
60278 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60280         * string/strncat.c (strncat): Undef the symbol in case it has been
60281         defined in bits/string.h.
60283 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60285         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60287         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60288         link map.
60290 2011-08-17  Andreas Jaeger  <aj@suse.de>
60292         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60294 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60295             Ian Lance Taylor  <iant@google.com>
60297         * math/libm-test.inc (lround_test): New testcase.
60298         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60300 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60302         * Makefile: Remove support for automatic cvs check-ins.
60303         * Makerules: Likewise.
60304         * config.make.in: Likewise.
60305         * configure.in: Likewise.
60306         * intl/Makefile: Likewise.
60307         * locale/Makefile: Likewise.
60308         * po/Makefile: Likewise.
60309         * posix/Makefile: Likewise.
60310         * sysdeps/gnu/Makefile: Likewise.
60311         * sysdeps/mach/hurd/Makefile: Likewise.
60312         * sysdeps/sparc/sparc32/Makefile: Likewise.
60314         [BZ #13118]
60315         * posix/Makefile (bug-regex32-ENV): Define.
60316         Patch by John Stanley <jpsinthemix@verizon.net>.
60318         * misc/Makefile (headers): Add bits/select2.h.
60319         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60320         * misc/bits/select2.h: New file.
60321         * include/bits/select2.h: New file.
60322         * debug/Makefile (routines): Add fdelt_chk.
60323         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60324         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60325         FD_ISSET.
60326         * debug/fdelt_chk.c: New file.
60328         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60329         * wcsmbs/test-wmemcmp.c: Likewise.
60330         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60331         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60333 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60335         * string/Makefile (strop-tests): Add memcmp.
60336         * string/test-wmemcmp.c: New file.
60337         * string/test-memcmp.c: Add wmemcmp support.
60339 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60341         [BZ #13153]
60342         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60343         2011-07-19 change.
60345         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60346         garbage value in a __mach_port_mod_refs call in the cases of the
60347         task-self and thread-self ports.
60349 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60351         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60353 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60355         * elf/dl-load.c (lose): Check for non-null L.
60357 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60359         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60361         * elf/dl-libc.c (dlerror_run): Pass back error code from
60362         dl_catch_error.
60364         [BZ #13123]
60365         * elf/dl-load.c (lose): Free l_origin if it is valid.
60367         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60368         names.
60369         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60370         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60371         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60372         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60373         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60374         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60376 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60378         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60379         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60380         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60381         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60382         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60383         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60384         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60385         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60386         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60387         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60389 2011-08-15  Alan Modra  <amodra@gmail.com>
60391         [BZ #13092]
60392         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60393         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60394         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60395         ppc_mcount to static-only-routines.
60396         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60397         __mcount_internal.
60398         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60399         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60401 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60403         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60404         for finite and infinity parameters.
60406 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60408         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60409         and add nop instructions for throughput optimization.
60410         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60412 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60414         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60415         aligned copy for power7 with vector-scalar instructions.
60416         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60418 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60421         AVX check.
60423 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60425         [BZ #13144]
60426         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60427         last change.
60429 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60431         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60432         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60433         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60435         clock_gettime.
60437 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60439         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60440         Forgot to demangle the pointer.
60442         * sysdeps/i386/sysdep.h: Define atom_text_section.
60443         * sysdeps/x86_64/sysdep.h: Likewise.
60444         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60445         section with atom_text_section.
60446         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60447         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60448         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60450         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60452         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60453         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60454         already be defined.  Change to take two parameters and don't assign
60455         result to variable.  Adjust all users.
60456         Define INTERNAL_GETTIME if not already defined.
60457         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60458         call.
60459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60460         HAVE_CLOCK_GETTIME_VSYSCALL.
60461         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60463         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60464         gettimeofday vsyscall, just use time.
60466 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60468         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60469         <errno.h>.
60471 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60473         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60474         syscall on x86-64.
60475         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60476         syscall.
60477         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60478         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60479         syscall if possible.
60481 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60483         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60484         e_ident.  Don't pass to find_mapsXX.
60485         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60487 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60490         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60491         * sysdeps/x86_64/multiarch/strchr.S: Update.
60492         Check bit_slow_BSF bit.
60493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60494         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60495         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60497 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60499         [BZ #13134]
60500         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60501         before glibc 2.15.
60502         (tryshell): Define.
60503         (__spawni): Change last parameter to be flag.  Test
60504         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60505         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60506         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60507         * posix/spawni.c: Likewise.
60508         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60509         * posix/spawnp.c: Likewise.  Change normal version to use
60510         SPAWN_XFLAGS_USE_PATH.
60511         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60512         SPAWN_XFLAGS_TRY_SHELL.
60514         [BZ #13150]
60515         * posix/glob.h: Remove gcc 1.x support.
60517         [BZ #13068]
60518         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60520 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60522         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60523         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60524         strrchr-sse2-bsf
60525         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60526         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60527         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60528         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60529         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60530         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60532 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60534         * sysdeps/x86_64/wcscmp.S: New file.
60536         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60537         wcscmp-c wcscmp-sse2
60538         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60539         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60540         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60541         * wcsmbs/wcscmp.c: Allow renaming.
60543 2011-09-05  David S. Miller  <davem@davemloft.net>
60545         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60546         stack slot, rather than the struct return pointer slot.
60547         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60548         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60550         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60552 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60554         * po/ja.po: Update from translation team.
60556         [BZ #13144]
60557         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60558         kernel in 64-bit binaries.
60560 2011-09-01  David S. Miller  <davem@davemloft.net>
60562         * elf/elf.h (HWCAP_SPARC_*): Move to..
60563         * sysdeps/sparc/sysdep.h: this new file and add new values.
60564         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60565         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60566         _DL_HWCAP_COUNT to 24.
60567         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60568         entries.
60569         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60570         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60571         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60572         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60573         instead of magic constants.
60574         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60576 2011-08-31  David S. Miller  <davem@davemloft.net>
60578         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60580         Reimplement to do errno handling inline.
60581         (SYSCALL_ERROR_HANDLER): New macro.
60582         (__SYSCALL_STRING): Do not do errno handling in asm.
60583         (__CLONE_SYSCALL_STRING): Delete.
60584         (__INTERNAL_SYSCALL_STRING): Delete.
60585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60586         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60587         (PSEUDO): Reimplement to do errno handling inline.
60588         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60589         (SYSCALL_ERROR_HANDLER): New macro.
60590         (__SYSCALL_STRING): Do not do errno handling in asm.
60591         (__CLONE_SYSCALL_STRING): Delete.
60592         (__INTERNAL_SYSCALL_STRING): Delete.
60593         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60594         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60595         i386.
60596         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60597         (inline_syscall*): Add 'err' argument.
60598         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60599         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60600         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60601         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60603         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60604         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60606 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60608         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60610 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60612         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60613         directive.
60615 2011-08-24  David S. Miller  <davem@davemloft.net>
60617         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60619 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60621         * elf/Makefile: Add rules to build and run unload8 test.
60622         * elf/unload8.c: New file.
60623         * elf/unload8mod1.c: New file.
60624         * elf/unload8mod1x.c: New file.
60625         * elf/unload8mod2.c: New file.
60626         * elf/unload8mod3.c: New file.
60628         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60629         it wasn't used.
60631 2011-08-23  David S. Miller  <davem@davemloft.net>
60633         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60634         subtract stack bias.
60635         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60636         %sp not %fp in calculations.
60637         (_JMPBUF_UNWINDS_ADJ): Likewise.
60639         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60640         (aio_suspend): Call it to force an exception region around the
60641         AIO_MISC_WAIT() invocation.
60643 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60645         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60646         backslash.
60648 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60650         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60651         protection macro.
60652         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60653         and <dl-machine.h>.
60654         (Elf64_FuncDesc): Remove.
60656 2011-08-22  David S. Miller  <davem@davemloft.net>
60658         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60659         sigaltstack check, add missing cfi directives.
60660         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60661         missing cfi directives, and sigaltstack handling.
60663 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60665         [BZ #11724]
60666         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60667         object is seen twice.
60668         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60670         * elf/Makefile (distribute): Add tst-initorder2.c.
60671         (tests): Add tst-initorder2.
60672         (modules-names): Add tst-initorder2a tst-initorder2b
60673         tst-initorder2c tst-initorder2d.  Add rules to build them.
60674         ($(objpfx)tst-initorder2.out): New rule.
60675         * elf/tst-initorder2.c: New file.
60676         * elf/tst-initorder2.exp: New file.
60678 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60680         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60682         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60683         dependencies back to end of function.
60685         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60686         $(elfobjdir)/ld.so.
60688 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60691         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60692         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60693         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60694         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60695         of __vdso_gettimeofday.
60696         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60697         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60698         attribute_hidden.
60699         (_libc_vdso_platform_setup): Remove initialization of
60700         __vdso_gettimeofday and __vdso_time.
60702 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60704         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60705         and fgetc_unlocked.
60706         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60707         getc_unlocked.
60709         * elf/dl-open.c (add_to_global): Report additions to the global scope
60710         for LD_DEBUG=scopes.
60711         (dl_open_worker): Also print scope of newly loaded dependencies.
60712         (_dl_show_scope): Indicate if there is no scope.
60714         [BZ #13114]
60715         * stdio-common/Makefile (tests): Add bug24.
60716         * stdio-common/bug24.c: New file.
60718 2011-08-19  Andreas Jaeger  <aj@suse.de>
60720         [BZ #13114]
60721         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60722         non-existant file when using close-on-exec mode.
60724 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60727         the very first instruction.
60729         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60730         the CFI state in the end.
60731         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60732         inclusion of dl-trampoline.h.
60733         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60735 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60737         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60738         expectations for long double.
60740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60741         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60743 2011-08-14  David S. Miller  <davem@davemloft.net>
60745         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60746         artificual limit depends upon the system page size.
60748 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60750         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60751         * resolv/Makefile: Define CFLAGS-libresolv.
60753 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60755         * nss/makedb.c (compute_tables): Make variables used in nested
60756         function static.
60758 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60760         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60761         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60762         if buffer was too small.
60764         * elf/pldd.c (main): Attach to all threads in the process.
60765         Rewrite /proc handling to use *at functions.
60767 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60769         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60770         specifies first scope to show.
60771         (dl_open_worker): Update callers.  Move printing scope of new
60772         object to before the relocation.
60773         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60774         * sysdeps/generic/ldsodefs.h: Update declaration.
60776         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60777         string for the scope number.
60779 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60781         * nscd/servicescache.c (cache_addserv): Make sure written is always
60782         initialized.
60784 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60786         * sysdeps/i386/i486/bits/atomic.h
60787         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60788         statement expression, so as to suppress "set but not used" warning.
60789         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60791         * string/strncat.c (STRNCAT): Use prototype definition.
60793         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60794         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60795         -Iprograms here.
60796         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60797         (localedef-modules): Add localedef.
60798         (locale-modules): Add locale.
60800         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60801         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60802         to avoid a warning.
60804 2011-08-14  David S. Miller  <davem@davemloft.net>
60806         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60807         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60809 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60811         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60812         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60813         * elf/rtld.c (dl_main): Set l_name of vDSO.
60814         Call _dl_show_scope when DL_DEBUG_SCOPES.
60815         (process_dl_debug): Recognize scopes flag and also set it for all.
60816         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60817         Declare _dl_show_scope.
60819         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60820         (do_dlopen): Pass caller_dlopen to dl_open.
60821         (__libc_dlopen_mode): Initialize caller_dlopen.
60823         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60824         of libc.  Make tolower call locale-independent.  Optimize a bit by
60825         using isdigit instead of isalnum.
60826         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60828 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60830         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60831         was a dependency or dynamically loaded.
60833 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60835         * intl/l10nflist.c: Allow architecture-specific pop function.
60836         * sysdeps/x86_64/l10nflist.c: New file.
60838         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60839         classification.
60841 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60843         * include/dirent.h: Add libc_hidden_proto for scandirat and
60844         scandirat64.  Don't declare __scandirat64.
60845         * dirent/scandirat.c: Add libc_hidden_def.
60846         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60847         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60849 2011-08-10  David S. Miller  <davem@davemloft.net>
60851         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60852         enum.
60853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60854         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60857 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60859         * Versions.def [libc]: Add GLIBC_2.15.
60860         * dirent/Makefile (routines): Add scandirat and scandirat64.
60861         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60862         GLIBC_2.15.
60863         * dirent/dirent.h: Declare scandirat and scandirat64.
60864         * dirent/scandirat.c: New file.
60865         * dirent/scandirat64.c: New file.
60866         * sysdeps/wordsize-64/scandirat.c: New file.
60867         * sysdeps/wordsize-64/scandirat64.c: New file.
60868         * dirent/opendir.c: Define opendirat.
60869         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60870         using scandirat.
60871         * dirent/scandir64.c: Adjust for scandir.c change.
60872         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60873         __scandirat64, and __scandir_cancel_handler.
60874         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60875         additional parameter and use openat instead of open (outside of ld.so).
60876         Add new __opendir as wrapper around __opendirat.
60877         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60878         here without requiring old scandirat implementation.
60880 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60882         * dirent/scandir.c (cancel_handler): Renamed to
60883         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60884         defined.  Adjust users.
60885         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60886         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60888 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60890         * string/test-string.h (IMPL): Use __STRING to expand name and then
60891         stringify it.
60893         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60894         of cleanups.
60896 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60898         * string/Makefile: Update.
60899         (strop-tests): Append strncat.
60900         * string/test-wcscmp.c: New file.
60901         New comprehensive test for wcscmp.
60902         * string/test-strcmp.c: Update.
60903         (WIDE): New define.
60905 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60907         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60908         line.
60910 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60913         encoding to ACE if AI_IDN.
60915 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60918         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60920 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60922         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60923         Fix overflow bug in strncat.
60924         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60926         * string/test-strncat.c: Update.
60927         Add new tests for checking overflow bugs.
60929 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60932         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60933         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60934         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60935         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60936         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60937         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60938         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60939         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60942         (USE_AS_STRCAT): Define.
60943         Add strcat and strncat support.
60944         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60946 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60948         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60949         __n bigger than INT_MAX+1.
60950         (__strncmp_g): Likewise.
60952 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60954         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60955         * libio/stido.h: Likewise.
60957         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60958         (AF_NFC): Define.
60959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60960         (AF_NFC): Define.
60962         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60963         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60964         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60965         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60966         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60968         [BZ #13021]
60969         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60970         installed.
60972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60973         typo.
60974         (_dl_x86_64_save_sse): Likewise.
60976 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60979         OSXSAVE.
60980         (_dl_x86_64_save_sse): Likewise.
60982         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60984         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60986 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60989         change.
60990         (_dl_x86_64_save_sse): Use correct AVX check.
60992 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60994         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60995         bug in strncpy/strncat.
60996         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60998 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
61000         * string/tester.c (test_strcat): Add tests for different alignments
61001         of source and destination.
61002         (test_strncat): Likewise.
61004 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61006         [BZ #12852]
61007         * posix/glob.c (glob): Check passed in values before using them in
61008         expressions to avoid some overflows.
61009         (glob_in_dir): Likewise.
61011         [BZ #13007]
61012         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61013         check for AVX enablement so that we don't crash with old kernels and
61014         new hardware.
61015         * elf/tst-audit4.c: Add same checks here.
61016         * elf/tst-audit6.c: Likewise.
61018         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61020 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
61022         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61024 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61026         * po/cs.po: Update from translation team.
61027         * po/bg.po: Likewise.
61029 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
61031         * misc/sys/cdefs.h: Add support for const attribute.
61032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61033         to gnu_dev_{major,minor,makedev} functions.
61035 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
61037         * intl/dcigettext.c (get_output_charset): Add missing bracket.
61039 2011-07-20  Andreas Schwab  <schwab@redhat.com>
61041         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61042         strlen results.
61044 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61047         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61048         register in order to avoid conflicts with the soft frame pointer
61049         being held in r11 when necessary.
61050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61051         (INTERNAL_VSYSCALL_NCS): Likewise.
61053 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
61055         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61056         * elf/dl-fini.c (_dl_fini): Adjust caller.
61057         * elf/dl-close.c (_dl_close_worker): Likewise.
61058         * sysdeps/generic/ldsodefs.h: Adjust declaration.
61060 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61062         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61063         "aux_cache->nlibs < 0".
61065         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61066         in the reload-count case.
61068 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61071         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61072         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61073         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61074         * sysdeps/x86_64/multiarch/strcat.S: New file.
61075         * sysdeps/x86_64/multiarch/strncat.S: New file.
61076         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61077         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61078         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61079         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61080         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61081         (USE_AS_STRCAT): Define.
61082         Add strcat and strncat support.
61083         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61084         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61085         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61086         * string/strncat.c: Update.
61087         (USE_AS_STRNCAT): Define.
61088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61089         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61090         and i7.
61091         * sysdeps/x86_64/multiarch/init-arch.h
61092         (bit_Prefer_PMINUB_for_stringop): New.
61093         (index_Prefer_PMINUB_for_stringop): Likewise.
61094         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61095         bit_Prefer_PMINUB_for_stringop.
61097 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61099         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61100         buffer64.
61101         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61102         of casting of buffer.
61103         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61104         buffer32 and buffer64.
61105         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61106         writes instead of casting of buffer.
61107         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61108         buffer32.
61109         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61110         casting of buffer.
61112 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61114         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61116 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61118         * nscd/nscd.c (termination_handler): Don't do anything for a database
61119         if it has not yet been initialized.
61121 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61123         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61125 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61127         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61129 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61131         * po/nl.po: Update from translation team.
61132         * po/sv.po: Likewise.
61134 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61136         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61137         now disallowed by GCC.
61139         * configure.in (use-default-link): Default to yes if a test -shared
61140         link meets our qualifications.
61141         * configure: Regenerated.
61143         * config.make.in (output-format): New variable.
61144         * configure.in: Check for ld --print-output-format support.
61145         * configure: Regenerated.
61146         * Makerules ($(common-objpfx)format.lds)
61147         [$(output-format) != unknown]: Just use $(output-format),
61148         instead of the linker-script munging.
61150 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61152         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61153         of $(common-objpfx)shlib.lds.
61154         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61156         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61157         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61159         * configure.in (-z relro check): Adjust test code to add a large
61160         writable data section after it.
61161         * configure: Regenerated.
61163 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61165         * configure.in (-z relro check): Fix test code to make the variable
61166         truly const.
61167         * configure: Regenerated.
61169 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61171         * nscd/nscd.h (struct traced_file): Define.
61172         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61173         elements.  Add traced_files.
61174         (inotify_fd): Declare.
61175         (register_traced_file): Declare.
61176         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61177         (inotify_fd): Export.
61178         (resolv_conf_descr): Remove.
61179         (nscd_init): Move inotify descriptor creation to main.
61180         Don't register files for notification here.
61181         (register_traced_file): New function.
61182         (invalidate_cache): Don't use reset_res to determine whether to call
61183         res_init, go through the list of registered files.
61184         (main_loop_poll): The inotify descriptors are now stored in the
61185         structures for the traced files.
61186         (main_loop_epoll): Likewise
61187         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61188         to __nss_disable_nscd.
61189         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61190         for a database anymore.  Check the records for all the registered
61191         files instead.
61192         * nss/Makefile (libnss_files-routines): Add files-init.
61193         (libnss_db-routines): Add db-init.
61194         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61195         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61196         * nss/nss_db/db-init.c: New file.
61197         * nss/nss_files/files-init.c: New file.
61198         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61199         __nss_lookup_function.
61200         (__nss_lookup_function): Call nss_load_library.
61201         (nss_load_all_libraries): New function.
61202         (__nss_disable_nscd): Take parameter with callback function for files
61203         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61204         used for the cached services.
61205         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61206         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61207         options for features to all the files in nscd.
61209         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61211 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61213         * csu/elf-init.c (__libc_csu_init): Comment typo.
61215 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61217         * po/pl.po: Update from translation team.
61218         * po/ja.po: Likewise.
61219         * po/ru.po: Likewise.
61220         * po/ko.po: Likewise.
61221         * po/fr.po: Likewise.
61223 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61225         * configure.in (.ctors/.dtors header and trailer check):
61226         Use an empirical test on a built program.
61227         * configure: Regenerated.
61229         * configure.in (-z relro check): Use an empirical test on a built DSO.
61230         Detect, but do not require, on ia64.
61231         * configure: Regenerated.
61233         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61234         Update tests that use readelf to use $READELF instead.
61235         * configure: Regenerated.
61237 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61239         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61240         if the result is not used.
61242 2011-07-05  Andreas Jaeger  <aj@suse.de>
61244         [BZ#9696]
61245         * stdlib/tst-strtod.c: Add testcase.
61247 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61249         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61250         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61251         The latter has a higher limit.  Take additional parameter to pass to
61252         the new function.
61253         (__pathconf): Pass file to __statfs_link_max.
61254         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61255         __statfs_link_max.
61256         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61257         __statfs_link_max.
61259         [BZ #12868]
61260         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61261         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61262         Handle Lustre.
61263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61264         (__statfs_filesize_max): Likewise.
61265         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61267 2011-07-05  Andreas Jaeger  <aj@suse.de>
61269         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61271 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61273         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61274         `status' variable.
61275         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61276         Likewise.
61278 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61280         * Makefile (strop-tests): Add strncat.
61281         * string/test-strncat.c: New file.
61283 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61285         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61287 2011-06-21  Andreas Jaeger  <aj@suse.de>
61289         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61290         Copy rule from iconvdata/Makefile.
61292 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61294         [BZ #12922]
61295         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61296         but no long options are defined, just return 'W'.
61298 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61300         [BZ #9696]
61301         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61303 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61305         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61306         netgroups to read.
61307         (innetgr): Likewise.
61309 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61311         * config.make.in (install_root): Default to $(DESTDIR).
61313 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61315         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61317 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61319         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61321         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61322         containing directory rather than embedding absolute directory names.
61324         * scripts/check-local-headers.sh: Rewritten using awk.
61325         Match by word, not by line.  Print error messages for matches.
61326         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61328         * Makerules [shlib-lds-flags empty]:
61329         ($(common-objpfx)libc_pic.opts): New target.
61330         ($(common-objpfx)libc_pic.os.clean): New target.
61331         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61333         * config.make.in (OBJCOPY): New variable.
61334         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61335         * configure: Regenerated.
61337         * config.make.in (use-default-link): New variable.
61338         * configure.in (use_default_link): Grok --with-default-link to set it.
61339         * configure: Regenerated.
61340         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61341         (shlib-lds, shlib-lds-flags): Define to empty.
61343         * Makerules (shlib-lds): New variable.
61344         (shlib-lds-flags): New variable.
61345         (build-shlib, build-moduile, build-module-asneeded): Use it.
61346         ($(common-objpfx)libc.so): Use $(shlib-lds).
61347         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61348         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61350         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61351         DT_FLAGS/DT_FLAGS_1 with zero flags.
61353         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61354         linker script munging.
61356 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61358         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61359         as 128-bit value.
61360         * crypt/sha512.c (sha512_process_block): Perform total addition using
61361         128-bit if possible.
61362         (__sha512_finish_ctx): Likewise.
61363         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61364         as 64-bit value.
61365         * crypt/sha256.c (SWAP64): Define.
61366         (sha256_process_block): Perform total addition using 64-bit if
61367         possible.
61368         (__sha256_finish_ctx): Likewise.
61370 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61372         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61373         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61374         * nscd/hstcache.c (cache_addhst): Likewise.
61375         * nscd/grpcache.c (cache_addgr): Likewise.
61376         * nscd/aicache.c (addhstaiX): Likewise
61377         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61379 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61381         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61382         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61383         * nscd/hstcache.c (cache_addhst): Likewise.
61384         * nscd/grpcache.c (cache_addgr): Likewise.
61385         * nscd/aicache.c (addhstaiX): Likewise
61387 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61389         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61390         domain only when needed.
61392 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61395         is always restored.
61397 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61399         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61400         are re-adding the entry.
61401         * nscd/servicescache.c (cache_addserv): Likewise.
61403 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61405         * sysdeps/generic/dl-irel.h: fix protection against multiple
61406         inclusions.
61407         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61409 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61411         [BZ #12935]
61412         * malloc/memusage.sh: Fix quoting in message.
61413         * debug/xtrace.sh: Likewise.
61415         * configure.in: Remove support for --experimental-malloc option, make
61416         it the default.
61417         * config.make.in: Likewise.
61418         * malloc/Makefile: Likewise.
61420 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61422         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61423         two-byte characters.
61425 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61427         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61428         AC_CACHE_CHECK invocation.
61429         * configure: Regenerated.
61431         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61433 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61435         [BZ #12350]
61436         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61437         bit from old_res_options.
61439         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61441         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61442         value type for setfct.
61444 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61446         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61447         __gettimeofday instead of gettimeofday.
61449 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61451         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61453 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61455         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61457         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61458         info.
61460 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61463         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61464         strcpy-sse2-unaligned strncpy-sse2-unaligned
61465         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61466         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61467         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61468         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61469         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61470         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61471         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61472         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61473         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61474         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61475         (STRCPY): Support SSE2 and SSSE3 versions.
61477 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61479         [BZ #12874]
61480         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61481         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61482         kernels which artificially limit size of requests.
61484 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61487         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61488         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61489         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61490         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61491         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61492         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61493         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61496         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61497         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61498         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61499         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61500         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61502         Enable unaligned load optimization for Intel Core i3, i5 and i7
61503         processors.
61504         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61505         Define.
61506         (index_Fast_Unaligned_Load): Define.
61507         (HAS_FAST_UNALIGNED_LOAD): Define.
61509 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61511         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61513 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61515         [BZ #12907]
61516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61517         until it is clear that the information is realy needed.
61518         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61520 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61524 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61527         /sys/devices/system/cpu/online if it is usable.
61529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61530         reading the information from the /proc filesystem to once a second.
61532 2011-06-21  Andreas Jaeger  <aj@suse.de>
61534         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61535         NULL after inclusion of kernel headers.
61537 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61539         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61540         calls to internal_setent.
61542         [BZ #12885]
61543         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61544         addresses using gethostbyname4_r ignore IPv4 addresses.
61546         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61547         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61549         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61551 2011-06-20  David S. Miller  <davem@davemloft.net>
61553         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61554         inclusions.
61555         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61557         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61558         (elf_irel): Use it.
61559         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61560         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61561         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61562         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61563         * sysdeps/x86_64/dl-irel.h: Likewise.
61565         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61566         * elf/dl-sym.c: Likewise.
61568 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61570         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61571         need to dereference resplen2.
61573 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61575         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61577 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61579         * Makeconfig: Define vardbdir and inst_vardbdir.
61580         * nss/Makefile: Add rules to install db-Makefile.
61582         * nss/nss_db/db-XXX.c: Cleanup.
61584         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61585         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61586         GLIBC_PRIVATE.
61587         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61588         * nss/makedb.c: Implement -g option to specify that value strings
61589         are generated and should not be added to table iterated over for
61590         get*ent calls.
61591         * nss/nss_db/db-initgroups.c: New file.
61593         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61594         interface.
61596         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61597         (internal_getgrouplist): Adjust to name change.
61598         Update use_initgroups_entry if this is not the first call.
61599         * nss/databases.def: Add initgroups entry.
61601         * nss/makedb.c (compute_tables): Check result of multiple hash table
61602         sizes to minimize maximum chain length.
61604 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61606         * Versions.def: Add entry for libnss_db.
61607         * shlib-versions: Likewise.
61608         * nss/Makefile: Add rules to build libnss_db.
61609         * nss/Versions: Add libnss_db information.  Organize libnss_files
61610         entries better.
61611         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61612         makedb progra.  Some minor improvements to generate smaller files.
61613         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61614         here from...
61615         * nss/makedb.c: ...here.
61616         Improve database format to be smaller and require less memory at
61617         runtime.
61618         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61619         db anymore.
61620         * nss/nss_db/db-netgrp.c: Likewise.
61621         * nss/nss_db/db-open.c: Likewise.
61622         * nss/nss_files/flies-XXX.x: Adjust comments.
61623         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61624         * nss/nss_files/files-grp.c: Likewise.
61625         * nss/nss_files/files-hosts.c: Likewise.
61626         * nss/nss_files/files-network.c: Likewise.
61627         * nss/nss_files/files-proto.c: Likewise.
61628         * nss/nss_files/files-pwd.c: Likewise.
61629         * nss/nss_files/files-rpc.c: Likewise.
61630         * nss/nss_files/files-service.c: Likewise.
61631         * nss/nss_files/files-sgrp.c: Likewise.
61632         * nss/nss_files/files-spwd.c: Likewise.
61633         * nss/nss_db/db-alias.c: Removed.
61634         * nss/nss_db/dummy-db.h: Removed.
61636 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61638         * nss/makedb.c: Rewritten to not use database library.
61639         * nss/Makefile: Update to build new makedb program.
61641 2011-06-14  Andreas Jaeger  <aj@suse.de>
61643         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61644         memset declaration.
61646 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61649         tmpbuf.
61651 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61653         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61654         * elf/Makefile ($(objpfx)ld.so): Likewise.
61656         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61657         Don't list ld.so twice in dependencies.
61659         * posix/bug-regex31.c: Include <stdlib.h>.
61661         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61663         * nis/nss_compat/compat-spwd.c
61664         (getspent_next_nss_netgr): Remove unused variable.
61665         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61667         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61668         nonmembers" output to use the right array.
61670         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61672         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61674         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61675         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61676         * catgets/gencat.c (read_input_file): Likewise.
61677         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61679         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61680         variable definition inside #if's controlling its use.
61682         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61684         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61686         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61688         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61689         unreachable code.
61691         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61693         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61694         * configure: Regenerated.
61696         * Makerules: Revert last change.
61697         * elf/Makefile: Likewise.
61699 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61701         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61702         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61703         (reloc-link): Likewise.
61705 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61707         * elf/Makefile: Add rules to build pldd.
61708         * elf/pldd.c: New file.
61709         * elf/pldd-xx.c: New file.
61711 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61713         * version.h: Update for 2.15 development version.
61715 2011-06-07  David S. Miller  <davem@davemloft.net>
61717         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61718         ifuncs.
61719         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61720         elf_machine_lazy_rel): Likewise.
61721         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61722         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61723         elf_machine_lazy_rel): Likewise.
61724         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61725         dl_hwcap via passed in argument.
61726         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61727         Likewise.
61729 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61731         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61733 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61735         [BZ #12849]
61736         * manual/fdl-1.1.texi: New file, verbatim from:
61737         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61738         * manual/lgpl-2.1.texi: New file, verbatim from:
61739         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61740         * manual/Makefile (licenses): New variable, list those new file names.
61741         (texis): Use it.
61742         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61744         * manual/fdl.texi: File removed.
61745         * manual/lesser.texi: File removed.
61746         * manual/libc.texinfo (Copying, Documentation License):
61747         Use new @include file names, put @appendix directive before @include.
61749 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61751         [BZ #12841]
61752         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61753         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61754         (mq_open): Add __NTH.
61756 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61759         Assume Intel Core i3/i5/i7 processor if AVX is available.
61761 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61764         typo.
61766 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61768         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61769         memory.  Use alloca_account.  Fix memory leak when retrying.
61771 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61773         * version.h (RELEASE): Bump for 2.14 release.
61774         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61776         * config.make.in (RANLIB): Remove entry.
61778 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61780         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61781         (libc.pot): Work around missing support for .ksh extension in xgettext.
61783         [BZ #12684]
61784         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61785         if both request failed.
61786         (send_dg): In case of server errors clear resplen or *resplen2.
61788         [BZ #12454]
61789         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61790         when there are multiple maps.
61791         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61792         (_dl_fini): Remove test here.
61794         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61796 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61798         [BZ #12350]
61799         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61800         bit from old_res_options.
61801         (gaih_inet): Likewise.
61803         [BZ #11099]
61804         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61805         as signed.
61807         * resolv/res_init.c (res_setoptions): Make the code more compact.
61809         [BZ #11558]
61810         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61811         set RES_USEVC.
61813         [BZ #11634]
61814         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61816         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61818         [BZ #11781]
61819         * malloc/malloc.h: Declare malloc hook variables as volatile.
61821         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61822         in last patch.
61824         [BZ #11799]
61825         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61826         raise in the comment.
61827         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61828         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61829         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61831 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61833         [BZ #12811]
61834         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61835         grow the buffers more if it already has to be sufficient.
61836         (build_wcs_upper_buffer): Likewise.
61837         * posix/regexec.c (check_matching): Likewise.
61838         (clean_state_log_if_needed): Likewise.
61839         (extend_buffers): Don't enlarge buffers beyond size of the input
61840         buffer.
61841         Patches mostly by Emil Wojak <emil@wojak.eu>.
61842         * posix/bug-regex32.c: New file.
61843         * posix/Makefile (tests): Add bug-regex32.
61845         * locale/findlocale.c (_nl_find_locale): Return right away if
61846         _nl_explode_name failed.
61847         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61849         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61851         * debug/xtrace.sh: Unify messages.
61852         * malloc/memusage.sh: Likewise.
61854         [BZ #12813]
61855         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61856         time symbol from vDSO.  Substitute with vsyscall if not available.
61857         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61858         __vdso_time.
61860         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61861         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61862         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61863         Add sendmmsg and internal_sendmmsg.
61864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61865         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61866         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61868         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61869         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61870         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61872 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61874         [BZ #12813]
61875         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61876         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61877         available.
61878         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61879         __vdso_getcpu.
61881         [BZ #12814]
61882         * iconvdata/Makefile (tests): Add bug-iconv9.
61883         * iconvdata/bug-iconv9.c: New file.
61885 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61887         [BZ #12814]
61888         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61890 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61892         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61893         (struct user_regs_struct): Change intcs field back to cs.
61895 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61897         * po/ja.po: Update from translation team.
61899 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61901         [BZ #12795]
61902         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61903         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61905 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61907         * stdlib/longlong.h: Update from GCC.
61909 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61911         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61912         parameter name.
61913         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61914         Add parameter name.
61915         (__sysconf): Pass it down.
61917 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61919         [BZ #12671]
61920         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61921         some situations.
61922         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61923         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61924         add in in __libc_use_alloca calls.  Adjust callers.
61925         (glob): Use malloc in some situations.
61927         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61928         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61929         pltexit.
61931 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61933         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61934         and CLOCK_BOOTTIME_ALARM.
61936         [BZ #12782]
61937         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61938         is returned.
61940         * string/_strerror.c (__strerror_r): Print negative errors as signed
61941         numbers.
61943         [BZ #12777]
61944         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61945         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61946         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61948         * configure.in: Fix typo in redirection and correct removal of test
61949         files in two cases.
61951         [BZ #12788]
61952         * locale/setlocale.c (new_composite_name): Fix test to check for
61953         identical name of all categories.
61955         [BZ #12792]
61956         * libio/filedoalloc.c (local_isatty): New function.
61957         (_IO_file_doallocate): Use local_isatty.
61958         * stdio-common/perror.c (perror): In case a new stream is used
61959         forward the stream error.
61960         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61961         error flag.
61963 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61965         [BZ #11869]
61966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61967         alloca.
61968         * include/alloca.h (extend_alloca_account): Define.
61970         [BZ #11857]
61971         * posix/regex.h: Fix comments with documentation of user-accessible
61972         fields after compilation and describe correct free'ing of pattern
61973         after re_compile_pattern.
61974         Patch by Reuben Thomas <rrt@sc3d.org>.
61976 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61978         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61979         and -mno-altivec to prevent the compiler from using Altivec and/or
61980         VSX instructions when the corresponding registers are not available.
61982 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61984         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61986 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61988         * libio/freopen.c (freopen): Use __dup2, not dup2.
61989         * libio/freopen64.c (freopen64): Likewise.
61991 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61993         [BZ #12775]
61994         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61995         * math/Makefile (tests): Add test-powl.
61996         (CFLAGS-test-powl.c): Define.
61997         * math/test-powl.c: New file.
61999 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62001         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62003 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
62005         [BZ #11837]
62006         * iconvdata/gb18030.c: Update to GB18020-2005.
62008 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
62010         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62011         RE_SYNTAX_POSIX_AWK): Update to match recent development.
62012         Patch by Aharon Robbins <arnold@skeeve.com>.
62014         [BZ #11892]
62015         * stdlib/putenv.c (putenv): Don't always create copy of the variable
62016         on the stack.
62018         [BZ #11895]
62019         * misc/pselect.c (__pselect): Handle timeout value errors hidden
62020         through underflows.
62022         [BZ #12766]
62023         * misc/error.c (error_at_line): Ensure file_name and old_file_name
62024         point to strings before performing equality test for error_one_per_line
62025         mode.
62027         [BZ #11697]
62028         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62030         [BZ #11820]
62031         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62032         (struct user_fpregs_struct): Avoid __uint*_t types.
62034         [BZ #6420]
62035         * malloc/mtrace.c (tr_where): Add additional parameter to point to
62036         symbol info.  Use it instead of calling _dl_addr locally.
62037         (lock_and_info): New function.
62038         (tr_freehook): Call lock_and_info and pass symbol info as additional
62039         parameter to tr_where.
62040         (tr_mallochook): Likewise.
62041         (tr_reallochook): Likewise.
62042         (tr_memalignhook): Likewise.
62044         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
62045         used and couldn't be at all thread-safe.
62047 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
62049         * libio/freopen.c (freopen): Don't close old file descriptor
62050         before the new one is opened.  Instead dup the new file descriptor
62051         to the old one after the new stream is created.
62052         * libio/freopen64.c (freopen64): Likewise.
62053         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62054         * libio/fileops.c (_IO_new_file_close_it): Handle new
62055         _IO_FLAGS2_NOCLOSE flag.
62056         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62057         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62058         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62059         _IO_FLAGS2_NOCLOSE flag.
62060         * include/unistd.h: Add hidden_proto for dup3.
62061         Define __have_dup3.
62062         * io/dup3.c: Define hidden symbol.
62063         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62065         [BZ #7101]
62066         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62067         when an incomplete long option is used.
62068         * posix/tst-getopt_long1.c: New file.
62069         * posix/Makefile (tests): Add tst-getopt_long1.
62071         [BZ #10138]
62072         * scripts/config.guess: Update from autoconf-2.68.
62073         * scripts/config.sub: Likewise.
62075         [BZ #10157]
62076         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62077         tests into ...
62078         (has_cpuclock): ...this.  New function.
62079         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62080         macro here based on has_cpuclock code.
62082         [BZ #10149]
62083         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62084         First byte (not low byte) is now always NUL.
62085         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62087         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62088         Use non-cancelable interfaces.
62090         [BZ #9809]
62091         * locale/iso-639.def: Add entry for Sorani.
62093         [BZ #11901]
62094         * include/stdlib.h: Move include protection to the right place.
62095         Define abort_msg_s.  Declare __abort_msg with it.
62096         * stdlib/abort.c (__abort_msg): Adjust type.
62097         * assert/assert.c (__assert_fail_base): New function.  Majority
62098         of code from __assert_fail.  Allocate memory for __abort_msg with
62099         mmap.
62100         (__assert_fail): Now call __assert_fail_base.
62101         * assert/assert-perr.c: Remove bulk of implementation.  Use
62102         __assert_fail_base.
62103         * include/assert.hL Declare __assert_fail_base.
62104         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62105         mmap.
62106         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62108 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62110         [BZ #11952]
62111         [BZ #12453]
62112         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62113         until all modules are registered in the DTV.
62114         * elf/Makefile: Add rules to build and run tst-tls19.
62115         * elf/tst-tls19.c: New file.
62116         * elf/tst-tls19mod1.c: New file.
62117         * elf/tst-tls19mod2.c: New file.
62118         * elf/tst-tls19mod3.c: New file.
62119         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62121         [BZ #12083]
62122         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62123         correctly.
62125         [BZ #12601]
62126         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62127         two-byte sequence errors.
62128         * iconvdata/Makefile (tests): Add bug-iconv8.
62129         * iconvdata/bug-iconv8.c: New file.
62131         [BZ #12626]
62132         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62133         buf2 definition.
62135         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62137         [BZ #12432]
62138         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62139         (dummy_getcfa): New function.
62140         (init): Get _Unwind_GetCFA address, use dummy if not found.
62141         (backtrace_helper): In recursion check, also check whether CFA changes.
62142         (__backtrace): Completely initialize arg.
62144         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62145         storing incomplete byte sequence in state object.  Avoid testing for
62146         guaranteed too small input if we know there is enough data available.
62148 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62150         * Makeconfig (+link-pie): Indent.
62151         * Rules (binaries-pie): Define if $(have-fpie) and
62152         $(build-shared).
62153         (binaries-shared): Also filter out $(binaries-pie).
62154         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62155         * nscd/Makefile (others-pie): Add nscd.
62156         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62157         ($(objpfx)nscd): Remove command override.
62158         * login/Makefile (others-pie): Add pt_chown.
62159         ($(objpfx)pt_chown): Remove command override.
62160         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62161         remove command overrides.
62163 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62165         * libio/tst_putwc.c: Fix error messages.
62167         [BZ #12724]
62168         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62169         currently writing and seek to current position when not.
62170         * libio/Makefile (tests): Add bug-fclose1.
62171         * libio/bug-fclose1.c: New file.
62173 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62175         [BZ #12511]
62176         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62177         don't set DF_1_NODELETE here.
62178         (do_lookup_x): When entering new entry test for copy relocation
62179         and if necessary set DF_1_NODELETE flag.
62180         * elf/tst-unique4.cc: New file.
62181         * elf/tst-unique4.h: New file.
62182         * elf/tst-unique4lib.cc: New file.
62183         * elf/Makefile: Add rules to build and run tst-unique4.
62184         Patch by Piotr Bury <pbury@goahead.com>.
62186 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62188         [BZ #12052]
62189         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62191         [BZ #12625]
62192         * misc/mntent_r.c (addmntent): Flush the stream after the output
62194         [BZ #12393]
62195         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62196         (is_trusted_path_normalize): Skip initial colon.  Append slash
62197         to empty buffer.  Duplicate is_trusted_path code but allow
62198         constructed patch to be prefix.
62199         (is_dst): Allow $ORIGIN followed by /.
62200         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62201         Correct testing of result of is_trusted_path_normalize
62202         (decompose_rpath): Fix warning.
62204 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62206         [BZ #11257]
62207         * grp/initgroups.c (internal_getgrouplist): When we found the service
62208         list through the initgroups entry in nsswitch.conf do not always
62209         continue on a successful lookup.  Don't always use the
62210         __nss_group_database value if it is set.
62211         * nss/nsswitch.conf (initgroups): Change action for successful db
62212         lookup to continue for compatibility.
62214 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62216         [BZ #11532]
62217         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62218         and CP774 modules.
62219         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62220         and CP774 modules.
62221         * iconvdata/tst-tables.sh: Likewise.
62222         * iconvdata/cp770.c: New file.
62223         * iconvdata/cp771.c: New file.
62224         * iconvdata/cp772.c: New file.
62225         * iconvdata/cp773.c: New file.
62226         * iconvdata/cp774.c: New file.
62227         * iconvdata/testdata/CP770: New file.
62228         * iconvdata/testdata/CP770..UTF8: New file.
62229         * iconvdata/testdata/CP771: New file.
62230         * iconvdata/testdata/CP771..UTF8: New file.
62231         * iconvdata/testdata/CP772: New file.
62232         * iconvdata/testdata/CP772..UTF8: New file.
62233         * iconvdata/testdata/CP773: New file.
62234         * iconvdata/testdata/CP773..UTF8: New file.
62235         * iconvdata/testdata/CP774: New file.
62236         * iconvdata/testdata/CP774..UTF8: New file.
62238         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62239         END CHARMAP line.
62240         * iconvdata/gen-8bit-gap.sh: Likewise.
62241         * iconvdata/gen-8bit.sh: Likewise.
62243         * locale/iso-639.def: Add ary entry.
62245         [BZ #11258]
62246         * locale/C-translit.h.in: Add U20A1 transliteration.
62248         [BZ #12178]
62249         * locale/iso-639.def: Add wae entry.
62250         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62252         [BZ #12545]
62253         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62254         for n.
62256         [BZ #12711]
62257         * locale/C-translit.h.in: Add entry for U20B9.
62258         Patch by pravin.d.s@gmail.com.
62260 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62262         [BZ #12713]
62263         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62264         ENAMETOOLONG use generic getcwd.
62265         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62266         in rtld.  Use *stat64.
62267         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62268         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62269         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62270         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62271         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62272         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62273         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62274         __fstatat64 macros.
62275         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62276         * dirent/rewinddir.c: Add libc_hidden_def.
62277         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62278         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62280         * include/dirent.h (__alloc_dir): Add flags parameter.
62281         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62282         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62283         __alloc_dir.
62284         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62285         from fdopendir if O_CLOEXEC is already set.
62287 2011-03-15  Alan Modra  <amodra@gmail.com>
62289         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62290         l_tls_firstbyte_offset non-zero.  Save padding offset in
62291         l_tls_firstbyte_offset for later use.
62292         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62293         freeing static tls block.
62295 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62297         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62298         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62299         being defined by the kernel headers.
62301 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62303         [BZ #12734]
62304         * resolv/resolv.h: Define RES_NOTLDQUERY.
62305         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62306         no-tld-query and set RES_NOTLDQUERY.
62307         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62308         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62309         modern BIND to search name as TLD unless forbidden.
62311 2011-05-07  Petr Baudis  <pasky@suse.cz>
62312             Ulrich Drepper  <drepper@gmail.com>
62314         [BZ #12393]
62315         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62316         (is_trusted_path): ...to here.
62317         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62318         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62319         using is_trusted_path_normalize() in setuid scripts.
62321 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62323         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62324         __BEGIN/__END_DECLS.
62326 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62328         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62329         NSS_STATUS_NOTFOUND if no record was found.
62331 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62333         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62334         (headers-not-in-tirpc): Remove rpc/netdb.h
62335         * resolv/netdb.h: Revert last change.
62337 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62339         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62340         circular dependency between libgcc.a and libc.a.
62342 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62344         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62345         * nis/Makefile: Don't install rpcsvc/*.
62346         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62347         instead of <rpc/types.h>.
62348         (MAXHOSTNAMELEN): Define.
62350 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62352         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62354 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62356         [BZ #12714]
62357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62358         gethostbyname4_r when IPv6 results are possible.
62360 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62362         [BZ #12723]
62363         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62364         _PC_PIPE_BUF handling.
62366 2011-04-30  Bruno Haible  <bruno@clisp.org>
62368         [BZ #12717]
62369         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62370         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62371         to 'int'.
62372         * inet/getnameinfo.c (getnameinfo): Likewise.
62374 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62376         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62377         to groups setting in database lookup.
62378         * nss/nsswitch.conf: Add initgroups entry.
62380 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62382         [BZ #12685]
62383         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62384         mode string.
62385         Patch by Eric Blake <eblake@redhat.com>.
62387 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62389         * sunrpc/Makefile (need-export-routines): Add svc_run.
62390         (routines): Remove svc_run.
62391         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62392         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62393         * sunrpc/svc_run.c (svc_run): Likewise.
62394         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62396 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62398         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62399         problem in reallocation in last patch.
62401 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62403         * sunrpc/Makefile: Move inclusion of Rules.
62405 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62407         * nss/nss_files/files-initgroups.c: New file.
62408         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62409         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62410         _nss_files_initgroups_dyn.
62412 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62414         * elf/elf.h (R_ARM_IRELATIVE): Define.
62416 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62418         * po/ru.po: Update from translation team.
62420 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62422         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62423         dependencies.
62425 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62427         [BZ #12653]
62428         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62429         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62431         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62432         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62434 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62436         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62437         differing bytes.
62438         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62439         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62440         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62442 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62444         [BZ #12420]
62445         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62446         storing it.
62447         * stdlib/bug-getcontext.c: New file.
62448         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62450 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62452         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62453         instructions into .machine "z9-109".
62454         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62455         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62457 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62459         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62460         between environment variables and auxiliary vector.
62462 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62464         * Makefile: Add rules to build linkobj/libc.so.
62465         * include/libc-symbols.h: Define libc_hidden_nolink.
62466         * include/rpc/auth.h: Mark functions which are to be hidden.
62467         * include/rpc/auth_des.h: Likewise.
62468         * include/rpc/auth_unix.h: Likewise.
62469         * include/rpc/clnt.h: Likewise.
62470         * include/rpc/des_crypt.h: Likewise.
62471         * include/rpc/key_prot.h: Likewise.
62472         * include/rpc/pmap_clnt.h: Likewise.
62473         * include/rpc/pmap_prot.h: Likewise.
62474         * include/rpc/pmap_rmt.h: Likewise.
62475         * include/rpc/rpc_msg.h: Likewise.
62476         * include/rpc/svc.h: Likewise.
62477         * include/rpc/svc_auth.h: Likewise.
62478         * include/rpc/xdr.h: Likewise.
62479         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62480         * nss/Makefile: Likewise.
62481         * sunrpc/Makefile: Don't install headers.  Build library with normal
62482         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62483         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62484         for the compat linking library.  Remove use of INTDEF/INTUSE.
62485         * sunrpc/auth_none.c: Likewise.
62486         * sunrpc/auth_unix.c: Likewise.
62487         * sunrpc/authdes_prot.c: Likewise.
62488         * sunrpc/authuxprot.c: Likewise.
62489         * sunrpc/clnt_gen.c: Likewise.
62490         * sunrpc/clnt_perr.c: Likewise.
62491         * sunrpc/clnt_raw.c: Likewise.
62492         * sunrpc/clnt_simp.c: Likewise.
62493         * sunrpc/clnt_tcp.c: Likewise.
62494         * sunrpc/clnt_udp.c: Likewise.
62495         * sunrpc/clnt_unix.c: Likewise.
62496         * sunrpc/des_crypt.c: Likewise.
62497         * sunrpc/des_soft.c: Likewise.
62498         * sunrpc/get_myaddr.c: Likewise.
62499         * sunrpc/key_call.c: Likewise.
62500         * sunrpc/key_prot.c: Likewise.
62501         * sunrpc/netname.c: Likewise.
62502         * sunrpc/pm_getmaps.c: Likewise.
62503         * sunrpc/pm_getport.c: Likewise.
62504         * sunrpc/pmap_clnt.c: Likewise.
62505         * sunrpc/pmap_prot.c: Likewise.
62506         * sunrpc/pmap_prot2.c: Likewise.
62507         * sunrpc/pmap_rmt.c: Likewise.
62508         * sunrpc/publickey.c: Likewise.
62509         * sunrpc/rpc_cmsg.c: Likewise.
62510         * sunrpc/rpc_common.c: Likewise.
62511         * sunrpc/rpc_dtable.c: Likewise.
62512         * sunrpc/rpc_prot.c: Likewise.
62513         * sunrpc/rpc_thread.c: Likewise.
62514         * sunrpc/rtime.c: Likewise.
62515         * sunrpc/svc.c: Likewise.
62516         * sunrpc/svc_auth.c: Likewise.
62517         * sunrpc/svc_authux.c: Likewise.
62518         * sunrpc/svc_raw.c: Likewise.
62519         * sunrpc/svc_run.c: Likewise.
62520         * sunrpc/svc_simple.c: Likewise.
62521         * sunrpc/svc_tcp.c: Likewise.
62522         * sunrpc/svc_udp.c: Likewise.
62523         * sunrpc/svc_unix.c: Likewise.
62524         * sunrpc/svcauth_des.c: Likewise.
62525         * sunrpc/xcrypt.c: Likewise.
62526         * sunrpc/xdr.c: Likewise.
62527         * sunrpc/xdr_array.c: Likewise.
62528         * sunrpc/xdr_float.c: Likewise.
62529         * sunrpc/xdr_intXX_t.c: Likewise.
62530         * sunrpc/xdr_mem.c: Likewise.
62531         * sunrpc/xdr_rec.c: Likewise.
62532         * sunrpc/xdr_ref.c: Likewise.
62533         * sunrpc/xdr_sizeof.c: Likewise.
62534         * sunrpc/xdr_stdio.c: Likewise.
62536 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62538         [BZ #12650]
62539         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62540         * sysdeps/ia64/dl-tls.h: Likewise.
62541         * sysdeps/powerpc/dl-tls.h: Likewise.
62542         * sysdeps/s390/dl-tls.h: Likewise.
62543         * sysdeps/sh/dl-tls.h: Likewise.
62544         * sysdeps/sparc/dl-tls.h: Likewise.
62545         * sysdeps/x86_64/dl-tls.h: Likewise.
62546         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62548 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62550         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62551         rpath element also skip the following colon.
62552         (expand_dynamic_string_token): Add is_path parameter and pass
62553         down to DL_DST_REQUIRED and _dl_dst_substitute.
62554         (decompose_rpath): Call expand_dynamic_string_token with
62555         non-zero is_path.  Ignore empty rpaths.
62556         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62557         with zero is_path.
62559 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62562         Make cancelable.
62564 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62566         [BZ #12655]
62567         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62568         Patch by Filipe David Manana <fdmanana@apache.org>.
62570 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62572         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62573         Maintain aligned stack.
62574         (CHECK_RSP): Remove unused macro.
62576 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62578         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62579         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62581 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62583         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62585         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62587 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62589         [BZ #12518]
62590         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62591         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62592         * sysdeps/x86_64/memmove.c: New file.
62593         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62594         (memcpy): Renamed to ...
62595         (__new_memcpy): This.
62596         (memcpy): Provide GLIBC_2_14 memcpy.
62597         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62598         (memcpy): Provide GLIBC_2_2_5 memcpy.
62600 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62602         [BZ #12631]
62603         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62605 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62607         * misc/syncfs.c: New file.
62608         * misc/Makefile (routines): Add syncfs.
62609         * posix/unistd.h: Declare syncfs.
62610         * sysdeps/unix/syscalls.list: Add syncfs.
62612 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62614         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62615         open_by_handle_at.
62616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62617         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62618         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62619         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62620         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62621         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62622         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62624 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62626         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62627         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62628         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62632         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62634         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62635         sync_file_range.c with -fexceptions.
62636         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62637         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62638         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62639         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62640         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62641         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62643         sync_file_range as cancellation point
62644         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62645         now a wrapper around __call_sync_file_range with cancellation handling.
62646         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62647         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62648         function name to __call_sync_file_range.
62649         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62650         Add call_sync_file_range.
62652 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62655         bits/timex.h.
62657 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62659         * iconv/iconv.h: Fix typo in comment.
62660         * io/fcntl.h: Likewise.
62661         * libio/stdio.h: Likewise.
62662         * posix/spawn.h: Likewise.
62663         * posix/unistd.h: Likewise.
62664         * stdlib/stdlib.h: Likewise.
62665         * time/time.h: Likewise.
62666         * wcsmbs/wchar.h: Likewise.
62668         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62669         open_by_handle): Add.
62670         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62671         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62672         Augment a few comments.
62673         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62674         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62675         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62677         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62678         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62679         open_by_handle.
62681         * io/fcntl.h (AT_EMPTY_PATH): Define.
62683 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62685         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62686         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62687         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62688         to...
62689         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62690         * Versions.def: Add GLIBC_2.14.
62691         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62692         Export.
62694 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62696         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62697         round counter.
62698         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62700 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62702         [BZ #12597]
62703         * string/test-strncmp.c (do_page_test): New function.
62704         (check2): Likewise.
62705         (test_main): Call check2.
62706         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62708 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62710         [BZ #12587]
62711         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62712         Handle cache information in CPU leaf 4.
62713         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62715 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62717         [BZ #12583]
62718         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62719         character representation.
62720         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62722 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62724         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62725         END(__isnan) to END(__isnanf) to match function entry point/label
62726         EALIGN(__isnanf,...).
62728 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62730         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62732 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62734         [BZ #12510]
62735         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62736         copy from the symbol referenced in the relocation to initialize the
62737         used variable.
62738         Patch by Piotr Bury <pbury@goahead.com>.
62739         * elf/Makefile: Add rules to build and tst-unique3.
62740         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62741         * elf/tst-unique3.cc: New file.
62742         * elf/tst-unique3.h: New file.
62743         * elf/tst-unique3lib.cc: New file.
62744         * elf/tst-unique3lib2.cc: New file.
62746         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62748 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62750         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62751         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62752         to _start.
62754 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62756         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62757         to-be-loaded object along a path to loader is ld.so.
62759 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62760             Ulrich Drepper  <drepper@gmail.com>
62762         * sysdeps/x86_64/memset.S: After aligning destination, code
62763         branches to different locations depending on the value of
62764         misalignment, when multiarch is enabled. Fix this.
62766 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62768         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62769         Set _x86_64_preferred_memory_instruction for AMD processsors.
62770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62771         Set bit_Prefer_SSE_for_memop for AMD processors.
62773 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62775         * libio/fmemopen.c (fmemopen): Optimize a bit.
62777 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62779         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62781 2011-03-03  Roland McGrath  <roland@redhat.com>
62783         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62785 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62787         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62788         __bzero_ultra1 instead of __memset_ultra1.
62790 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62791             Ulrich Drepper  <drepper@gmail.com>
62793         [BZ #12509]
62794         * include/link.h (struct link_map): Add l_orig_initfini.
62795         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62796         returning unsuccessfully.
62797         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62798         close of a file loaded at startup, restore the original l_initfini
62799         list.
62800         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62801         list, store the pointer.
62802         * elf/Makefile ($(objpfx)noload-mem): New rule.
62803         (noload-ENV): Define.
62804         (tests): Add $(objpfx)noload-mem.
62805         * elf/noload.c: Include <memcheck.h>.
62806         (main): Call mtrace.  Close all opened handles.
62808 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62810         [BZ #12454]
62811         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62812         dependencies are missing.
62814 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62816         Fix __if_freereq crash: Unlike the generic version which uses free,
62817         Hurd needs munmap.
62818         * sysdeps/mach/hurd/ifreq.h: New file.
62820 2011-01-27  Petr Baudis  <pasky@suse.cz>
62821             Ulrich Drepper  <drepper@gmail.com>
62823         [BZ 12445]#
62824         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62825         to extend_alloca().
62826         * stdio-common/bug23.c: New file.
62827         * stdio-common/Makefile (tests): Add bug23.
62829 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62830             Ulrich Drepper  <drepper@gmail.com>
62832         [BZ #12489]
62833         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62834         before performing relro protection.  At old place add assertion
62835         to make sure nothing changed.
62837 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62838             Glauber de Oliveira Costa  <glommer@gmail.com>
62840         * elf/elf.h: Add new ARM TLS relocs.
62842 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62845         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62846         cast from r3.
62847         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62848         'tests' variable.
62849         * sysdeps/wordsize-64/tst-writev.c: New file.
62851 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62853         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62854         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62855         insns in _dl_start to prevent a TOC reference before relocs are
62856         resolved.
62858 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62860         [BZ #12469]
62861         * Makeconfig: Remove RANLIB definition.
62862         * Makerules: Don't use RANLIB.
62863         * aclocal.m4: Remove ranlib test.
62864         * configure.in: No need to check for ranlib.
62865         * elf/rtld-Rules: Don't use RANLIB.
62867 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62869         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62870         protection macro.
62871         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62872         inclusion protection macro.
62874         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62875         SIGRTMIN and SIGRTMAX and print information in that case only when
62876         SIGRTMIN is defined.
62878 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62880         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62881         arginfo fn returning -1.
62883         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62884         and thousands string is zero terminated.
62886 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62889         sysdeps/unix/sysv/linux/bits/socket.h.
62891 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62893         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62894         (__CPU_COUNT): Remove old macros.
62895         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62896         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62897         (__CPU_ALLOC, __CPU_FREE): Add macros.
62898         (__sched_cpualloc, __sched_cpufree): Add declarations.
62900 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62902         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62903         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62904         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62905         (readdhstai): Return value of addhstaiX call.
62906         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62907         (addgrbyX): Return value returned by cache_addgr.
62908         (readdgrbyname): Return value returned by addgrbyX.
62909         (readdgrbygid): Likewise.
62910         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62911         (addpwbyX): Return value returned by cache_addpw.
62912         (readdpwbyname): Return value returned by addhstbyX.
62913         (readdpwbyuid): Likewise.
62914         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62915         (addservbyX): Return value returned by cache_addserv.
62916         (readdservbyname): Return value returned by addservbyX:
62917         (readdservbyport): Likewise.
62918         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62919         (addhstbyX): Return value returned by cache_addhst.
62920         (readdhstbyname): Return value returned by addhstbyX.
62921         (readdhstbyaddr): Likewise.
62922         (readdhstbynamev6): Likewise.
62923         (readdhstbyaddrv6): Likewise.
62924         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62925         (readdinitgroups): Return value returned by addinitgroupsX.
62926         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62927         (prune_cache): Keep track of timeout value of re-added entries.
62928         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62929         * nscd/nscd.h: Adjust prototypes of readd* functions.
62931 2011-02-04  Roland McGrath  <roland@redhat.com>
62933         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62934         (nis_stats): Likewise.
62935         * nis/nis_modify.c (nis_modify): Likewise.
62936         * nis/nis_remove.c (nis_remove): Likewise.
62937         * nis/nis_add.c (nis_add): Likewise.
62939         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62941         * posix/fnmatch_loop.c: Add some consts.
62943         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62945 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62947         [BZ #12460]
62948         * config.make.in (config-cflags-novzeroupper): Define.
62949         * configure.in: Substitute libc_cv_cc_novzeroupper.
62950         * elf/Makefile (AVX-CFLAGS): Define.
62951         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62952         (CFLAGS-tst-auditmod4a.c): Likewise.
62953         (CFLAGS-tst-auditmod4b.c): Likewise.
62954         (CFLAGS-tst-auditmod6b.c): Likewise.
62955         (CFLAGS-tst-auditmod6c.c): Likewise.
62956         (CFLAGS-tst-auditmod7b.c): Likewise.
62957         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62959 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62961         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62962         function to the callback.
62963         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62965 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62967         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62968         of errno.
62970 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62972         [BZ #11724]
62973         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62974         of constructors.
62975         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62976         of destructors.
62977         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62979         [BZ #11724]
62980         * elf/Makefile: Add rules to build and run new test.
62981         * elf/tst-initorder.c: New file.
62982         * elf/tst-initorder.exp: New file.
62983         * elf/tst-initordera1.c: New file.
62984         * elf/tst-initordera2.c: New file.
62985         * elf/tst-initordera3.c: New file.
62986         * elf/tst-initordera4.c: New file.
62987         * elf/tst-initorderb1.c: New file.
62988         * elf/tst-initorderb2.c: New file.
62989         * elf/tst-order-a1.c: New file.
62990         * elf/tst-order-a2.c: New file.
62991         * elf/tst-order-a3.c: New file.
62992         * elf/tst-order-a4.c: New file.
62993         * elf/tst-order-b1.c: New file.
62994         * elf/tst-order-b2.c: New file.
62995         * elf/tst-order-main.c: New file.
62996         New test case by George Gensure <werkt0@gmail.com>.
62998 2010-10-01  Andreas Schwab  <schwab@redhat.com>
63000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63001         decoding ACE if AI_CANONIDN.
63003 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
63005         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63007 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
63009         * version.h (RELEASE): Bump for 2.13 release.
63010         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63012         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63014         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63015         MADV_NOHUGEPAGE.
63016         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63017         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63019         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63021         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63023         * posix/getconf.c: Update copyright year.
63024         * catgets/gencat.c: Likewise.
63025         * csu/version.c: Likewise.
63026         * debug/catchsegv.sh: Likewise.
63027         * debug/xtrace.sh: Likewise.
63028         * elf/ldconfig.c: Likewise.
63029         * elf/ldd.bash.in: Likewise.
63030         * elf/sprof.c (print_version): Likewise.
63031         * iconv/iconv_prog.c: Likewise.
63032         * iconv/iconvconfig.c: Likewise.
63033         * locale/programs/locale.c: Likewise.
63034         * locale/programs/localedef.c: Likewise.
63035         * malloc/memusage.sh: Likewise.
63036         * malloc/mtrace.pl: Likewise.
63037         * nscd/nscd.c (print_version): Likewise.
63038         * nss/getent.c: Likewise.
63040         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63041         PF_CAIF, and PF_ALG.
63042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63044 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
63046         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63047         (modules-names): Use them.
63048         (ifunc-test-modules, ifunc-pie-tests): Define.
63049         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63050         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63051         (test-extras): Likewise.
63052         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63053         $(compile-command.c).
63054         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63055         (all-built-dso): Define.
63056         (check-textrel.out, check-execstack.out): Depend on it.
63058         * configure.in: Don't override --enable-multi-arch.
63060 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
63062         [BZ #6812]
63063         * nscd/hstcache.c (tryagain): Define.
63064         (cache_addhst): Return tryagain not notfound for temporary errors.
63065         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63066         failed.
63068 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63070         [BZ #10563]
63071         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63072         to make the syscall.
63073         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63075         [BZ #12378]
63076         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63077         and fall back to matching as normal character if the string ends before
63078         the matching ']' is found.  This is what POSIX requires.
63079         * posix/testfnm.c: Adjust test result.
63080         * posix/globtest.sh: Adjust test result.  Add new test.
63081         * posix/tst-fnmatch.input: Likewise.
63082         * posix/tst-fnmatch2.c: Add new test.
63084 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63086         * elf/Makefile (check-execstack): Revert last change.  Depend on
63087         check-execstack.h.
63088         (check-execstack.h): New target.
63089         (generated): Add check-execstack.h.
63090         * elf/check-execstack.c: Include "check-execstack.h".
63091         (main): Revert last change.
63092         (handle_file): Return zero if GNU_STACK is absent and
63093         DEFAULT_STACK_PERMS doesn't include PF_X.
63095 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63097         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63098         in child fails because the descriptor is already closed.
63099         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63100         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63101         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63103         [BZ #12397]
63104         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63105         syscall.
63107         [BZ #10484]
63108         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63109         temporary buffer used to handle multi lookups locally.
63110         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63112 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63114         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63115         loader is ld.so.
63117 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63119         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63120         alignment for SSE2.
63122 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63124         [BZ #12394]
63125         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63126         characters.  When rounding increased number of integer digits recompute
63127         number of groups.
63128         * stdio-common/tst-grouping.c: New file.
63129         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63131 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63133         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63134         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63136         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63137         void.
63138         * bits/select.h: Likewise.
63140 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63142         * po/ja.po: Update from translation team.
63144 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63146         [BZ #11155]
63147         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63148         implementation just like for lxstat, fxstatat, et al.
63150 2010-12-27  Jim Meyering  <meyering@redhat.com>
63152         [BZ #12348]
63153         * posix/regexec.c (build_trtable): Return failure indication upon
63154         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63156 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63158         [BZ #12201]
63159         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63160         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63161         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63162         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63164         [BZ #12207]
63165         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63167         [BZ #12204]
63168         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63169         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63171 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63173         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63174         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63175         script has SORT_BY_INIT_PRIORITY.
63176         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63177         NO_CTORS_DTORS_SECTIONS is defined.
63178         * elf/soinit.c: Likewise.
63179         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63180         NO_CTORS_DTORS_SECTIONS is defined.
63181         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63182         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63183         * sysdeps/sh/init-first.c: Likewise.
63184         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63186 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63188         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63189         always use the slow path.
63191 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63193         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63194         similar rule which adds the sysdep directories to the header search in
63195         order to pick up the correct platform stackinfo.h.
63196         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63197         perform test if it is, otherwise return successfully without testing.
63198         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63199         DEFAULT_STACK_PERMS define in stackinfo.h.
63200         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63201         defined in stackinfo.h.
63202         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63203         DEFAULT_STACK_PERMS defined in stackinfo.h.
63204         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63205         * sysdeps/ia64/stackinfo.h: Likewise.
63206         * sysdeps/s390/stackinfo.h: Likewise.
63207         * sysdeps/sh/stackinfo.h: Likewise.
63208         * sysdeps/sparc/stackinfo.h: Likewise.
63209         * sysdeps/x86_64/stackinfo.h: Likewise.
63210         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63211         PF_X for powerpc64.  Retain PF_X for powerpc32.
63213 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63215         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63216         accurately.
63217         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63218         GETDENTS_64BIT_ALIGNED.
63220 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63222         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63224 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63226         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63227         _GNU_SOURCE.
63229         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63230         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63231         Remove __restrict.
63232         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63233         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63235 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63237         [BZ #11655]
63238         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63239         are initialized.
63241 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63243         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63245 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63247         * po/it.po: Update from translation team.
63249 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63251         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63252         unused codes.
63254 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63256         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63258 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63260         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63261         specially.
63262         (gaih_getanswer_slice): Likewise.
63264 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63268 2010-05-31  Petr Baudis  <pasky@suse.cz>
63270         [BZ #11149]
63271         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63272         silently even in the chroot mode.
63274 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63276         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63277         last patch a bit.  Pretty printing
63279 2010-05-31  Petr Baudis <pasky@suse.cz>
63281         [BZ #10085]
63282         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63283         initialization of skip_initgroups_dyn.
63285 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63287         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63288         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63290 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63292         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63294 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63296         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63297         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63298         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63299         ($(objpfx)tst-fnmatch-mem): New rule.
63300         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63301         * posix/tst-fnmatch.c (main): Call mtrace.
63303 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63306         Support Intel processor model 6 and model 0x2c.
63308 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63311           signed comparison.
63313 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63315         [BZ #12205]
63316         * string/test-strncasecmp.c (check_result): New function.
63317         (do_one_test): Use it.
63318         (check1): New function.
63319         (test_main): Use it.
63320         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63321         Support strcasecmp and strncasecmp.
63323 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63325         [BZ #12194]
63326         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63327         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63329 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63331         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63332         IFUNC support.
63333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63334         memset-x86-64.
63335         * sysdeps/x86_64/multiarch/bzero.S: New file.
63336         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63337         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63338         * sysdeps/x86_64/multiarch/memset.S: New file.
63339         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63341         Set bit_Prefer_SSE_for_memop for Intel processors.
63342         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63343         Define.
63344         (index_Prefer_SSE_for_memop): Define.
63345         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63347 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63349         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63350         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63352 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63354         [BZ #12191]
63355         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63356         (__x86_64_raw_data_cache_size_half): Likewise.
63357         (__x86_64_raw_shared_cache_size): Likewise.
63358         (__x86_64_raw_shared_cache_size_half): Likewise.
63360         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63361         (__x86_64_raw_data_cache_size_half): Likewise.
63362         (__x86_64_raw_shared_cache_size): Likewise.
63363         (__x86_64_raw_shared_cache_size_half): Likewise.
63364         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63365         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63366         and __x86_64_raw_shared_cache_size_half.  Round
63367         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63368         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63369         to multiple of 256 bytes.
63371 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63373         [BZ #12167]
63374         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63375         of inacessible symlinks.  Verify result of symlink before returning it.
63376         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63377         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63379 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63381         * math/math.h (isinf): Fix typo in comment.
63383 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63385         * po/da.po: Update from translation team.
63387 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63389         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63390         is added to the list.
63392 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63393             Ulrich Drepper  <drepper@gmail.com>
63395         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63396         the global list here.  Move code to...
63397         (_dl_add_to_namespace_list): ...here.  New function.
63398         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63399         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63400         * elf/dl-load.c (lose): Don't remove the element from the list.
63401         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63402         (_dl_map_object): Likewise.
63404 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63406         [BZ #12159]
63407         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63408         into all bytes of SSE register.
63409         Patch by Richard Li <richardpku@gmail.com>.
63411 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63413         [BZ #12140]
63414         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63415         perturbing.
63417 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63419         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63420         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63421         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63422         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63424         submachine.
63425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63427 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63429         * include/dlfcn.h (__RTLD_SECURE): Define.
63430         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63431         mode & __RTLD_SECURE instead.
63432         (open_path): Rename preloaded parameter to secure.
63433         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63434         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63435         * elf/dl-deps.c (openaux): Likewise.
63436         * elf/rtld.c (struct map_args): Remove is_preloaded.
63437         (map_doit): Don't use it.
63438         (dl_main): Likewise.
63439         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63440         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63442 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63444         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63445         (sysd-rules-targets): Remove duplicates.
63446         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63447         rtld-%.$o dependency.
63449 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63451         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63452         _dl_map_object do it.
63454 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63456         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63457         fast fma builtins, define the macros in the C99 standard.
63458         (FP_FAST_FMAF): Likewise.
63459         (FP_FAST_FMAL): Likewise.
63460         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63462         * bits/mathdef.h: Update copyright year.
63463         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63465 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63467         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63468         builtins, define the macros in the C99 standard.
63469         (FP_FAST_FMAF): Likewise.
63470         (FP_FAST_FMAL): Likewise.
63471         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63472         multiply/add.
63473         (FP_FAST_FMAF): Likewise.
63475 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63477         [BZ #3268]
63478         * math/libm-test.inc (fma_test): Some new testcases.
63479         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63480         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63481         y and infinite z.  Do multiplication by C already in long double.
63482         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63484         y and infinite z.  Do bitwise or of inexact bit into u.d.
63485         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63486         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63487         * sysdeps/i386/fpu/s_fma.S: Removed.
63488         * sysdeps/i386/fpu/s_fmal.S: Removed.
63490 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63492         [BZ #3268]
63493         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63495         computation is not scheduled after fetestexcept.  Fix value
63496         of minimum denormal long double.
63498 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63500         [BZ #3268]
63501         * math/libm-test.inc (fma_test): Add some more tests.
63502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63503         correctly.
63505 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63507         * scripts/data/localplt-s390-linux-gnu.data: New file.
63508         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63510 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63512         [BZ #3268]
63513         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63514         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63515         instead of dbl-64.
63516         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63517         inlines.
63518         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63520         if one of x and y is very large and the other is subnormal.
63521         * sysdeps/s390/fpu/s_fmaf.c: New file.
63522         * sysdeps/s390/fpu/s_fma.c: New file.
63523         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63524         * sysdeps/powerpc/fpu/s_fma.S: New file.
63525         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63526         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63527         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63529 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63531         [BZ #3268]
63532         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63533         fma tests.
63534         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63535         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63536         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63537         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63538         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63539         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63540         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63542 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63544         [BZ #12078]
63545         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63546         * posix/bug-regex31.input: Add test case.
63548 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63550         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63551         * posix/bug-regex31.input: New file.
63553         [BZ #12078]
63554         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63555         (parse_sub_exp): Fix last change, use postorder.
63557         * posix/bug-regex31.c: New file.
63558         * posix/Makefile: Add rules to build and run bug-regex31.
63560         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63562         [BZ #12078]
63563         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63565         [BZ #12108]
63566         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63567         to have entries in sys_siglist.
63569         [BZ #12093]
63570         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63571         be NULL.
63573 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63575         [BZ #3268]
63576         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63577         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63578         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63579         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63580         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63581         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63582         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63583         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63584         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63585         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63586         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63587         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63588         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63589         * math/ftestexcept.c (fetestexcept): Likewise.
63590         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63591         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63592         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63593         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63594         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63595         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63596         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63598 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63600         [BZ #12107]
63601         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63602         newline.
63604 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63606         * string/bug-strstr1.c: New file.
63607         * string/Makefile: Add rules to build and run bug-strstr1.
63609 2010-10-05  Eric Blake  <eblake@redhat.com>
63611         [BZ #12092]
63612         * string/str-two-way.h (two_way_long_needle): Always clear memory
63613         when skipping input due to the shift table.
63615 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63617         [BZ #12005]
63618         * malloc/mcheck.c: Handle large requests.
63620         [BZ #12077]
63621         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63622         for strncmp and strncasecmp.
63623         * string/stratcliff.c: Add tests for strcmp and strncmp.
63624         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63626 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63628         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63629         __set_fpscr.
63631 2010-09-30  Andreas Jaeger  <aj@suse.de>
63633         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63634         (CGROUP_SUPER_MAGIC): Define.
63635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63636         Handle btrfs and cgroup file systems.
63637         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63638         Likewise.
63640 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63642         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63643         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63645 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63647         [BZ #12067]
63648         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63649         trying to locate the ELF header.
63651 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63653         [BZ #11611]
63654         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63655         Mask out sign-bit copies when constructing f_fsid.
63657 2010-09-24  Petr Baudis <pasky@suse.cz>
63659         * debug/stack_chk_fail_local.c: Add missing licence exception.
63660         * debug/warning-nop.c: Likewise.
63662 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63664         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63665         implementing getdents64 using getdents syscall, set d_type if
63666         __ASSUME_GETDENTS32_D_TYPE.
63668 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63670         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63671         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63673 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63675         [BZ #12037]
63676         * posix/unistd.h: Undo change of feature selection for ftruncate from
63677         2010-01-11.
63679 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63681         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63682         detection.
63684 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63686         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63687         fanotify_mark.
63688         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63690 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63692         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63693         variables after CHECK_SP call.
63694         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63696 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63697             Ulrich Drepper  <drepper@redhat.com>
63699         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63700         re-relocationg ld.so.
63701         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63702         _dl_init_paths call.
63703         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63704         here anymore.
63706 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63708         * resolv/res_init.c (__res_vinit): Count the default server we added.
63710 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63711             Ulrich Drepper  <drepper@redhat.com>
63713         [BZ #11968]
63714         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63715         (____longjmp_chk): Use %ebx for saving value across system call.
63716         Add unwind info.
63718 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63720         * manual/Makefile: Don't mix pattern rules with normal rules.
63722 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63724         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63725         operation.
63726         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63727         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63728         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63729         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63731         Likewise.
63733 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63735         [BZ #11979]
63736         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63737         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63739 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63741         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63742         * sysdeps/x86_64/addmul_1.S: Likewise.
63743         * sysdeps/x86_64/lshift.S: Likewise.
63744         * sysdeps/x86_64/mul_1.S: Likewise.
63745         * sysdeps/x86_64/rshift.S: Likewise.
63746         * sysdeps/x86_64/sub_n.S: Likewise.
63747         * sysdeps/x86_64/submul_1.S: Likewise.
63749 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63751         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63752         Define __sched_param instead of SCHED_* and sched_param when
63753         <bits/sched.h> is included with __need_schedparam defined.
63754         * bits/sched.h [__need_schedparam]
63755         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63756         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63757         (__defined_schedparam): Define to 1.
63758         (__sched_param): New structure, identical to sched_param.
63759         (__need_schedparam): Undefine.
63761 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63764         (epoll_create1): Declare.
63766         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63768 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63770         [BZ #7066]
63771         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63772         shifting retval into place.
63774 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63776         * nis/rpcsvc/nis.h: Update copyright notice.
63777         * nis/rpcsvc/nis.x: Likewise.
63778         * nis/rpcsvc/nis_callback.h: Likewise.
63779         * nis/rpcsvc/nis_callback.x: Likewise.
63780         * nis/rpcsvc/nis_object.x: Likewise.
63781         * nis/rpcsvc/nis_tags.h: Likewise.
63782         * nis/rpcsvc/yp.h: Likewise.
63783         * nis/rpcsvc/yp.x: Likewise.
63784         * nis/rpcsvc/ypupd.h: Likewise.
63785         * nis/yp_xdr.c: Likewise.
63786         * nis/ypupdate_xdr.c: Likewise.
63788         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63789         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63790         (pmap_getport): Use __libc_rpc_getport.
63791         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63792         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63793         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63795 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63798         fanotify_mark.
63800 2010-08-27  Roland McGrath  <roland@redhat.com>
63802         * sysdeps/i386/i686/multiarch/Makefile
63803         (CFLAGS-varshift.c): New variable.
63805 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63807         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63808         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63810         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63812         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63814 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63816         * sysdeps/x86_64/strlen.S: Unroll the loop.
63817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63818         strlen-sse2 strlen-sse2-bsf.
63819         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63820         __strlen_no_bsf if bit_Slow_BSF is set.
63821         (__strlen_sse42): Removed.
63822         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63823         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63825 2010-08-25  Roland McGrath  <roland@redhat.com>
63827         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63828         * sysdeps/x86_64/multiarch/varshift.c: New file.
63829         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63830         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63831         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63832         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63834 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63836         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63837         strlen-sse2 strlen-sse2-bsf.
63838         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63839         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63840         (__strlen_sse2): Removed.
63841         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63844         bit_Slow_BSF for Atom.
63845         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63846         (index_Slow_BSF): Define.
63847         (HAS_SLOW_BSF): Define.
63849 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63851         [BZ #10851]
63852         * resolv/res_init.c (__res_vinit): When no server address at all
63853         is given default to loopback.
63855 2010-08-24  Roland McGrath  <roland@redhat.com>
63857         * configure.in: Remove config-name.h generation.
63858         * configure: Regenerated.
63859         * config-name.in: File removed.
63860         * scripts/config-uname.sh: New file.
63861         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63862         ($(objdir)config-name.h): New target.
63864         * sunrpc/rpc_parse.h: Avoid nested comment.
63866 2010-08-24  Richard Henderson  <rth@redhat.com>
63867             Ulrich Drepper  <drepper@redhat.com>
63868             H.J. Lu  <hongjiu.lu@intel.com>
63870         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63872         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63873         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63874         _mm_alignr_epi8 with _mm_loadu_si128.
63875         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63876         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63877         (__m128i_shift_right): Removed.
63878         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63879         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63880         * sysdeps/x86_64/multiarch/varshift.h: New file.
63881         * sysdeps/x86_64/multiarch/varshift.S: New file.
63883 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63885         * configure.in: Move assembler checks to before sysdep dir checking.
63887 2010-08-20  Petr Baudis  <pasky@suse.cz>
63889         * LICENSES: Sync the sunrpc license.
63891 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63893         * sunrpc/auth_des.c: Update copyright notice once again.
63894         * sunrpc/auth_none.c: Likewise.
63895         * sunrpc/auth_unix.c: Likewise.
63896         * sunrpc/authdes_prot.c: Likewise.
63897         * sunrpc/authuxprot.c: Likewise.
63898         * sunrpc/bindrsvprt.c: Likewise.
63899         * sunrpc/clnt_gen.c: Likewise.
63900         * sunrpc/clnt_perr.c: Likewise.
63901         * sunrpc/clnt_raw.c: Likewise.
63902         * sunrpc/clnt_simp.c: Likewise.
63903         * sunrpc/clnt_tcp.c: Likewise.
63904         * sunrpc/clnt_udp.c: Likewise.
63905         * sunrpc/clnt_unix.c: Likewise.
63906         * sunrpc/des_crypt.c: Likewise.
63907         * sunrpc/des_soft.c: Likewise.
63908         * sunrpc/get_myaddr.c: Likewise.
63909         * sunrpc/getrpcport.c: Likewise.
63910         * sunrpc/key_call.c: Likewise.
63911         * sunrpc/key_prot.c: Likewise.
63912         * sunrpc/openchild.c: Likewise.
63913         * sunrpc/pm_getmaps.c: Likewise.
63914         * sunrpc/pm_getport.c: Likewise.
63915         * sunrpc/pmap_clnt.c: Likewise.
63916         * sunrpc/pmap_prot.c: Likewise.
63917         * sunrpc/pmap_prot2.c: Likewise.
63918         * sunrpc/pmap_rmt.c: Likewise.
63919         * sunrpc/rpc/auth.h: Likewise.
63920         * sunrpc/rpc/auth_unix.h: Likewise.
63921         * sunrpc/rpc/clnt.h: Likewise.
63922         * sunrpc/rpc/des_crypt.h: Likewise.
63923         * sunrpc/rpc/key_prot.h: Likewise.
63924         * sunrpc/rpc/netdb.h: Likewise.
63925         * sunrpc/rpc/pmap_clnt.h: Likewise.
63926         * sunrpc/rpc/pmap_prot.h: Likewise.
63927         * sunrpc/rpc/pmap_rmt.h: Likewise.
63928         * sunrpc/rpc/rpc.h: Likewise.
63929         * sunrpc/rpc/rpc_des.h: Likewise.
63930         * sunrpc/rpc/rpc_msg.h: Likewise.
63931         * sunrpc/rpc/svc.h: Likewise.
63932         * sunrpc/rpc/svc_auth.h: Likewise.
63933         * sunrpc/rpc/types.h: Likewise.
63934         * sunrpc/rpc/xdr.h: Likewise.
63935         * sunrpc/rpc_clntout.c: Likewise.
63936         * sunrpc/rpc_cmsg.c: Likewise.
63937         * sunrpc/rpc_common.c: Likewise.
63938         * sunrpc/rpc_cout.c: Likewise.
63939         * sunrpc/rpc_dtable.c: Likewise.
63940         * sunrpc/rpc_hout.c: Likewise.
63941         * sunrpc/rpc_main.c: Likewise.
63942         * sunrpc/rpc_parse.c: Likewise.
63943         * sunrpc/rpc_parse.h: Likewise.
63944         * sunrpc/rpc_prot.c: Likewise.
63945         * sunrpc/rpc_sample.c: Likewise.
63946         * sunrpc/rpc_scan.c: Likewise.
63947         * sunrpc/rpc_scan.h: Likewise.
63948         * sunrpc/rpc_svcout.c: Likewise.
63949         * sunrpc/rpc_tblout.c: Likewise.
63950         * sunrpc/rpc_util.c: Likewise.
63951         * sunrpc/rpc_util.h: Likewise.
63952         * sunrpc/rpcinfo.c: Likewise.
63953         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63954         * sunrpc/rpcsvc/key_prot.x: Likewise.
63955         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63956         * sunrpc/rpcsvc/mount.x: Likewise.
63957         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63958         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63959         * sunrpc/rpcsvc/rex.x: Likewise.
63960         * sunrpc/rpcsvc/rstat.x: Likewise.
63961         * sunrpc/rpcsvc/rusers.x: Likewise.
63962         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63963         * sunrpc/rpcsvc/spray.x: Likewise.
63964         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63965         * sunrpc/rtime.c: Likewise.
63966         * sunrpc/svc.c: Likewise.
63967         * sunrpc/svc_auth.c: Likewise.
63968         * sunrpc/svc_authux.c: Likewise.
63969         * sunrpc/svc_raw.c: Likewise.
63970         * sunrpc/svc_run.c: Likewise.
63971         * sunrpc/svc_simple.c: Likewise.
63972         * sunrpc/svc_tcp.c: Likewise.
63973         * sunrpc/svc_udp.c: Likewise.
63974         * sunrpc/svc_unix.c: Likewise.
63975         * sunrpc/svcauth_des.c: Likewise.
63976         * sunrpc/xcrypt.c: Likewise.
63977         * sunrpc/xdr.c: Likewise.
63978         * sunrpc/xdr_array.c: Likewise.
63979         * sunrpc/xdr_float.c: Likewise.
63980         * sunrpc/xdr_mem.c: Likewise.
63981         * sunrpc/xdr_rec.c: Likewise.
63982         * sunrpc/xdr_ref.c: Likewise.
63983         * sunrpc/xdr_sizeof.c: Likewise.
63984         * sunrpc/xdr_stdio.c: Likewise.
63986         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63987         handling.
63989 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63991         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63993 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63995         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63996         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63997         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63998         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63999         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64000         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64001         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64002         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64003         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64004         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64005         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64006         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64007         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64008         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64010 2010-07-26  Anton Blanchard  <anton@samba.org>
64012         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64013         * malloc/arena.c (heap_trim): Likewise.
64015 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
64017         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64018         here.  Not...
64019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64020         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64022 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64024         * sysdeps/i386/elf/Makefile: New file.
64026 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64028         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64029         from fanotify_init.
64030         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64033 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
64035         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64036         of strncasecmp_l.
64037         * sysdeps/multiarch/strcmp.S: Likewise.
64039 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
64041         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64042         strncase_l-nonascii.
64043         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64044         Add strncase_l-ssse3.
64045         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64046         * sysdeps/x86_64/strcmp.S: Likewise.
64047         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64048         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64049         * sysdeps/x86_64/strncase.S: New file.
64050         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64051         * sysdeps/x86_64/strncase_l.S: New file.
64052         * string/Makefile (strop-tests): Add strncasecmp.
64053         * string/test-strncasecmp.c: New file.
64055         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64056         warning.
64058         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64059         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64061 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64063         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64065 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
64067         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64068         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64069         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64071 2010-05-01  Alan Modra  <amodra@gmail.com>
64073         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64074         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64075         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64076         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64077         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64078         tidying.  Don't tail-call __sigjmp_save for static lib.
64079         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64080         save location.
64081         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64082         (CALL_MCOUNT): Add eh info, and nop after bl.
64083         (TAIL_CALL_SYSCALL_ERROR): New macro.
64084         (PSEUDO_RET): Use it.
64085         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64086         Correct save location of integer regs and cr.
64087         (_dl_profile_resolve): Correct cr save location.  Delete nops
64088         after bl when SHARED.  Reduce cfi size a little by better
64089         placement of cfi directives.
64090         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64091         make a stack frame.  Instead use parm save area as a temp.
64092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64093         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64095         Don't make a stack frame for parent, use parm save area.
64096         Increase child stack frame to 112 bytes.  Don't save unused reg,
64097         and adjust reg usage.  Set up cfi on error recovery and
64098         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64100         (__makecontext): Add dummy nop after jump to exit.
64101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64102         Use correct parm save area and cr save, reduce stack frame.
64103         Correct cfi for possible PSEUDO_RET frame setup.
64104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64105         Branch to local label emitted by PSEUDO_RET rather than
64106         __syscall_error.
64108 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64110         [BZ #11904]
64111         * locale/programs/locale.c (print_assignment): New function.
64112         (show_locale_vars): Use it.
64114 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64116         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64117         field.
64118         (struct statfs64): Likewise.
64119         (_STATFS_F_FLAGS): Define.
64120         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64121         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64122         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64123         (ST_VALID): Define locally.
64124         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64125         __statvfs_getflags, use the provided value.
64126         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64127         __ASSUME_STATFS_F_FLAGS.
64129         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64131         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64132         Add sys/fanotify.h.
64133         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64134         fanotify_mask for GLIBC_2.13.
64135         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64136         fanotify_init and fanotify_mark.
64137         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64138         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64140         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64141         Add prlimit.
64142         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64143         prlimit64 for GLIBC_2.13.
64144         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64145         prlimit64.
64146         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64147         syscall.
64148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64150         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64151         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64152         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64153         add prlimit alias.
64154         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64156         [BZ #11903]
64157         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64158         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64160         * nss/Makefile: Add rules to build and run tst-nss-test1.
64161         * shlib-versions: Add entry for libnss_test1.
64162         * nss/nss_test1.c: New file.
64163         * nss/tst-nss-test1.c: New file.
64165         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64166         (__nss_configure_lookup): Set appropriate entry in
64167         __nss_configure_lookup to true.
64168         * nss/nsswitch.h: Define enum with indeces of databases in
64169         databases and __nss_database_custom arrays.  Declare
64170         __nss_database_custom.
64171         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64172         to avoid using nscd when custom rules are installed.
64173         * nss/getXXbyYY_r.c: Likewise.
64174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64176         * nss/nss_files/files-parse.c: Whitespace fixes.
64178 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64180         [BZ #11883]
64181         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64182         * posix/fnmatch_loop.c: Likewise.
64184 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64186         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64187         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64188         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64189         * Versions.def [GLIBC_2.13]: Add.
64191 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64193         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64194         Also fail if tpwd after pwuid call is NULL.
64196 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64198         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64199         when converting to ms.
64201 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64203         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64204         EOPNOTSUPP errors with ENOTTY.
64205         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64206         EOPNOTSUPP errors with ENOTTY.
64208 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64210         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64211         Add strcasecmp_l-ssse3.
64212         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64213         strcasecmp.
64214         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64215         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64216         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64218 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64220         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64222         * string/Makefile (strop-tests): Add strcasecmp.
64223         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64224         strcasecmp_l-nonascii.
64225         (gen-as-const-headers): Add locale-defines.sym.
64226         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64227         * sysdeps/x86_64/strcasecmp.S: New file.
64228         * sysdeps/x86_64/strcasecmp_l.S: New file.
64229         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64230         * sysdeps/x86_64/locale-defines.sym: New file.
64231         * string/test-strcasecmp.c: New file.
64233         * string/test-strcasestr.c: Test both ends of the range of characters.
64234         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64236 2010-07-29  Roland McGrath  <roland@redhat.com>
64238         [BZ #11856]
64239         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64241 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64243         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64244         for ld.so.
64246 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64248         * manual/memory.texi (Malloc Tunable Parameters): Document
64249         M_PERTURB.
64251 2010-07-26  Roland McGrath  <roland@redhat.com>
64253         [BZ #11840]
64254         * configure.in (-fgnu89-inline check): Set and substitute
64255         gnu89_inline, not libc_cv_gnu89_inline.
64256         * configure: Regenerated.
64257         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64259 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64261         * string/test-strnlen.c: New file.
64262         * string/Makefile (strop-tests): Add strnlen.
64263         * string/tester.c (test_strnlen): Add a few more test cases.
64264         * string/tst-strlen.c: Better error reporting.
64266         * sysdeps/x86_64/strnlen.S: New file.
64268 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64270         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64271         lower-latency instructions.
64273 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64275         * string/test-strcasestr.c: New file.
64276         * string/test-strstr.c: New file.
64277         * string/Makefile (strop-tests): Add strstr and strcasestr.
64278         * string/str-two-way.h: Don't undefine MAX.
64279         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64281 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64284         strcasestr-nonascii.
64285         (CFLAGS-strcasestr-nonascii.c): Define.
64286         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64287         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64288         Remove unused attribute.
64290 2010-07-20  Roland McGrath  <roland@redhat.com>
64292         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64293         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64294         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64295         like LD_HWCAP_MASK can disable hwcaps.
64297 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64299         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64301 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64303         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64304         call in strcasestr.
64305         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64306         __strcasestr_sse42_nonascii.
64307         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64308         strcasestr-nonascii.c.
64309         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64311 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64313         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64314         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64315         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64316         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64318 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64321         fcntl.
64323 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64325         [BZ #11577]
64326         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64327         dl_signal_cerror.
64329 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64332         _PC_PIPE_BUF using F_GETPIPE_SZ.
64334 2010-07-05  Roland McGrath  <roland@redhat.com>
64336         * manual/arith.texi (Rounding Functions): Fix rint description
64337         implicit in round description.
64339 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64341         * elf/Makefile: Fix linking for a few tests to make recent linker
64342         happy.
64344 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64346         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64347         $(common-objpfx)libc_nonshared.a.
64349 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64351         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64352         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64353         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64354         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64355         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64356         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64357         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64358         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64373         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64374         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64375         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64376         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64377         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64378         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64379         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64380         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64381         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64382         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64383         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64384         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64400 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64402         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64403         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64404         * string/memmove.c (memmove): Renamed to ...
64405         (MEMMOVE): ...this.  Default to memmove.
64406         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64407         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64408         (END_CHK): Define.
64409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64410         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64411         mempcpy-ssse3-back memmove-ssse3-back.
64412         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64414         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64415         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64416         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64417         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64418         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64419         * sysdeps/x86_64/multiarch/memmove.c: New file.
64420         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64421         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64422         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64423         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64426         Define.
64427         (index_Fast_Copy_Backward): Define.
64428         (HAS_ARCH_FEATURE): Define.
64429         (HAS_FAST_REP_STRING): Define.
64430         (HAS_FAST_COPY_BACKWARD): Define.
64432 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64434         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64435         Restore proper fallback handling.
64437 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64439         [BZ #11701]
64440         * posix/group_member.c (__group_member): Correct checking loop.
64442         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64443         OOM in getpwuid_r correctly.  Return error number when the caller
64444         should return, otherwise -1.
64445         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64446         call returning > 0 value.
64447         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64449 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64451         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64452         libc_nonshared.a from targets in modules-names.
64454 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64456         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64457         requires it.
64459 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64461         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64462         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64463         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64464         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64466 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64468         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64470 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64472         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64473         and F_GETPIPE_SZ.
64474         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64478         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64481 2010-06-14  Roland McGrath  <roland@redhat.com>
64483         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64485 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64487         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64488         __REDIRECT followed by __THROW.
64489         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64490         * posix/getopt.h (getopt): Likewise.
64492 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64494         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64495         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64496         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64497         in AT_FLAGS.
64498         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64499         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64501 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64503         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64505 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64507         [BZ #11640]
64508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64509         Properly check family and model.
64511 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64513         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64515 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64517         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64519 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64521         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64522         symbol reference.
64524 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64526         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64527         symbol reference.
64529 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64531         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64532         and internal_recvmmsg.
64533         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64534         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64535         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64536         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64538         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64539         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64540         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64542 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64544         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64546 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64548         POWER7 optimizations.
64549         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64550         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64552 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64554         * version.h: Update for 2.13 development version.
64556 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64558         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64559         exceptions.  Return 0.
64561 2010-05-07  Roland McGrath  <roland@redhat.com>
64563         * elf/ldconfig.c (main): Add a const.
64565 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64567         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64568         (args_options): Add no-idn option.
64569         (ahosts_keys_int): Add idn_flags to ai_flags.
64570         (parse_option): Handle 'i' option to clear idn_flags.
64572         * malloc/malloc.c (_int_free): Possible race in the most recently
64573         added check.  Only act on the data if no current modification
64574         happened.
64576 See ChangeLog.17 for earlier changes.